private void butCustomer_Click(object sender, EventArgs e)
        {
            using (CustomerDailog frm = new CustomerDailog())
            {
                frm.ShowDialog();

                txtCustID.Text = frm.CustId;
                txtCustomerName.Text = frm.CustName;
            }
        }
Example #2
0
        private void butCustomer_Click(object sender, EventArgs e)
        {
            using (CustomerDailog frm = new CustomerDailog())
            {
                frm.ShowDialog();

                HeadContent.CustID = frm.CustId;
                HeadContent.CustomerName = frm.CustName;
            }
            SetHeaderContent(HeadContent);
        }