protected void ShowCompletionWindow() { base.Owner = this.parentForm; base.Enabled = true; AbstractCompletionWindow.ShowWindow(base.Handle, AbstractCompletionWindow.SW_SHOWNA); this.control.Focus(); if (this.parentForm != null) { this.parentForm.LocationChanged += new EventHandler(this.ParentFormLocationChanged); } this.control.ActiveTextAreaControl.VScrollBar.ValueChanged += new EventHandler(this.ParentFormLocationChanged); this.control.ActiveTextAreaControl.HScrollBar.ValueChanged += new EventHandler(this.ParentFormLocationChanged); this.control.ActiveTextAreaControl.TextArea.DoProcessDialogKey += new DialogKeyProcessor(this.ProcessTextAreaKey); this.control.ActiveTextAreaControl.Caret.PositionChanged += new EventHandler(this.CaretOffsetChanged); this.control.ActiveTextAreaControl.TextArea.LostFocus += new EventHandler(this.TextEditorLostFocus); this.control.Resize += new EventHandler(this.ParentFormLocationChanged); }
public void ShowDeclarationViewWindow() { AbstractCompletionWindow.ShowWindow(base.Handle, AbstractCompletionWindow.SW_SHOWNA); }