예제 #1
0
 private void InitializeComponent()
 {
     this.lblDelimeter = new System.Windows.Forms.Label();
       this.editHours = new UtilityLibrary.DateTimeControls.EditNumbers();
       this.editMinutes = new UtilityLibrary.DateTimeControls.EditNumbers();
       this.lblDelimeter2 = new System.Windows.Forms.Label();
       this.editSeconds = new UtilityLibrary.DateTimeControls.EditNumbers();
       this.spinUpDown = new UtilityLibrary.DateTimeControls.SpinControl();
       this.SuspendLayout();
       //
       // lblDelimeter
       //
       this.lblDelimeter.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left);
       this.lblDelimeter.BackColor = System.Drawing.SystemColors.Window;
       this.lblDelimeter.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
       this.lblDelimeter.Location = new System.Drawing.Point(22, 4);
       this.lblDelimeter.Name = "lblDelimeter";
       this.lblDelimeter.Size = new System.Drawing.Size(8, 13);
       this.lblDelimeter.TabIndex = 1;
       this.lblDelimeter.Text = ":";
       this.lblDelimeter.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
       //
       // editHours
       //
       this.editHours.BackColor = System.Drawing.SystemColors.Window;
       this.editHours.ForeColor = System.Drawing.SystemColors.WindowText;
       this.editHours.Location = new System.Drawing.Point(1, 4);
       this.editHours.Max = 23;
       this.editHours.MaxLength = 2;
       this.editHours.Name = "editHours";
       this.editHours.QuietMode = false;
       this.editHours.Size = new System.Drawing.Size(22, 13);
       this.editHours.TabIndex = 0;
       //
       // editMinutes
       //
       this.editMinutes.BackColor = System.Drawing.SystemColors.Window;
       this.editMinutes.ForeColor = System.Drawing.SystemColors.WindowText;
       this.editMinutes.Location = new System.Drawing.Point(30, 4);
       this.editMinutes.Max = 59;
       this.editMinutes.MaxLength = 2;
       this.editMinutes.Name = "editMinutes";
       this.editMinutes.QuietMode = false;
       this.editMinutes.Size = new System.Drawing.Size(22, 13);
       this.editMinutes.TabIndex = 2;
       //
       // lblDelimeter2
       //
       this.lblDelimeter2.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left);
       this.lblDelimeter2.BackColor = System.Drawing.SystemColors.Window;
       this.lblDelimeter2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
       this.lblDelimeter2.Location = new System.Drawing.Point(52, 4);
       this.lblDelimeter2.Name = "lblDelimeter2";
       this.lblDelimeter2.Size = new System.Drawing.Size(8, 13);
       this.lblDelimeter2.TabIndex = 3;
       this.lblDelimeter2.Text = ":";
       this.lblDelimeter2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
       //
       // editSeconds
       //
       this.editSeconds.BackColor = System.Drawing.SystemColors.Window;
       this.editSeconds.ForeColor = System.Drawing.SystemColors.WindowText;
       this.editSeconds.Location = new System.Drawing.Point(60, 4);
       this.editSeconds.Max = 59;
       this.editSeconds.MaxLength = 2;
       this.editSeconds.Name = "editSeconds";
       this.editSeconds.QuietMode = false;
       this.editSeconds.Size = new System.Drawing.Size(22, 13);
       this.editSeconds.TabIndex = 4;
       //
       // spinUpDown
       //
       this.spinUpDown.BackColor = System.Drawing.SystemColors.Window;
       this.spinUpDown.Location = new System.Drawing.Point(82, 1);
       this.spinUpDown.Name = "spinUpDown";
       this.spinUpDown.Size = new System.Drawing.Size(17, 19);
       this.spinUpDown.TabIndex = 5;
       this.spinUpDown.Text = "spinControl1";
       //
       // TimeEditor
       //
       this.BackColor = System.Drawing.Color.Navy;
       this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                           this.editHours,
                                                           this.lblDelimeter,
                                                           this.lblDelimeter2,
                                                           this.spinUpDown,
                                                           this.editMinutes,
                                                           this.editSeconds});
       this.Name = "TimeEditor";
       this.Size = new System.Drawing.Size(100, 21);
       this.ResumeLayout(false);
 }
