Ejemplo n.º 1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     this.BringToFront();
     this.Focus();
     this.KeyPreview = true;
     this.KeyDown   += new KeyEventHandler(Form1_KeyDown);
     env             = DLL2048.init();
     Board           = (ObjBox)DLL2048.init_board(env, new List <object>());
     redraw_gui(Board);
 }
Ejemplo n.º 2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     this.BringToFront();
     this.Focus();
     this.KeyPreview = true;
     this.KeyDown += new KeyEventHandler(Form1_KeyDown);
     env = DLL2048.init();
     Board = (ObjBox) DLL2048.init_board(env, new List<object>());
     redraw_gui(Board);
 }