private void btnOrderDetails_Click(object sender, EventArgs e)
        {
            Form            form       = Application.OpenForms["MDIForm"];
            OrderDetailForm detailForm = new OrderDetailForm(int.Parse(txtOrderId.Text));

            detailForm.MdiParent = form;
            detailForm.Show();
        }
예제 #2
0
        private void btnOrderManager_Click(object sender, EventArgs e)
        {
            Form            form       = Application.OpenForms["MDIForm"];
            OrderDetailForm detailForm = new OrderDetailForm();

            detailForm.MdiParent = form;
            detailForm.Show();
        }