Example #1
0
 static void Main()
 {
     Application.SetCompatibleTextRenderingDefault(false);
     Application.EnableVisualStyles();
     using (var game = new frmDisplay())
         game.Run();
 }
Example #2
0
        System.Drawing.Color TRANSPARENCY_KEY_COLOR = System.Drawing.Color.FromArgb(1, 1, 1); // Form Control Transparency

        // Constructors
        public UserInterface(frmDisplay form, ref GraphicsDeviceManager gdm, ref SpriteBatch sb)
        {
            display2    = form;
            graphics    = gdm;
            spriteBatch = sb;

            display = Control.FromHandle(display2.Window.Handle).FindForm();
            control = new frmControl();

            Initialize();

            display.Show();
            control.Show(display);
            NormalScreen();
            UnIdle();
        }
Example #3
0
 static void Main()
 {
     using (var game = new frmDisplay())
         game.Run();
 }