/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.txtInput = new NhsCui.Toolkit.WinForms.NhsTextBox(); this.SuspendLayout(); // // txtInput // this.txtInput.Dock = System.Windows.Forms.DockStyle.Fill; this.txtInput.Location = new System.Drawing.Point(0, 0); this.txtInput.Multiline = true; this.txtInput.Name = "txtInput"; this.txtInput.Size = new System.Drawing.Size(120, 20); this.txtInput.TabIndex = 0; this.txtInput.WordWrap = false; this.txtInput.Enter += new System.EventHandler(this.TxtInput_Enter); this.txtInput.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TxtInput_KeyPress); this.txtInput.Validating += new System.ComponentModel.CancelEventHandler(this.TxtInput_Validating); // // TimeSpanInputBox // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.txtInput); this.Name = "TimeSpanInputBox"; this.Size = new System.Drawing.Size(120, 20); this.Leave += new System.EventHandler(this.TimeSpanInputBox_Leave); this.FontChanged += new System.EventHandler(this.TimeSpanInputBox_FontChanged); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.chkApprox = new System.Windows.Forms.CheckBox(); this.btnUp = new System.Windows.Forms.Button(); this.btnDown = new System.Windows.Forms.Button(); this.txtInput = new NhsCui.Toolkit.WinForms.NhsTextBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.SuspendLayout(); // // chkApprox // this.chkApprox.AutoSize = true; this.chkApprox.Location = new System.Drawing.Point(162, 2); this.chkApprox.Name = "chkApprox"; this.chkApprox.Size = new System.Drawing.Size(15, 14); this.chkApprox.TabIndex = 2; this.chkApprox.UseVisualStyleBackColor = true; this.chkApprox.Visible = false; this.chkApprox.CheckedChanged += new System.EventHandler(this.ChkApprox_CheckedChanged); // // btnUp // this.btnUp.Image = global::NhsCui.Toolkit.WinForms.Properties.Resources.arrow_top; this.btnUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btnUp.FlatAppearance.BorderSize = 0; this.btnUp.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnUp.Location = new System.Drawing.Point(88, 0); this.btnUp.Name = "btnUp"; this.btnUp.Size = new System.Drawing.Size(10, 9); this.btnUp.TabIndex = 4; this.btnUp.TabStop = false; this.btnUp.UseVisualStyleBackColor = true; this.btnUp.Click += new System.EventHandler(this.BtnUp_Click); // // btnDown // this.btnDown.Image = global::NhsCui.Toolkit.WinForms.Properties.Resources.arrow_down; this.btnDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btnDown.FlatAppearance.BorderSize = 0; this.btnDown.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnDown.Location = new System.Drawing.Point(88, 10); this.btnDown.Name = "btnDown"; this.btnDown.Size = new System.Drawing.Size(10, 9); this.btnDown.TabIndex = 3; this.btnDown.TabStop = false; this.btnDown.UseVisualStyleBackColor = true; this.btnDown.Click += new System.EventHandler(this.BtnDown_Click); // // txtInput // this.txtInput.BackColor = System.Drawing.SystemColors.Window; this.txtInput.Location = new System.Drawing.Point(0, 0); this.txtInput.Multiline = true; this.txtInput.Name = "txtInput"; this.txtInput.Size = new System.Drawing.Size(90, 20); this.txtInput.TabIndex = 0; this.txtInput.WordWrap = false; this.txtInput.Enter += new System.EventHandler(this.TextBox1_Enter); this.txtInput.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBox1_MouseClick); this.txtInput.FieldDoubleClicked += new System.EventHandler(this.TxtInput_FieldDoubleClicked); this.txtInput.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TxtInput_KeyUp); this.txtInput.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TextBox1_KeyPress); this.txtInput.Validating += new System.ComponentModel.CancelEventHandler(this.TxtInput_Validating); this.txtInput.TextChanged += new System.EventHandler(this.TextBox1_TextChanged); this.txtInput.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBox1_KeyDown); // // TimeInputBox // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Controls.Add(this.btnUp); this.Controls.Add(this.btnDown); this.Controls.Add(this.chkApprox); this.Controls.Add(this.txtInput); this.Name = "TimeInputBox"; this.Size = new System.Drawing.Size(110, 20); this.Load += new System.EventHandler(this.UserControl1_Load); this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TimeInputBox_MouseClick); this.Leave += new System.EventHandler(this.TimeInputBox_Leave); this.FontChanged += new System.EventHandler(this.TimeInputBox_FontChanged); this.Resize += new System.EventHandler(this.UserControl1_Resize); this.ForeColorChanged += new System.EventHandler(this.TimeInputBox_ForeColorChanged); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TimeInputBox_KeyDown); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.btnCalendar = new System.Windows.Forms.Button(); this.chkApprox = new System.Windows.Forms.CheckBox(); this.mainPanel = new NhsTextBox(); this.txtInput = new NhsCui.Toolkit.WinForms.NhsTextBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.mainPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // btnCalendar // this.btnCalendar.BackColor = System.Drawing.SystemColors.Control; this.btnCalendar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btnCalendar.FlatAppearance.BorderColor = System.Drawing.SystemColors.ControlLight; this.btnCalendar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCalendar.Location = new System.Drawing.Point(90, 0); this.btnCalendar.Name = "btnCalendar"; this.btnCalendar.Size = new System.Drawing.Size(27, 22); this.btnCalendar.TabIndex = 2; this.btnCalendar.UseVisualStyleBackColor = false; this.btnCalendar.Enter += new System.EventHandler(this.BtnCalendar_Enter); this.btnCalendar.Click += new System.EventHandler(this.Button1_Click); this.btnCalendar.Leave += new System.EventHandler(this.BtnCalendar_Leave); // // chkApprox // this.chkApprox.AutoSize = true; this.chkApprox.BackColor = System.Drawing.SystemColors.Control; this.chkApprox.Location = new System.Drawing.Point(162, 2); this.chkApprox.Name = "chkApprox"; this.chkApprox.Size = new System.Drawing.Size(15, 14); this.chkApprox.TabIndex = 3; this.chkApprox.UseVisualStyleBackColor = false; this.chkApprox.Visible = false; this.chkApprox.CheckedChanged += new System.EventHandler(this.ChkApprox_CheckedChanged); // // mainPanel // this.mainPanel.BackColor = System.Drawing.SystemColors.Control; this.mainPanel.Controls.Add(this.txtInput); this.mainPanel.Controls.Add(this.btnCalendar); this.mainPanel.Cursor = System.Windows.Forms.Cursors.Arrow; this.mainPanel.Location = new System.Drawing.Point(0, 0); this.mainPanel.Multiline = true; this.mainPanel.Name = "mainPanel"; this.mainPanel.Size = new System.Drawing.Size(125, 24); this.mainPanel.TabIndex = 0; this.mainPanel.TabStop = false; // // txtInput // this.txtInput.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtInput.Location = new System.Drawing.Point(0, 0); this.txtInput.Multiline = true; this.txtInput.Name = "txtInput"; this.txtInput.Size = new System.Drawing.Size(94, 22); this.txtInput.TabIndex = 1; this.txtInput.WordWrap = false; this.txtInput.Enter += new System.EventHandler(this.TxtInput_Enter); this.txtInput.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TxtInput_MouseClick); this.txtInput.FieldDoubleClicked += new System.EventHandler(this.TxtInput_FieldDoubleClicked); this.txtInput.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TxtInput_KeyUp); this.txtInput.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TxtInput_KeyPress); this.txtInput.Validating += new System.ComponentModel.CancelEventHandler(this.TxtInput_Validating); this.txtInput.TextChanged += new System.EventHandler(this.TxtInput_TextChanged); this.txtInput.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TxtInput_KeyDown); // // pictureBox1 // this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.pictureBox1.Image = global::NhsCui.Toolkit.WinForms.Properties.Resources.calendar; this.pictureBox1.Location = new System.Drawing.Point(102, 3); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(17, 17); this.pictureBox1.TabIndex = 4; this.pictureBox1.TabStop = false; this.pictureBox1.Click += new System.EventHandler(this.PictureBox1_Click); // // DateInputBox // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.SystemColors.Control; this.Controls.Add(this.pictureBox1); this.Controls.Add(this.mainPanel); this.Controls.Add(this.chkApprox); this.Name = "DateInputBox"; this.Size = new System.Drawing.Size(130, 22); this.Leave += new System.EventHandler(this.DateInputBox_Leave); this.FontChanged += new System.EventHandler(this.DateInputBox_FontChanged); this.Resize += new System.EventHandler(this.DateInputBox_Resize); this.ForeColorChanged += new System.EventHandler(this.DateInputBox_ForeColorChanged); this.mainPanel.ResumeLayout(false); this.mainPanel.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }