/// <summary> /// Raises the GetLookupValues event. /// </summary> private void OnGetLookupValues(ITypeDescriptorContext context, ICollection <string> lookupValues) { if (this.GetLookupValues != null) { StringLookupGetValuesEventArgs args = new StringLookupGetValuesEventArgs(context, lookupValues); GetLookupValues(this, args); } }
private void UserId_GetLookupValues(object sender, StringLookupGetValuesEventArgs args) { if (!Object.Equals(args.Context.Instance, this)) { return; } if (this.GetUserIdValues != null) { GetUserIdValues(this, args); } }
private void DatasourceAddress_GetLookupValues(object sender, StringLookupGetValuesEventArgs args) { if (!Object.Equals(args.Context.Instance, this)) { return; } if (this.GetDatasourceAddressValues != null) { GetDatasourceAddressValues(this, args); } }