Пример #1
0
 private void mySkypeClient_OnSkypeAttach(object theSender, SkypeAttachEventArgs theEventArgs)
 {
     if (SkypeAttach != null)
     {
         SkypeAttach(this, theEventArgs);
     }
 }
Пример #2
0
        private void mySkypeClient_OnSkypeAttach(object theSender, SkypeAttachEventArgs theEventArgs)
        {
            if (SkypeAttach != null)
            {
                SkypeAttach(this, theEventArgs);
            }

            if (theEventArgs.AttachStatus == SkypeAttachStatus.Success)
            {
                skypeSuccess.Set();
                //    Thread thread = new Thread(new ThreadStart(ConnectAp2Ap));
                //    thread.Name = "ConnectAp2Ap";
                //    thread.Start();
            }
        }
 private void mySkypeClient_OnSkypeAttach(object theSender, SkypeAttachEventArgs theEventArgs)
 {
     if (SkypeAttach != null)
         SkypeAttach(this, theEventArgs);
 }
Пример #4
0
 void skypeProxy_SkypeAttach(object sender, SkypeAttachEventArgs e)
 {
     switch (e.AttachStatus)
     {
         case SkypeAttachStatus.Success:
             ConnectButton.Enabled = true;
             if ((TransportHostTextBox.Text.Length > 0) && (JabberIDTextBox.Text.Length > 0) &&
                 ((tcpClient == null) || (!tcpClient.Connected)))
             {
                 ConnectButton_Click(sender, e);
             }
             break;
         case SkypeAttachStatus.Available:
             skypeProxy.Connect();
             break;
         default:
             ConnectButton.Enabled = false;
             backgroundWorker_RunWorkerCompleted(sender, null);
             MessageLabel.Text = e.AttachStatus.ToString();
             break;
     }
 }
Пример #5
0
 void aSkype_SkypeAttach(object theSender, SkypeAttachEventArgs theEventArgs)
 {
     //textBox1.AppendText(string.Format("Attach: {0}\r\n", theEventArgs.AttachStatus));
 }
Пример #6
0
 void skypeProxy_SkypeAttach(object theSender, SkypeAttachEventArgs theEventArgs)
 {
     this.AppendText(string.Format("Attach: {0}\r\n", theEventArgs.AttachStatus));
 }
 void skypeProxy_SkypeAttach(object sender, SkypeAttachEventArgs e)
 {
 }
Пример #8
0
        private void mySkypeClient_OnSkypeAttach(object theSender, SkypeAttachEventArgs theEventArgs)
        {
            if (SkypeAttach != null)
                SkypeAttach(this, theEventArgs);

            if (theEventArgs.AttachStatus == SkypeAttachStatus.Success)
            {
                skypeSuccess.Set();
            //    Thread thread = new Thread(new ThreadStart(ConnectAp2Ap));
            //    thread.Name = "ConnectAp2Ap";
            //    thread.Start();
            }
        }