public void GetNewProject() { AddProjectWindow win = new AddProjectWindow(); win.Owner = Window.GetWindow(this); win.ShowDialog(); }
public Project GetNewProject() { AddProjectWindow apw = new AddProjectWindow(); apw.Owner = Window.GetWindow(this); if (apw.ShowDialog().Value) { return(apw.NewProject); } return(null); }