Example #1
0
        public BIStatusBarForm()
        {
            CheckForIllegalCrossThreadCalls = false;

            this.SetStyle(ControlStyles.UserPaint |
                          ControlStyles.AllPaintingInWmPaint |
                          ControlStyles.OptimizedDoubleBuffer, true);

            InitializeComponent();

            this.u_toolStrip.Location         = new Point(36, 0);
            this.u_toolStrip.ShowItemToolTips = false;
            this.u_aboutForm      = new BIAboutForm();
            this.u_symbolForm     = new BISymbolForm(this);
            this.u_keyboardForm   = new BIKeyboardForm();
            this.u_dictionaryForm = new BIDictionaryForm(this);

            this.RestoreOriginalControls();
            this.SetMiniModeByConfig();
            this.SetMiniModeTypeByConfig();
            this.InitUI();

            // check update
            if (c_CheckUpdateOnStartUp)
            {
                this.CheckUpdateOnLaunch();
            }
            this.InstallIdleTimer();
        }
Example #2
0
        public BIStatusBarForm()
        {
            CheckForIllegalCrossThreadCalls = false;

            this.SetStyle(ControlStyles.UserPaint |
                ControlStyles.AllPaintingInWmPaint |
                ControlStyles.OptimizedDoubleBuffer, true);

            InitializeComponent();

            this.u_toolStrip.Location = new Point(36, 0);
            this.u_toolStrip.ShowItemToolTips = false;
            this.u_aboutForm = new BIAboutForm();
            this.u_symbolForm = new BISymbolForm(this);
            this.u_keyboardForm = new BIKeyboardForm();
            this.u_dictionaryForm = new BIDictionaryForm(this);

            this.RestoreOriginalControls();
            this.SetMiniModeByConfig();
            this.SetMiniModeTypeByConfig();
            this.InitUI();

            // check update
            if (c_CheckUpdateOnStartUp) {
                this.CheckUpdateOnLaunch();
            }
            this.InstallIdleTimer();
        }