Пример #1
0
 public EventDialog(frmTileEditor owner, int x, int y)
 {
     main = owner;
     _x = x;
     _y = y;
     InitializeComponent();
 }
Пример #2
0
 public EventDialog(frmTileEditor owner, int x, int y)
 {
     main = owner;
     _x   = x;
     _y   = y;
     InitializeComponent();
 }
Пример #3
0
        public OverworldMap(frmTileEditor owner)
        {
            main = owner;

            InitializeComponent();
            Point spot = new Point();

            spot.X        = main.Location.X + main.Width + 3;
            spot.Y        = main.Location.Y;
            this.Location = spot;

            main.OverworldDX.AddRenderTarget(pnlOverMap);
        }
Пример #4
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            frmTileEditor editor = new frmTileEditor();
            editor.Show();

            while(editor.Looping)
            {
                editor.Update();
                editor.Render();

                Application.DoEvents();
            }
        }
Пример #5
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            frmTileEditor editor = new frmTileEditor();

            editor.Show();

            while (editor.Looping)
            {
                editor.Update();
                editor.Render();

                Application.DoEvents();
            }
        }