public void AddNewSession() { WizardNew theWizardNew; theWizardNew = new WizardNew(WizardNew.StartPage.session); theWizardNew.ShowDialog(this); if (theWizardNew.has_created_session) { _Project.AddSession (theWizardNew.GetSession()); Notify(this, new UpdateAll()); UpdateUIControls (); } }
public void SessionAddNew() { WizardNew wizard; wizard = new WizardNew (WizardNew.StartPage.session); wizard.ShowDialog(this); if (wizard.has_created_session) { this.project.AddSession (wizard.GetSession()); this.UpdateSessionTreeView (); this.SessionBrowser.Select (); } }