public Controller(DataGridView dataGridView, Model _model) { model = _model; dataGridView.CellMouseClick += (object sender, DataGridViewCellMouseEventArgs e) => { model.addWave(e.ColumnIndex, e.RowIndex); }; }
public Controller(DataGridView dataGridView, Model _model) { model = _model; dataGridView.CellMouseClick += (object sender, DataGridViewCellMouseEventArgs e) => { model.addWave(e.ColumnIndex, e.RowIndex); }; }