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); }
public Form1() { InitializeComponent(); controller = new Controller(); }
public void initialize() { controller = new Controller(); }