Esempio n. 1
0
 public CaptionPanel()
 {
     DoubleBuffered          = true;
     _timer                  = new ColorTimer();
     _timer.ColorChange     += new EventHandler(_timer_ColorChange);
     _timer.ColorChangeStop += new EventHandler(_timer_ColorChangeStop);
 }
Esempio n. 2
0
 public BlockCaptionPanel()
 {
     DoubleBuffered          = true;
     _timer                  = new ColorTimer();
     _timer.ColorChange     += new EventHandler(_timer_ColorChange);
     _timer.ColorChangeStop += new EventHandler(_timer_ColorChangeStop);
     CaptionMargin           = new Padding(4, 2, 4, 2);
 }
Esempio n. 3
0
File: TabPanel.cs Progetto: zzyn/poc
 public TabPanel()
 {
     DoubleBuffered          = true;
     _timer                  = new ColorTimer();
     _timer.ColorChange     += new EventHandler(_timer_ColorChange);
     _timer.ColorChangeStop += new EventHandler(_timer_ColorChangeStop);
     Foldable                = false;
     TabStop                 = true;
     CaptionMargin           = new Padding(4, 3, 4, 3);
 }
Esempio n. 4
0
 protected override void Dispose(bool disposing)
 {
     if (this._timer != null)
     {
         this._timer.ColorChange     -= new EventHandler(this._timer_ColorChange);
         this._timer.ColorChangeStop -= new EventHandler(this._timer_ColorChangeStop);
         this._timer.Dispose();
         this._timer = null;
     }
     base.Dispose(disposing);
 }