diff FrmSelectSystem.cs @ 7:9828ba4f3f36

Closes #43 - Test Ticket for checking into SVN * First Check-in! * Did some code changes to allow the app to load default race and system files from the "data" directory. * Also changed select system dialog so you can actually select a game system.
author gregmita
date Sat, 07 Mar 2009 21:08:31 +0000
parents 8935971e307c
children 19bdbb80999c
line wrap: on
line diff
--- a/FrmSelectSystem.cs	Sun Mar 01 15:31:02 2009 +0000
+++ b/FrmSelectSystem.cs	Sat Mar 07 21:08:31 2009 +0000
@@ -154,10 +154,10 @@
 
 		private void bttnSelectSystem_Click(object sender, System.EventArgs e)
 		{
-//            selectedSystem = lstSystems.
-            //TODO: Set game system
+            // set the selected system
+            selectedSystem = (GameSystem) lstSystems.SelectedItem;
 
-			this.DialogResult = DialogResult.OK;
+            this.DialogResult = DialogResult.OK;
 			this.Close();
 		}