private void miLocScaleRot_Click(object sender, System.EventArgs e) { LocScaleRotEdit ctrl = new LocScaleRotEdit(); Sprite sp = SpriteFromNode(treeView1.SelectedNode); ctrl.EditSprite = sp; ctrl.MdiParent = this.MdiParent; ctrl.Show(); }