コード例 #1
0
 public SkypeResponseListEventArgs(SkypeResponseEventArgs aResponse)
 {
     _Response = aResponse;
     string[] sItems = _Response.RMessage.Split(',');
     foreach (string sItem in sItems)
     {
         string s = sItem.Trim();
         if (!s.Equals(""))
         {
             _Items.Add(s);
         }
     }
 }
コード例 #2
0
        private void SkypeClient_SkypeResponse(object sender, SkypeResponseEventArgs e)
        {
            if (SkypeResponse != null)
            {
                SkypeResponse(this, e);
            }

            switch (e.RValue)
            {
            case "USERS":
                if (SkypeResponseList != null)
                {
                    SkypeResponseList(this, new SkypeResponseListEventArgs(e));
                }
                break;

            default:
                break;
            }
        }