예제 #1
0
 void OpenToolStripMenuItemClick(object sender, EventArgs e)
 {
     if(openFileDialog1.ShowDialog()==DialogResult.OK)
     {
         discimg = new ISO9660.Image(openFileDialog1.FileName);
         pvd = discimg.ReadPVD();
         RefreshPVDInfo();
         sectorPos = 0;
         RefreshSectorInfo();
     }
 }
예제 #2
0
 void OpenToolStripMenuItemClick(object sender, EventArgs e)
 {
     if (openFileDialog1.ShowDialog() == DialogResult.OK)
     {
         TreeNode vdNode = tvSectors.Nodes["nodeVolumeDescriptors"];
         vdNode.Nodes.Clear();
         discimg = new ISO9660.Image(openFileDialog1.FileName);
         foreach (VolumeDescriptor vd in discimg.VolumeDescriptors)
         {
             TreeNode node = vdNode.Nodes.Add(vd.VolumeDescriptorType.ToString());
             node.Tag = vd;
         }
         TreeNode drNode = tvSectors.Nodes["nodeDirectoryRecords"];
         drNode.Tag = discimg.RootDirectory;
         drNode.Nodes.Clear();
         foreach (DirectoryRecord dr in discimg.RootDirectory.Children)
         {
             TreeNode node = drNode.Nodes.Add(dr.FileIdentifier);
             node.Tag = dr;
         }
         this.txtSectorStats.Text = discimg.SectorStats();
     }
 }
예제 #3
0
 public frmReader()
 {
     InitializeComponent();
     sectorPos = 0;
     discimg = null;
 }
예제 #4
0
 public frmReader()
 {
     InitializeComponent();
     sectorPos = 0;
     discimg   = null;
 }