Beispiel #1
0
 public KpsButton(int position)
 {
     color    = new KpsButtonColor();
     Visible  = true;
     AutoSize = false;
     Size     = new Size(36, 36);
     Location = new Point(40 * position, 0);
     createLabel();
     keyhandler = NoKeyHandler.Get();
     UpdateColor();
 }
Beispiel #2
0
 public KpsButton(int position, frmMain form)
 {
     this.frm = form;
     color    = new KpsButtonColor();
     Visible  = true;
     AutoSize = false;
     Size     = new Size(40, 36);
     Location = new Point(40 * position, 0);
     createPanel();
     createLabel();
     Handler = NoKeyHandler.Get();
     UpdateColor();
 }