Remove 'Black Bar' From Any Window [duplicate] - c#

This question already has answers here:
Disable Visual Studio 2015 extra debug option
(5 answers)
Closed 6 years ago.
So whenever I try and run any WPF application in Visual Studio 2015, this black box thingy appears:
Here's what the icons say:
How do I get rid of it?
Thanks.

You're looking at the UI Debugger, which lets you do similar things as Snoop, which is also an excellent tool that has saved me a lot of trouble in the past.
That being said, you have two options to disable it:
Detach the debugger, or run without debugging
See the answers in this post

Related

Integers not showing okay [duplicate]

This question already has answers here:
Visual Studio debugger - Displaying integer values in Hex
(7 answers)
Closed 2 years ago.
Image
Anyone else faced the same issue. Eveything was okay and now VS19 last version shows me this for list Count. Please don't give attention to the names I'm trying to fixed that from hour and a half.
There is an option in the context menu when you right click the value in the watch window called "Hexadecimal display" - try turning it off

How to change the color of C# methods in Visual Studio 2019? [duplicate]

This question already has answers here:
How to change font color for method names (from yellow) in the new Visual Studio 2019?
(4 answers)
Closed 2 years ago.
Is there a way to change the color of methods in C# in VS 2019? I think the standard yellow they picked for this version is kinda ugly. I tried using the Fonts and Colors options which would be the obvious way to do this, however it doesn't seem to support C# for some reason. Tried changing the color of C++ but didn't change anything.
I found the option within the Fonts and Colors options one needs to change. It was "User Members - Methods".

Winforms custom control with Label, Combobox and button not displaying properly [duplicate]

This question already has answers here:
How to configure an app to run correctly on a machine with a high DPI setting (e.g. 150%)?
(6 answers)
Why do winform controls move on their own when I save the form
(1 answer)
Creating a DPI-Aware Application
(9 answers)
Closed 5 years ago.
I have been having a problem occuring to me in one of our winforms applications at work.
The problem consists of a Winforms custom control not being displayed properly at run time.
The custom control contains a label, combobox and a button. The Combobox is anchored to right,bottom,left and top. The button is anchored to right, bottom and top.
The custom control can be seen in the figure below 1.
inserting the custom control onto a form and viewing it in the visual 2017 designer works just fine:
But when i execute or debug the application the custom control is not displayed properly as can be seen in 3
Non of my coworkers are having this issue with on their workstations and i also do not have the same propblem on my computer at home.
We have tested it on multiple machines all with the same fresh checkout from our SVN repository and only my machine gets this weird error.
I fixed the error for apporximate 2 weeks ago by simply uninstalling visual studio and reinstalling it, and it worked. But now from one day to the other the problem has come again. It would be nice if anybody knew why this is happening and a possible solution other than reinstalling visual studio.

Array in my debug mode only display first 14 elements and the rest are display (?) question mark [duplicate]

This question already has answers here:
Get question mark instead property name and value in Debug Mode in Visual Studio
(9 answers)
Closed 5 years ago.
I am using windows 7 x64.
I happens to notice this problem yesterday.
In the code, I have a array of type int and size 500, or anything actually and X > 14
I am using a for loop to put number into that array. And, I set a debug break point at the end of the loop to look at the element in the array.
But, only the 0-14 elements of the array show has number and the rest show question marks?
However, if I were to print the array, I can see values in all of them.
I am using the Visual Studio 2012 Express mode.
I set debug mode to be Any CPU. I tried x64 and x86 also, but I have the same problem.
Do you know what is the problem?
This is a (silly) bug in Visual Studio that's caused when you scroll through the debug view of the list with your mouse. To "remedy" it, use/click the down arrow at the bottom of the menu instead of using the mouse to scroll.
EDIT
See this for a similar/same issue

How can I add an icon to a MenuItem? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to put an icon in a MenuItem
I would like to put a door-and-arrow icon next to an Exit menu item. Is this possible? I'm sure it is, because I've seen it in other places before.
Assuming you are using Visual Studio 2012, it should be really simple to add an icon to the menu using the designer.
Right-click on the menu-item you want to add the icon to and select Set Image.
I don't recall if this option is available in previous versions of Visual Studio, but would image there should be an easy way through the IDE to set it.
I've found an open source library called VistaMenu and it looks like just what I'm looking for. It is not custom drawn and it is inherited from the native menus.
http://wyday.com/vistamenu/

Categories

Resources