private void button3_Click(object sender, EventArgs e) { myFraction fract3 = new myFraction(Convert.ToInt32(textBox2.Text), Convert.ToInt32(textBox3.Text)); textBox1.Text += fract3.ToString() + "\r\n"; }
private void button2_Click(object sender, EventArgs e) { myFraction fract2 = new myFraction(2); textBox1.Text += fract2.ToString() + "\r\n"; }