internal FrmCatalogSubscription()
        {
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(Properties.Settings.Default.Language);
            Tools.Utilities _utilities = Tools.Utilities.GetInstance();

            InitializeComponent();

            cmbBxCheckEvery.Items.Add(_utilities.GetLocalizedString("Days"));
            cmbBxCheckEvery.Items.Add(_utilities.GetLocalizedString("Weeks"));
            cmbBxCheckEvery.Items.Add(_utilities.GetLocalizedString("Months"));

            CheckingTerminated = true;
            AbortChecking      = false;
        }
Example #2
0
        internal FrmSettings()
        {
            Logger.EnteringMethod("FrmSettings");
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(Properties.Settings.Default.Language);
            Tools.Utilities _utilities = Tools.Utilities.GetInstance();

            supportIPv6 = System.Net.Sockets.Socket.OSSupportsIPv6;
            InitializeComponent();

            cmbBxUpdateDefaultAction.Items.Clear();
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("Approve")));
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("Revise")));
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("Decline")));
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("Expire")));
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("Delete")));
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("Resign")));
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("CreateSupersedingUpdate")));
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("ExportThisUpdate")));
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("ShowInWsusConsole")));
            cmbBxUpdateDefaultAction.Items.Add(_utilities.GetLocalizedString(("HideInWsusConsole")));
        }