public DockContent() { _fixer = new FormHelper(this); _fixer.EnableBoundsTracking = false; ElementProvider.Install(new DockContentElementProvider(this)); }
public TextEditorControl() { ElementProvider.Install(new TextEditorElementProvider(this)); ActiveTextAreaControl.TextArea.DoProcessDialogKey += TextArea_DoProcessDialogKey; ActiveTextAreaControl.TextArea.GotFocus += TextArea_GotFocus; ActiveTextAreaControl.TextArea.LostFocus += TextArea_LostFocus; CommandMapper = new NiCommandMapper(); _commandTarget = new CommandTarget(CommandMapper); FindTarget = new FindTargetImpl(ActiveTextAreaControl); BuildCommands(); RemoveDefaultKeyBindings(); }