region

Switching main view with PRISM

hi Does anyone know of good tutorial how to switch what module is viewed in main region if i would have a win client that consist of 5 regions, Toolbar, Sidebar (with menu), footer and main regions. I would want to have menu and when i pressed menuitem1 or menuitem1 it would load ModuleA og ModuleB in the main region. this would be ha...

Silverlight Prism: How to change the shell layout for a new page?

Hi There, I am new to Silverlight/Prism, so not sure how a new layout page would be rendered. I've got the Shell working like a master page, but I want to have several pages in the application with a different layout master. So, how do I get another (shell) or layout page to arrange different regions? Thanks for any conceptual feedback...

How to show a region on a image with CSS

Hi I have a 125x250 image and I need to just display a 125x125 region of it. Can I do this via CSS? How? Thank you ...

DateTimeFormatInfo.CurrentInfo.LongTimePattern not updating

I am using this to read the current long time pattern in Windows: System.Globalization.DateTimeFormatInfo.CurrentInfo.LongTimePattern However, if I make a change in the regional settings in the Control Panel, this pattern isn't updated until I restart my application. How can I force this pattern to update when the regional settings ar...

Is "region " is any keyword in asp.net?

Is "region" a keyword in asp.net? If yes, then what does it mean and where would one use it? ...

Merge (Boolean Union) rectangular regions with integer accuracy

Given any number of intersection, disjoint and touching rectangles, how to find the (multiple) outline polylines? Rectangles are defined in pixel coordinates so they have integer accuracy, but they may be thousands of units large. I really need numeric coordinates for the outlines, merging GDI regions won't do. I know I can simplify t...

DevExpress BarManager with Prism

Hello folk, I'm writing an application using DevExpress controls and Prism. I have a BarManager in the shell with the main menu bar and marked this bar as a region. <dxb:BarManager Name="barManager"> <dxb:BarManager.Bars> <dxb:Bar Caption="Main" IsMainMenu="True" UseWholeRow="True" cal:RegionManager.RegionName="{x:Static in...

How to track users location / region in PHP

Hello, I'm trying to get the country from which the user is browsing the website so I can work out what currency to show on the website. I have tried using the GET scripts available from: http://api.hostip.info but they just return XX when I test it. If anyone knows any better methods please share. Thanks. ...