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