示例#1
0
 private void Initial(Object obj)
 {
     QQUser user = obj as QQUser;
     tcp = new TCPClass();
     int i = tcp.Connection();
     if (i == 0)
     {
         MessageBox.Show("连接服务器失败!请检查网络!");
         return;
     }
     tcp.messageHelper += new TCPClass.MessageHelper(tcp_messageHelper);
     this.Login(user);
 }
示例#2
0
        private void Initial()
        {
            tcp = new TCPClass();
            int i = tcp.Connection();

            if (i == 0)
            {
                debugHelper("连接服务器失败!请检查网络!");
                //MessageBox.Show("连接服务器失败!请检查网络!");
                //this.Invoke(new InitialForms(CloseForms), new object[] { });
                return;
            }
            tcp.messageHelper += new TCPClass.MessageHelper(tcp_messageHelper);
            this.Login();
        }
示例#3
0
        private void Initial(Object obj)
        {
            QQUser user = obj as QQUser;

            tcp = new TCPClass();
            int i = tcp.Connection();

            if (i == 0)
            {
                MessageBox.Show("连接服务器失败!请检查网络!");
                return;
            }
            tcp.messageHelper += new TCPClass.MessageHelper(tcp_messageHelper);
            this.Login(user);
        }
示例#4
0
 private void Initial()
 {
     tcp = new TCPClass();
     int i = tcp.Connection();
     if (i == 0)
     {
         debugHelper("连接服务器失败!请检查网络!");
         //MessageBox.Show("连接服务器失败!请检查网络!");
         //this.Invoke(new InitialForms(CloseForms), new object[] { });
         return;
     }
     tcp.messageHelper += new TCPClass.MessageHelper(tcp_messageHelper);
     this.Login();
 }