public void button3_Click(object sender, EventArgs e) { TextureListContent tl = new TextureListContent(); tl.Pack = packs.packs[0]; if (tl.createpropertieswindow(packs.packs[0], tv) == System.Windows.Forms.DialogResult.OK) { packs.packs[0].Attach(tl); FormMainPackExplorer.Instance.UpdateData(); } if (sender == null) this.Close(); }