public ContactGroupEventArgs(ContactGroup contactGroup) { this.ContactGroup = contactGroup; }
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)); }
public void RemoveGroup(ContactGroup group) { object[] objArray1 = new object[5] { "RMG ", this.NewTrans(), " ", group.ID, "\r\n" } ; this.SocketSend(string.Concat(objArray1)); }
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)); }
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)); }