internal DropDownHolder(TypeEditorHost dropDownParent) { ShowInTaskbar = false; ControlBox = false; MinimizeBox = false; MaximizeBox = false; Text = String.Empty; FormBorderStyle = FormBorderStyle.None; StartPosition = FormStartPosition.Manual; // set this to avoid being moved when our handle is created. _mouseHooker = new MouseHooker(this, this); Visible = false; BackColor = VSColorTheme.GetThemedColor(EnvironmentColors.ComboBoxBackgroundColorKey); _dropDownParent = dropDownParent; }
public MouseHookObject(MouseHooker parent) { reference = new WeakReference(parent, false); }