It seems like a simple task. Create a C# class that derives from ToolStripButton. The derived ToolStripButton should behave exactly the same as the parent class in the designer and the application, except that the default image should be different.
Surprisingly just changing the constructor is not sufficient:
public CustomToolStripButt...
I would like to have a table header that looks like the image shown below.
Could somebody give me suggestions on how I would achieve this.
thanks.
winform, #c, .net 2.0
...
Does .NET 3.5 provide any build-in support for charts and graphs for Windows Forms applications?
...
How is scrolling typically handled in a Windows application that has computationally expensive graphics to render? For example, if I am rendering a waveform graph of a sound, after processing the wave form from a peakfile, should I:
Render the entire graphical representation to an in-memory GDI surface, and then simply have a scrollab...
i want to transfer an object or a data set from one computer and other i am sending strings using streamwriter and reader now i want send an object via this client connection so how do i send this object or a dataset using this connection ?
Consider i want to send a dataset now what you people suggest
...
Hello,
I am wondering what is the best way to properly create a Development and Production environment for my C# winforms project. The unfortunate thing is that there is no development environment. Rather, I must specify the publish path each time i wish to create either the Production or Development build. Also since each prod or dev b...
I have a Winform app which lists a batch of invoices in a gridview. The users select the batch and clicks a button, "Generate Invoices". The process takes about 4-5 mins. While this is running I will have a marquee progress bar and would like to disable all buttons.
Should I use a BackgroundWorker Process or create a new thread to run ...
I really don't know what the correct question is to figure out a solution to this problem. So here are some facts to provide context around the problem:
Our application is a winforms application that uses NHibernate.
Our application is distributed (client calls a service to execute use cases on NHibernate objects).
The invoice is the c...
I have a strange problem with my Windows Form Application (C#). I have a form (Form1) with a NotifyIcon and a another form (Form2) in my project. Form1 has some code that basically does some XML parsing and adds a bunch of LinkLabels onto Form2. This all work fine.
On the NotifyIcon, I have a ContextMenu MenuItem (called "Refresh") w...
What is a nice and effective way of getting at each item in a ListView of more than one column using loops?
After doing a fair bit of digging around I couldn't really find anything so I when I did find something I wanted to share it on here see if people have better ways of doing it. Also sort of like preempting a question that is bound...
I wrote a C# Winforms program to take a XML file and load values from a text file into each occurrence of that field which the user specifies on the UI. For whatever reason, the program inserts a carriage return on any nodes which don't contain a value. For example, it will do that to <example></example> whereas it will not misbehave on ...
I am making a "toast" in vb.net, and whenever it pops up, all the text in the body textbox is ALWAYS highlighted...how can I remove the highlight programmatically?
Thanks!
Here is the code which seems to be automatically highlighting:
Dim i As Integer
toast.HeaderL.Text = headertext
toast.BodyL.Text = contenttext
...
Hello,
I got a business object bounds to a form (each property is bound to a control). There is some business specificatios (such as this field should not be empty, this one must be greater than 0 etc...). What is the best way to check all the rules ?
I currently have a validator on each contorl, so I can check for all validator to be ...
Whenever I close a particular context menu and have changed the value in a particular ToolStrip TextBox my application plays "Default Beep" (Windows Ding.wav)
I have stepped through my code line by line until the "Ding" is heard but I cant find anything.
How does one go about finding out what makes my application go "Ding"?
Edit:
Well...
I am to develop an application on windows. I have never done that before ;-)
I need to do some heavy audio calculation, which has to be written in C/C++. This part will be a room correction algorithm which currently takes about 10 seconds per channel to run in Matlab. It has to be written in C/C++, since it might be ported to a DSP late...
i have windowapplication project which contain so many forms ,,i need to
debug the application ,,but i dont know which code is related to which
UI window,..Is there any way to find the code which correspond to related
window
...
is there any way to add an extra item to the default WinForms TextBox context menu without creating my own?
...
Hello,
I defined a custom panel with a table layout panel inside. However when I used this control on a winform I do not have access to the table layout panel properties. (I want for instance add a column or dock an other control in a cell). I try to changed the modifier property to public, but it still does not work. What can I do in o...
I'm looking for a way to set up my own default property values for different types of controls in my C# .NET windows application. The default property values should 'override' the existing default values of the controls, but still be 'overridable' by setting the property values explicitly in the designer.
This is to simplify the process...
How do I make an Infragistics WinForm Grid to allow only a single row to be selected?
...