Beispiel #1
0
        private void Process_Initialize(ProcessForm processForm)
        {
            GlobalSetting.LoadGlobalRegistry();

            if (GlobalSetting.IsAutoLoadConfigSetting == true)
            {
                if (GlobalSetting.LoadGlobalSetting() == false)
                {
                    MainForm.ShowPopupMessage("读取配置文件失败!", "可能文件不存在或格式错误。。。", "请点击<主选项>的<设置配置文件>");
                }
            }

            this.m_OptionForm.Initialize();
            this.m_U50Form.Initialize();
            this.m_D50Form.Initialize();

            this.m_NotifyIcon.Visible = true;
            if (GlobalSetting.IsPopStartupInfo == true)
            {
                this.m_NotifyIcon.ShowBalloonTip(1000);
            }

            processForm.EndProcessForm();
        }