示例#1
0
        // Methods
        public CodeCompletionBox(SyntaxEdit Owner) : base(Owner)
        {
            this.dropDownCount    = EditConsts.DefaultDropDownCount;
            base.CompletionFlags &= ((CodeCompletionFlags)(-5));
            base.SizeAble         = true;
            this.UpdateDropDown();
            CompletionListBox box1 = this.ListBox;

            box1.UpdateSize = (EventHandler)Delegate.Combine(box1.UpdateSize, new EventHandler(this.DoUpdateSize));
        }
示例#2
0
 protected override Control CreatePopupControl()
 {
     System.Windows.Forms.ListBox box1 = new CompletionListBox();
     box1.SelectedIndexChanged += new EventHandler(this.SelectionChanged);
     return(box1);
 }