public static void Toogle(this IShow thisShow) { if (thisShow.Shown) { thisShow.Hide(); } else { thisShow.Show(); } }