C
C#15mo ago
maria 🌟

❔ why this function isnt trrigering

2 Replies
Thinker
Thinker15mo ago
That's a private constructor It will only be called in two specific circumstances: the constructor is invoked by another method in the class, or the constructor is called using : this() from another constructor. Otherwise it won't be called Also you really should not be calling MessageBox.Show in a constructor.
Accord
Accord15mo 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.