예제 #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);
        }
예제 #2
0
파일: Form1.cs 프로젝트: philnwoha/Default
 public Form1()
 {
     InitializeComponent();
     controller = new Controller();
 }
예제 #3
0
파일: Class1.cs 프로젝트: philnwoha/Default
 public void initialize()
 {
     controller = new Controller();
 }