C
C#2y ago
Jxlen

❔ Image will not transfer over

I cant seem to figure out the error as to why the photo is not appearing in the next form
9 Replies
TheBoxyBear
TheBoxyBear2y ago
Can't say for certain but why why are you doing all this managing of threads?
Jxlen
Jxlen2y ago
sorry im really new to coding, would u be able to simplify what u mean by that
TheBoxyBear
TheBoxyBear2y ago
The usage of the Thread object in button1_Click
Jxlen
Jxlen2y ago
oh
TheBoxyBear
TheBoxyBear2y ago
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
Jxlen
Jxlen2y ago
Its what my teacher showed to the class in order to move to a new form, so i just followed the instructions he gave
TheBoxyBear
TheBoxyBear2y ago
In the meantime, you could try commenting it and just having
var gameForm = new Form6(...);
this.Hide();
gameForm.Show();
var gameForm = new Form6(...);
this.Hide();
gameForm.Show();
If that doesn't work then the issue is somewhere else Also commenting out Application.ExitThread Also what does the game form look like at runtime?
ffmpeg -i me -f null -
you know you can use Path.Combine instead of string concatenation, right?
Accord
Accord2y ago
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.