Beispiel #1
0
 private void добавитьЛСToolStripMenuItem_Click(object sender, EventArgs e)
 {
     add_user newMDIChild = new add_user();
     // Set the Parent Form of the Child window.
     newMDIChild.MdiParent = this;
     // Display the new form.
     newMDIChild.Show();
 }
Beispiel #2
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.
        }
Beispiel #3
0
 private void toolStripButton2_Click(object sender, EventArgs e)
 {
     add_user frm = new add_user();
     frm.Owner = this;
     frm.Show();
 }