2008-10-03 10 views

Antwort

8
Screen monitor1 = System.Windows.Forms.Screen.AllScreens[0]; 
Screen monitor2 = System.Windows.Forms.Screen.AllScreens[1]; 

werden Sie die Größe und Position für beide Monitore Informationen.

Form f = new Form(); 
f.Location = monitor2.Location; 
f.Size = monitor2.Size; 
f.StartPosition = FormStartPosition.Manual; 
f.WindowState = FormWindowState.Maximized; 
f.Show(); 

sollte ein Formular in Ihrem zweiten Monitor aufspringen.

Verwandte Themen