static LabService() { ImageServer = Config.GetImageServer(); WorkerCount = Config.GetWorkerCount(); LOG = LogManager.GetLogger("LabReport"); ServiceInstance = new LabService(); }
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"); }
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; }