An unhandled exception of type 'System.ObjectDisposedException' occurred ...

M

Michael Schindler

I get the follow error message:

An unhandled exception of type 'System.ObjectDisposedException' occurred in
system.windows.forms.dll

Additional information: Cannot access a disposed object named
"DataGridTextBox".

My problem is i have changed the framework from 1.0 to 1.1 and now i get
this error in my syntax there:

private void dataGridFiBuMandantDetail_Click(object sender,
System.Windows.Forms.MouseEventArgs e)
{
this.Close();
}

After this code i get this error. This code is the mousedown event.

Any ideas wath can i do?

Thanks

Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top