コード例 #1
0
ファイル: Form1.cs プロジェクト: SuperJapan/ColorWaves
        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();
 }