private void dtCustomer_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            RentalForm frm = (RentalForm)Application.OpenForms["RentalForm"];
            var        row = dtCustomer.CurrentRow;

            frm.cmbCustomer.Text = row.Cells[2].Value.ToString();
            this.Close();
        }
Example #2
0
        private void btnRent_Click(object sender, EventArgs e)
        {
            RentalForm frm = new RentalForm();

            frm.Show();
        }