Example #1
0
 private void Initialize(string caption, Point pt)
 {
     Caption     = caption;
     TextSize    = 15;
     LeTextColor = new LeColor(Color.Red);
     LeTextFont  = new LeFont(new Font("Tahoma", 10));
     Boundary    = new Rectangle(pt, new Size(0, 0));
 }
Example #2
0
 private void Initialize(string caption, Rectangle rect)
 {
     Caption   = caption;
     TextSize  = 15;
     Opaque    = true;
     TextColor = new LeColor(Color.Red);
     TextFont  = new LeFont(new Font("Tahoma", 15));
     Boundary  = rect;
 }