public static void SetWindowState(this ICurrentWindowService service, WindowState state)
 {
     VerifyService(service);
     service.WindowState = DXWindowStateConverter.ToDXWindowState(state);
 }
 public static void SetWindowState(this IWindowService service, WindowState state)
 {
     WindowServiceExtensions.VerifyService(service);
     service.WindowState = DXWindowStateConverter.ToDXWindowState(state);
 }