コード例 #1
0
        private void btnAddDriver_Click(object sender, EventArgs e)
        {
            Driver     newDriver  = new Driver();
            DriverForm driverForm = new DriverForm(0);

            driverForm.ShowDialog();
        }
コード例 #2
0
        private void grdDrivers_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            DriverForm form = new DriverForm(driverSelected);

            form.ShowDialog();
        }