Guest User

Untitled

a guest
Nov 19th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. namespace WpfApp1.Management
  2. {
  3. public class BookManagement : INotifyPropertyChanged
  4. { ...
  5.  
  6. <Window
  7. x:Class="WpfApp1.MainWindow"
  8. x:Name="mainWindow"
  9. ...
  10. xmlns:mangmt="clr-namespace:WpfApp1.Management"
  11.  
  12. <Window.Resources>
  13. <mangmt:BookManagement x:Key="bookManagement" />
  14. </Window.Resources>
  15.  
  16. BookManagement bm= Application.Current.Resources["bookManagement"] as BookManagement;
  17. bm.SelectedTab = "summary";
Add Comment
Please, Sign In to add comment