I found this:
It works.
But.
Is there any better way?
System.Diagnostics.Process.Start(Application.ResourceAssembly.Location);
Application.Current.Shutdown();
More Related Contents:
- How to get ToolTip from WPF Data Grid Column Header (DataGridTemplateColumn) in code?
- MVVM: Tutorial from start to finish?
- Issue with DependencyProperty binding
- Good or bad practice for Dialogs in wpf with MVVM?
- WPF global exception handler [duplicate]
- Storing WPF Image Resources
- Why does my .NET 4 application know .NET 4 is not installed
- WPF CreateBitmapSourceFromHBitmap() memory leak
- No output to console from a WPF application?
- What are the true benefits of ExpandoObject?
- Change desktop wallpaper using code in .NET
- When should TaskCompletionSource be used?
- Bring a window to the front in WPF
- Unblock File from within .net 4 c#
- Updating an ObservableCollection in a separate thread
- How to programmatically click a button in WPF?
- Single click edit in WPF DataGrid
- String.Replace() vs. StringBuilder.Replace()
- lowering priority of Task.Factory.StartNew thread
- BitmapImage to byte[]
- Print FixedDocument/XPS to PDF without showing file save dialog
- Creating threads – Task.Factory.StartNew vs new Thread()
- How can I get the Position of textbox that has been pressed?
- Dynamically implementing an interface in .NET 4.0 (C#)
- How do I compute the non-client window size in WPF?
- Reverse a string with accent chars?
- Accessing static fields in XAML
- The component does not have a resource identified by the uri
- Could not load file or assembly ‘System.Windows.Interactivity’ [duplicate]
- Select item programmatically in WPF ListView