Пример #1
0
        private void BtnNew_Click(object sender, EventArgs e)
        {
            FormAddCustomer frmCustomer = new FormAddCustomer();

            frmCustomer.ShowDialog();
            frmCustomer.Close();
        }
Пример #2
0
        private void BtnNew_Click(object sender, EventArgs e)
        {
            FormAddCustomer frmClient    = new FormAddCustomer();
            DialogResult    dialogResult = frmClient.ShowDialog();

            if (dialogResult == DialogResult.OK)
            {
            }
            frmClient.Close();
        }
Пример #3
0
        private void MiAddCustomer_Click(object sender, EventArgs e)
        {
            FormAddCustomer frmAddCustomer = new FormAddCustomer();

            frmAddCustomer.ShowDialog();
        }