Beispiel #1
0
 static void Main()
 {
     using (var game = new MonoDisplay())
     {
         var gui = new MainGUI();
         Config.SubscribeOnReadEvent(gui.OnConfigRead);
         gui.myGame = game;
         gui.Initialize();
         gui.Show();
         game.Run();
     }
 }
Beispiel #2
0
 public MainGUI()
 {
     InitializeComponent();
     mainGUI = this;
 }