Einzelnen Beitrag anzeigen

Benutzerbild von faux
faux

Registriert seit: 18. Apr 2004
Ort: Linz
2.044 Beiträge
 
Turbo Delphi für Win32
 
#1

Color.Red = Türkis

  Alt 23. Nov 2005, 18:22
Hallo!

Kann mal jemand diesen Code ausprobieren:

Code:
Point a = new Point(Screen.PrimaryScreen.Bounds.Left, Screen.PrimaryScreen.Bounds.Top);
Point b = new Point(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
System.Windows.Forms.ControlPaint.DrawReversibleLine(a, b, Color.Red);
a.Y = Screen.PrimaryScreen.Bounds.Height;
b.Y = Screen.PrimaryScreen.Bounds.Top;
System.Windows.Forms.ControlPaint.DrawReversibleLine(a, b, Color.Red);
Laut Code, müsste dann der Bildschirm rot durchgestrichen sein. Bei mir ist es aber Türkis..

Grüße
Faux
Faux Manuel
Wer weiß, dass er nichts weiß, weiß mehr, als der der nicht weiß, dass er nichts weiß.
GoTrillian
  Mit Zitat antworten Zitat