示例#1
0
 private void UpdateInfo()
 {
     labelDeviceSize.Caption     = Utils.FormatSize(vfs.GetDevice().Size());
     labelBlockSize.Caption      = Utils.FormatSize(vfs.GetSuperBlock().blockSize);
     labelINodeCapacity.Caption  = vfs.GetSuperBlock().inodeCapacity.ToString();
     labelINodeAllocated.Caption = vfs.GetSuperBlock().inodeAllocated.ToString();
     labelBlockCapacity.Caption  = vfs.GetSuperBlock().blockCapacity.ToString();
     labelBlockAllocated.Caption = vfs.GetSuperBlock().blockAllocated.ToString();
     labelBlockPreserved.Caption = vfs.GetSuperBlock().blockPreserved.ToString();
 }