diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-05-20 06:24:09 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-05-20 06:24:09 +0300 |
| commit | ed0c073eae5358b509c68e3051c489bd25be30c9 (patch) | |
| tree | 2dd9f25649fbb6357791b39f5c3cedb415f8f2c9 /Software/Visual_Studio/Tango.RemoteDesktop/CaptureRegion.cs | |
| parent | b40bfa0f652ec194f2c4d05ae02f0a9c420b50fc (diff) | |
| download | Tango-ed0c073eae5358b509c68e3051c489bd25be30c9.tar.gz Tango-ed0c073eae5358b509c68e3051c489bd25be30c9.zip | |
Several fixes and improvements after first real test against PPC.
Diffstat (limited to 'Software/Visual_Studio/Tango.RemoteDesktop/CaptureRegion.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.RemoteDesktop/CaptureRegion.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.RemoteDesktop/CaptureRegion.cs b/Software/Visual_Studio/Tango.RemoteDesktop/CaptureRegion.cs index 511a61e88..e4c8659ef 100644 --- a/Software/Visual_Studio/Tango.RemoteDesktop/CaptureRegion.cs +++ b/Software/Visual_Studio/Tango.RemoteDesktop/CaptureRegion.cs @@ -88,5 +88,16 @@ namespace Tango.RemoteDesktop { return new CaptureRegion(System.Windows.Forms.Screen.PrimaryScreen.Bounds); } + + /// <summary> + /// Returns a <see cref="System.String" /> that represents this instance. + /// </summary> + /// <returns> + /// A <see cref="System.String" /> that represents this instance. + /// </returns> + public override string ToString() + { + return $"X: {Left}, Y: {Top}, W: {Width}, H: {Height}"; + } } } |
