Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Commits on Source (9)
No preview for this file type
......@@ -115,7 +115,7 @@ namespace SAE_D21_A21_Jeroglifico.Components.Lesson
if (e.KeyChar == (char)Keys.Enter) { }
// Traitement de la touche Retour
else if (e.KeyChar == (char)Keys.Back) { }
// Ce qu'on accepte dans la cbo : des lettres et un tiret pour les noms composés
// Ce qu'on accepte dans la cbo : des lettres pour les noms composés
else if (e.KeyChar >= 65 && e.KeyChar <= 90 || e.KeyChar >= 97 && e.KeyChar <= 122) { }
// Sinon on accepte rien
else
......
......@@ -57,10 +57,6 @@ namespace SAE_D21_A21_Jeroglifico
{
return true;
}
if(keyData == Keys.Tab)
{
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
......
......@@ -136,7 +136,7 @@ namespace SAE_D21_A21_Jeroglifico.Pages
private void cboIdentification_KeyPress(object sender, KeyPressEventArgs e)
{
if (cboIdentification.Text.Length <= 40)
if (cboIdentification.Text.Length <= 40 || e.KeyChar == (char)Keys.Back)
{
// Traitement de la touche retour
if (e.KeyChar == (char)Keys.Back) { }
......
......@@ -17,14 +17,6 @@ namespace SAE_D21_A21_Jeroglifico
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
DataManager.Init();
//Application.Run(new FrmProjet());
//Application.Run(new FormTestIdentification());
//Application.Run(new FormTestAdmin());
//Application.Run(new FormTestAccueil());
//Application.Run(new FormTestVocab());
//Application.Run(new FormTestMenu());
//Application.Run(new FormTestCours());
//Application.Run(new FormTestExoMotsManquants());
Application.Run(new FrmProjet());
}
}
......