using Cvte.EasiNote; using Cvte.Windows.Input; namespace BetterEN5.UI { public class BoardMenuSettings : BoardEditMenuItem { public BoardMenuSettings() { SortHint = 999; Command = new DelegateCommand(() => { LaunchManager(); }); Predicate = _ => true; } private static void LaunchManager() { var baseDir = System.AppDomain.CurrentDomain.BaseDirectory; var mgrPath = System.IO.Path.Combine(baseDir, "Better-Seewo.Manager.exe"); if (System.IO.File.Exists(mgrPath)) { var psi = new System.Diagnostics.ProcessStartInfo { FileName = mgrPath, UseShellExecute = true }; System.Diagnostics.Process.Start(psi); } } } }