예제 #1
0
        private void Bt_Clear_Click(object sender, RoutedEventArgs e)
        {
            MessageBoxResult res = MessageBox.Show(Constants.msgClearingList, Constants.headerClearingList, MessageBoxButton.YesNo);

            if (res == MessageBoxResult.No)
            {
                return;
            }
            company = new AirCompany();
            ShowTable();
            AirCompany.WriteFile(company);
        }
예제 #2
0
 private void Window_Closed(object sender, EventArgs e)
 {
     AirCompany.WriteFile(company);
 }