HOW TO SET DEFAULT PAGE FOR APPLICATION:
1)consider u have more one than page in ur Silverlight Appliction like page.xaml,pag1.xaml.,page2.xaml.
2)when u run the Application the page which u created first will run first.
3)suppose if u want ur page2.xaml first ,just open app.xaml.cs
private void Application_Startup(object sender, StartupEventArgs e)
{
this.RootVisual = new Page();//type ur page name by replacing page()
}
4)this is the procedure to set a default page
2)when u run the Application the page which u created first will run first.
3)suppose if u want ur page2.xaml first ,just open app.xaml.cs
private void Application_Startup(object sender, StartupEventArgs e)
{
this.RootVisual = new Page();//type ur page name by replacing page()
}
4)this is the procedure to set a default page
Comments
Post a Comment