示例#1
0
 public Form1()
 {
     InitializeComponent();
     service = OrderService.Import("../../s.xml");
     orderBindingSource.DataSource = service.OrderList;
 }
示例#2
0
        private void btn_import_Click(object sender, EventArgs e)
        {
            String path = Interaction.InputBox("请输入导入订单的路径", "输入字符串", "", 100, 100);

            Service.Import(path);
        }