public static void LoadWebFile(string file) { //WebClient client = new WebClient(); ProjectFilesServiceSoapClient client = new ProjectFilesServiceSoapClient(); client.GetProjectFileCompleted += client_GetProjectFileCompletedCompleted; client.GetProjectFileAsync(file); //client.OpenReadAsync(new Uri(filePathString, UriKind.Relative)); }
public static void GetServerProjects() { try { ProjectFilesServiceSoapClient client = new ProjectFilesServiceSoapClient(); client.GetProjectFilesCompleted += ServerProjectListLoaded; client.GetProjectFilesAsync(); } catch { } return; }