Here are the examples of the csharp api class BSA_Browser.BSABrowser.OpenArchive(string, bool) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
1. Example
View licensepublic void OpenArchives(bool addToRecentFiles, params string[] paths) { foreach (string path in paths) this.OpenArchive(path, addToRecentFiles); }
0
2. Example
View licenseprivate void recentFiles_Click(object sender, EventArgs e) { var item = sender as MenuItem; string file = item.Tag.ToString(); if (!string.IsNullOrEmpty(file) && File.Exists(file)) { this.OpenArchive(file, true); } else { if (MessageBox.Show(this, $"\"{file}\" doesn't exist anymore.\n\n" + "Do you want to remove it from the recent files list?", "Lost File", MessageBoxButtons.YesNo) == DialogResult.Yes) { recentFilesMenuItem.MenuItems.Remove(item); } } }