programozas
  • stain
    #245
    Hát jha.
    Add reference, .net, System.Windows.Forms
    Add reference, .net, System.Drawing

    (ez utóbbi is kell, mert a windows.forms használja)

    aztán:

    Console.WriteLine(System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width);