Ejemplo n.º 1
0
 public ShowDownloadState(Open open, Open_Download op)
 {
     this.open = open;
     this.op = op;
 }
Ejemplo n.º 2
0
        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();
        }