示例#1
0
 private static void ClearControls(Dynamic dyn)
 {
     if (dyn.Controls.Count <= 0)
         return;
     Control tmp = dyn.Controls[0];
     ActiveEvents.Instance.RemoveListener(tmp);
     dyn.ClearControls();
 }