public ModifyMemberPage(LibraryMember _member, Object content, MainWindow _context)
 {
     InitializeComponent();
     member          = _member;
     previousContent = content;
     context         = _context;
     firstName.Text  = member.Name;
 }
예제 #2
0
 public void RefreshDataGrid()
 {
     currentMedia             = null;
     selectedMember           = null;
     libraryItems.ItemsSource = null;
     libraryItems.ItemsSource = Library.medias;
     membersGrid.ItemsSource  = null;
     membersGrid.ItemsSource  = Library.members;
 }
예제 #3
0
 private void membersGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     selectedMember = ((LibraryMember)membersGrid.SelectedItem);
 }