Exemple #1
0
		public PhotoSetEventArgs(PhotoStub[] photoSet, int selectedIndex)
			: base()
		{
			this.PhotoSet = photoSet;
			this.SelectedIndex = selectedIndex;
		}
Exemple #2
0
		public PhotoEventArgs(PhotoStub photo)
			: base()
		{
			this.Photo = photo;
		}
Exemple #3
0
		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);
		}