Esempio n. 1
0
        public DockContent()
        {
            _fixer = new FormHelper(this);
            _fixer.EnableBoundsTracking = false;

            ElementProvider.Install(new DockContentElementProvider(this));
        }
Esempio n. 2
0
        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();
        }