C
C#9mo ago
capetaanal

WinForm not rendering correctly?

I'm trying to show my winform at a specific part of my program, so this is the code I'm using:
new Form1().Show();
new Form1().Show();
but, when it does show, it doesn't render correctly:
No description
2 Replies
capetaanal
capetaanal9mo ago
what it's supposed to look like and what shows up in the visual studio preview for reference
No description
capetaanal
capetaanal9mo ago
it's also worth nothing that whenever I hover over the form, a hanging cursor appears even though I've never set that in my code fixed it, had to use Form1.ShowDialog()