Esempio n. 1
0
File: Form1.cs Progetto: 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();
        }
Esempio n. 2
0
File: Form1.cs Progetto: 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();
     }
 }