Exemplo n.º 1
0
        private void startProgram()
        {
            int widthDataGrid = 30;
            int heightDataGrid = 30;
            int cellWidth = 15;
            int cellHeight = 15;
            int speed = 500;

            View view = new View(this.dataGridView1, widthDataGrid, heightDataGrid, cellWidth, cellHeight);
            Model model = new Model(this.dataGridView1, speed);
            Controller cntrl = new Controller(this.dataGridView1, model);
        }
Exemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
     controller = new Controller();
 }
Exemplo n.º 3
0
 public void initialize()
 {
     controller = new Controller();
 }