Example #1
0
        public ModBrowser()
        {
            Instance = this;

            InitializeComponent();

            this.DataContext = new ModBrowserViewModel();
        }
        private void OnConfirmButtonClicked(object sender, RoutedEventArgs e)
        {
            Console.WriteLine("Chosen Path: " + SelectedModPath);

            Properties.Settings.Default.GameDirectoryPath = SelectedModPath;
            Properties.Settings.Default.Save();

            ModBrowser modBrowser = new ModBrowser();

            modBrowser.Show();
            this.Close();
        }
Example #3
0
        private void OnStart(object sender, StartupEventArgs e)
        {
            Window startingWindow = new ModBrowser();

            startingWindow.Show();
        }