Пример #1
0
        private void buttonRegisterFlight_DisplayerRequested(object sender, ReferenceEventArgs e)
        {
            AircraftFlightForm form = new AircraftFlightForm(currentAircraft);

            form.Show();
            e.Cancel = true;
        }
Пример #2
0
 private void OnMouseDoubleClicked()
 {
     if (SelectedItem != null)
     {
         AircraftFlightForm form = new AircraftFlightForm(SelectedItem);
         form.Show();
     }
 }
Пример #3
0
        private void toolStripMenuItemProperties_Click(object sender, EventArgs e)
        {
            AircraftFlightForm form = new AircraftFlightForm(monthlyUtilizationViewer.SelectedItem);

            form.Show();
        }