예제 #1
0
        private void dtUsers_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            CustomersForm frm = (CustomersForm)Application.OpenForms["CustomersForm"];
            var           row = dtUsers.CurrentRow;

            frm.cmbUser.Text = row.Cells[1].Value.ToString();
            this.Close();
        }
예제 #2
0
        private void btnCustomer_Click(object sender, EventArgs e)
        {
            CustomersForm frm = new CustomersForm();

            frm.Show();
        }