public ChangeTextMenuItem(BufermanMenuItem menuItem, IBufer bufer, IBufermanHost bufermanHost, IProgramSettingsGetter settings) : base(menuItem, bufer, bufermanHost) { menuItem.AddOnClickHandler(this._ChangeText); menuItem.ShortCut = Shortcut.CtrlH; this._settings = settings; }
public EditBuferTextMenuItem( BufermanMenuItem menuItem, BuferContextMenuState buferContextMenuState, IBufermanHost bufermanHost, IProgramSettingsGetter settings, IClipboardWrapper clipboardWrapper) { this._settings = settings; this._bufermanHost = bufermanHost; this._buferContextMenuState = buferContextMenuState; this._clipboardWrapper = clipboardWrapper; menuItem.AddOnClickHandler(this._ChangeBufer); menuItem.ShortCut = Shortcut.CtrlE; }
public CreateLoginCredentialsMenuItem(BufermanMenuItem menuItem, IBufer bufer, IBufermanHost bufermanHost) : base(menuItem, bufer, bufermanHost) { menuItem.AddOnClickHandler(this._CreateLoginCredentials); menuItem.ShortCut = Shortcut.CtrlL; }
public ReturnToInitialTextMenuItem(BufermanMenuItem menuItem, IBufer bufer, IBufermanHost bufermanHost) : base(menuItem, bufer, bufermanHost) { menuItem.AddOnClickHandler(this._ReturnTextToInitial); menuItem.ShortCut = Shortcut.CtrlI; menuItem.Enabled = false; }