예제 #1
0
        protected void ShowCompletionWindow()
        {
            Enabled = true;
            AbstractCompletionWindow.ShowWindow(base.Handle, AbstractCompletionWindow.SW_SHOWNA);

            control.Focus();
            if (Owner != null)
            {
                Owner.LocationChanged += new EventHandler(this.ParentFormLocationChanged);
            }

            control.ActiveTextAreaControl.VScrollBar.ValueChanged     += new EventHandler(ParentFormLocationChanged);
            control.ActiveTextAreaControl.HScrollBar.ValueChanged     += new EventHandler(ParentFormLocationChanged);
            control.ActiveTextAreaControl.TextArea.DoProcessDialogKey += new DialogKeyProcessor(ProcessTextAreaKey);
            control.ActiveTextAreaControl.Caret.PositionChanged       += new EventHandler(CaretOffsetChanged);
            control.ActiveTextAreaControl.TextArea.LostFocus          += new EventHandler(this.TextEditorLostFocus);
            control.Resize += new EventHandler(ParentFormLocationChanged);
        }
예제 #2
0
 public void ShowDeclarationViewWindow()
 {
     AbstractCompletionWindow.ShowWindow(base.Handle, AbstractCompletionWindow.SW_SHOWNA);
 }