Probleme: new form in thread (Csharp)

Bonjour,
in CSharp ...
hOw Can I create a new form in thread ,,,

----- Begin Thread // Recieve Data From Socket

while (True)
{

Test (AccesMethodNewFom()); // if the ChatWindow is not open will ...
}

-----End Thread

-----AccesMethodNewFom() // Open the ChatWindow

Form F=new Form();
.... blablabla ....
F.show()

1 réponse

  • Votes
  • Date
  • Date décroissante
  1. I 'd like to use "F.show()" not "Application.run(F)"

    beeh plz , u can answer by english Or french 'Français' , Just I 'd like any solution for my graduation project ,,, plz all , and thank u very much before ,,,