??
here is my coding:
MinSupp.Clear();
double minsupp = Double.Parse(MinSupp.Text);
double totalsupp = 0.0;
foreach (var r in p)
{
totalsupp += (double)dict1[r];
}
SingleItemValue.Clear();
foreach (var h in p)
{
double supp = (double)dict1[h];
double perc = supp / totalsupp * 100.00;
if (perc >= minsupp)
{
SingleItemValue.AppendText(h + ":" + dict1[h] + "\r\n");
hs1.Add(h);
}
}
VulpesPosted Apr 11, 2011, 3:23 PM
If you then double-click on the Leave Event it will open up a skeleton eventhandler which should look like this:
}
Sin YeePosted Apr 11, 2011, 1:25 PM
VulpesPosted Apr 11, 2011, 9:16 AM
Sin YeePosted Apr 11, 2011, 2:05 AM
VulpesPosted Apr 10, 2011, 4:32 PM