using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace DarkWynter.App { public partial class ActorPopUp : Form { public static CSObjects tempObject; public ActorPopUp(CSObjects currentObject) { InitializeComponent(); tempObject = currentObject; // NameBox.Text = tempObject.objName; // locBox2.Text = tempObject.imageLocation.X.ToString(); // locBox3.Text = tempObject.imageLocation.Y.ToString(); } private void button1_Click(object sender, EventArgs e) { //tempObject.objName = NameBox.Text; this.Hide(); } private void button2_Click(object sender, EventArgs e) { this.Hide(); } } }