annotate FrmSelectSystem.cs @ 24:7c366fe55635

* Fix line terminators no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Jun 2009 19:01:59 +0000
parents fb55f9f0865e
children f72a3da5059b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
1 // This file (FrmSelectSystem.cs) is a part of the IBBoard.WarFoundry.GUI.WinForms project and is copyright 2009 IBBoard.
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
2 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
3 // The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license.
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
4
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
5 using System;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
6 using System.IO;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
7 using System.Drawing;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
8 using System.Collections;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
9 using System.ComponentModel;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
10 using System.Windows.Forms;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
11 using IBBoard;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
12 using IBBoard.Lang;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
13 using IBBoard.WarFoundry.API;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
14 using IBBoard.Windows.Forms;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
15 using IBBoard.WarFoundry.API.Objects;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
16 using IBBoard.Windows.Forms.I18N;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
17
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
18 namespace IBBoard.WarFoundry
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
19 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
20 /// <summary>
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
21 /// Summary description for FrmSelectSystem.
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
22 /// </summary>
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
23 public class FrmSelectSystem : IBBoard.Windows.Forms.IBBForm
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
24 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
25 private System.Windows.Forms.ListBox lstSystems;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
26 private IBBoard.Windows.Forms.IBBLabel lblSystemList;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
27 /// <summary>
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
28 /// Required designer variable.
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
29 /// </summary>
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
30 private System.ComponentModel.Container components = null;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
31 private IBBoard.Windows.Forms.IBBButton bttnCancel;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
32 private IBBoard.Windows.Forms.IBBButton bttnSelectSystem;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
33 private GameSystem selectedSystem;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
34
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
35
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
36 public FrmSelectSystem()
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
37 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
38 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
39 // Required for Windows Form Designer support
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
40 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
41 InitializeComponent();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
42
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
43 ControlTranslator.TranslateControl(this);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
44
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
45 lstSystems.Items.Clear();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
46 GameSystem[] systems = WarFoundryLoader.GetDefault().GetGameSystems();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
47 lstSystems.DataSource = systems;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
48 lstSystems.DisplayMember = "Name";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
49 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
50
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
51 /// <summary>
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
52 /// Clean up any resources being used.
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
53 /// </summary>
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
54 protected override void Dispose( bool disposing )
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
55 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
56 if( disposing )
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
57 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
58 if(components != null)
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
59 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
60 components.Dispose();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
61 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
62 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
63 base.Dispose( disposing );
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
64 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
65
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
66 #region Windows Form Designer generated code
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
67 /// <summary>
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
68 /// Required method for Designer support - do not modify
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
69 /// the contents of this method with the code editor.
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
70 /// </summary>
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
71 private void InitializeComponent()
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
72 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
73 this.lstSystems = new System.Windows.Forms.ListBox();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
74 this.bttnSelectSystem = new IBBoard.Windows.Forms.IBBButton();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
75 this.lblSystemList = new IBBoard.Windows.Forms.IBBLabel();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
76 this.bttnCancel = new IBBoard.Windows.Forms.IBBButton();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
77 this.SuspendLayout();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
78 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
79 // lstSystems
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
80 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
81 this.lstSystems.Location = new System.Drawing.Point(80, 8);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
82 this.lstSystems.Name = "lstSystems";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
83 this.lstSystems.Size = new System.Drawing.Size(216, 95);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
84 this.lstSystems.TabIndex = 0;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
85 this.lstSystems.SelectedIndexChanged += new System.EventHandler(this.lstSystems_SelectedIndexChanged);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
86 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
87 // bttnSelectSystem
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
88 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
89 this.bttnSelectSystem.Enabled = false;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
90 this.bttnSelectSystem.FlatStyle = System.Windows.Forms.FlatStyle.System;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
91 this.bttnSelectSystem.Location = new System.Drawing.Point(192, 112);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
92 this.bttnSelectSystem.Name = "bttnSelectSystem";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
93 this.bttnSelectSystem.Size = new System.Drawing.Size(104, 24);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
94 this.bttnSelectSystem.TabIndex = 1;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
95 this.bttnSelectSystem.Text = "Select system";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
96 this.bttnSelectSystem.Click += new System.EventHandler(this.bttnSelectSystem_Click);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
97 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
98 // lblSystemList
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
99 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
100 this.lblSystemList.Location = new System.Drawing.Point(0, 8);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
101 this.lblSystemList.Name = "lblSystemList";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
102 this.lblSystemList.Size = new System.Drawing.Size(80, 80);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
103 this.lblSystemList.TabIndex = 2;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
104 this.lblSystemList.Text = "system list";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
105 this.lblSystemList.TextAlign = System.Drawing.ContentAlignment.TopRight;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
106 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
107 // bttnCancel
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
108 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
109 this.bttnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
110 this.bttnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
111 this.bttnCancel.Location = new System.Drawing.Point(8, 112);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
112 this.bttnCancel.Name = "bttnCancel";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
113 this.bttnCancel.Size = new System.Drawing.Size(80, 24);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
114 this.bttnCancel.TabIndex = 3;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
115 this.bttnCancel.Text = "Cancel";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
116 this.bttnCancel.Click += new System.EventHandler(this.bttnCancel_Click);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
117 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
118 // FrmSelectSystem
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
119 //
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
120 this.AcceptButton = this.bttnSelectSystem;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
121 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
122 this.CancelButton = this.bttnCancel;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
123 this.ClientSize = new System.Drawing.Size(306, 142);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
124 this.ControlBox = false;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
125 this.Controls.Add(this.bttnCancel);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
126 this.Controls.Add(this.lblSystemList);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
127 this.Controls.Add(this.bttnSelectSystem);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
128 this.Controls.Add(this.lstSystems);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
129 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
130 this.Name = "FrmSelectSystem";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
131 this.ShowInTaskbar = false;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
132 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
133 this.Text = "FrmSelectSystem";
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
134 this.ResumeLayout(false);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
135
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
136 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
137 #endregion
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
138
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
139 private void lstSystems_SelectedIndexChanged(object sender, System.EventArgs e)
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
140 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
141 bttnSelectSystem.Enabled = (lstSystems.SelectedIndex>-1);
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
142 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
143
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
144 private void bttnSelectSystem_Click(object sender, System.EventArgs e)
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
145 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
146 selectedSystem = (GameSystem) lstSystems.SelectedItem;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
147 this.DialogResult = DialogResult.OK;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
148 this.Close();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
149 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
150
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
151 private void bttnCancel_Click(object sender, System.EventArgs e)
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
152 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
153 this.DialogResult = DialogResult.Cancel;
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
154 this.Close();
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
155 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
156
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
157 public GameSystem GameSystem
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
158 {
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
159 get { return selectedSystem; }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
160 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
161 }
7c366fe55635 * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 12
diff changeset
162 }