public ChatHall(string UName) { InitializeComponent(); UserName = UName; u.UserName = UName; RoomUI = new FangJianWeituo1(RoomUISet); IconUI = new IconWeituo(Iconset); stateUI = new StateWeituo(Statset); }
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; }