Wednesday, 15 July 2015

c# - Closing an App programmatically, that was called programmatically -


I programmatically (one app, from whom it is called) from inside App.xaml.cs I call:

PreCode = new process {StartInfo = {FileName = "ASA-Videowand.exe", Working Directory = myPath, Logic = _maxScreen.ToString (CultureInfo.CurrentCulture)}} ; NewProcess.Start ();

Now I want to check the arguments on startup and when I do not want it, close the app. I already have a application.Current.Shutdown (); , but with no effect (no error, no end of the process) is there any idea which I can do?


No comments:

Post a Comment