private void button1_Click(object sender, EventArgs e) { SQLRequester.AddPreference(ref this.dataGridView1, this.comboBox1.Text, this.comboBox3.Text, this.comboBox2.Text, this.comboBox5.Text, this.Text.ToCharArray()[0].ToString()); }