2 // System.Windows.Forms.Screen.cs
5 // stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
6 // Dennis Hayes (dennish@Raytek.com)
8 // (C) 2002 Ximian, Inc
10 using System.Runtime.InteropServices;
12 using System.Collections;
14 namespace System.Windows.Forms {
22 // --- Public Properties
25 internal static ArrayList allScreens = new ArrayList();
27 private Rectangle bounds;
30 allScreens.Add (new Screen());
34 bounds = new Rectangle(0, 0, 1024, 768);
38 public static Screen[] AllScreens {
40 Screen[] result = new Screen[allScreens.Count];
41 allScreens.CopyTo (result, 0);
46 public Rectangle Bounds {
52 public string DeviceName {
54 throw new NotImplementedException ();
60 throw new NotImplementedException ();
64 public static Screen PrimaryScreen {
66 throw new NotImplementedException ();
70 public Rectangle WorkingArea {
80 public override bool Equals(object obj)
82 return base.Equals(obj);
85 public static Screen FromControl(Control ctl)
87 throw new NotImplementedException ();
90 public static Screen FromHandle(IntPtr hwnd)
92 throw new NotImplementedException ();
95 public static Screen FromPoint(Point point)
97 return allScreens[0] as Screen;
100 public static Screen FromRectangle(Rectangle rect)
102 throw new NotImplementedException ();
105 public static Rectangle GetBounds(Control ctl)
107 throw new NotImplementedException ();
110 public static Rectangle GetBounds(Point pt)
112 throw new NotImplementedException ();
115 public static Rectangle GetBounds(Rectangle rect)
117 throw new NotImplementedException ();
120 public override int GetHashCode()
122 return base.GetHashCode();
126 public static Rectangle GetWorkingArea(Control ctl)
128 throw new NotImplementedException ();
131 public override string ToString()
133 return base.ToString();