I'm calling an event handler from another one:
private void launchApplicationToolStripMenuItem_Click(object sender, EventArgs e) {
listApplications_DoubleClick(listApplications, null);
}
private void listApplications_DoubleClick(object sender, EventArgs e) {
"listApplications" is a ListView.
I had to pass listApplications because I cast sender in the DoubleClick() event to a ListView.
What about the second arg, though? Should I pass null, as shown above, or should I pass "e" like so:
listApplications_DoubleClick(listApplications, e);
Both ways work fine/identically under good circumstances. I don't know if that would be the case if there were an exception, though...