Пример #1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        public ClientForm()
        {
            InitializeComponent();

            InitPara();

            InitStaMember();

            InitBtnMember();

            InitWaitPointAreaTwoMember();

            labelLogo.Text = APPConfig.LogoStr();

            timerFunc.Enabled = true;

            toolStripLabelVersion.Text = "版本号:V14.1";

            _dealThread = new Thread(ThreadFunc);

            _dealThread.IsBackground = true;

            _dealThread.Start();

            InitMap();

            this.WindowState = FormWindowState.Maximized;
        }
Пример #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ClientForm_SizeChanged(object sender, EventArgs e)
        {
            labelLogo.Text = APPConfig.LogoStr();

            labelLogo.Location = new Point((this.Width - labelLogo.Width) / 2, labelLogo.Location.Y);
        }