Example #1
0
 private void AddUserbtn_Click(object sender, RoutedEventArgs e)
 {
     FunPage.UserManage.AddUserWindow auw = new UserManage.AddUserWindow();
     auw.vm_User.IsEdit = false;
     auw.ShowDialog();
     vm_UserList.GetDataList();
 }
Example #2
0
 private void editmenu_Click(object sender, RoutedEventArgs e)
 {
     FunPage.UserManage.AddUserWindow auw = new UserManage.AddUserWindow();
     auw.vm_User.UserModel = LBList.Items[LBList.SelectedIndex] as AMS.Model.AMS_UserInfo;
     auw.vm_User.IsEdit    = true;
     auw.ShowDialog();
     vm_UserList.GetDataList();
 }