/// <summary>
 /// Initializes the custom controls.
 /// </summary>
 /// <remarks>
 /// The custom controls if included in the standard initialize component method are subject to
 /// vanishing if that method is regenerated by the system.
 /// </remarks>
 private void InitializeCustomControls()
 {
     this.m_percentUpDown = new MSR.LST.Controls.InkToolBarControls.PercentUpDown();
     //
     // m_percentUpDown
     //
     this.m_percentUpDown.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.m_percentUpDown.Location      = new System.Drawing.Point(264, 87);
     this.m_percentUpDown.Name          = "m_percentUpDown";
     this.m_percentUpDown.Size          = new System.Drawing.Size(75, 20);
     this.m_percentUpDown.TabIndex      = 3;
     this.m_percentUpDown.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.m_percentUpDown.ValueChanged += new System.EventHandler(this.PercentUpDown_ValueChanged);
     this.m_percentUpDown.Leave        += new System.EventHandler(UpDown_Leave);
     this.Controls.Add(m_percentUpDown);
 }
Example #2
0
 /// <summary>
 /// Initializes the custom controls.
 /// </summary>
 /// <remarks>
 /// The custom controls if included in the standard initialize component method are subject to
 /// vanishing if that method is regenerated by the system.
 /// </remarks>
 private void InitializeCustomControls()
 {
     this.m_percentUpDown = new MSR.LST.Controls.InkToolBarControls.PercentUpDown();
     // 
     // m_percentUpDown
     // 
     this.m_percentUpDown.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.m_percentUpDown.Location = new System.Drawing.Point(264, 87);
     this.m_percentUpDown.Name = "m_percentUpDown";
     this.m_percentUpDown.Size = new System.Drawing.Size(75, 20);
     this.m_percentUpDown.TabIndex = 3;
     this.m_percentUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.m_percentUpDown.ValueChanged += new System.EventHandler(this.PercentUpDown_ValueChanged);
     this.m_percentUpDown.Leave += new System.EventHandler(UpDown_Leave);
     this.Controls.Add(m_percentUpDown);
 }