private void ChangeTexClickedOn(object sender, EventArgs e) { if (BFRES.IsSwitchBFRES) { BntxTextureList edit = new BntxTextureList(); edit.Show(); } }
private void button1_Click_1(object sender, EventArgs e) { if (BFRES.IsSwitchBFRES) { foreach (BNTX bntx in Runtime.BNTXList) { if (bntx.glTexByName.ContainsKey(SelectedTexture)) { BntxTextureList edit = new BntxTextureList(); edit.LoadTexture(SelectedTexture); edit.Show(); } } } }