private void init() { openTaskViewController = new OpenTaskViewController(navigationController); openTestViewController = new OpenTestViewController(navigationController); presentTaskViewController = new PresentTaskViewController(navigationController); presentTestViewController = new PresentTestViewController(navigationController); }
void CreateTestDelegate.showPresentTestController(string nameTest) { presentTestViewController = new PresentTestViewController(this); presentTestViewController.setupTask(false); presentTestViewController.FindForm().Text = nameTest; presentTestViewController.ShowDialog(); }
void OpenTestDelegate.showPresentTestController(string nameTest) { presentTestViewController = new PresentTestViewController(this); presentTestViewController.NameTest = nameTest; presentTestViewController.FindForm().Text = nameTest; presentTestViewController.ShowDialog(); }
void ChangeTestDelegate.showPresentTestController(string testName) { presentTestViewController = new PresentTestViewController(this); presentTestViewController.setupTask(true); presentTestViewController.NameTest = testName; presentTestViewController.FindForm().Text = testName; presentTestViewController.ShowDialog(); }