Click here to Skip to main content
16,017,281 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Dumb Button Question alert! Pin
User 27100914-Mar-08 1:42
User 27100914-Mar-08 1:42 
GeneralRe: Dumb Button Question alert! Pin
Jammer14-Mar-08 7:14
Jammer14-Mar-08 7:14 
GeneralRe: Dumb Button Question alert! Pin
User 27100914-Mar-08 7:47
User 27100914-Mar-08 7:47 
GeneralRe: Dumb Button Question alert! Pin
Jammer14-Mar-08 8:01
Jammer14-Mar-08 8:01 
GeneralRe: Dumb Button Question alert! Pin
User 27100914-Mar-08 8:14
User 27100914-Mar-08 8:14 
GeneralRe: Dumb Button Question alert! Pin
Jammer14-Mar-08 8:30
Jammer14-Mar-08 8:30 
GeneralRe: Dumb Button Question alert! Pete Can you look at this for him? Pin
User 27100914-Mar-08 8:42
User 27100914-Mar-08 8:42 
GeneralRe: Dumb Button Question alert! Pete Can you look at this for him? Pin
Jammer14-Mar-08 9:28
Jammer14-Mar-08 9:28 
Hi Karl,

Thanks for that ... its weird isn't it ... i'm going backwards and forwards with this code and its just never getting evaluated and never grabbing the enums ... I have this in the main form that never gets called due to the if{} always being null ...
private void Navigator_ApplicationViewStatusChanged(object o, ApplicationViewEventArgs e)
{
    lyrBrowserView.Visibility = Visibility.Hidden;
    lyrDatabaseView.Visibility = Visibility.Hidden;

    switch (e.ApplicationViewStatus)
    {
        case Enums.ApplicationView.BrowserView:
            lyrBrowserView.Visibility = Visibility.Visible;
            break;
        case Enums.ApplicationView.DataBaseView:
            lyrDatabaseView.Visibility = Visibility.Visible;
            break;
    }
}


I can't see anything i'm doing differently to any of the examples I'm finding online. I'm going to take a look at RoutedCommands I think. This is doing my head in ...

Thanks chap.

Pete, if you can shed any light on this I'll be forever in your debt!

Jammer

Going where everyone here has gone before! Smile | :)
My Blog

GeneralRe: Dumb Button Question alert! Pete Can you look at this for him? Pin
Pete O'Hanlon16-Mar-08 9:57
mvePete O'Hanlon16-Mar-08 9:57 
GeneralRe: Dumb Button Question alert! Pete Can you look at this for him? Pin
Jammer16-Mar-08 10:03
Jammer16-Mar-08 10:03 
GeneralRe: Dumb Button Question alert! Pete Can you look at this for him? Pin
Pete O'Hanlon16-Mar-08 10:05
mvePete O'Hanlon16-Mar-08 10:05 
GeneralRe: Dumb Button Question alert! Pete Can you look at this for him? Pin
Jammer16-Mar-08 10:08
Jammer16-Mar-08 10:08 
GeneralThe killer question Pin
Ed.Poore13-Mar-08 9:52
Ed.Poore13-Mar-08 9:52 
GeneralRe: The killer question Pin
User 27100913-Mar-08 11:35
User 27100913-Mar-08 11:35 
GeneralRe: The killer question Pin
Ed.Poore13-Mar-08 11:40
Ed.Poore13-Mar-08 11:40 
GeneralRe: The killer question Pin
User 27100913-Mar-08 15:24
User 27100913-Mar-08 15:24 
GeneralRe: The killer question Pin
Ed.Poore13-Mar-08 15:49
Ed.Poore13-Mar-08 15:49 
GeneralRe: The killer question Pin
Pete O'Hanlon14-Mar-08 2:21
mvePete O'Hanlon14-Mar-08 2:21 
GeneralRe: The killer question Pin
Ed.Poore14-Mar-08 3:28
Ed.Poore14-Mar-08 3:28 
GeneralError Help Pin
Jammer13-Mar-08 2:37
Jammer13-Mar-08 2:37 
GeneralRe: Error Help Pin
User 27100913-Mar-08 3:36
User 27100913-Mar-08 3:36 
GeneralRe: Error Help Pin
Jammer13-Mar-08 3:47
Jammer13-Mar-08 3:47 
GeneralRe: Error Help Pin
User 27100913-Mar-08 5:33
User 27100913-Mar-08 5:33 
GeneralRe: Error Help Pin
Jammer13-Mar-08 7:08
Jammer13-Mar-08 7:08 
GeneralRe: Error Help Pin
Jammer13-Mar-08 7:11
Jammer13-Mar-08 7:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.