Exemple #1
0
 private void passwordmenu_Click(object sender, RoutedEventArgs e)
 {
     FunPage.MainPageInfo.PassChangeWindow pcw = new MainPageInfo.PassChangeWindow();
     pcw.vm_Password.UserInfo = LBList.Items[LBList.SelectedIndex] as AMS.Model.AMS_UserInfo;
     pcw.vm_Password.IsAdmin  = true;
     pcw.ShowDialog();
 }
Exemple #2
0
 private void PasswordChangebtn_Click(object sender, RoutedEventArgs e)
 {
     FunPage.MainPageInfo.PassChangeWindow pcw = new MainPageInfo.PassChangeWindow();
     pcw.vm_Password.UserInfo = AMS.ViewModel.ViewModelObject.User;
     pcw.ShowDialog();
 }