You're creating a whole class just to show/hide some controls? You can use these methods instead:
public static void ShowControl(Control c)
{
c.Show();
}
public static void HideControl(Control c)
{
c.Hide();
}
Or, if you want to put it in a whole new class (which I don't recommend)
public static class ControlsUtility
{
public static void ShowControl(Control c)
{
c.Show();
}
public static void HideControl(Control c)
{
c.Hide();
}
}
Hope that helped.