Пример #1
0
        private void OpenModFolder_Click(object sender, RoutedEventArgs e)
        {
            bool failure = false;

            foreach (var mod in ListBox.SelectedItems)
            {
                CommonService.OpenFolder(System.IO.Path.GetDirectoryName(((Mod)mod).FilePath), () => { failure = true; });
            }

            if (failure)
            {
                MessageBox.Show("Game folder not configured correctly.");
            }
        }
Пример #2
0
        public void OpenModFolder_Click(object sender, RoutedEventArgs e)
        {
            bool failure = false;

            foreach (var mod in lsView.SelectedItems)
            {
                CommonService.OpenFolder(System.IO.Path.GetDirectoryName(((Mod)mod).FilePath), () => { failure = true; });
            }

            if (failure)
            {
                MessageBox.Show(ConstantMessages.GameFolderNotConfiguredCorrectly);
            }
        }
Пример #3
0
 private void BtnSteamFolder_Click(object sender, RoutedEventArgs e)
 {
     CommonService.OpenFolder(LoadService.config.SteamModsPath, () => MessageBox.Show("steam folder not configured correctly."));
 }
Пример #4
0
 private void GameModFolder_Click(object sender, RoutedEventArgs e)
 {
     CommonService.OpenFolder(System.IO.Path.Combine(LoadService.config.GamePath, "Mods"), () => MessageBox.Show("Game folder not configured correctly."));
 }
Пример #5
0
 private void BtnGameFolder_Click(object sender, RoutedEventArgs e)
 {
     CommonService.OpenFolder(LoadService.config.GamePath, () => MessageBox.Show("Game folder not configured correctly."));
 }
Пример #6
0
 public void GameModFolder_Click(object sender, RoutedEventArgs e)
 {
     CommonService.OpenFolder(System.IO.Path.Combine(LoadService.config.GamePath, "Mods"), () => MessageBox.Show(ConstantMessages.GameFolderNotConfiguredCorrectly));
 }
Пример #7
0
 public void BtnGameFolder_Click(object sender, RoutedEventArgs e)
 {
     CommonService.OpenFolder(LoadService.config.GamePath, () => MessageBox.Show(ConstantMessages.GameFolderNotConfiguredCorrectly));
 }
Пример #8
0
 public void GameModFolder_Click(object sender, RoutedEventArgs e)
 {
     CommonService.OpenFolder(LoadService.config.ModFolder, () => MessageBox.Show("Game folder not configured correctly."));
 }