I want to ask about function InitializeComponent(). Is called after Invalidate() – invalidating component?
Version: .net 4.5, VS 2012
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No,
InitializeComponent()is only ever called in the constructor.That is, unless you decide to call it yourself from within one of your methods.
There is no interface, nor base class that requires your form to have a method called
InitializeComponent(), it’s just that’s what Visual Studio’s WinForms designer calls the method.