private void Button_Validate(object sender, RoutedEventArgs e) { AdminData.DatarowUser(NewUser); Sql_Connection.UPdateDataNewUser(AdminData.U_Name); Powershell.Take_Serveur_Name(AdminData.U_Name); Powershell.Take_password(); Powershell.Create_User(AdminData.U_Serveur_Name, AdminData.U_Surname, AdminData.U_Name, AdminData.U_Name, AdminData.U_password_decrypted); Sql_Connection.FillDataGridUser(NewUser); }
private void Button_Reject(object sender, RoutedEventArgs e) { AdminData.DatarowUser(NewUser); Sql_Connection.DeleteDataNewUser(AdminData.U_Name); Sql_Connection.FillDataGridUser(NewUser); }
public AdminWindowUser() { InitializeComponent(); Sql_Connection.FillDataGridUser(NewUser); }