Example #1
0
 public TestViewModel(MainViewModel main, Action close, bool additing)
 {
     Test          = new PresentationTest();
     MainViewModel = main;
     _close        = close;
     IsNew         = additing;
     if (main.SelectedItemTest != null)
     {
         Test = main.SelectedItemTest;
     }
 }
Example #2
0
 public void DeleteTest(PresentationTest test)
 {
     _basicsOperationTest.DeleteTest(test);
     RefreshTest();
 }
Example #3
0
 public void ChangeTest(PresentationTest test)
 {
     _basicsOperationTest.ChangeTest(test);
     RefreshTest();
 }
Example #4
0
 public void AddTest(PresentationTest test)
 {
     _basicsOperationTest.AddTest(test);
     RefreshTest();
 }