// 查询按钮处理过程 private void dansearchbutton_Click(object sender, RoutedEventArgs e) { // 调用服务 WebClientInfo wci = Application.Current.Resources["server"] as WebClientInfo; string uri = wci.BaseAddress + "/DBFService/savefile/" + f_inputtor.SelectedValue + "/" + f_device.SelectedValue; Com.Aote.Controls.DownLoad dl = new Com.Aote.Controls.DownLoad(); dl.Filter="(*.dbf)|*.dbf" ; dl.Path = uri; dl.Down(); dl.Completed += dl_Completed; }
// 查询按钮处理过程 private void dansearchbutton_Click(object sender, RoutedEventArgs e) { // 调用服务 WebClientInfo wci = Application.Current.Resources["server"] as WebClientInfo; string uri = wci.BaseAddress + "/DBFService/savefile/" + f_inputtor.SelectedValue + "/" + f_device.SelectedValue; Com.Aote.Controls.DownLoad dl = new Com.Aote.Controls.DownLoad(); dl.Filter = "(*.dbf)|*.dbf"; dl.Path = uri; dl.Down(); dl.Completed += dl_Completed; }