コード例 #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();
        }