private void button4_Click(object sender, EventArgs e) { connectionService = new ConnectionService(ref dataGridView1); }
private void Form1_Load(object sender, EventArgs e) { dataGridView1.DataError += new DataGridViewDataErrorEventHandler(dataGridView1_DataError); connectionService = new ConnectionService(ref dataGridView1); }