public override void Set_Info(KPIField info) { try { var myInfo = info as KPIDimension; this.cboField.Value = myInfo.FieldName; this.txtDisplayName.Text = myInfo.DisplayName; } catch { } }
public override void Set_Info(KPIField info) { try { var myInfo = info as KPIMeasure; this.cboField.Value = myInfo.FieldName; this.txtDisplayName.Text = myInfo.DisplayName; this.cboAggregator.Value = myInfo.Aggregator; } catch { } }
public override void Set_Info(KPIField info) { try { var myInfo = info as KPICtxtMetric; this.txtField.Value = myInfo.FieldName; this.txtDisplayName.Text = myInfo.DisplayName; this.cboAggregator.Value = myInfo.Aggregator; // Add filter... foreach (var calc in myInfo.CalcFields) { var myCtrl = this.Add_CalcFieldControl(calc.Types, false); myCtrl.Set_Info(calc); } } catch { } }
public override void Set_Info(KPIField info) { try { var myInfo = info as KPICtxtMetric; this.cboField.Value = myInfo.FieldName; this.txtDisplayName.Text = myInfo.DisplayName; this.cboAggregator.Value = myInfo.Aggregator; // Add filter... foreach (var filter in myInfo.Filters) { var myCtrl = this.Add_FilterControl(filter.GetTinyType(), false); myCtrl.Set_Info(filter); } if (!string.IsNullOrEmpty(myInfo.TimeFilterPrev)) { var myCtrl = this.Add_FilterControl("PREVDATE", false); myCtrl.Set_Info_General(new COMCodeNameObj(myInfo.TimeFilterPrev, "AND")); } } catch { } }
public virtual void Set_Info(KPIField info) { }