private void btnBTPAddTexture_Click(object sender, EventArgs e) { string newTexName = txtBTPTextureName.Text; if (newTexName.Length > 0) { m_BTP.AddTexture(newTexName); LoadOnlyBTPReferencedTextures(); } }