ok I really dont get why this isnt working for me since I have read about 3 sites that say im doing it right
heres what ive got
I get these errorsCode:private: System::Void openbut_Click(System::Object^ sender, System::EventArgs^ e) { if( openFileDialog1->ShowDialog() == DialogResult::OK ) { openbox->Text = "Testing"; } }
whats wrong here?Code:error C2039: 'OK' : is not a member of 'System::Windows::Forms::Form::DialogResult' error C2065: 'OK' : undeclared identifier