Esempio n. 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.m_pTextBox = new VRS.UI.Controls.WTextBoxBase();
     this.timer1     = new System.Windows.Forms.Timer(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.m_pTextBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // m_pTextBox
     //
     this.m_pTextBox.Anchor        = (System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
     this.m_pTextBox.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.m_pTextBox.DecimalPlaces = 2;
     this.m_pTextBox.DecMaxValue   = 999999999;
     this.m_pTextBox.DecMinValue   = -999999999;
     this.m_pTextBox.Location      = new System.Drawing.Point(3, 3);
     this.m_pTextBox.Mask          = VRS.UI.Controls.WEditBox_Mask.Text;
     this.m_pTextBox.Name          = "m_pTextBox";
     this.m_pTextBox.Size          = new System.Drawing.Size(95, 13);
     this.m_pTextBox.TabIndex      = 0;
     this.m_pTextBox.Text          = "textBox1";
     this.m_pTextBox.TextChanged  += new System.EventHandler(this.m_pTextBox_TextChanged);
     //
     // timer1
     //
     this.timer1.Interval = 150;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // WSpinEdit
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.m_pTextBox
     });
     this.Name = "WSpinEdit";
     this.Size = new System.Drawing.Size(118, 20);
     this.ViewStyle.BorderColor        = System.Drawing.Color.DarkGray;
     this.ViewStyle.BorderHotColor     = System.Drawing.Color.Black;
     this.ViewStyle.ButtonColor        = System.Drawing.SystemColors.Control;
     this.ViewStyle.ButtonHotColor     = System.Drawing.Color.FromArgb(((System.Byte)(182)), ((System.Byte)(193)), ((System.Byte)(214)));
     this.ViewStyle.ButtonPressedColor = System.Drawing.Color.FromArgb(((System.Byte)(210)), ((System.Byte)(218)), ((System.Byte)(232)));
     this.ViewStyle.ControlBackColor   = System.Drawing.SystemColors.Control;
     this.ViewStyle.EditColor          = System.Drawing.Color.White;
     this.ViewStyle.EditDisabledColor  = System.Drawing.Color.Gainsboro;
     this.ViewStyle.EditFocusedColor   = System.Drawing.Color.Beige;
     this.ViewStyle.EditReadOnlyColor  = System.Drawing.Color.White;
     this.ViewStyle.FlashColor         = System.Drawing.Color.Pink;
     this.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.WSpinEdit_MouseUp);
     this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.WSpinEdit_MouseMove);
     this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.WSpinEdit_MouseDown);
     ((System.ComponentModel.ISupportInitialize)(this.m_pTextBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.m_pTextBox = new VRS.UI.Controls.WTextBoxBase();
     this.timer1     = new System.Windows.Forms.Timer(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.m_pTextBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // m_pTextBox
     //
     this.m_pTextBox.Anchor        = (System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
     this.m_pTextBox.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.m_pTextBox.DecimalPlaces = 2;
     this.m_pTextBox.DecMaxValue   = 999999999;
     this.m_pTextBox.DecMinValue   = -999999999;
     this.m_pTextBox.Location      = new System.Drawing.Point(3, 2);
     this.m_pTextBox.Mask          = VRS.UI.Controls.WEditBox_Mask.Text;
     this.m_pTextBox.Name          = "m_pTextBox";
     this.m_pTextBox.Size          = new System.Drawing.Size(86, 13);
     this.m_pTextBox.TabIndex      = 0;
     this.m_pTextBox.Text          = "";
     this.m_pTextBox.KeyUp        += new System.Windows.Forms.KeyEventHandler(this.m_pTextBox_KeyUp);
     this.m_pTextBox.TextChanged  += new System.EventHandler(this.m_pTextBox_TextChanged);
     //
     // timer1
     //
     this.timer1.Interval = 150;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // WButtonEdit
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.m_pTextBox
     });
     this.Name       = "WButtonEdit";
     this.Size       = new System.Drawing.Size(118, 20);
     this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.WButtonEdit_MouseMove);
     this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.WButtonEdit_MouseDown);
     ((System.ComponentModel.ISupportInitialize)(this.m_pTextBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.m_pTextBox = new VRS.UI.Controls.WTextBoxBase();
     this.timer1     = new System.Windows.Forms.Timer(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.m_pTextBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // m_pTextBox
     //
     this.m_pTextBox.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.m_pTextBox.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.m_pTextBox.DecimalPlaces = 2;
     this.m_pTextBox.DecMaxValue   = 999999999;
     this.m_pTextBox.DecMinValue   = -999999999;
     this.m_pTextBox.Location      = new System.Drawing.Point(3, 2);
     this.m_pTextBox.Mask          = VRS.UI.Controls.WEditBox_Mask.Text;
     this.m_pTextBox.Name          = "m_pTextBox";
     this.m_pTextBox.Size          = new System.Drawing.Size(94, 13);
     this.m_pTextBox.TabIndex      = 0;
     this.m_pTextBox.Text          = "";
     this.m_pTextBox.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.m_pTextBox_KeyDown);
     this.m_pTextBox.TextChanged  += new System.EventHandler(this.m_pTextBox_TextChanged);
     //
     // timer1
     //
     this.timer1.Interval = 150;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // WEditBox
     //
     this.Controls.Add(this.m_pTextBox);
     this.Name = "WEditBox";
     this.Size = new System.Drawing.Size(100, 20);
     this.ViewStyle.EditReadOnlyColor = System.Drawing.Color.White;
     ((System.ComponentModel.ISupportInitialize)(this.m_pTextBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }