Added a couple of #region directives.

This commit is contained in:
the_fiddler 2008-01-23 12:42:27 +00:00
parent 0843505943
commit 827fda8e58

View file

@ -20,6 +20,8 @@ namespace OpenTK.Platform.Windows
private IntPtr handle; private IntPtr handle;
private WindowInfo parent; private WindowInfo parent;
#region --- Constructors ---
public WindowInfo() public WindowInfo()
{ {
} }
@ -65,6 +67,8 @@ namespace OpenTK.Platform.Windows
this.CopyInfoFrom(window.WindowInfo); this.CopyInfoFrom(window.WindowInfo);
} }
#endregion
#region --- IWindowInfo Members --- #region --- IWindowInfo Members ---
public IntPtr Handle public IntPtr Handle
@ -126,10 +130,14 @@ namespace OpenTK.Platform.Windows
#endregion #endregion
#region public override string ToString()
public override string ToString() public override string ToString()
{ {
return String.Format("Windows.WindowInfo: Handle {0}, Parent ({1})", return String.Format("Windows.WindowInfo: Handle {0}, Parent ({1})",
this.Handle, this.Parent != null ? this.Parent.ToString() : "null"); this.Handle, this.Parent != null ? this.Parent.ToString() : "null");
} }
#endregion
} }
} }