Exemplo n.º 1
0
        /// <summary>
        /// Creates a new instance of the ucOptions class.
        /// </summary>
        public ucOptions()
        {
            InitializeComponent();

            cbPostDownloadAction.SelectedIndex = 1;
            cbModUpdateInterval.SelectedIndex  = 0;
            cbModUpdateBehavior.SelectedIndex  = 2;

            ToolTipDelay       = 0.5m;
            ToolTipDisplayTime = 10m;

            if (LicenseManager.UsageMode == LicenseUsageMode.Designtime || DesignMode)
            {
                return;
            }

            OptionsController.Initialize(this);
        }