Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public BaseChatPacket(ChatClient.Header header, byte[] data)
 {
     Header = header;
     Data = data;
 }
Exemplo n.º 4
0
 public xDataReceivedEventArgs(byte[] data, int len, ChatClient.Header header)
 {
     Data = data;
     Length = len;
     Header = header;
 }