Ejemplo n.º 1
0
        private void Button_StartNCA_Click(object sender, RoutedEventArgs e)
        {
            ProgramWindow main = System.Windows.Application.Current.MainWindow as ProgramWindow;

            if (main.creator is null)
            {
                main.creator = new ContentCreator();
            }
            main.OptionToggle.SelectedIndex = 2;
            main.PreSelect = 2;
            main.PageHolder.NavigationService.Navigate(main.creator);
        }
Ejemplo n.º 2
0
        private void Button_StartNSP_Click(object sender, RoutedEventArgs e)
        {
            ProgramWindow main = System.Windows.Application.Current.MainWindow as ProgramWindow;

            if (main.editor is null)
            {
                main.editor = new TitlePackager();
            }
            main.OptionToggle.SelectedIndex = 1;
            main.PreSelect = 1;
            main.PageHolder.NavigationService.Navigate(main.editor);
        }
Ejemplo n.º 3
0
        public static void setTitle(string Title)
        {
            ProgramWindow main = Application.Current.MainWindow as ProgramWindow;

            main.Title = Program + " → " + Title;
        }