private void ButtonNewUser_Click(object sender, RoutedEventArgs e) { SystemUserDialog dlg = new UI.SystemUserDialog(null); dlg.ShowDialog(); this.m_SystemUserCollection = YellowstonePathology.Business.User.SystemUserGateway.GetSystemUserCollection(); this.NotifyPropertyChanged("SystemUserCollection"); }
private void ListBoxSystemUsers_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (this.ListBoxSystemUsers.SelectedItem != null) { YellowstonePathology.Business.User.SystemUser user = (YellowstonePathology.Business.User.SystemUser) this.ListBoxSystemUsers.SelectedItem; SystemUserDialog dlg = new UI.SystemUserDialog(user); dlg.ShowDialog(); this.m_SystemUserCollection = YellowstonePathology.Business.User.SystemUserGateway.GetSystemUserCollection(); this.NotifyPropertyChanged("SystemUserCollection"); } }