public void set_template_state( string [] template_names, CommonEnabledState [] states ) { this.Invoke("set_template_state", new object [] { template_names, states}); }