예제 #1
0
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            NewPilot form = new NewPilot(admin, PilotID, true);

            form.ShowDialog();
            form.Dispose();
            ShowInfoFromPilot();
        }
예제 #2
0
 private void toolStripButton5_Click(object sender, EventArgs e)
 {
     if (pilotsList_dataGridView1.Rows.Count > 0)
     {
         NewPilot form = new NewPilot(parent.admin, Convert.ToInt32(
                                          pilotsList_dataGridView1.SelectedRows[0].Cells[0].Value.ToString()), true);
         form.ShowDialog();
         form.Dispose();
         ShowAllPilots(pilotsList_dataGridView1);
     }
 }