Esempio n. 1
0
        /// <summary>
        /// constructor, which will started a timer which will
        /// keep the errorProviders tooltip window up-to-date and enabled.
        ///
        /// Todo: I would like to do this without a timer (Suggestions welcome).
        /// Email me at: [email protected]
        /// </summary>
        /// <param name="ep"></param>
        public ErrorProviderFixManager(ErrorProviderFixed ep)
        {
            mTheErrorProvider = ep;

            mTmrCheckHandelsProc          = new Timer();
            mTmrCheckHandelsProc.Enabled  = true;
            mTmrCheckHandelsProc.Interval = 1000;
            mTmrCheckHandelsProc.Tick    += new EventHandler(tmr_CheckHandels);
        }
Esempio n. 2
0
        public StepSheet(XmlElement step, WizardForm creator)
            : base(creator)
        {
            this.stepElement = step;
            this.AutoScroll = true;

            errorProvider = new ErrorProviderFixed();
            errorProvider.ContainerControl = this;
            errorProvider.AutoPopDelay = 20000;
            errorProvider.BlinkStyle = ErrorBlinkStyle.NeverBlink;
            Bitmap b = new Bitmap(WixFiles.GetResourceStream("bmp.info.bmp"));
            errorProvider.Icon = Icon.FromHandle(b.GetHicon());
        }
Esempio n. 3
0
        /// <summary>
        /// constructor, which will started a timer which will
        /// keep the errorProviders tooltip window up-to-date and enabled.
        ///
        /// Todo: I would like to do this without a timer (Suggestions welcome).
        /// Email me at: [email protected]
        /// </summary>
        /// <param name="ep"></param>
        public ErrorProviderFixManager(ErrorProviderFixed ep)
        {
            mTheErrorProvider = ep;

            mTmrCheckHandelsProc = new Timer();
            mTmrCheckHandelsProc.Enabled = true;
            mTmrCheckHandelsProc.Interval = 1000;
            mTmrCheckHandelsProc.Tick += new EventHandler(tmr_CheckHandels);
        }