Question: I ' m using Winforms in Visual studios C + + . I am trying to load a bitmap picture into another form. I am
Im using Winforms in Visual studios C I am trying to load a bitmap picture into another form. I am getting A 'System.ArgumentException:Parameteer is not valid' error. I have created ther bitmapbmp pic through the resource file. This is the event handler, when i click on this picture that is a button I want it to load that specific picture "bitmapbmp and then take you to the next form "NewItem". How can I fix the errorr im recieving? Here is the c code for the event handler.
private: System::Void buttonClickSystem::Object sender System::EventArgs e
Bitmap originalImage gcnew Bitmapbitmapbmp;
NewItem Back gcnew NewItemthis;
BackShow;
thisHide;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
