예제 #1
0
        /// <summary>
        /// Shows the dialog and returns the name of the created project
        /// or ConstantDefinitions.CommonValueNone if cancel was pressed
        /// </summary>
        /// <returns></returns>
        public static string ShowAndReturn()
        {
            var dia = new CreateNewProject();

            dia.ShowDialog();

            return(dia.GetProjectName());
        }
예제 #2
0
        private void newProjectButton_Click(object sender, RoutedEventArgs e)
        {
            m_bExitButtonPressed = true;

            m_sProjectToBeLoaded = CreateNewProject.ShowAndReturn();
        }