Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
1.Can anybody tell how to link multiple windows created in blend 4 wpf project?
eg:- i have login window after successful login it has to navigate into
another page..

2. how to add items into combo box?
Posted

1) Blend is a component design tool, not a programming tool. If you want to make make a window display another window, you have to write code to do it.

2) Most of the time, you use data binding, but you can also just manually add items.
 
Share this answer
 
For question #1, try this:
C#
public void Login_Click(object sender, RoutedEventArgs e)
{
   // login routines here

   if (LoginSuccess)
   {
      new MyMainWindow.Show();
   }

   this.Close();
}


For question #2, you can find many WPF Databinding articles in CodeProject.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900