Files
2026-07-27 11:08:26 +08:00

21 lines
444 B
C#

namespace XericUI.Form
{
public interface IActivity
{
public void Show();
public void Hide();
}
public static class ActivedExtend
{
public static bool Show(this IActivity target, bool isShow)
{
if (target == null) return isShow;
if (isShow)
target.Show();
else
target.Hide();
return isShow;
}
}
}