private static void FireWindowResize() { if (WindowResize != null) WindowResize(typeof(GlobalEvents), new EventArgs()); }