Good Afternoon,
This application is for Windows (7)
I have a button in my application which loads settings from a text file. I also want this event to be called during the initialization of the form.
What is have is
Form1(void)
{
InitializeComponent();
load_button_Click(this, ...);
}
where the function is:
private: System::Void load_button_Click(System::Object^ sender, System::EventArgs^ e) {
...
}
I need to pass
System::EventArgs^ e to this function and I'm completely lost on how to do that.
I know that I can place all the code from the event into a seaparte function and call that from both the event and during initialization, but I wanted to know if there is a way to call the even function instead.
Thanks,
-D