Пример #1
0
        /// <summary>
        /// Open PDB embedded  dialog.
        /// </summary>
        public void OpenPDB()
        {
            //dllInterface.OpenPDBFile();
            FileInfo             fileInfo = new FileInfo(Application.ExecutablePath);
            PDBOpenDialogControl dlg      = new PDBOpenDialogControl();

            dlg.FileDlgFilter           = "PDB Files (*.ent;*.pdb)|*.ent; *.pdb|All Files (*.*)|*.*";
            dlg.FileDlgInitialDirectory = fileInfo.Directory.FullName + "\\DownloadPDB";
            if (dlg.ShowDialog() == DialogResult.OK)
            {
                this.dllInterface.OpenPDBFile(dlg.FileDlgFileNames);
            }
            else if (dlg.DownloadPDBList.Count > 0)
            {
                this.dllInterface.OpenPDBFile(dlg.DownloadPDBList.ToArray());
            }
        }
Пример #2
0
 /// <summary>
 /// Open PDB embedded  dialog.
 /// </summary>
 public void OpenPDB()
 {
     //dllInterface.OpenPDBFile();
     FileInfo fileInfo = new FileInfo(Application.ExecutablePath);
     PDBOpenDialogControl dlg = new PDBOpenDialogControl();
     dlg.FileDlgFilter = "PDB Files (*.ent;*.pdb)|*.ent; *.pdb|All Files (*.*)|*.*";
     dlg.FileDlgInitialDirectory = fileInfo.Directory.FullName + "\\DownloadPDB";
     if (dlg.ShowDialog() == DialogResult.OK)
     {
         this.dllInterface.OpenPDBFile(dlg.FileDlgFileNames);
     }
     else if (dlg.DownloadPDBList.Count > 0)
     {
         this.dllInterface.OpenPDBFile(dlg.DownloadPDBList.ToArray());
     }
      
 }