public PMForm(string name, ChatClient client) { InitializeComponent(); this.Icon = GlobalProperties.ApplicationIcon; this.client = client; username = name; Text = "PM [" + name + "]"; txtMessage.Base.KeyDown += new KeyEventHandler(Base_KeyDown); }
public Chat() { InitializeComponent(); Functions.Center(this); Icon = GlobalProperties.ApplicationIcon; client = new ChatClient(); Load += new EventHandler(Chat_Load); Text += " - " + GlobalProperties.Client.Username; carbonTheme1.Text = Text; pmForms = new SortedList<string, PMForm>(); blocked = new List<string>(); txtMessage.Base.KeyDown += new KeyEventHandler(Base_KeyDown); }
public BaseChatPacket(ChatClient.Header header, byte[] data) { Header = header; Data = data; }
public xDataReceivedEventArgs(byte[] data, int len, ChatClient.Header header) { Data = data; Length = len; Header = header; }