예제 #2
0
 private void InitializeComponent()
 {
     this.lblDelimeter  = new System.Windows.Forms.Label();
     this.editHours     = new UtilityLibrary.DateTimeControls.EditNumbers();
     this.editMinutes   = new UtilityLibrary.DateTimeControls.EditNumbers();
     this.lblDelimeter2 = new System.Windows.Forms.Label();
     this.editSeconds   = new UtilityLibrary.DateTimeControls.EditNumbers();
     this.spinUpDown    = new UtilityLibrary.DateTimeControls.SpinControl();
     this.SuspendLayout();
     //
     // lblDelimeter
     //
     this.lblDelimeter.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                 | System.Windows.Forms.AnchorStyles.Left);
     this.lblDelimeter.BackColor = System.Drawing.SystemColors.Window;
     this.lblDelimeter.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.lblDelimeter.Location  = new System.Drawing.Point(22, 4);
     this.lblDelimeter.Name      = "lblDelimeter";
     this.lblDelimeter.Size      = new System.Drawing.Size(8, 13);
     this.lblDelimeter.TabIndex  = 1;
     this.lblDelimeter.Text      = ":";
     this.lblDelimeter.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // editHours
     //
     this.editHours.BackColor = System.Drawing.SystemColors.Window;
     this.editHours.ForeColor = System.Drawing.SystemColors.WindowText;
     this.editHours.Location  = new System.Drawing.Point(1, 4);
     this.editHours.Max       = 23;
     this.editHours.MaxLength = 2;
     this.editHours.Name      = "editHours";
     this.editHours.QuietMode = false;
     this.editHours.Size      = new System.Drawing.Size(22, 13);
     this.editHours.TabIndex  = 0;
     //
     // editMinutes
     //
     this.editMinutes.BackColor = System.Drawing.SystemColors.Window;
     this.editMinutes.ForeColor = System.Drawing.SystemColors.WindowText;
     this.editMinutes.Location  = new System.Drawing.Point(30, 4);
     this.editMinutes.Max       = 59;
     this.editMinutes.MaxLength = 2;
     this.editMinutes.Name      = "editMinutes";
     this.editMinutes.QuietMode = false;
     this.editMinutes.Size      = new System.Drawing.Size(22, 13);
     this.editMinutes.TabIndex  = 2;
     //
     // lblDelimeter2
     //
     this.lblDelimeter2.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                  | System.Windows.Forms.AnchorStyles.Left);
     this.lblDelimeter2.BackColor = System.Drawing.SystemColors.Window;
     this.lblDelimeter2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.lblDelimeter2.Location  = new System.Drawing.Point(52, 4);
     this.lblDelimeter2.Name      = "lblDelimeter2";
     this.lblDelimeter2.Size      = new System.Drawing.Size(8, 13);
     this.lblDelimeter2.TabIndex  = 3;
     this.lblDelimeter2.Text      = ":";
     this.lblDelimeter2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // editSeconds
     //
     this.editSeconds.BackColor = System.Drawing.SystemColors.Window;
     this.editSeconds.ForeColor = System.Drawing.SystemColors.WindowText;
     this.editSeconds.Location  = new System.Drawing.Point(60, 4);
     this.editSeconds.Max       = 59;
     this.editSeconds.MaxLength = 2;
     this.editSeconds.Name      = "editSeconds";
     this.editSeconds.QuietMode = false;
     this.editSeconds.Size      = new System.Drawing.Size(22, 13);
     this.editSeconds.TabIndex  = 4;
     //
     // spinUpDown
     //
     this.spinUpDown.BackColor = System.Drawing.SystemColors.Window;
     this.spinUpDown.Location  = new System.Drawing.Point(82, 1);
     this.spinUpDown.Name      = "spinUpDown";
     this.spinUpDown.Size      = new System.Drawing.Size(17, 19);
     this.spinUpDown.TabIndex  = 5;
     this.spinUpDown.Text      = "spinControl1";
     //
     // TimeEditor
     //
     this.BackColor = System.Drawing.Color.Navy;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.editHours,
         this.lblDelimeter,
         this.lblDelimeter2,
         this.spinUpDown,
         this.editMinutes,
         this.editSeconds
     });
     this.Name = "TimeEditor";
     this.Size = new System.Drawing.Size(100, 21);
     this.ResumeLayout(false);
 }