예제 #1
0
파일: CommandSet.cs 프로젝트: malain/candle
        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
파일: CommandSet.cs 프로젝트: malain/candle
        protected void OnManageConfiguration(object sender, EventArgs e)
        {
            ManageConfigurationCommand command = new ManageConfigurationCommand(this.SingleSelection);

            command.Exec();
        }