Code: Select all
var parent = (Main_Form)MdiParent;
foreach (Form f in parent.MdiChildren)
{
((Map_Form)f).map.ResignMap(map);
}
Code: Select all
var parent = (Main_Form)MdiParent;
foreach (Form f in parent.MdiChildren)
{
((Map_Form)f).map.ResignMap(map);
}