I have a fairly large CRUD WinForm app that has numerous objects. Person, Enrollment, Plan, CaseNote etc. There are over 30 forms that make up the app with the UI broken down logically. Member, Enrollments, Plans, CaseNotes, etc.
I am trying to figure out how I can create my Person Object after searching on the Search Form and pass ...
I have a .net WinForms app with buttons that are displaying as XP style (rounded corners) at design time, but Windows 2000 style (square corners) at runtime. My desktop theme is set to XP style. I'm guessing there's an obvious setting that I'm overlooking. Thanks.
...
When the user leaves a textbox control I want to trim any spaces and immediately update the display with the tidied string.
Should this be done in the Leave, Validating or Validated event?
Thanks
Clarence
...
I want to create a bunch of forms that all have the same properties and initialize the properties in the forms constructor by assigning the constructor's parameters.
I tried creating a class that inherits from form and then having all of my forms inherit from that class, but I think since I couldn't call InitializeComponent(), that I w...
I have a DataGridView where the DataSource is a BindingList. Most of the columns are updated -- via various timers which call PropertyChanged("...") for the bound columns. One column -- the problematic one -- is a DataGridViewComboBoxColumn -- where the user selects an item from the list of Items.
The problem is that the DataGridViewC...
Hello,
For my phD project I need to do microscopy imaging. I cooked up an application using C#/winforms/GDI that allows me to display my images, zoom/pan them and display a ruler.
However, the thing is quite buggy, although usable...
What I need now is some kind of system to store a list of POIs (points of interest) based on user inte...
Hello again,
I did nice winforms 2.0 application and it's working great and customers are still happy but unfortunatelly I cannot solve one issue. The problem is that after using app for a couple of hours, gdi user handles number is rising and rising and finally process cannot allocate more objects and app crashes...
I'm not doing anyt...
I am trying to run a task in the background checking a database for a number of records in a table, and if the number has changed since the last check, get those records, and do some work on them.
Using the following code, I'm getting a stack overflow after about two hours. The application is doing nothing during this time, just chec...
I have a .net WinForms 2.0 application that has an image library of about 3000 images currently. Currently I'm using SQLite and storing all of the images as BLOBs with a unique Ids that makes things easy to retrieve.
The benefit to this is that the end users don't have to worry about the installer unzipping a massive blob of images on ...
I have the oddest problem (but aren't all programming problems odd?). I have a winform that contains a webbrowser object that opens a website that has flash on it. This winform is running on a touchscreen computer (I can't find the brand or model number).
Here is what I know:
flash objects embeded in a website that is accessed via t...
I have a winform program that allows users to upload Shockwave Flash movies to a server. To get the videoDuration I create an instance of the "ShockwaveFlashObjects"-activeX, loads the movie, and then read the videoDuration until it change from "0.0" to anything else. I get that by reading the GetVariable("videoDuration").
Often it work...
Hi,
Is this a popular combination out there (MVC# and Winform)? Is MVC really worth it with traditional Winform application development? Or should I just stick with the 3tier model?
Thanks
...
How do you disable additional checkbox selections/deselections without sacrificing the functionality of the ListView? I know you can call: ListView.Enabled = False, but that also disables any scrolling within it.
For example: I have a timer that starts a backup based on the Listview items that are checked. After a certain time, I don...
I am looking for a way to edit a piece of HTML (such as an email text) in a Windows app (either WinForms or WPF). So this should work not unlike the little editor I have available to myself right here on the stackoverflow site (well, except more wysiwyg, I guess), except I want to do the same thing in WPF/WinForms.
Anyway: You get the ...
Hi,
I am creating a windows application in c#,
I have 1 Datagridview and after I set it's DataSource it should have 3 Rows.
I have attached 2 Event Habdlers to the Datagrdview
void dgvProductList_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e)<br>
{
//this gets called 4 times
}
private void dgvProductList_DataBinding...
I have a small application that I am building a Chat application into, so far I have the functionality to post messages!
I don't need a login as there will only be a small number of users and I will use their windows username for identification.
Has anyone done anything similiar? What else do I need to add? It doesn't need to be all si...
The title speaks for itself. I'm building a winforms C# 2.0 app.
Any tutorials or inspiring ideas?
...
I need to know if a specific window in my application is on top of all the other windows (including other applications).
I tried the TopLevel property but it tells if it is Toplevel within my application only, I would need to know related to other applications also.
How can it be done, preferring not using windows API?
...
I have a WinForms 2.0 with a couple of ComboBox controls on it. For some of those ComboBoxes the property DropDownStyle is set to DropDown, while others are set to DropDownList.
Now, to indicate changes in the selection the property BackColor is set to a different value for each ComboBox. Those with the DropDownList style have a complet...
Hi,
How can I make a textbox in my winforms application that accepts new lines of text from anywhere in the application?
I have a main form that contains a textbox. I'd like to directly add text to the box from a method in another class.
Update
I tried this in my main form:
public void Output(String value)
{
if (txtOut...