private void newProjectBtn_Click(object sender, RoutedEventArgs e)
        {
            NewProjectWindow np = new NewProjectWindow();

            np.ShowDialog();

            // A project was created?
            if (np.DialogResult.Value)
            {
                EditorCommands.AddToProjectHistory(np.ProjectPath);
                StartEditor(np.ProjectPath);
            }
        }
Exemple #2
0
        private void newProjectMenuItem_Click(object sender, RoutedEventArgs e)
        {
            NewProjectWindow np = new NewProjectWindow();
            np.ShowDialog();

            // A project was created?
            if (np.DialogResult.Value)
            {
                //Reload();
                EditorCommands.LoadProject(np.ProjectPath);
                EditorCommands.AddToProjectHistory(np.ProjectPath);
            }
        }
        private void newProjectBtn_Click(object sender, RoutedEventArgs e)
        {
            NewProjectWindow np = new NewProjectWindow();
            np.ShowDialog();

            // A project was created?
            if (np.DialogResult.Value)
            {
                EditorCommands.AddToProjectHistory(np.ProjectPath);
                StartEditor(np.ProjectPath);
            }
        }