コード例 #1
0
        private void Cancel_Click(object sender, RoutedEventArgs e)
        {
            EmployersView EV = new EmployersView();

            EV.DataContext = DataContext;
            EV.Show();
            Close();
        }
コード例 #2
0
        private void EmployersView_Click(object sender, RoutedEventArgs e)
        {
            EmployersView EV = new EmployersView();

            EV.SetViewModel();
            EV.Show();
            Close();
        }
コード例 #3
0
 private void Update_Click(object sender, RoutedEventArgs e)
 {
     if (TextSurname.Text != "" &&
         TextName.Text != "" &&
         TextPatronymic.Text != "")
     {
         EmployersView EV = new EmployersView();
         EV.DataContext = DataContext;
         EV.Show();
         Close();
     }
     else
     {
         MessageBox.Show("Неполноценная информация, либо введена неверно.");
     }
 }