i tried to open another form from the solution when i clicked a button, but i cannot make it work, the errors are;
Error 3 error C2061: syntax error : identifier 'ayarlar' c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211
Error 2 error C2065: 'ayar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211
Error 4 error C2065: 'ayar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 212
Error 7 error C2065: 'ayar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 213
Error 1 error C2065: 'ayarlar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211
Error 5 error C2227: left of '->set' must point to class/struct/union/generic type c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 212
Error 8 error C2227: left of '->Show' must point to class/struct/union/generic type c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 213
Error 6 error C2232: '->System::Windows::Forms::Form::Owner::set' : left operand has '' type, use '.' c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 212
and the code is;
private: System::Void button11_Click(System::Object^ sender, System::EventArgs^ e) {
ayarlar ^ayar = gcnew ayarlar;
ayar->Owner::set(this);
ayar->Show();
}
i need some very simple advice i guess :)