static public void ViewHelp() { string rootDir = Path.GetDirectoryName(GUIManager.GetEntryDirectory()); string helpPath = Path.Combine(rootDir, @"Help\index.html"); if (File.Exists(helpPath)) { Process.Start(helpPath); } }
static public bool ViewHelp() { string rootDir = Path.GetDirectoryName(GUIManager.GetEntryDirectory()); string helpPath = Path.Combine(rootDir, @"Help\index_en.html"); if (Core.Language == Language.Japanese) { helpPath = Path.Combine(rootDir, @"Help\index_ja.html"); } if (File.Exists(helpPath)) { Process.Start(helpPath); } return(true); }
static public bool OpenSample() { string rootDir = Path.GetDirectoryName(GUIManager.GetEntryDirectory()); OpenFileDialog ofd = new OpenFileDialog(); ofd.InitialDirectory = Path.Combine(rootDir, @"Sample"); ofd.Filter = Properties.Resources.ProjectFilter; ofd.FilterIndex = 2; ofd.Multiselect = false; if (ofd.ShowDialog() == DialogResult.OK) { Open(ofd.FileName); } return(true); }
static public void OpenSample() { string rootDir = Path.GetDirectoryName(GUIManager.GetEntryDirectory()); OpenFileDialog ofd = new OpenFileDialog(); ofd.InitialDirectory = Path.Combine(rootDir, @"Sample"); ofd.Filter = "エフェクトプロジェクト (*.efkproj)|*.efkproj"; ofd.FilterIndex = 2; ofd.Multiselect = false; if (ofd.ShowDialog() == DialogResult.OK) { Open(ofd.FileName); } else { return; } }