Hi All
I'm sure you're all aware of the fact that the Label Control has no KeyDown handler (and why would it?)... Anyway, I'm in need of a KeyDown handler for the Label Control and would appreciate any pointers/suggestions to get me started.
I've searched around but haven't found any info on creating my own Event Handlers for the Label...
Hello..
I don't do much WinFom development so I am not too familiar with the MenuStrip control. I have added a menu strip to my form and added (1) item to it. All of this was done using the designer.
So I have Utilities -> Download Utility. When I double click on 'Download' in the designer an event handler is created for me.
priva...
I'm displaying a number of controls (all the same custom type) that can change their height in response to user input. The controls are being placed on a panel that's configured to automatically create a scrollbar if needed. The controls are arranged as a single column list.
What's the best way to reposition them when something chan...
What is the purpose and proper use of the max-length property on text fields?
The application I'm working on limits numeric fields to 6 characters... which doesn't work very well for entering millions of dollars... which is why I'm "fixing" it.
...
I keep getting a stackOverflow error (no pun intended):" An unhandled exception of type 'System.StackOverflowException' occurred in NumberGuessingGame.exe "
I'm guessing it would help if you saw my code and alswo where its ocurring:
Source - testClass:
namespace NumberGuessingGame_08029490
{
public class testClass : Form1
{
public...
Hi, is there a way to change size of chart when using method Chart.SaveImage() from the source code?
Right now the only way I found to set the size of chart, is resize the form on which chart control (System.Windows.Forms.DataVisualization.Charting.Chart) sits. Can I explicit set its width and height? Trying to change Chart.Size, Chart...
I am currently working on a C# windows form with linq-to-sql that selects a row from a SQL table and then allows the user to edit the fields in that row. This form will be used by multiple users at a time and I would like to have it so when someone has selected a row and is currently entering data in the form (with which the row will be...
I have a scenario where I have a collection of objects bound to a datagrid in winforms. If a user drags and drops an item on to the grid, I need to add a placeholder row into the grid and kick off a lengthy async import process. I need to communicate the status of the async import process back to the UI, updating the row in the grid and ...
I'm working on an application that has a main form with a status bar at the bottom. The status bar contains a ProgressBar, and a Label that I want to use to show the user the current progress of some work that is being done. The status bar also contains a label which I want to use like a click-able Cancel button.
I've create asynchronou...
Hello. I am serializing a class and I get the following exception:
You must implement a default accessor on System.Configuration.SettingsPropertyCollection because it inherits from ICollection.
when the following line is executed:
XmlSerializer xs = new XmlSerializer(typeof(CustomConfiguration));
Any help?
public class CustomC...
private nForm_Load (_ : object, _ : System.EventArgs) : void
{
mutable procent : double = 0;
SplashScreen.BeginDisplay();
for (mutable i : int = 0; i <= 100; i++)
{
procent = i;
SplashScreen.SetTitle("Загрузка");
SplashScreen.SetCurrentTitle("Loading : " + Math.Ceiling(...
I want to add a tooltip using ToolTip class on a column of a grid in winforms.
I want this because I need to extend duration of builtin grid tooltip in radgridview. If you can help me in settings the time of builtin tooltip of grid then it would also be sufficient.
EDIT: Can anybody just tell me that is it possible or not?
Thanks.
...
Basically, I am creating a Windows Form with a Tab Control on it, and I want to have multiple types of tab pages for the different types of objects I will be editing the properties of. Basically like interface in Visual Studio, where you can have multiple tab pages of code, then multiple tabs of resource files, etc.
To do this, I figure...
I want to develop a dialog using windows forms in C# that resembles the "outlook 2007 send/receive progress" in behavior. I developed most of the functionality but am having trouble when I need to implement the "Details" button function.
Essentially, the dialog has a progress bar and tabbed panel below the progress bar. on the right o...
When I create a new form under a sub-folder in VS2008 in a C++/CLI Winforms project, the .h and .cpp are correctly created under the sub-folder. However, when the form is opened in the designer and the title is changed, I get an error message saying that the .resx (AWOL till this particular moment) is already part of the project. One can...
the Text property of control on winform is always string type, so if i wanna expose property of other type for custom control, i have to do the conversion as following, if i have dozens of properties to expose, it will be such pain for me.
public int ImageGroupLength
{
get
{
return int.Parse(this.image...
Hi,
Are there any free winforms multi-band grids like the Infragistics UltraGrid? Is it really a unique idea? :)
Read-only one is good enough.
Thanks in advance.
...
In my application I update a treeview in a backgrounworker thread. While updating the treeview, the combobox values are not visible. When the treeview is updated, the values appear.
Here's my backgroundworker code:
void _bgWorker_DoWork(object sender, DoWorkEventArgs e)
{
tvCategories.Invoke((MethodInvoker)delegate()
{
...
Hi All
I am building a WinForms application reading from a socket data and charting lines.
I am using System.Windows.Forms.Timer to trigger each second the event that
gets data from a queue filled by a socket
redraws lines on the chart
My Question is about the Timer object: I have one Timer object for each WinForm having a chart to ...
I am a web developer and have very little widows forms development experience, and I want to find really good information on this topic before I start.
I am planning to build a windows forms application that will be delivered on a cd to users. The cd will install the application and I presume the database to the client machine. The clie...