Beispiel #1
0
		public MainForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			SplashScreen ss=new SplashScreen(false);
			ss.TopLevel=true;
			ss.Show();
			Application.DoEvents();
			System.Threading.Thread.Sleep(3000);
			ss.Close();
			//
			// TODO: Add any constructor code after InitializeComponent call
			//
			myData=new IsoData();

			StartUpRoom();

		}
Beispiel #2
0
		private void ToolbarMain_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e)
		{
			switch((string)e.Button.Tag)
			{
				case "L":
					MessageBox.Show(this,"Select the drop down to choose your map.");
					break;
				case "H":
					SplashScreen splashscreen=new SplashScreen(true);
					splashscreen.ShowDialog(this);
					break;
				case "X":
					this.Close();
					Application.Exit();
					break;
				case "O":
					images imagescreen=new images();
					imagescreen.DoList(myData);
					imagescreen.ShowDialog(this);
					break;
				default:
					MessageBox.Show(this,"You have selected a menu not yet defined!");
					break;
			}
		}