/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { ObjectEditor form = new ObjectEditor(); form.Show(); form.game = new Game1(form.pctSurface.Handle, form, form.pctSurface); form.game.Run(); }
private void editObjectButton_Click(object sender, EventArgs e) { ObjectEditor editorWindow = new ObjectEditor(selectedGameObject) { listWindow = this }; editorWindow.Show(); }