Exemple #1
0
        private void customerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCustomerEntry cusEntry = new frmCustomerEntry();

            cusEntry.MdiParent = this;
            cusEntry.Show();
        }
Exemple #2
0
        private void btnCustomerEntry_Click(object sender, EventArgs e)
        {
            frmCustomerEntry cusEntry = new frmCustomerEntry(txtContact.Text);

            cusEntry.MdiParent = this.MdiParent;
            this.Hide();
            cusEntry.Show();
        }