/// <summary>
        /// Opens a Modal instance of the Print Partner screen.
        /// </summary>
        /// <param name="APartnerKey">PartnerKey of the Partner to print.</param>
        /// <param name="AParentForm"></param>
        /// <returns>True if a Partner was found and accepted by the user,
        /// otherwise false.</returns>
        public static bool OpenModalForm(Int64 APartnerKey, Form AParentForm)
        {
            TFrmPrintPartner PrintPartnerForm;
            DialogResult     dlgResult;

            PrintPartnerForm = new TFrmPrintPartner(AParentForm);
            PrintPartnerForm.SetParameters(APartnerKey);

            dlgResult = PrintPartnerForm.ShowDialog();

            if (dlgResult == System.Windows.Forms.DialogResult.OK)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        /// <summary>
        /// Opens a Modal instance of the Print Partner screen.
        /// </summary>
        /// <param name="APartnerKey">PartnerKey of the Partner to print.</param>
        /// <param name="AParentForm"></param>
        /// <returns>True if a Partner was found and accepted by the user,
        /// otherwise false.</returns>
        public static bool OpenModalForm(Int64 APartnerKey, Form AParentForm)
        {
            TFrmPrintPartner PrintPartnerForm;
            DialogResult dlgResult;

            PrintPartnerForm = new TFrmPrintPartner(AParentForm);
            PrintPartnerForm.SetParameters(APartnerKey);

            dlgResult = PrintPartnerForm.ShowDialog();

            if (dlgResult == System.Windows.Forms.DialogResult.OK)
            {
                return true;
            }
            else
            {
                return false;
            }
        }