Esempio n. 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();
     }
 }
Esempio n. 2
0
 public MainGUI()
 {
     InitializeComponent();
     mainGUI = this;
 }