/// <summary>
 /// Executes the ReplaceOwner business rule.
 /// </summary>
 /// <param name="form">The replace owner form.</param>
 /// <param name="args">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 public static void cmdOK_OnClickReplaceOwner(IReplaceOwner form, EventArgs args)
 {
     IOwner replaceOwner = form.lueSource.LookupResultValue as IOwner;
     IOwner replaceWithOwner = form.lueReplaceWith.LookupResultValue as IOwner;
     if (replaceOwner != null && replaceWithOwner != null)
     {
         replaceOwner.ReplaceOwner(replaceWithOwner);
     }
 }
        /// <summary>
        /// Executes the ReplaceOwner business rule.
        /// </summary>
        /// <param name="form">The replace owner form.</param>
        /// <param name="args">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        public static void cmdOK_OnClickReplaceOwner(IReplaceOwner form, EventArgs args)
        {
            IOwner replaceOwner     = form.lueSource.LookupResultValue as IOwner;
            IOwner replaceWithOwner = form.lueReplaceWith.LookupResultValue as IOwner;

            if (replaceOwner != null && replaceWithOwner != null)
            {
                replaceOwner.ReplaceOwner(replaceWithOwner);
            }
        }