2
Answers

System.ObjectDisposedException: 'Cannot access a disposed object.

Photo of Patel

Patel

4y
809
1
How to fix this error. Form2 frm2Obj; private void button1_Click(object sender, EventArgs e) { if (frm2Obj is null) { frm2Obj = new Form2(); frm2Obj.Show(); } else frm2Obj.Show(); }

Answers (2)