Ejemplo n.º 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());
        }
Ejemplo n.º 2
0
        private void newProjectButton_Click(object sender, RoutedEventArgs e)
        {
            m_bExitButtonPressed = true;

            m_sProjectToBeLoaded = CreateNewProject.ShowAndReturn();
        }