void DisposeActivity(XtnBaseActivity act) { if (null == act) { return; } act.MouseRightButtonDown -= act_MouseRightButtonDown; act.Dispose(); }
void DisposeActivity(XtnBaseActivity act) { if (null == act) { return; } act.DotMouseMove -= act_DotMouseMove; act.DotMouseLeftButtonUp -= act_DotMouseLeftButtonUp; act.DotMouseLeftButtonDown -= act_DotMouseLeftButtonDown; act.DotMouseEnter -= act_DotMouseEnter; act.DotMouseLeave -= act_DotMouseLeave; act.MouseLeftButtonDown -= act_MouseLeftButtonDown; act.MouseLeftButtonUp -= act_MouseLeftButtonUp; act.MouseMove -= act_MouseMove; act.MouseRightButtonDown -= act_MouseRightButtonDown; act.Dispose(); }