KELK1 PEUT M'AIDER SVT(INTERFACE C++)

drcmomo Messages postés 182 Date d'inscription lundi 13 mars 2006 Statut Membre Dernière intervention 25 décembre 2009 - 24 mai 2006 à 08:40
BruNews Messages postés 21040 Date d'inscription jeudi 23 janvier 2003 Statut Modérateur Dernière intervention 21 août 2019 - 24 mai 2006 à 09:22
BONJOUR TOUT LE MONDE !
JE SUIS ENTRAIN DE CEER UNE INTERFACE EN VISUALC++.NET
JE SUIS DEBUT J'EN AI JAMAIS FAIT AU PARAVANT, JE SUIS BLOKE KELK1 PEUT M'AIDER

1)// QUAND JE CLIK SUR CE BOUTTON IL M'OUVRE LE CONTENU D'UNFICHIER TEXT DANS TEXTBOX
ET QUAND JE CLICK SUR LE BOUTTON ENREGISTRER IL M'AFFICHE UNE FENETRE AVEC UN MESSAGE
"LE DOCUMENT NE CONTIENT PAS DE PAGE "
2) QUAND JE CLICK SUR LE BOUTTON ENREGISTER IL SE RIEN PASSER





private



: System::Void button7_Click(System::Object * sender, System::EventArgs * e){

OpenFileDialog * openFileDialog1 =


new
OpenFileDialog(); openFileDialog1->DefaultExt="txt";

openFileDialog1->Filter="données texte|*.txt|donnees statistiques (*.par)|*.par";

openFileDialog1->FilterIndex=2;


if
(openFileDialog1->ShowDialog() == DialogResult::OK){

textBox4->Text =openFileDialog1->FileName;

}

}









//BOUTTON IMPRIMER
private: System::Void button6_Click(System::Object * sender, System::EventArgs * e){ PrintPreviewDialog * printPreviewDialog1 =

new PrintPreviewDialog();
printPreviewDialog1->ShowDialog();

textBox4->Text="printPreviewDialog1";

}

//BOUTTON ENREGISTER

private: System::Void button4_Click(System::Object * sender, System::EventArgs * e){

SaveFileDialog * SaveFileDialog1 =

new SaveFileDialog();
 

if(SaveFileDialog1->ShowDialog ()== DialogResult::OK ){

}

}
QUELQU'UN PEUT M'AIDER A TERMINER CE CODE SVP?

1 réponse

BruNews Messages postés 21040 Date d'inscription jeudi 23 janvier 2003 Statut Modérateur Dernière intervention 21 août 2019
24 mai 2006 à 09:22
Inutile de remettre plusieurs posts identiques, surtout s'ils disparaissent c'est que j'enlève les doublons.

ciao...
BruNews, MVP VC++
0
Rejoignez-nous