wpf最大化/c#获取屏幕高度
//判断是否已经最大化 if (this.Height == SystemParameters.WorkArea.Size.Height || this.Width ==&n…
//判断是否已经最大化 if (this.Height == SystemParameters.WorkArea.Size.Height || this.Width ==&n…
1、建立Windows 窗体程序,增加两个窗体。解决资源管理器中,主界面命名为Form1,启动界面命名为Form22、设置Form2窗体的FormBorderStyle为None;BackgroundImage为你喜欢的图片;BackgroundImageLayout为Zoom…
private void Grid_MouseMove(object sender, System.Windows.Input.MouseEventArgs e) { &nbs…
background颜色没设置
private static string HMACSha256(string message, string secret) { secret = secret ?? ""; var encoding = new System.Text.ASCIIEncoding(); byte[] keyByte =…
/// <summary> /// sha256编码 /// </summary> /// <param name="data"></param> /// <returns></returns> public string sha256(string data) …