i try to simulate one Messenger . when come one PM , create one form like other messenger and display the message . all of the thing work correctly but when i want to create the new form then is broke.
the message :
an unhandled exception of type 'system.invalidoperationexception' occurred in system.windows.forms.dll
additional information: cross-thread operation not valid: Control 'Form1' accessed from a thread other that the thread it was created on.