How do I fire an event in VB.NET code?
问题 I have a form that has a start button (to allow users to run the processes over and over if they wish), and I want to send a btnStart.Click event when the form loads, so that the processes start automatically. I have the following function for the btnStart.Click event, but how do I actually tell Visual Basic 'Pretend someone has clicked the button and fire this event'? I've tried going very simple, which essentially works. However, Visual Studio gives me a warning Variable 'sender' is used