Bonjour
J'ai un problème bizarre :
Dans une winform j'ai un bouton qui me fait passer a une autre winform !!
Je suis pas un débutant je suis surtout opérationnel en c# mais la ça me dépasse...
Déja faut savoir que mon code marchait avant, après qql manip ca marche plus et le compilateur me dit une truc bizarre :
1>c:\documents and settings\administrateur\mes documents\visual studio 2005\projects\videoclub_futurama\videoclub_futurama\Page_1_Authentification.h(284) : error C2065: 'Page_2_1_Location_Categories'*: identificateur non déclaré
1>c:\documents and settings\administrateur\mes documents\visual studio 2005\projects\videoclub_futurama\videoclub_futurama\Page_1_Authentification.h(284) : error C2065: 'frm'*: identificateur non déclaré
1>c:\documents and settings\administrateur\mes documents\visual studio 2005\projects\videoclub_futurama\videoclub_futurama\Page_1_Authentification.h(284) : error C2061: erreur de syntaxe*: identificateur 'Page_2_1_Location_Categories'
1>c:\documents and settings\administrateur\mes documents\visual studio 2005\projects\videoclub_futurama\videoclub_futurama\Page_1_Authentification.h(285) : error C2227: la partie gauche de '->ShowDialog' doit pointer vers un type class/struct/union/générique
1> le type est ''unknown-type''
Je précise que j'ai déclaré en haut de page :
#include "Page_2_1_Location_Categories.h"
Et j'utilise la syntaxe trouvé sur ce site dans d'autre sujet :
1 2 3 4 5 6 7 8
| private: System::Void btnLocation_Click(System::Object^ sender, System::EventArgs^ e)
{
Page_2_1_Location_Categories ^ frm = gcnew Page_2_1_Location_Categories;
frm->ShowDialog();
} |
Donc le compilateur me dit qu'il ne connait pas : Page_2_1_Location_Categories
Ce qui est plutôt bizarre vu qu'il est déclaré correctement enfin à priori.
Merci de m'aider je m'arrache les cheveux !!!
Partager