public Dokumenty this[CRM.Kontrahent kontrahent] { get { return(CreateSubtable <Dokumenty>(kontrahent)); } }
protected override void OnParamValueChanged(DataContextParamEventArgs e) { base.OnParamValueChanged(e); if (e.Param.Name == "kontrahentParam") { this.kontrahent = (CRM.Kontrahent)((IValue)e.Control).Value; this.Reload(); } }