Showing another window using visible property.
WPF
2
Posts
2
Posters
0
Views
1
Watching
-
I am trying to show another window using the visible property as: Window2.Visibility = Windows.Visibility.Hidden I have written the command in window1 on a command button. But its giving an error "Reference to a non-shared member requires an object reference." Any solutions??
-
I am trying to show another window using the visible property as: Window2.Visibility = Windows.Visibility.Hidden I have written the command in window1 on a command button. But its giving an error "Reference to a non-shared member requires an object reference." Any solutions??