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."); } }
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); } }
private void BtnSteamFolder_Click(object sender, RoutedEventArgs e) { CommonService.OpenFolder(LoadService.config.SteamModsPath, () => MessageBox.Show("steam folder not configured correctly.")); }
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.")); }
private void BtnGameFolder_Click(object sender, RoutedEventArgs e) { CommonService.OpenFolder(LoadService.config.GamePath, () => MessageBox.Show("Game folder not configured correctly.")); }
public void GameModFolder_Click(object sender, RoutedEventArgs e) { CommonService.OpenFolder(System.IO.Path.Combine(LoadService.config.GamePath, "Mods"), () => MessageBox.Show(ConstantMessages.GameFolderNotConfiguredCorrectly)); }
public void BtnGameFolder_Click(object sender, RoutedEventArgs e) { CommonService.OpenFolder(LoadService.config.GamePath, () => MessageBox.Show(ConstantMessages.GameFolderNotConfiguredCorrectly)); }
public void GameModFolder_Click(object sender, RoutedEventArgs e) { CommonService.OpenFolder(LoadService.config.ModFolder, () => MessageBox.Show("Game folder not configured correctly.")); }