Esempio n. 1
0
        public void LoadFile(FileInfo fi)
        {
            currentFile = fi;
            tbPath.Text = fi.FullName;

            currentEntropy    = new DataEntropy(fi);
            tbSpecific.Text   = currentEntropy.ShannonSpecificEntropy.ToString("0.##");
            tbNormalized.Text = ((double.Parse(tbSpecific.Text) / 8) * 100).ToString("0.##") + "%";

            button2.Enabled = false;
            button1.Enabled = true;
            stat(fi);
        }
Esempio n. 2
0
 public Filedetails(DataEntropy entropy)
 {
     InitializeComponent();
     currentEntropy = entropy;
 }