private void init()
        {
            windowsMin = new WindowsMin(this);// 设置最小化到任务栏
            PrintService pt = new PrintService();

            //配置socket服务
            mySocketServer = new MySocketService(pt);
            socketBase     = new SocketBase(mySocketServer);
            socketBase.start();
            //获取打印机信息
            var printers = LocalPrinter.GetLocalPrinters();

            PrintList.ItemsSource   = printers;
            PrintList.SelectedIndex = 0;
            MyLogService.Info("打印服务已启动");
        }