Пример #1
0
        private void ChangeAlumnus()
        {
            ChangeViewModel.AlumnusOnline = AlumnusOnline;
            ChangeView change = new ChangeView();

            change.Show();
            CloseView();
        }
Пример #2
0
 /// <summary>
 /// Opens the change window.
 /// </summary>
 public void ChangeMethod()
 {
     if (SelectedProduct != null)
     {
         ChangeView change = new ChangeView();
         change.Show();
         Messenger.Default.Send(new NotificationMessage("Change"));
     }
 }