Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public MouseHookObject(MouseHooker parent)
 {
     reference = new WeakReference(parent, false);
 }