private RegisterOutput GetSelectedValuesFromGUIRegister()
        {
            //enter values from input controls to EncryptionInput object
            RegisterInput ri = new RegisterInput(TextBoxRegistrationEmail.Text,
                                                 userPassword.Password);

            RegisterOutput ro = InputHandlers.ParseRegisterValues(ri);

            return(ro);
        }
        private EncryptionOutput GetSelectedValuesFromGUIEncryption()
        {
            //enter values from input controls to EncryptionInput object
            EncryptionInput ei = new EncryptionInput(InputFileTextBox.Text,
                                                     OutputFileTextBox.Text, cipherModeComboBox.Text,
                                                     RecipentsListBox.SelectedItems);

            EncryptionOutput eo = InputHandlers.ParseEncryptionValues(ei);

            return(eo);
        }
        private DecryptionOutput GetSelectedValuesFromGUIDecryption()
        {
            //enter values from input controls to EncryptionInput object
            DecryptionInput di = new DecryptionInput(InputFileTextBoxDecryption.Text,
                                                     OutputFileTextBoxDecryption.Text,
                                                     (User)RecipentsListBoxDecryption.SelectedItem);

            DecryptionOutput decryptionOutput =
                InputHandlers.ParseDecryptionValues(di);

            return(decryptionOutput);
        }