/// <summary>
 /// Raises the <see cref="E:Load"/> event.
 /// </summary>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     _mergeAddressStateInfo = ContextService.GetContext("MergeAddressStateInfo") as MergeAddressStateInfo ??
                              new MergeAddressStateInfo();
     if (DialogService.DialogParameters.ContainsKey("mergeArguments"))
     {
         btnNext.Text = SessionMergeArguments.SourceEntityType == typeof(IContact)
                            ? GetLocalResourceObject("btnNext_Merge.Caption").ToString()
                            : GetLocalResourceObject("btnNext.Caption").ToString();
     }
 }
 /// <summary>
 /// Raises the <see cref="E:Load"/> event.
 /// </summary>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     _mergeAddressStateInfo = ContextService.GetContext("MergeAddressStateInfo") as MergeAddressStateInfo ??
                              new MergeAddressStateInfo();
     if (DialogService.DialogParameters.ContainsKey("mergeArguments"))
     {
         btnNext.Text = SessionMergeArguments.SourceEntityType == typeof (IContact)
                            ? GetLocalResourceObject("btnNext_Merge.Caption").ToString()
                            : GetLocalResourceObject("btnNext.Caption").ToString();
     }
 }