Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

Restart WPF Application

var currentExecutablePath = Process.GetCurrentProcess().MainModule.FileName;
Process.Start(currentExecutablePath);
Application.Current.Shutdown();
Comment

wpf restart application c#

Application.Current.Shutdown();
System.Windows.Forms.Application.Restart();
Comment

PREVIOUS NEXT
Code Example
Csharp :: C# how to remove an image in a folder 
Csharp :: Use tuple to swap values c# 
Csharp :: c# take only int from string 
Csharp :: wpf rounded image 
Csharp :: snx turn off linux 
Csharp :: how to say "Hello world" in c# 
Csharp :: convert int array to string in C# 
Csharp :: c# open file in default program 
Csharp :: xamarin overlay 
Csharp :: unity how to end a game with esc 
Csharp :: hello in c# 
Csharp :: an entry with the same key already exists asp net 
Csharp :: c# how to open file explorer 
Csharp :: c# convert enum to list 
Csharp :: c sharp int to string 
Csharp :: C++ in C# 
Csharp :: ++ operator c# 
Csharp :: how to check if control key is pressed c# 
Csharp :: learn c# 
Csharp :: unity lock cursor to center 
Csharp :: How to read a XML on C# 
Csharp :: built in methods to order a list c# 
Csharp :: beep sound in c# 
Csharp :: c# getforegroundwindow 
Csharp :: how to change textMesh Pro unity 
Csharp :: reverse for loop unity 
Csharp :: c# pick a random item from array 
Csharp :: how to reference a child object unity 
Csharp :: how to save a c# dictionary 
Csharp :: trigger collider unity 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =