Esempio n. 1
0
 public MainForm()
 {
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(640, 480);
     this.Name        = "MainForm";
     this.Text        = "NeHe lesson 05 in C# (by Sabine Felsinger)";
     this.view        = new lesson05.OurView();
     this.view.Parent = this;
     this.view.Dock   = DockStyle.Fill;           // Will fill whole form
     this.Show();
 }
Esempio n. 2
0
 public MainForm()
 {
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(640, 480);
     this.Name = "MainForm";
     this.Text = "NeHe lesson 05 in C# (by Sabine Felsinger)";
     this.view = new lesson05.OurView();
     this.view.Parent = this;
     this.view.Dock = DockStyle.Fill; // Will fill whole form
     this.Show();
 }