Esempio n. 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            add_user addUserMDI = new add_user();
            // Set the Parent Form of the Child window.
            addUserMDI.MdiParent = this;

            add_user closeUserMDI = new add_user();
            // Set the Parent Form of the Child window.
            closeUserMDI.MdiParent = this;

            period periodMDI = new period();
            periodMDI.MdiParent = this;
            // Display the new form.

            add_services add_tarifMDI = new add_services();
            add_tarifMDI.MdiParent = this;
            // Display the new form.
        }
Esempio n. 2
0
 private void периодыToolStripMenuItem_Click(object sender, EventArgs e)
 {
     period frm = new period();
     frm.Owner = this;
     frm.Show();
 }