Esempio n. 1
0
        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");
        }
Esempio n. 2
0
 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");
     }
 }