示例#1
0
        ///
        /// <summary>
        /// Creates a new project.
        /// </summary>
        private void newProject()
        {
            List <string>      lstNames      = _proInter.getProNames();
            frmProjectSettings frmNewProject = new frmProjectSettings(lstNames); //Creates and displays frmProjectSettings dialog

            if (frmNewProject.ShowDialog() == DialogResult.OK)
            {
                ProjectSettings ps = frmNewProject.getSettings(); //Fetches settings from the dialog
                _proInter.newPoject(ps);                          //Creates new project
                enableProButtons();
            }
            enableTargetButtons();
        }