private void onDoubleClickList() { UserWindow lUserWindow = new UserWindow(UserWindowType.MODIFY, SelectUserEntity); lUserWindow.Closed += UserWindow_Closed; lUserWindow.Show(); }
private void onModifyUser() { UserWindow lUserWindow = new UserWindow(UserWindowType.MODIFY, SelectUserEntity); lUserWindow.Closed += UserWindow_Closed; lUserWindow.Show(); }
private void onAddUser() { AddUserEntity = new UserEntity(); DocumentManager.Web.Model.user user = new DocumentManager.Web.Model.user(); AddUserEntity.User = user; user.user_password = Cryptography.MD5CryptoServiceProvider.GetMd5String("123456"); AddUserEntity.Update(); UserWindow lUserWindow = new UserWindow(UserWindowType.MODIFY, AddUserEntity); lUserWindow.Closed += AddUser_Closed; lUserWindow.Show(); }