public EventDialog(frmTileEditor owner, int x, int y) { main = owner; _x = x; _y = y; InitializeComponent(); }
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); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); frmTileEditor editor = new frmTileEditor(); editor.Show(); while(editor.Looping) { editor.Update(); editor.Render(); Application.DoEvents(); } }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); frmTileEditor editor = new frmTileEditor(); editor.Show(); while (editor.Looping) { editor.Update(); editor.Render(); Application.DoEvents(); } }