예제 #1
0
        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));
        }
예제 #2
0
 public static void GetServerProjects()
 {
     try
     {
         ProjectFilesServiceSoapClient client = new ProjectFilesServiceSoapClient();
         client.GetProjectFilesCompleted += ServerProjectListLoaded;
         client.GetProjectFilesAsync();
     }
     catch
     {
     }
     return;
 }