예제 #1
0
 public static void UnpackContacts(string contacts, ImagedLabelList contactList)
 {
     contactList.Labels.Clear();
     if (string.IsNullOrEmpty(contacts))
     {
         return;
     }
     contactList.Labels = new List <string>(contacts.Split(new[] { '\n' }));
 }
예제 #2
0
 public static string PackContacts(ImagedLabelList contactList)
 {
     return(string.Join("\n", contactList.Labels));
 }