private void button4_Click(object sender, EventArgs e) { DeliveryPrintService.DeliveryPrintService MyService = new DeliveryPrintService.DeliveryPrintService(); DeliveryPrintService.myheader myheader = new DeliveryPrintService.myheader(); myheader.username = "******"; MyService.myheaderValue = myheader; string[] odnum = MyService.GetorderNum("beautyaction", "2013-07-27-拖鞋-G00046", "2013-07-20 00:00:00"); }
private void button12_Click(object sender, EventArgs e) { DeliveryPrintService.DeliveryPrintService MyService = new DeliveryPrintService.DeliveryPrintService(); MyService.Timeout = 600000; DeliveryPrintService.myheader myheader = new myheader(); myheader.username = "******"; MyService.myheaderValue = myheader; textBox1.Text = MyService.GetHdNameAll()[0]; }