+ initCommands();
+ App.ViewCommands.Add (CMDViewDebug);
+ }
+ #region commands
+ public ActionCommand CMDViewDebug;
+ public Command CMDOptions_SelectNetcoredbgPath => new ActionCommand ("...",
+ () => {
+ FileDialog dlg = App.LoadIMLFragment<FileDialog> (@"
+ <FileDialog Caption='Select netcoredbg executable path' CurrentDirectory='{NetcoredbgPath}'
+ ShowFiles='true' ShowHidden='true'/>");
+ dlg.OkClicked += (sender, e) => NetcoredbgPath = (sender as FileDialog).SelectedFileFullPath;
+ dlg.DataSource = this;
+ }
+ );
+ void initCommands ()
+ {
+ CMDViewDebug = new ActionCommand("Debug Window", () => App.LoadWindow ("#CENetcoreDbgPlugin.ui.winDebugging.crow", dbg));