Ejemplo n.º 1
0
        static LabService()
        {
            ImageServer = Config.GetImageServer();
            WorkerCount = Config.GetWorkerCount();
            LOG = LogManager.GetLogger("LabReport");

            ServiceInstance = new LabService();
        }
Ejemplo n.º 2
0
        private LisService()
        {
            this.LabService = LabService.LService;
            this.LabService.HandleCompleteEvent += this.PrintAndSave;

            this.Serializer = new XmlSerializer(typeof(LabApplyInfo));
            this.FRClient = new FRService.LabPDFSoapClient("LabPDFSoap");
            this.MongoClient = new MongoService.LabMongoSoapClient("LabMongoSoap");
        }
Ejemplo n.º 3
0
Archivo: Form1.cs Proyecto: meimeic/XYS
 public Form1()
 {
     InitializeComponent();
     this.service = LabService.LService;
     this.service.HandleCompleteEvent += this.PrintPDF;
     //this.PDFClient = new FRService.LabPDFSoapClient("LabPDFSoap");
     //this.MongoClient = new MongoService.LabMongoSoapClient("LabMongoSoap");
     this.ReportClient = new ReportService.ReportStatusSoapClient("ReportStatusSoap");
     this.m_connectionString = ConfigurationManager.ConnectionStrings["LabMSSQL"].ConnectionString;
 }