Beispiel #1
0
        private void CreateClick()
        {
            dialog = new Dialog("createroom", client, "name", request);
            Thread tr = new Thread(new ThreadStart(OpenDialogForm));

            tr.Start();
            Thread.Sleep(100);
            refresh.RefreshHendler(client.GetStream(), "Rooms", request);
        }
Beispiel #2
0
 private void btn_create_room_Click(object sender, EventArgs e)
 {
     dialog       = new Dialog("createroom", client, "name", request);
     threadDialog = new Thread(new ThreadStart(OpenDialogForm));
     threadDialog.Start();
     Thread.Sleep(100);
     refresh.RefreshHendler(client.GetStream(), "Rooms", request);
 }