private void button8_Click(object sender, EventArgs e) { Process p = new Process(); p.EnableRaisingEvents = true; p.StartInfo.WindowStyle = ProcessWindowStyle.Maximized; p.StartInfo.CreateNoWindow = true; p.StartInfo.FileName = @"C:\Program Files (x86)\Foxit Software\ Foxit PDF Reader\FoxitPDFReader.exe"; p.StartInfo.Arguments = @"E:\GG\dosya3.pdf"; p.StartInfo.UseShellExecute = false; p.Start(); p.WaitForInputIdle(); Rectangle secondmonitor = Screen.AllScreens[1].WorkingArea; SetWindowPos(p.MainWindowHandle, 0, secondmonitor.Left, secondmonitor.Top, secondmonitor.Width, secondmonitor.Height, 0); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)