public ContactGroupEventArgs(ContactGroup contactGroup)
 {
     this.ContactGroup = contactGroup;
 }
示例#2
0
 internal void RenameGroup(ContactGroup group, string newGroupName)
 {
     object[] objArray1 = new object[7] { "REG ", this.NewTrans(), " ", group.ID, " ", HttpUtility.UrlEncode(newGroupName), " 0\r\n" } ;
       this.SocketSend(string.Concat(objArray1));
 }
示例#3
0
 public void RemoveGroup(ContactGroup group)
 {
     object[] objArray1 = new object[5] { "RMG ", this.NewTrans(), " ", group.ID, "\r\n" } ;
       this.SocketSend(string.Concat(objArray1));
 }
示例#4
0
 public void ChangeGroup(Contact contact, ContactGroup group)
 {
     object[] objArray1 = new object[9] { "ADD ", this.NewTrans(), " FL ", contact.mail, " ", contact.name, " ", group.ID, "\r\n" } ;
       this.SocketSend(string.Concat(objArray1));
       objArray1 = new object[7] { "REM ", this.NewTrans(), " FL ", contact.mail, " ", contact.contactGroup, "\r\n" } ;
       this.SocketSend(string.Concat(objArray1));
 }
示例#5
0
 public void AddContact(string mail, ContactGroup group)
 {
     object[] objArray1 = new object[7] { "ADD ", this.NewTrans(), " AL ", mail, " ", mail, "\r\n" } ;
       this.SocketSend(string.Concat(objArray1));
       objArray1 = new object[9] { "ADD ", this.NewTrans(), " FL ", mail, " ", mail, " ", group.ID, "\r\n" } ;
       this.SocketSend(string.Concat(objArray1));
 }
 public ContactGroupEventArgs(ContactGroup contactGroup)
 {
     this.ContactGroup = contactGroup;
 }