Example #1
0
		public PhotoEventArgs(PhotoStub photo)
			: base()
		{
			this.Photo = photo;
		}
		private void setPhotoSet(PhotoStub[] photoSet, int selectedIndex)
		{
			this.photoSet = photoSet;
			PhotoChanged(this, new IntEventArgs(selectedIndex));

			int[] photoKs = new int[photoSet.Length];
			for (int i = 0; i < photoKs.Length; i++)
			{
				photoKs[i] = photoSet[i].k;
			}
			// must happen after setting photoK - refactor to make this encapsulated.


			//view.uiTaggingControl.LoadTagsForPhotoKs(photoKs);

			// do this last
			Window.SetTimeout(preloadAllImages, 1000);
		}
Example #3
0
		public PhotoSetEventArgs(PhotoStub[] photoSet, int selectedIndex)
			: base()
		{
			this.PhotoSet = photoSet;
			this.SelectedIndex = selectedIndex;
		}