Hi, I'm still a newbie. I have my project, in which I have 2 windows, a Main Window (Launcher.xaml) and another Second Window (Configuration.xaml). In the Main Window I have 2 buttons; a button that executes an * .exe (start game), whose path or address
is in a TextBox in the second window. And the second Button calls the second window.
In the second window I have a TextBox and 2 Buttons, One is the one that calls the "OpenFileDialog" that when clicked, sends me a search dialog for the * .exe file (game.exe) and when I choose that program to execute, this write the address or path
in the TextBox something like this; "D: \ folder \ game.exe". The following button saves the direction or route of the game to be able to execute it in the main window.
Well my question is how I can make the button of the main window (Start Game) execute the game whose address or path is in the TextBox of the second window, I would be very grateful if you could help me with it, please. Or some other alternative, I am already
very grateful for it and its help.