Write your code in window1
.
private void Button_Click(object sender, RoutedEventArgs e)
{
window2 win2 = new window2();
win2.Show();
}
More Related Contents:
- WPF Shaped Button – Visaul Studio/Blend
- How to include external font in WPF application without installing it
- Prevent using Dispatcher.Invoke in WPF code
- .NET Memory issues loading ~40 images, memory not reclaimed, potentially due to LOH fragmentation
- page.DataContext not inherited from parent Frame?
- How do I exit a WPF application programmatically?
- Datagrid binding in WPF
- Open default mail client along with a attachment
- Embed Unity3D app inside WPF application
- Software rendering mode – WPF
- Static binding doesn’t update when resource changes
- WPF DataBinding not updating?
- How can I simulate a mouse click at a certain position on the screen?
- Restart application using C#
- Convert System.Windows.Media.ImageSource to System.Drawing.Bitmap
- How to get a Uri of the image stored in the resources
- Screen Resolution Problem In WPF?
- Set Item Focus in ListView WPF
- How can I open Windows Explorer to a certain directory from within a WPF app?
- Dynamically add multiple buttons to wpf window?
- WPF DataGrid: DataGridComboxBox ItemsSource Binding to a Collection of Collections
- Image file copy, is being used by another process
- Accessing static fields in XAML
- What’s the difference between InvokeAsync and BeginInvoke for WPF Dispatcher
- Partial declarations must not specify different base classes
- Create WPF TextBox that accepts only numbers [duplicate]
- DateTimePicker for WPF 4.0
- MVVM – what is the ideal way for usercontrols to talk to each other
- BindableBase vs INotifyChanged
- How to execute a method periodically from WPF client application using threading or timer [closed]