Summary description for NewProjectForm.
Inheritance: System.Windows.Forms.Form
示例#1
0
        void OnNewProject()
        {
            NewProjectForm dlg = new NewProjectForm();

            if (DialogResult.OK == dlg.ShowDialog(this))
            {
                ExecuteCommand(new AddProjectCommand(new Project(dlg.ProjectName)));
                RefreshProjectView();
            }
        }
示例#2
0
		void OnNewProject()
		{
			NewProjectForm dlg = new NewProjectForm();
			if (DialogResult.OK == dlg.ShowDialog(this))
			{
				ExecuteCommand(new AddProjectCommand(new Project(dlg.ProjectName)));
				RefreshProjectView();
			}
		}