示例#1
0
        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();
        }
示例#2
0
        protected void OnManageConfiguration(object sender, EventArgs e)
        {
            ManageConfigurationCommand command = new ManageConfigurationCommand(this.SingleSelection);

            command.Exec();
        }