private void btnAddDriver_Click(object sender, EventArgs e) { Driver newDriver = new Driver(); DriverForm driverForm = new DriverForm(0); driverForm.ShowDialog(); }
private void grdDrivers_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { DriverForm form = new DriverForm(driverSelected); form.ShowDialog(); }