I've just noticed that if I add an event using a generic eventhandler to my UserControl, the event is not visible in the designer when I add the user control to a form.
public event EventHandler<TEventArgs<int>> EventNotVisibleInDesigner;
public event EventHandler EventVisibleInDesigner;
Not particularly worrisome, but is this by-desi...
Can the colors of the letters, i, j, k, be changed when used as an index? For example, i could be reddish, j could be blueish and k greenish. It would be nice to use for other sets as well, such as l, m, n.
I think having more distinction between i, j would help with some indexing errors from typos.
Edit
I should note that the ind...
I am Using C#, VS-2005
I have draw runtime textboxes on flowlayoutpanel and don't know how to setfocus between textboxes.
Suppose I have four Textboxes in Flowlayoutpanel as below.
tbox1...........................................tbox2
tbox3.......................................... tbox4
I have to do if cursor or focus on...
Hi,
Does a good manual exist for the standard C libraries? Like man for Linux or Java API.
Edit
I am working in Visual Studio 2010 Express.
I prefer something like Java API to see all libraries and not like man that show function that I know already exists without giving me the all list of function, and also man not exist in Windows...
With the ReportViewer control, is it possible to apply predefined style (from css) across multiple reports?
For example, I would like anchor links to look the same across different reports on different pages. Specifying their cssClass property doesn't seem to work because peeking into the generated html, the inline style (which is so bu...
I have three doubles:
double[] accel = new double[3]
{
_Razor.Accel_X,
_Razor.Accel_Y,
_Razor.Accel_Z,
};
What's the most efficient way to find the largest of these in NETMF?
...
I've been customizing my formatting desires using ReSharper for code clean-up. So far I've been able to make the clean-up rules match my coding style within:
ReSharper -> Options -> Languages -> C# -> Formatting Style
One thing I haven't figured out how to do yet is how to have params/fields/list items wrap with leading commas inst...
I've been consistently having a problem where changes I make to my web form or code-behind doesn't get recognized by the debugger until I quit visual studio and delete the "root" folder located in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files.
It's very cumbersome and greatly decreases my productivity. Any help...
Visual Studio keeps trying to indent the code inside namespaces.
For example:
namespace Test
{
void Testing();
void Testing()
{
}
}
Now, if I un-indent it manually then it stays that way. But unfortunately if I add something right before void Testing(); - such as a comment - VS will keep trying to indent it.
This is s...
I loaded some old assemblies in my project yesterday and now when i cannot load them, they appear with a yellow mark on them in the references.
I have no idea what the hell i am doing wrong.
I really need some help.
...
I have a lot of templates that are enclosed within script tags. They are pure html, but Visual Studio grays them out. I don't have any in-line Javascript so if Visual Studio simply ignored the script tag and treated the contents inside as it would a normal html document would be really nice. I've grown accustomed to CSS class intellisens...
I have a working folder that's synced to a team server. I was wondering if there is a way to remove some of the subfolders (i.e., stop syncing them, and make them invisible to others), without actually deleting them on the local drive?
...
I've only just started using C#/VS this past week and wondered how to do something which, I think, should be quite simple:
What I want to do is extend the class used by a UI component and therefore implement my own methods in it - just for one instance of a UI component though. If I was using xcode/objective c I would normally just chan...
I saw a screencast recently and what really got me interested is that messages in debugger output window were displayed in different colours (different color for warnings, exceptions etc).Unfrotunately I can't find this screencast anymore.
Does anyone know if this is a new feature of VS2010 or is it part of 2008 and just need turning on...
Hey all,
I went to the Visual Studio 2010 launch and remember seeing someone generate entites (which I am using and is awesome) from a database, but then taking it a step further and creating a web front end. The front end would allow modification/deletion of existing data and addition of new, and it was all generated.
It was ugly, of...
How can I load a web-page into a string in .net ?
i want the fastest way possible ...
...
Is there any way to force the WPF designer to reload or refresh, without rebuilding the entire project or solution?
If there's an error, I get an option in the designer view to refresh the designer. But if I don't have an error, how can I get the designer to refresh after I've made a change?
...
Simple! How to replace " in .NET with something...?
...
I have a solution in visual studio with 4 projects - 2 windows form applications, a class library and a setup project.
The 2 windows forms applications both reference the class library project.
My setup project includes the primary outputs for both windows forms application, and the detected dependencies include the class library.
I'v...
I am having a strange issue with a VS2008 application we are distributing where the numerous Crystal Reports are all displayed in the viewer at half width, making most of the reports completely unreadable. The reports also print half page width when printing is attempted.
The frustrating thing is, MOST target machines display and print...