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

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

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