public Form1() { InitializeComponent(); q = new Question("Kolku e 2+2", "1", "2", "3", "4", "4"); }
private void button1_Click(object sender, EventArgs e) { a = new Question(textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text, textBox5.Text, textBox6.Text); DialogResult = System.Windows.Forms.DialogResult.OK; }