FormCollection fc = Application.OpenForms;
int d = 0;
foreach (Form f in fc)
{
//iterate through
if (f.GetType() == typeof(FRM_ADD_DINHMUC_THEOBO))
{
f.Activate();
d++;
return;
}
}
if (d == 0)
{
FRM_ADD_DINHMUC_THEOBO frm = new FRM_ADD_DINHMUC_THEOBO();
frm.Show();
}