예제 #1
0
        public void GetNewProject()
        {
            AddProjectWindow win = new AddProjectWindow();

            win.Owner = Window.GetWindow(this);
            win.ShowDialog();
        }
예제 #2
0
        public Project GetNewProject()
        {
            AddProjectWindow apw = new AddProjectWindow();

            apw.Owner = Window.GetWindow(this);
            if (apw.ShowDialog().Value)
            {
                return(apw.NewProject);
            }

            return(null);
        }