Ejemplo n.º 1
0
        private void InitializeControls()
        {
            RoutingTableFilePathTextBox.DataBindings.Clear();
            IfpValidationCheckBox.DataBindings.Clear();
            GcdValidationCheckBox.DataBindings.Clear();
            CertificateSettingsUc.Settings = _settings?.CertificateSettings;

            if (Settings == null)
            {
                return;
            }

            RoutingTableFilePathTextBox.SetTextDataBinding(_settings, nameof(_settings.RoutingTableFilePath));
            IfpValidationCheckBox.SetCheckedDataBinding(_settings, nameof(_settings.ValidateIfpData));
            GcdValidationCheckBox.SetCheckedDataBinding(_settings, nameof(_settings.ValidateGcdData));
        }
Ejemplo n.º 2
0
        private void InitializeControls()
        {
            RoutingTableFilePathTextBox.DataBindings.Clear();
            IfpValidationCheckBox.DataBindings.Clear();
            GcdValidationCheckBox.DataBindings.Clear();
            CustomRoutingTableFilePathCheckbox.DataBindings.Clear();
            PasswordTextBox.DataBindings.Clear();
            UserNameTextBox.DataBindings.Clear();
            CertificateSettingsUc.Settings = _settings?.CertificateSettings;

            if (Settings == null)
            {
                return;
            }

            RoutingTableFilePathTextBox.SetTextDataBinding(_settings, nameof(_settings.RoutingTableFilePath));
            IfpValidationCheckBox.SetCheckedDataBinding(_settings, nameof(_settings.ValidateIfpData));
            GcdValidationCheckBox.SetCheckedDataBinding(_settings, nameof(_settings.ValidateGcdData));
            CustomRoutingTableFilePathCheckbox.SetCheckedDataBinding(_settings, nameof(_settings.IsAutoDownloadRoutingTableFileDisabled));
            UserNameTextBox.SetTextDataBinding(_settings, nameof(_settings.SftpSchufaFilesUserName));
            PasswordTextBox.SetTextDataBinding(_settings, nameof(_settings.SftpSchufaFilesPassword));
        }