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

            ServiceInstance = new LabService();
        }
Exemple #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");
        }
Exemple #3
0
 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;
 }