Skip to content

Commit 4ee1a34

Browse files
fix bugs
1 parent f2e4cc5 commit 4ee1a34

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+590
-372
lines changed

.vs/Start/v16/.suo

37.5 KB
Binary file not shown.

Colirage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Start
1313
public partial class Coloriage : Form
1414
{
1515
Coloriage2 f= new Coloriage2() ;
16-
Graphics g; int x = -1, y = -1, w; bool moving; Pen p; Color clr = Color.Lime;
16+
Graphics g; Pen p; Color clr = Color.Lime;
1717

1818
private void pictureBox1_Click(object sender, EventArgs e)
1919
{
@@ -71,7 +71,7 @@ public Coloriage()
7171
InitializeComponent();
7272
g = pictureBox1.CreateGraphics();
7373
g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
74-
p = new Pen(clr, w);
74+
p = new Pen(clr, 0);
7575
p.StartCap = p.EndCap = System.Drawing.Drawing2D.LineCap.Triangle;
7676
}
7777

Cours.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private void pictureBox3_Click(object sender, EventArgs e)
125125
}
126126

127127
}
128-
int ticks;
128+
129129

130130

131131

Dictation.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public Dictée()
1919
{
2020
InitializeComponent();
2121
conjugaison = new XmlDocument();
22-
conjugaison.Load(Application.StartupPath + @"\conjugaison.xml");
23-
CryptageEtHachage.DeCrypNode(conjugaison .DocumentElement);
22+
conjugaison.Load(Application.StartupPath + @"\francais.xml");
23+
CryptageEtHachage.DeCrypNode(conjugaison.DocumentElement);
2424
}
2525
Random r = new Random ();string vrai11, vrai12, vrai13, vrai21, vrai22; int a = 1;
2626

@@ -36,10 +36,8 @@ private void pictureBox2_Click(object sender, EventArgs e)
3636
string[] Repponses;
3737
private void Form1_Load_1(object sender, EventArgs e)
3838
{
39-
Repponses = Reponses();
39+
Repponses = Reponses();
4040
dic1.texts();
41-
42-
4341
}
4442

4543
XmlDocument conjugaison;float noteLevel;string remarques=null ;
@@ -248,7 +246,7 @@ static string test(string s1, string s2 ,out float notta)
248246

249247
}
250248
}
251-
return "Mots manques:" + sa;
249+
return "Mots manques " + sa;
252250
}
253251
}
254252

Dictation.designer.cs

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dictation.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@
117117
<resheader name="writer">
118118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120+
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121+
<value>17, 17</value>
122+
</metadata>
120123
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
121124
<data name="dic1.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
122125
<value>

EcrCours0.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public cours_de_ecriture()
5353
private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e)
5454
{
5555
}
56-
PictureBox p;Graphics g;
56+
Graphics g;
5757
private void tableLayoutPanel1_CellPaint(object sender, TableLayoutCellPaintEventArgs e)
5858
{
5959

@@ -70,14 +70,14 @@ private void tableLayoutPanel1_CellPaint(object sender, TableLayoutCellPaintEven
7070
}
7171
}
7272
}
73-
Bitmap bbb;
73+
7474
private void pictureBox1_Click(object sender, EventArgs e)
7575
{
7676
i--;coloring = false; if (i == 0) pictureBox1.Visible = false;else { pictureBox1.Visible = true;pictureBox2.Visible = true ; }
7777
label1.Text = "La lettre" + (char)(i + 65);
7878
/*this.Invoke(new MethodInvoker =>Form1_Load)*/
7979
}
80-
bool ok = true;
80+
8181
private void EcrCours_Load(object sender, EventArgs e)
8282
{
8383
g = TableLayoutPanel1.CreateGraphics();
@@ -91,7 +91,7 @@ private void pictureBox2_Click(object sender, EventArgs e)
9191

9292
//pictureBox1.Enabled = false; pictureBox2.Enabled = false; this.Refresh();
9393
//if(pictureBox2.Enabled)
94-
ok = false;
94+
9595
i++; coloring = false; g.Clear(Color.WhiteSmoke);
9696
if (i == 25){pictureBox2.Visible = false; label1.Visible = pictureBox1.Visible = pictureBox3.Visible = pictureBox2.Visible = false; label2.Visible = label4.Visible = button1.Visible = true; }
9797
else { pictureBox1.Visible = true; pictureBox2.Visible = true; }

Ecriture0.designer.cs

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ExPro.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private void Exercice1ReconaissanceDeSons_Load(object sender, EventArgs e)//load
5555
pictureBox2.ImageLocation = s1[0]; pictureBox3.ImageLocation = s1[1];
5656
pictureBox4.ImageLocation = s1[2]; pictureBox5.ImageLocation = s1[3]; pictureBox6.ImageLocation = s1[4];
5757
}
58-
static Random r = new Random();static Bitmap b;static int [] aConv = { 1, 2, 3, 6, 7, 10, 11, 14, 19, 9, 15, 17, 21, 25, 22, 23, 31, 39, 27, 45, 40, 48, 64, 65, 54, 75, 70, 77 };
58+
static Random r = new Random();static int [] aConv = { 1, 2, 3, 6, 7, 10, 11, 14, 19, 9, 15, 17, 21, 25, 22, 23, 31, 39, 27, 45, 40, 48, 64, 65, 54, 75, 70, 77 };
5959

6060
private void button10_Click(object sender, EventArgs e)
6161
{
@@ -75,7 +75,7 @@ private void reconizer_reconized(object sender, SpeechRecognizedEventArgs e)
7575

7676
private void button1_Click_1(object sender, EventArgs e)
7777
{
78-
78+
label2.Visible = false;
7979
ou.Dispose(); label11.Visible = false;sSynth.SelectVoice(sSynth.GetInstalledVoices()[0].VoiceInfo.Name);
8080
label7.Visible = false; label6.Visible = false;
8181
label8.Visible = false; button3.Visible = false; button1.Visible = false;

ExPro.designer.cs

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)