private void init() { openTaskViewController = new OpenTaskViewController(navigationController); openTestViewController = new OpenTestViewController(navigationController); presentTaskViewController = new PresentTaskViewController(navigationController); presentTestViewController = new PresentTestViewController(navigationController); }
public void showPresentTaskController(TaskSetup taskSetup) { presentTaskViewController = new PresentTaskViewController(this); presentTaskViewController.setupTask(taskSetup); presentTaskViewController.FindForm().Text = taskSetup.nameTask; presentTaskViewController.ShowDialog(); }