public Open_Download(Open open, DavRessource ress) { this.open = open; this.ress = ress; d_SetDownloadState = new SetDownloadState(this.SetDownloadStateMethod); d_CloseWindows = new CloseWindows(this.CloseWindowsMethod); InitializeComponent(); }
public OpenRemoteDocument(Open open, DavRessource ress) { this.open = open; this.ress = ress; }
private void OpenWordDocument(string ressource) { object omissing = Missing.Value; DavRessource Dav = new DavRessource(ressource, this.context); Open_Download Dialog = new Open_Download(this, Dav); Dialog.ShowDialog(); if (GetRemoteFile == false) { error_reason = Dav.ResultReason; LaunchErrorWindow(); } else { connect.Filename = RemoteFile.Name; connect.RealFilename = ressource.Remove(0, ressource.LastIndexOf("/") + 1); } this.Close(); }
private void FillFileList(string ressource) { bool success; DavRessource Dav = new DavRessource(ressource, this.context); success = Dav.GetDirectoryListing(out this.directory_listing); this.direction = SortDirection.Ascending; this.error_reason = Dav.ResultReason; this.getDirectoryListing_success = success; }