void CreateTestDelegate.showPresentTestController(string nameTest) { presentTestViewController = new PresentTestViewController(this); presentTestViewController.setupTask(false); 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(); }