public MacroSteps(MacroRecorderWindow ParentWnd) { _mainWindow = ParentWnd; InitializeComponent(); foreach (var item in _mainWindow.SelectedMacro.Steps) { lbMacroSteps.Items.Add(item); } }
public void RunRecordMacro(string key) { Navigation.state = ProgramState.macrorecorder; MacroRecorder = new MacroRecorderWindow(); MacroRecorder.Closing += new System.ComponentModel.CancelEventHandler(MacroRecorder_Closing); MacroRecorder.Show(); MacroRecorder.Activate(); MainMenu.Hide(); }
public ShowMacros(MacroRecorderWindow ParentWnd) { _mainWindow = ParentWnd; InitializeComponent(); }