private void UpdateActivation(String Value, string selectedIndex)
 {
     try
     {
         ClsStudents.UpdateActivation(Value, selectedIndex, MainScreen);
         AddDataToDetailsPanel();
     }
     catch (Exception ex)
     { MessageBox.Show(ex.Message); }
 }
 private void UpdateActivation(String Value, string selectedIndex)
 {
     try
     {
         ClsStudents.UpdateActivation(Value, selectedIndex, MainScreen);
         setDgvQuery();
         Add_Details_to_Datagridview(DgvQuery);
         button1.Enabled = false;
     }
     catch (Exception ex)
     { MessageBox.Show(ex.Message); }
 }