Hello,
I'm building a type of button grid, and the user needs the ability to drag and drop buttons to places within the grid (basically re-ordering). I have the drag and drop done but I want to add extra visual queues for the user.
The problem is as far as I can tell the control doesn't repaint itself during the drag and drop process...
I have an issue where my application runs fine for hours but then suddenly increases memory usage (in a matter of minutes) until it crashes. If we minimize the application during the increasing memory usage, the memory goes way down and stays down for a while. This seems to happen very inconsistently. Any idea how to troubleshoot it/what...
I am trying to make an information label that should display the events the application doing.
deleting data, reading data, writing data, connection to db. etc..
I've added a label to my form and I am changing its text property for each operation like:
label1.Text = "stored procedure is being executed..";
But, in the run time the te...
I create some control and i define some properties who can define in desing time, but only shows one.
Another issue is that in the one shown, the textbox of the form was displayed, but i can't select any.
[Description("Blah Blah Blah"),
Category("Data"),
DefaultValueAttribute(typeof(TextBox), null),
Browsable...
Hi,
I am building an occasionally-connected WinForms application and have been following link text tutorial.
When using a datasheet to edit data, as the tutorial has me do, everything works fine. If, however, I bind the data to other controls on my form, the data is not saved.
For example, I am tracking StaffID, FName, and LName. ...
When working with console applications, Console.Readline relinquishes processing to the UI from the Main thread and only continues when an event, such as the pressing of the enter button is fired. How do I replicate this functionality (With a Window form as the UI in this case) in windows form application?
...
I'm fiddling with a desktop gadget (a clock). It has a reflection effect underneath it that needs to be transparent, and I'm using CopyFromScreen to get the background, then just setting the form background to this.
Like so (part of a "dock/undock" button):
Rectangle bounds = this.Bounds;
using (Bitmap ss = new Bitmap(...
How to access the elements within an in WebBrowser in C#.NET?
...
I wasn't sure how to write topic correctly but lemme describe what problem I have. On my old laptop when i was jumping between code and big WinForm GUI it took sometimes a lot of time before i could even do things within designer. Today I've changed my laptop to newer one and it still has some delays when "redrawing/rebuilding" winform g...
How can I create a program with C# to submit the form(in the web browser CONTROL in windows Apps)automaticlly ?
...
I have a DataGridView which contains two text columns and one checkbox column. If the user increases the font size in Vista or Windows 7, the checkbox is no longer visible. I set the AutoSizeRowsMode to AllCells and that fixes it initially. However the rows in the grid are editable, and if the user clicks a row to edit it, the checkbox d...
What is the difference between a user control and a windows form in Visual Studio - C#?
...
I have a 2-page PDF that I want to overlay information on (think of a form that someone manually fills out) using a C#/.NET Windows application. After this form is generated, it will need to be previewed and printed (exported into a graphic or PDF is nice, but not a requirement).
At first glance, I'm thinking of two ways to do this:
...
Can Windows Forms ClickOnce deployment be used within USAF-SDC guidelines?
From the white paper below, it appears that the SDC policy is a contract between Microsoft and USAF.
Since Microsoft also built ClickOnce/.net framework/Windows Forms, do they allow "ClickOnce" deployments within SDC?
I know that I should probably just call M...
I am writing a fat client application that I would ideally like to be cross-platform, but may settle for Windows-only based on the following:
I am much stronger in C# than Java (though I have a few years Enterprise Java experience)
I haven't done much with either Windows Forms or Java Swing, just toy apps for each, though
I'm more comf...
When I had a Typed DataTable with information retrieved from a SQL Server with a table adapter, I'm able to insert temporary data into that DataTable which I just want to use on execution time, and I don't want it to be inserted into the database.
First supose that for example I have a Database table like this:
CREATE TABLE MyData
(
...
How to Create a UserControl which
for example 3 winforms and 1 UserControl,
adding UserControl to all forms but if user by click in one of the forms changed UserControl content, all forms display the same changes.
Edited
I think it working now. the dark area is the usercontrol with some content
...
Hi All
For a client, I need to be able to read and write PDF files. There are two downsides to this:
I don't know how.
I can't use any third-party copmonents/libraries.
Can somebody please point me into the right direction where I might be able to learn how to begin reading and writing PDF files?
I'm not asking for code or anything...
Can I get the string without the html tags which will be displayed on the webbrowser control ?
Like I have String str = "html hello html" then I want to find the string like hello.
How can I do that?
...
Hi!
I'm using a reportviewer to show and print an id Card. The id Card is pre-printed with the texts "Name, Surname, Gender"...etc and I only need to print in the gaps of the card near this labels.
I want to show this Images and Textboxes preprinted in the reportviewer, but I do not want to print this items, but only the info in the gap...