Inheritance: System.Windows.Forms.Form
コード例 #1
0
ファイル: DropDownCellEditor.cs プロジェクト: unixcrh/Motion
        /// <summary>
        /// Initializes a new instance of the DropDownCellEditor class with default settings
        /// </summary>
        public DropDownCellEditor() : base()
        {
            TextBox textbox = new TextBox();

            textbox.AutoSize    = false;
            textbox.BackColor   = SystemColors.Window;
            textbox.BorderStyle = BorderStyle.None;
            textbox.MouseEnter += new EventHandler(textbox_MouseEnter);
            this.Control        = textbox;

            this.dropDownContainer = new DropDownContainer(this);

            this.droppedDown   = false;
            this.DropDownStyle = DropDownStyle.DropDownList;
            this.dropDownWidth = -1;

            this.parentForm         = null;
            this.activationListener = new ActivationListener(this);
            this.containsMouse      = false;
        }
コード例 #2
0
ファイル: DropDownCellEditor.cs プロジェクト: zhuangyy/Motion
        /// <summary>
        /// Initializes a new instance of the DropDownCellEditor class with default settings
        /// </summary>
        public DropDownCellEditor()
            : base()
        {
            TextBox textbox = new TextBox();
            textbox.AutoSize = false;
            textbox.BackColor = SystemColors.Window;
            textbox.BorderStyle = BorderStyle.None;
            textbox.MouseEnter += new EventHandler(textbox_MouseEnter);
            this.Control = textbox;

            this.dropDownContainer = new DropDownContainer(this);

            this.droppedDown = false;
            this.DropDownStyle = DropDownStyle.DropDownList;
            this.dropDownWidth = -1;

            this.parentForm = null;
            this.activationListener = new ActivationListener(this);
            this.containsMouse = false;
        }