public bool Load(IModuleContext context) { if (context.PlatformInfo.Platform == PlatformType.WinForms) { BindingServiceProvider.Initialize(errorProvider: new WinFormsBindingErrorProvider(), converter: BindingConverterExtensions.Convert); } context.TryRegisterDataTemplateSelectorsAndValueConverters(null); MugenMvvmToolkit.Binding.AttachedMembersRegistration.RegisterDefaultMembers(); AttachedMembersRegistration.RegisterObjectMembers(); AttachedMembersRegistration.RegisterButtonMembers(); AttachedMembersRegistration.RegisterTextBoxMembers(); AttachedMembersRegistration.RegisterLabelMembers(); AttachedMembersRegistration.RegisterCheckBoxMembers(); AttachedMembersRegistration.RegisterProgressBarMembers(); AttachedMembersRegistration.RegisterFormMembers(); AttachedMembersRegistration.RegisterControlMembers(); AttachedMembersRegistration.RegisterDateTimePickerMembers(); AttachedMembersRegistration.RegisterToolStripItemMembers(); AttachedMembersRegistration.RegisterTabControlMembers(); AttachedMembersRegistration.RegisterComboBoxMembers(); AttachedMembersRegistration.RegisterDataGridViewMembers(); return(true); }