private void texIDToolStripMenuItem_Click(object sender, EventArgs e) { if (NUT != null) { using (var v = new NUT_TexIDEditor()) { v.Set(NUT); v.ShowDialog(); if (v.exitStatus == NUT_TexIDEditor.Opened) { v.Apply(); //textureList.Refresh(); //Refresh(); FillForm(); Edited = true; } } } }
private void texIDToolStripMenuItem_Click(object sender, EventArgs e) { if (selected != null) { using (var v = new NUT_TexIDEditor()) { v.Set(selected); v.ShowDialog(); if (v.exitStatus == NUT_TexIDEditor.Opened) { v.Apply(); listBox2.Refresh(); listBox1.Refresh(); Refresh(); listBox1.SelectedItem = listBox1.SelectedItem; } } } }