Example #1
0
        private void SetConfigInfo()
        {
            XSystemConfigInfo configInfo = m_ConfigTool.GetConfigInfo();

            this.nebWidth.Value          = XHelper.GetInt(configInfo.SignWidht);
            this.nebHeight.Value         = XHelper.GetInt(configInfo.SignHeight);
            this.nebRefreshMinutes.Value = XHelper.GetInt(configInfo.RefreshMinutes);
        }
Example #2
0
        protected override void FormLoadFunction(object sender, EventArgs e)
        {
            base.FormLoadFunction(sender, e);
            this.cmdEditPass.Click += cmdEditPass_Click;
            this.ShowRemind();
            this.InitVersion();
            this.cmdSystemConfig.Click += cmdSystemConfig_Click;

            this.Text = ConfigurationManager.AppSettings["SystemName"];

            XSystemConfigTool tool = new XSystemConfigTool();

            XUICommon.SystemConfigInfo = tool.GetConfigInfo();
        }