??
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);
}
}

VulpesRank #55 · 29.2K reputationPosted Apr 10, 2011, 12:32 PM EDT
Sin Yee142 reputationPosted Apr 10, 2011, 10:05 PM EDT
VulpesRank #55 · 29.2K reputationPosted Apr 11, 2011, 5:16 AM EDT
Sin Yee142 reputationPosted Apr 11, 2011, 9:25 AM EDT
VulpesRank #55 · 29.2K reputationPosted Apr 11, 2011, 11:23 AM EDT
If you then double-click on the Leave Event it will open up a skeleton eventhandler which should look like this:
}