private void CreateButton_Click(object sender, EventArgs e)
        {
            if (RecipientsList.GetSelectedDataTable().Rows.Count == 0)
            {
                bCanceled = true;

                FormEvent            = eClose;
                AnimateTimer.Enabled = true;
            }

            InfiniumDocuments.AddRecipients(DocumentCategoryID, DocumentID, RecipientsList.GetSelectedDataTable());


            FormEvent            = eClose;
            AnimateTimer.Enabled = true;
        }
        private void CreateButton_Click(object sender, EventArgs e)
        {
            if (RecipientsList.GetSelectedDataTable().Rows.Count == 0)
            {
                bCanceled = true;

                FormEvent            = eClose;
                AnimateTimer.Enabled = true;
            }

            if (!bEdit)
            {
                InfiniumDocuments.AddConfirm(RecipientsList.GetSelectedDataTable(), Security.CurrentUserID, DocumentID, DocumentCategoryID);
            }
            else
            {
                InfiniumDocuments.EditConfirm(DocumentConfirmationID, RecipientsList.GetSelectedDataTable());
            }

            FormEvent            = eClose;
            AnimateTimer.Enabled = true;
        }