随笔分类 - WINDOWS FORM
摘要:两种方式 public static void ApplicationRestart() { mutex.Close(); Application.Exit(); Application.Restart(); Environment.Exit(0); } public static void ProcessRestart() { mutex.Close(); Proces...
阅读全文
摘要:[代码]
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using DevExpress...
阅读全文
摘要:整理的对PrintControl进行设置的代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using DevE...
阅读全文
摘要:在Win应用中,经常会遇到这样的应用,Form2打开时,隐藏Form1,Form2关闭时,显示Form1 可以这样处理 1XtraForm2 frm = new XtraForm2(); 2this.Visible = false; 3frm.ShowDialog(); 4this.Visible = true; 对于MDI中的窗体可以这样处理 1FRM frm = new FRM(); 2f...
阅读全文
浙公网安备 33010602011771号