void IFormPicChoice.showReportDailog(SuperMemory.Entities.CPicChoiceMeaningReport reportData) { DlgReportTrainning dlgReport = new DlgReportTrainning(); dlgReport.TrainningType = this.getTrainningTypeName(); dlgReport.ReportData = reportData; dlgReport.ShowDialog(this); }
void ILeafPileTypeSelectOberver.onPileTypeSelectChanged(SuperMemory.Entities.CPileType curPileType) { biz().CurPileType = curPileType; if (biz().hasPiles()) { this.enablePlayControllers(); } else { this.unEnablePlayControllers(); } }
void ILeafPileTypeSelectOberver.onPileTypeSelectChanged(SuperMemory.Entities.CPileType curPileType) { Biz.CurPileType = curPileType; if (Biz.hasPiles()) { this.enableBtns(); } else { this.unenableBtns(); } }
void IPilesGroupView.setPile(SuperMemory.Entities.CPile pile, int index) { switch(index) { case 0: this.ucPileView1.PileData = pile; break; case 1: this.ucPileView2.PileData = pile; break; //case 2: // break; } }
void IPileGroupView.fill1PileData(SuperMemory.Entities.CPile pileData, int idx) { switch (idx) { case 0: (this.pile1 as IRadioPileView).PileData = pileData; break; case 1: (this.pile2 as IRadioPileView).PileData = pileData; break; case 2: (this.pile3 as IRadioPileView).PileData = pileData; break; case 3: (this.pile4 as IRadioPileView).PileData = pileData; break; } }
void IChoicePilesGroupView.set1ChoisePile(int index, SuperMemory.Entities.CPile pile) { switch(index) { case 0: (this.ucChoiceOne1 as IChoicePileView).Pile = pile; break; case 1: (this.ucChoiceOne2 as IChoicePileView).Pile = pile; break; case 2: (this.ucChoiceOne3 as IChoicePileView).Pile = pile; break; case 3: (this.ucChoiceOne4 as IChoicePileView).Pile = pile; break; } }