Method parameters

Hi, i would like to know what the parameter replacing the StartingUpCancelEventArgs is in the latest version of C# or the Winfx feb ctp really. I'm reading a book based on an earlier version clearly.

The method is:

void AppStartingUp(object sender, StartingUpCancelEventArgs e)

{

.....

}

Intellisene has not a hit at the second parameter, and instead it gives the alternatives

StartupEventArgsandStartupEventHandler

Best regards

[715 byte] By [CesarTabares] at [2007-12-19]
# 1

Are you taking about the Application.Startup event?

If so, then it should be:



private void OnStartup(object sender, StartupEventArgs e)
{

}

DavidM.Kean-MSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...

Visual Studio Orcas

Site Classified