Esempio n. 1
0
 static void Main()
 {
     MainWindow window = new MainWindow();
     Application.Idle += new EventHandler(window.OnIdle);
     Application.Run(window);
 }
Esempio n. 2
0
 public MainWindow()
 {
     this.IsMdiContainer = true;
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     this.WindowState = FormWindowState.Maximized;
     this.CreatePOForm(0);
     g_this = this;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }