private void Validate_Click(object sender, RoutedEventArgs e) { AdminData.Datarowrequet(grdRequest); Sql_Connection.UPdateDataRequest(AdminData.A_ID); Sql_Connection.FillDataGridRequest(grdRequest); Powershell.Take_Serveur_Name(AdminData.A_Name); Powershell.Add_User_IntoGroups(AdminData.U_Serveur_Name, AdminData.A_Group, AdminData.A_Name); }
private void Reject_Click(object sender, RoutedEventArgs e) { AdminData.Datarowrequet(grdRequest); Sql_Connection.DeleteDataNewRequest(AdminData.A_ID); Sql_Connection.FillDataGridRequest(grdRequest); }
public AdminWindow() { InitializeComponent(); Sql_Connection.FillDataGridRequest(grdRequest); }