public MainWindow() { //The following two lines of code is to reset the PromptForFeedbackSettings to true //Please uncomment it, build it, before actual release // Properties.Settings.Default["PromptForFeedback"] = true; // Properties.Settings.Default.Save(); InitializeComponent(); Global.MainWindow = this; Global.MainFrame = MainFrame; Global.Snackbar = Snackbar; var firstPage = new Page_Introduction(); MainFrame.Navigate(firstPage); ConsoleTerminal.Initialize(new ConsoleTerminalModel(new List <IConsoleCommand> { new LoadTestDataCommand(this), new HideConsoleCommand(DrawerHost), new LoadDataFromTestServerCommand(this), new ResetDataCommand(Global.InputSlotList), new SaveLoadedHtmlCommand(Global.Toggles.SaveLoadedHtmlToggle), new ThrowExceptionCommand(null), new StatsCommand(Global.InputSlotList) })); CheckIfThisVersionIsUpToDate(); }
public MainWindow() { //The following two lines of code is to reset the PromptForFeedbackSettings to true //Please uncomment it, build it, before actual release // Properties.Settings.Default["PromptForFeedback"] = true; // Properties.Settings.Default.Save(); InitializeComponent(); Global.MainWindow = this; Global.MainFrame = MainFrame; Global.Snackbar = Snackbar; var firstPage = new Page_Introduction(); MainFrame.Navigate(firstPage); //new HtmlSlotParser().Parse(File.ReadAllText( // @"C:\Users\User\Desktop\TTAPv7.7\NUnit.Tests2\TestFiles\CopiedTextFromSampleHTML.txt")); }