static void Main()
 {
     //Application.EnableVisualStyles();
     //Application.SetCompatibleTextRenderingDefault(false);
     InitializeApplication.InitializeBeforeRun();
     Application.Run(new MainManagerForm());
 }
        /// <summary>
        /// 当窗体完全显示出来后,开始执行Server程序。
        /// </summary>
        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);
            this.InitOption();///初始化选项

            //启动一个线程,监听关键词客户端请求
            ServerCore serverCore = new ServerCore();

            thread = new Thread(new ThreadStart(serverCore.Listen));
            thread.IsBackground = true;
            thread.Start();

            this.Text         = AssemblyProduct + ", Application Start time: " + DateTime.Now.ToShortDateString() + " | " + DateTime.Now.ToLongTimeString();
            this.StatusString = "初始化关键词词库...";
            InitializeApplication.InitializeWords();
            this.StatusString = "初始化广告数据...";
            _AdHelper.Initialize();
            this.StatusString = "Server程序启动就绪";

            //this.Start();/// Server程序启动
        }