Beispiel #1
0
 public void Test()
 {
     foreach (PersonalData person in PersonalDataManager.GetAvailablePersons())
     {
         AddPerson(person);
     }
 }
 private void SaveBtn_Click(object sender, EventArgs e)
 {
     if (PersonPhoto.Image != null)
     {
         Data.Photo = new Bitmap(PersonPhoto.Image, PersonPhoto.Width, PersonPhoto.Height);
     }
     PersonalDataManager.SavePerson(Data, "CS");
 }