private static Rect FitRect(Rect rect, ContainerWindow popupContainerWindow) { if (popupContainerWindow != null) { return popupContainerWindow.FitWindowRectToScreen(rect, true, true); } return ContainerWindow.FitRectToScreen(rect, true, true); }
private static Rect FitRect(Rect rect, ContainerWindow popupContainerWindow) { if (popupContainerWindow != null) { return(popupContainerWindow.FitWindowRectToScreen(rect, true, true)); } return(ContainerWindow.FitRectToScreen(rect, true, true)); }
private static Rect FitRect(Rect rect, ContainerWindow popupContainerWindow) { if ((bool)((Object)popupContainerWindow)) { return(popupContainerWindow.FitWindowRectToScreen(rect, true, true)); } return(ContainerWindow.FitRectToScreen(rect, true, true)); }
private static Rect FitRect(Rect rect, ContainerWindow popupContainerWindow) { Rect result; if (popupContainerWindow) { result = popupContainerWindow.FitWindowRectToScreen(rect, true, true); } else { result = ContainerWindow.FitRectToScreen(rect, true, true); } return(result); }
private static Rect FitRect(Rect rect, ContainerWindow popupContainerWindow) { if ((bool) ((Object) popupContainerWindow)) return popupContainerWindow.FitWindowRectToScreen(rect, true, true); return ContainerWindow.FitRectToScreen(rect, true, true); }