示例#1
0
 public Button(int x, int widht, int y, int height, string buttonLabel, int index) : base(x, widht, y, height)
 {
     frame    = new Frame(x, widht, y, height);
     textLine = new TextLine(x + 1, widht - 2, y + 1 + ((height - 2) / 2), buttonLabel);
     Index    = index;
 }