Exemple #1
0
        private void Exit_Click(object sender, RoutedEventArgs e)
        {
            Lic win = new Lic();

            win.row = row;
            win.Show();
            this.Close();
        }
Exemple #2
0
 private void LicOpen_Click(object sender, RoutedEventArgs e)
 {
     if (DriverDG.SelectedIndex != -1)
     {
         Lic win = new Lic();
         win.row = DriverDG.SelectedItem as DataRowView;
         win.Show();
         this.Close();
     }
     else
     {
         MessageBox.Show("Не выбран водитель!");
     }
 }