예제 #1
0
 //B10415020
 public B10415020(TetrisController con, TetrisModel m)
 {
     controller = con;
     model      = m;
     this.Size  = new Size(600, 660);
     this.Load += TetrisView_Load;
 }
예제 #2
0
        //B10415002
        public B10415002(TetrisController con, TetrisModel m)
        {
            controller = con;
            model      = m;
            this.Size  = new Size(600, 700);
            this.Load += TetrisView_Load;

            InitializeComponent();
        }
예제 #3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            TetrisController controller = new TetrisController();

            Application.Run(controller.getView());
        }
예제 #4
0
 /// <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();
 }