private void ButtonComposeWorkPackage_DisplayerRequested(object sender, ReferenceEventArgs e) { WorkPackageForm form = new WorkPackageForm(currentAircraft); form.ShowDialog(); e.Cancel = true; }
private void toolStripMenuItemProperties_Click(object sender, EventArgs e) { WorkPackageForm form = new WorkPackageForm(workPackagesViewer.SelectedItem); form.ShowDialog(); }