/// <summary>
 /// Uns the register control.
 /// </summary>
 private void UnRegisterControl()
 {
     if (this._ClickControl != null)
     {
         ZeroitClickAnimator metroAnimator = this;
         this._ClickControl.Paint -= new PaintEventHandler(metroAnimator.control_Paint);
         ZeroitClickAnimator metroAnimator1 = this;
         this._ClickControl.Click -= new EventHandler(metroAnimator1.control_Click);
     }
 }
 /// <summary>
 /// Registers the control.
 /// </summary>
 private void RegisterControl()
 {
     if (this._ClickControl != null)
     {
         ZeroitClickAnimator metroAnimator = this;
         this._ClickControl.Paint += new PaintEventHandler(metroAnimator.control_Paint);
         ZeroitClickAnimator metroAnimator1 = this;
         this._ClickControl.Click += new EventHandler(metroAnimator1.control_Click);
         this.SetDoubleBuffered(this._ClickControl);
     }
 }