private void Form2_Load(object sender, EventArgs e) { Process objLVProcess ; objLVProcess = new Process(); String strLVExePath = "../../WindowsFormsApplication1.exe"; ProcessStartInfo objLVProInfo = new ProcessStartInfo(strLVExePath); objLVProInfo.RedirectStandardOutput = true; objLVProInfo.RedirectStandardInput = true; objLVProInfo.RedirectStandardError = true; objLVProInfo.CreateNoWindow = true; objLVProInfo.WindowStyle = ProcessWindowStyle.Normal; objLVProInfo.UseShellExecute = false; objLVProcess.StartInfo = objLVProInfo; objLVProcess.Start(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)