Beispiel #1
0
		/// <summary>
		///
		/// </summary>
		/// <returns></returns>
		public Form NewMainWindow()
		{
			XWindow form = new XWindow();
			ImageHolder holder = new ImageHolder ();

			//noticed that we only have one size of image, so we are sticking it in both the small and the large lists
			form.AddLargeImageList(holder.miscImages, new string[]{"chat", "wheelchair", "food", "basinet", "submit"});
			form.AddLargeImageList(holder.airportImages, new string[]{"defaultLocation","USA", "Italy"});
			form.AddSmallImageList(holder.miscImages, new string[]{"chat", "wheelchair", "food", "basinet", "submit"});
			form.AddSmallImageList(holder.airportImages, new string[]{"defaultLocation","USA", "Italy"});
			form.LoadUI(ConfigurationPath);//Argument("x"));
			form.Show();
			return form;
		}