private void MIMEDTeamAddFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { switch (this.Mode) { case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit: this.FORMHEADER.Value = "Edit Team Member"; break; case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add: this.FORMHEADER.Value = "Add Team Member"; break; } }
private void UMHSInterestFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { switch (this.Mode) { case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit: this.FORMHEADER.Value = "Edit MIMED Interests"; break; case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add: this.FORMHEADER.Value = "Add MIMED Interests"; break; } }
private void UMHSConnectionFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { switch (this.Mode) { case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit: this.FORMHEADER.Value = "Edit Patient Connection"; break; case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add: this.FORMHEADER.Value = "Add Patient Connection"; _infosourcecodeid.ResetDataSource(); break; } }
private void UMHSAffiliationEditFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { switch (this.Mode) { case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit: this.FORMHEADER.Value = "Edit MIMED Affiliation"; break; case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add: this.FORMHEADER.Value = "Add MIMED Affiliation"; //_infosourcecodeid.ResetDataSource(); break; } // _infosourcecodeid.ResetDataSource(); }
private void UMHSAddressFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { switch (this.Mode) { case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit: this.FORMHEADER.Value = "Edit MIMED Address"; break; case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add: this.FORMHEADER.Value = "Add MIMED Address"; _infosourcecodeid.ResetDataSource(); break; } this.DONOTMAILREASONCODEID.Enabled = this.DONOTMAIL.Value; if (this.ISPRIMARY.Value) { this.ISPRIMARY.Enabled = false; } }
private void UMHSReferralFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { switch (this.Mode) { case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit: this.FORMHEADER.Value = "Edit MIMED Referral"; switch (this.FOLLOWUPSTATUSCODE.Value) { case FOLLOWUPSTATUSCODES.@Successful: this.FOLLOWUPSTATUSCODEID.Value = Guid.Parse("4a4cd034-1fb4-4ba4-8940-08bd066baf42"); //this.FOLLOWUPSTATUSCODE.Value = FOLLOWUPSTATUSCODES.Successful; break; case FOLLOWUPSTATUSCODES.@Unsuccessful: this.FOLLOWUPSTATUSCODEID.Value = Guid.Parse("10043a3f-e0d6-4e24-8a85-26a23895bd90"); break; } this.FOLLOWUPSTATUSCODEID.Required = this._followupcompleted.Value; this.FOLLOWUPSTATUSCODEID.Enabled = this._followupcompleted.Value; if (this.FOLLOWUPSTATUSCODEID.Enabled == false) { this.FOLLOWUPSTATUSCODEID.Value = Guid.Empty; } break; case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add: this.FORMHEADER.Value = "Add MIMED Referral"; _subdepartmentid.Value = Guid.Empty; _departmentid.Value = Guid.Empty; this.FOLLOWUPSTATUSCODEID.Required = this._followupcompleted.Value; this.FOLLOWUPSTATUSCODEID.Enabled = this._followupcompleted.Value; if (this.FOLLOWUPSTATUSCODEID.Enabled == false) { this.FOLLOWUPSTATUSCODEID.Value = Guid.Empty; this.FOLLOWUPSTATUSCODE.Value = FOLLOWUPSTATUSCODES.@Empty; } break; } }
private void UMHSDataFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { switch (this.Mode) { case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit: this.FORMHEADER.Value = "Edit MIMED Info"; break; case Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add: this.FORMHEADER.Value = "Add MIMED Info"; break; } if (ISDMINELIGIBLE.Value == true) { this.DMINELIGIBLEREASONCODEID.Enabled = true; this.DMINELIGIBLEREASONCODEID.Required = this.ISDMINELIGIBLE.Value; } else { this.DMINELIGIBLEREASONCODEID.Value = Guid.Empty; this.DMINELIGIBLEREASONCODEID.Enabled = false; this.DMINELIGIBLEREASONCODEID.Required = this.ISDMINELIGIBLE.Value; } }
private void UMHSDataConstituentSearchUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { UMHDataConstituentSearchHelper helper = new UMHDataConstituentSearchHelper(this.RootUIModel(), this.OutputDefinition); helper.Init(); _advancedsearchoptionsgroup.Visible = false; _showadvancedoptions.Visible = true; _hideadvancedoptions.Visible = false; List <string> keyNameCaptionTypes = new List <string>(3); if (_includeindividuals.Value) { _numConstituentTypesAllowed += 1; } if (_includeorganizations.Value) { _numConstituentTypesAllowed += 1; } if (_includegroups.Value) { _numConstituentTypesAllowed += 1; } if (_includeindividuals.Value) { keyNameCaptionTypes.Add("Last"); } if (_includeorganizations.Value) { if (_numConstituentTypesAllowed == 1) { keyNameCaptionTypes.Add("Organization"); } else { keyNameCaptionTypes.Add("Org"); } } if (_includegroups.Value) { if (_excludecustomgroups.Value) { keyNameCaptionTypes.Add("Household"); } else if (_numConstituentTypesAllowed == 1) { keyNameCaptionTypes.Add("Group/Household"); } else { keyNameCaptionTypes.Add("Group"); } } EnableConstituentTypeOptions(); _keyname.Caption = string.Format("{0} name", Strings.Join(keyNameCaptionTypes.ToArray(), "/")); if (_excludecustomgroups.Value) { _includegroups.Caption = "Households"; } else if (_excludehouseholds.Value) { _includegroups.Caption = "Groups"; } }
private void MIMEDPortfolioListUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { this._includehistorical.Value = true; }
private void ExchangeRateRefreshProcessAddDataFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { ExchangeRateRefreshProcessAddEditHandlerArgs args = new ExchangeRateRefreshProcessAddEditHandlerArgs(); args.DateCode = this.DATECODE; args.HistoricalDate = this.HISTORICALDATE; _handler = new ExchangeRateRefreshProcessAddEditHandler(args); _handler.Initialize(); }
private void UMHSInteractionViewDataFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { }
private void MIMEDAffiliationDeleteGlobalChangeUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { }
private void OmaticDeployedVersionViewDataFormUIModel_Loaded(object sender, Blackbaud.AppFx.UIModeling.Core.LoadedEventArgs e) { VERSIONS.DisplayReadOnly = true; SERVERNAME.Value = System.Environment.MachineName; }