example
protected void setButtonVisibility()
{
super();
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,NewButton), false);
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,EditButton), false);
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,EditInGridButton), false);
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,DeleteCommandButton), false);
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,KYSAOSListPageSQL),measureType == KYSMeasureType::SQL );
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,KYSSQLListPageAOS),measureType == KYSMeasureType::AOS );
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,KYSAOSListPageBatch),measureType == KYSMeasureType::Batch );
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,KYSSQLListPageBatch),measureType == KYSMeasureType::Batch );
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,KYSAOSListPageWCF),measureType == KYSMeasureType::AIF);
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,KYSSQLListPageWCF),measureType == KYSMeasureType::AIF);
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,KYSAOSListPageForm),measureType == KYSMeasureType::Form || measureType == KYSMeasureType::SSRS);
this.listPage().actionPaneControlVisible(formControlStr(KysScoreCardDayListPage,KYSSQLListPageForm),measureType == KYSMeasureType::Form || measureType == KYSMeasureType::SSRS);
}