Search
Get Started
C
C#
•
3y ago
Creative9905
❔ Windows Form App shows nothing
is there a reason why when i run the windows form app nothing that i have in the form
.cs
[Design
} shows up and its just a blank app
?
Here
's the code i have
Form1.cs
2.88KB
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,010
Members
View on Discord
Was this page helpful?
Yes
No
T
TheBoxyBear
•
2/16/23, 3:10 AM
You need to call InitializeComponent at the start of the constructor
T
TheBoxyBear
•
2/16/23, 3:10 AM
If you look in the Designer
.cs file
, you see it contains the body of that method
C
Creative9905
OP
•
2/16/23, 6:08 AM
You
're right
. I opened up a new windows form app and it had that in the code
. Thanks for the tip
@TheBoxyBear
A
Accord
•
2/17/23, 6:22 AM
Was this issue resolved
? If so
, run
/close
/close
otherwise I will mark this as stale and this post will be archived until there is new activity
.