15.07.2013 Views

Microsoft Visual Basic - Encyclopaedia Gentium Boni

Microsoft Visual Basic - Encyclopaedia Gentium Boni

Microsoft Visual Basic - Encyclopaedia Gentium Boni

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

frmLexiqueNT - 2<br />

If txtFrancais.Text = "" And txtVientde.Text = "" Then<br />

motr = txtGrec.Text<br />

Call DefinirGrec(motr, mott)<br />

txtFrancais.Text = mott<br />

Exit Sub<br />

' je cherche un mot FRANCAIS<br />

ElseIf txtGrec.Text = "" And txtVientde.Text = "" Then 'And _<br />

'txtPrononciation.Text = "" And _<br />

'txtNotes.Text = "" Then<br />

motr = txtFrancais.Text<br />

Call DefinirGrec(motr, mott)<br />

recherche = motr<br />

Call FrancaisGrec(recherche)<br />

txtGrec.Text = recherche<br />

Exit Sub<br />

' C'est du français que je cherche !<br />

'ElseIf txtVientde.Text "" Then<br />

' recherche = txtVientde.Text<br />

' Call GrecFrancais(recherche)<br />

' Exit Sub<br />

End If<br />

End Sub<br />

Private Sub btnRechercher_Click()<br />

btnGo_Click<br />

End Sub<br />

Private Sub Form_Load()<br />

btnAjouter.Visible = False<br />

mnuConsultation.Checked = True<br />

dico = False<br />

End Sub<br />

Private Sub mnuConsultation_Click()<br />

btnAjouter.Visible = False<br />

mnuEdition.Checked = False<br />

End Sub<br />

Private Sub mnuEdition_Click()<br />

btnAjouter.Visible = True<br />

mnuEdition.Checked = True<br />

End Sub<br />

Private Sub mnuQuit_Click()<br />

Unload Me<br />

End Sub<br />

Private Sub Timer1_Timer()<br />

If mnuEdition.Checked = True Then btnGo_Click<br />

End Sub<br />

Private Sub Timer2_Timer()<br />

If txtGrec.Text = "" Then<br />

Timer1.Enabled = False<br />

End If<br />

End Sub

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!