I have a windows forms application
on which I need to use a for loop having a large number of Remote Calls around 2000 - 3000 calls,
and while executing the for loop, I loose my control on form and form controls, as it becomes a large process and some time it shows "Not Responding" but if I wait for a long it comes back again, I think I...
I have several forms in a C# application. I use Visual Studio 2010 Beta, but .NET 3.5 and C# 3 (so not the new stuff).
I have a base form, called FilteredQueryViewForm in the Shd namespace and I want some other forms to inherit it (because they will basically do the same stuff, but with some additions).
I changed things from private to...
I am compiling a Winforms app for use with Mono and using the .Net stuff built into Visual Studio 2008 for a Winforms app. Everything works fine, but I'd like to run without the terminal window opening.
Do I need to use gmcs to get this line to work:
-target:winexe
as seen here? Or can I do it with the built-in commands that Visual ...
We have soap services running on our unix box (local network with AFS). Sometimes our services are down and our front end developers, due to lack of knowledge of unix find it difficult to restart the services. Is it possible to build a UI(C#-winforms) which will login to the Unix box and run scripts which starts the service/runs a comman...
I have created 2 forms in VS Studio 2008 Express Edition and declare them with public static in main program.cs file
I just want to switch between the two forms with ShowDialog and Close but when trying to close the second form and open the first form again with showdialog it says I cannot use showDialog when the form is already visible...
I need to be able to write to the app.config file in my .Net 3.5 Windows app to store some system settings?
I can read from the file but I can't write to it??
Everything I have found is for 2.0 and doesn't look to be the same for 3.5.
...
Does a Winform Framework exist for something similar to ASP.NET Masterpage or MS Access SubForm ?
With MS Access SubForm you can do like ASP.NET Masterpage. It's a huge loss of time with Winform when having to create a lot of complex form. You have to compensate with either Code Generation which create code duplication or do Runtime Dyn...
I have a .Net 3.5 windows application with various drop down lists!
I want to be able save the choices the user has selected in the drop downs???
I had tried setting ApplicationSettings PropertBinding but this didn't work! is there something else I have to do? I was unable to select anything other that the first item in a drop down whe...
I have a combobox with Id,Name columns. I have added these values to combobox with datatable:
DataTable.Rows.Add(1, "Name1");
DataTable.Rows.Add(2, "Name2");
Id column should be a long. However when I tried to get the Id value, it says cannot convert to long:
long id;
id = this.comboBox1.ValueMember;
How to do that ...
I am developing a windows forms application. It was basically evovled with a mix of BDUP and prototyping.
I have about 1500 lines of code (excluding IDE generated partial class... 1465 to be exact) in the form and the form has 6 tabs (9 subtabs). Does not have more than 10 controls in each form so multiple form solution would be an ...
Hello,
I've been having problems with the ComboBox control. I'm no expert in GUI, but I know this problem is related to the control's focus.
For some reason, the ComboBox does not lose its focus when I click outside of it. Say for example:
I click on the ComboBox to list its items.
I select one item. This closes the ComboBox.
I click...
i added the bindingsource control on my winform. here are the details of my connection:
http://img43.imageshack.us/img43/3797/42119312.jpg
when i test the connection, it says "the connection cannot be tested because the specified DB file does not exist"
the DB is located in http://sql0234mjf-2.ordfsweb.com. how should i set up binding...
I have read online about MVC, MVP patterns for UI design. But, I can't quite grasp how the it works even after re-reading it couple of times. I use C#/winforms for development. Can someone point me to a good book/blog/website? Something that will make me decide if I should adopt it or not. Thanks.
...
Hi
I am dynamically displaying array of labels on a form and am getting a new set of labels to be displayed on the form when a function is called again. But instead, the previous labels are still on the screen with the new labels. How do I clear the previous set of labels on the form?
Thanks
...
There's easily a few dozen chart controls out there, but I'd prefer not to download all of them to find one that has what I want. I'm just looking for one that can do drill-down. Something like this would be fabulous (click Pie):
http://demo.quietlyscheming.com/drillDown/app.html
Doesn't need to be quite so animated and flashy, of cours...
I'm trying to create a setup file in a c# WinForms project. My application contains an external reference (a .dll in my d:\test folder).
When I try to execute the application through Visual Studio it is working fine. After that I created a setup file for the same application.
After install my setup in different machine it is showing ...
I have a user control which has several radiobuttons and buttons...
I have code to handle button's click events and radio button's CheckedChange event.
After adding this userControl dynamically to a Form panel, I notice the events of the inner controls are not firing.
I'm doing a "new" of the user control, and adding it to the Controls...
Helly guys!
Currently i have the following problem:
on a WinForms-Mask there are some textboxes. For some of the textboxes i use the Event "TextChanged" to check if the textbox-content reaches its "MaxLength" AND the cursor is at the end of the textbox. It's one handler for all the "TextChanged" textboxes.
The problem: as soon as i cli...
How can i get the color of the caption of the active form in winforms?
(Without Api)
...
I have a Windows Forms application that currently loads a database on startup. The flow is like this:
Program.cs => Application.Run(new MainForm()); => MainForm Constructor => Open Database
So basically MainForm holds all the bits and pieces that make the application run, while Program.cs is just a stub. Currently, the name of the data...