//B10415020 public B10415020(TetrisController con, TetrisModel m) { controller = con; model = m; this.Size = new Size(600, 660); this.Load += TetrisView_Load; }
//B10415002 public B10415002(TetrisController con, TetrisModel m) { controller = con; model = m; this.Size = new Size(600, 700); this.Load += TetrisView_Load; InitializeComponent(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); TetrisController controller = new TetrisController(); Application.Run(controller.getView()); }
/// <summary> /// /// </summary> public TetrisView(TetrisController con, TetrisModel m) { controller = con; model = m; this.Size = new Size(600, 700); this.Load += TetrisView_Load; this.KeyDown += TetrisView_KeyDown; this.InitializeComponent(); }