Example #1
0
 public Button(IPicture picture, string caption)
     : base()
 {
     TextLabel = new Label(caption);
     MyPicture = new PictureBox(picture);
     this.Add(MyPicture);
     this.Add(TextLabel);
 }
Example #2
0
 public LabelBlock(ITextProvider bindToText)
     : base()
 {
     MyLabel = new Label(bindToText);
 }
Example #3
0
 public Button(string caption)
     : base()
 {
     TextLabel = new Label(caption);
     this.Add(TextLabel);
 }
Example #4
0
 public LabelBlock(string text)
     : base()
 {
     MyLabel = new Label(text);
 }