コード例 #1
0
        private void customersViewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCustomersView obj = new frmCustomersView();

            obj.MdiParent = this;
            obj.Show();
        }
コード例 #2
0
        private void btnCustomersView_Click(object sender, EventArgs e)
        {
            //opens view customers/hides main
            frmCustomersView viewForm = new frmCustomersView();

            viewForm.Show();
            Hide();
        }