Example #1
0
File: Form1.cs Project: rAum/mmgk
        public MainForm()
        {
            InitializeComponent();

            model = new Model();
            control = new Controller();

            this.menuStrip1.MdiWindowListItem = this.oknaToolStripMenuItem;

            renderForm = new RenderForm(this);
            renderForm.MdiParent = this;
            renderForm.Show();
        }
Example #2
0
File: Form1.cs Project: rAum/mmgk
 private void renderWindowToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (renderWindowToolStripMenuItem.Checked)
     {
         renderForm = new RenderForm(this);
         renderForm.MdiParent = this;
         renderForm.Show();
     }
     else
     {
         renderForm.Close();
     }
 }