C
Join ServerC#
help
❔ Image will not transfer over
JJxlen1/24/2023
I cant seem to figure out the error as to why the photo is not appearing in the next form





TTheBoxyBear1/24/2023
Can't say for certain but why why are you doing all this managing of threads?
JJxlen1/24/2023
sorry im really new to coding, would u be able to simplify what u mean by that
TTheBoxyBear1/24/2023
The usage of the Thread object in button1_Click
JJxlen1/24/2023
oh
TTheBoxyBear1/24/2023
Where did you get that code from? There might be a good reason to have it I'm not aware of but I know you don't need it for what you're doing
JJxlen1/24/2023
Its what my teacher showed to the class in order to move to a new form, so i just followed the instructions he gave
TTheBoxyBear1/24/2023
In the meantime, you could try commenting it and just having
var gameForm = new Form6(...);
this.Hide();
gameForm.Show();
If that doesn't work then the issue is somewhere elseTTheBoxyBear1/24/2023
Also commenting out Application.ExitThread
TTheBoxyBear1/24/2023
Also what does the game form look like at runtime?
Ddont1/24/2023
you know you can use Path.Combine instead of string concatenation, right?
AAccord1/25/2023
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.