I want to make a if
to know if the screen is in "Extend" mode.
Example: (Win + P)
HowcanIdothisinC#:
if(?)//sópodeentrarnoif,seatelaestánomodo"Estender".
{
SegundaTela formulario = new SegundaTela();
Screen[] telas = Screen.AllScreens;
Rectangle bounds = telas[1].Bounds; // pode ser outro índice.
formulario.SetBounds(bounds.X, bounds.Y, bounds.Width, bounds.Height);
formulario.StartPosition = FormStartPosition.Manual;
formulario.Show();
}