public Cell(time_trial f) { b = new Button(); b.Size = new Size(110, 110); b.Font = new Font("Microsoft Sans Serif", 25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); value = 0; b.KeyUp += new System.Windows.Forms.KeyEventHandler(f.button_KeyUp); b.BackColor = SystemColors.Control; }
public Form1() { InitializeComponent(); f0 = new classic_game_bord(this); f1 = new time_trial(this); }