Example #1
0
 public ChatHall(string UName)
 {
     InitializeComponent();
     UserName   = UName;
     u.UserName = UName;
     RoomUI     = new FangJianWeituo1(RoomUISet);
     IconUI     = new IconWeituo(Iconset);
     stateUI    = new StateWeituo(Statset);
 }
Example #2
0
 public ChatHall(string UName)
 {
     InitializeComponent();
     UserName   = UName;
     u.UserName = UName;
     RoomUI     = new FangJianWeituo1(RoomUISet);
     IconUI     = new IconWeituo(Iconset);
     stateUI    = new StateWeituo(Statset);
     Strapp     = new StrWeituo(ShowChatMsg);
     comboBox1.SelectedIndex = 0;
     Control.CheckForIllegalCrossThreadCalls = false;
 }