private void AddPhoto(string photo_) { PhotoPackage photo = PhotoPackage.Deserialize(photo_); Settings.Instance.PicturesCounter++; PhotoDB.AddPhoto(photo); }