protected void OnStatusManageConfiguration(object sender, EventArgs e) { MenuCommand cmd = sender as MenuCommand; ManageConfigurationCommand command = new ManageConfigurationCommand(this.SingleSelection); cmd.Enabled = command.Enabled; cmd.Visible = command.Visible(); }
protected void OnManageConfiguration(object sender, EventArgs e) { ManageConfigurationCommand command = new ManageConfigurationCommand(this.SingleSelection); command.Exec(); }