private void CheckedChanged_RoamDocSend(object sender, EventArgs e)
        {
            DocumentSendAction docSendAction = GetDocumentSendAction();

            switch (docSendAction)
            {
            case DocumentSendAction.Windows:
                documentSelectionControl.Enabled = true;
                shuffle_CheckBox.Enabled         = true;
                label_documentToPush.Enabled     = false;
                textBox_PhoneDocument.Enabled    = false;
                textBox_PhoneDocument.Text       = string.Empty;
                break;

            case DocumentSendAction.Android:
                documentSelectionControl.Enabled = false;
                documentSelectionControl.ClearSelection();
                shuffle_CheckBox.Enabled      = false;
                label_documentToPush.Enabled  = true;
                textBox_PhoneDocument.Enabled = true;
                break;

            case DocumentSendAction.WebClient:
                documentSelectionControl.Enabled = true;
                shuffle_CheckBox.Enabled         = true;
                label_documentToPush.Enabled     = false;
                textBox_PhoneDocument.Enabled    = false;
                textBox_PhoneDocument.Text       = string.Empty;
                break;
            }
            SetPhoneUse();
        }
        private DocumentSendAction GetDocumentSendAction()
        {
            DocumentSendAction dsa = DocumentSendAction.Windows;

            if (radioButton_PrintViaPhone.Checked)
            {
                dsa = DocumentSendAction.Android;
            }
            // when web client code is written will need to add the send action for it.

            return(dsa);
        }