473,503 Members | 2,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I make my classes show float-over info like PointF "{X=1.0 Y=2.0}"

Framework Classes, like Point, PointF, Rectangle, etc., show nice info when
you float over them or do a watch. For example, floating over a PointF
shows "{X=1.0 Y=2.0}" But my classes only show the Type, for example
"MyNamespace.MyType". It's a shame that it's not as easy as just
implementing ToString().

De*******@rsi-inc.com
Please reply via email.
Jul 21 '05 #1
1 1212
Framework Classes, like Point, PointF, Rectangle, etc., show nice info when
you float over them or do a watch. For example, floating over a PointF
shows "{X=1.0 Y=2.0}" But my classes only show the Type, for example
"MyNamespace.MyType". It's a shame that it's not as easy as just
implementing ToString().

You can edit the file VS.NET\Common7\Packages\Debugger\mcee_cs.dat

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4868
by: | last post by:
I have this class ------------- class Component { /*class*/ Data *d; /*class*/ Draw *a; }; ------------- from "Component" derive classes like "TextBox", "Button", "Label", "ComboBox" etc from...
5
1747
by: gmelcer | last post by:
Hi, I need to use the data type "struct" in a class. Could someone show me a simple example of how to use stuct in a class and access the data type which is declared in the private section of the...
3
3382
by: Peter | last post by:
Hi, I have a Class-Tree based on "Command-Pattern" eg. public class Calculator { .... } public abstract class command
3
1621
by: schdvir | last post by:
Hi I want to use a set of N classes. I have a class called "C_weights" which compute and update a set of weights for function aprroximation. Now, the user should determine how much functions...
4
1995
by: flyboy3300 | last post by:
I am trying to set up a form in db with items that have to be completed and when completed they check a "check box" and then I would like that to show a date/time in a text box. I have tried to use...
0
7204
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7342
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7464
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4680
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.