winform 程序隐藏窗口运行
2020-12-13 02:49
标签:winform style class blog code java winform 程序隐藏窗口运行,搜素材,soscw.com winform 程序隐藏窗口运行 标签:winform style class blog code java 原文地址:http://www.cnblogs.com/ycdx2001/p/3784157.html DWPublishForm frm = new DWPublishForm();
frm.IsAutoUpdate = true;
frm.ShowInTaskbar = false;
frm.FormBorderStyle = FormBorderStyle.None;
frm.WindowState = FormWindowState.Minimized;
frm.Location = new System.Drawing.Point(-1000, -1000);
frm.Size = new System.Drawing.Size(0, 0);
frm.Visible = false;
frm.Show();
frm.UpdateData();
frm.Close();