Exemple #1
0
        private void InitializeComponent()
        {
            this.lblSign = new TCUILibrary.TCLabel();
            this.txtSign = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            // 
            // lblSign
            // 
            this.lblSign.BackColor = System.Drawing.Color.Transparent;
            this.lblSign.Dock = System.Windows.Forms.DockStyle.Fill;
            this.lblSign.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.lblSign.ForeColor = System.Drawing.SystemColors.ControlDark;
            this.lblSign.Location = new System.Drawing.Point(0, 0);
            this.lblSign.Margin = new System.Windows.Forms.Padding(3);
            this.lblSign.Name = "lblSign";
            this.lblSign.ShowGlass = true;
            this.lblSign.Size = new System.Drawing.Size(150, 28);
            this.lblSign.TabIndex = 0;
            this.lblSign.Text = "label1";
            this.lblSign.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.lblSign.Click += new System.EventHandler(this.lblSign_Click);
            this.lblSign.MouseEnter += new System.EventHandler(this.lblSign_MouseEnter);
            // 
            // txtSign
            // 
            this.txtSign.Dock = System.Windows.Forms.DockStyle.Fill;
            this.txtSign.Location = new System.Drawing.Point(0, 0);
            this.txtSign.Name = "txtSign";
            this.txtSign.Size = new System.Drawing.Size(150, 21);
            this.txtSign.TabIndex = 1;
            this.txtSign.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSign_KeyDown);
            this.txtSign.LostFocus += new System.EventHandler(this.txtSign_LostFocus);
            // 
            // SignControl
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.BackColor = System.Drawing.Color.Transparent;
            this.Controls.Add(this.txtSign);
            this.Controls.Add(this.lblSign);
            this.Name = "SignControl";
            this.Size = new System.Drawing.Size(150, 28);
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Exemple #2
0
 private void InitializeComponent()
 {
     this.lblSign = new TCUILibrary.TCLabel();
     this.txtSign = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // lblSign
     //
     this.lblSign.BackColor   = System.Drawing.Color.Transparent;
     this.lblSign.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.lblSign.FlatStyle   = System.Windows.Forms.FlatStyle.Popup;
     this.lblSign.ForeColor   = System.Drawing.SystemColors.ControlDark;
     this.lblSign.Location    = new System.Drawing.Point(0, 0);
     this.lblSign.Margin      = new System.Windows.Forms.Padding(3);
     this.lblSign.Name        = "lblSign";
     this.lblSign.ShowGlass   = true;
     this.lblSign.Size        = new System.Drawing.Size(150, 28);
     this.lblSign.TabIndex    = 0;
     this.lblSign.Text        = "label1";
     this.lblSign.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.lblSign.Click      += new System.EventHandler(this.lblSign_Click);
     this.lblSign.MouseEnter += new System.EventHandler(this.lblSign_MouseEnter);
     //
     // txtSign
     //
     this.txtSign.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.txtSign.Location   = new System.Drawing.Point(0, 0);
     this.txtSign.Name       = "txtSign";
     this.txtSign.Size       = new System.Drawing.Size(150, 21);
     this.txtSign.TabIndex   = 1;
     this.txtSign.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.txtSign_KeyDown);
     this.txtSign.LostFocus += new System.EventHandler(this.txtSign_LostFocus);
     //
     // SignControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.BackColor           = System.Drawing.Color.Transparent;
     this.Controls.Add(this.txtSign);
     this.Controls.Add(this.lblSign);
     this.Name = "SignControl";
     this.Size = new System.Drawing.Size(150, 28);
     this.ResumeLayout(false);
     this.PerformLayout();
 }