I'm working on a UserControl that consists of a bunch of ComboBoxes arranged horizontally across the top of the control in a flowlayoutpanel, and a datagridview directly below the flowlayoutpanel that takes up all remaining space on the control. I need to be able to hide all the dropdowns easily, so I have a SplitContainer with Orientat...
Hi,
I am working on an application that will connect to SQL Server 2005 when users are in the office, or it will connect to SQL Server CE 3.5 when users are on a laptop and out of the office.
I have been reading up on Merge Replication to keep the two in sync, but am having a hard time finding anthing from start to finish (all the docu...
How can I determine if the running application is a Windows Forms or a Console application?
...
I have a C# application which consists of 3 forms:
1: Battleship Game GUI
2: Network GUI (does client/server connections)
3: Chat GUI
Form 1 is loaded first. When the user selects setup network, Form 2 is displayed.
Chats are displayed when the user opts to send a chat or when a chat is received.
I would like Form 2 to process all...
We are looking into the PureComponents Ultimate Suite for a WinForms project. The controls seem to offer a lot of nice function but we are concerned about their stability. Does anyone have experience with these controls?
http://www.purecomponents.com/
...
I have a WinForms control on which I want to display two things:
An underlying image painstakingly loaded bit-by-bit from an external input device; and
A series of DrawLine calls that create a visual pattern over that image.
Thing #1, for our purposes, doesn't change, and I'd rather not have to redraw it.
Thing #2 has to be redrawn ...
HI,
I want to create a datagridview in a form with 4 columns basically which has only 2 column headers, ie i want to merge only the column headers of 2 columns.
Thanks in advance
...
A friend of mine has difficulties in using both hands in the keyboard. He always use his left hand only. He asked me to write a C# program to send key combinations to the system so that it override the default shortcut keys.
For example he wants to replace LWin + D with Ctrl + L so that when he presses Ctrl + L it'll show his desktop.
...
I have a simple windows Forms application where in I have a usercontrol called "MyControl" derived from PictureBox.
In this MyControl, I have the following code :
Sub New()
MyBase.New()
Me.BackgroundImage = My.Resources.MyImage 'This is a project resource image
End Sub
Now when I drag and drop this MyControl into a form, I get ...
I have a TabControl and on each TabPage is a DataGridView control docked to fill its own TabPage. I don't know how, but the first grid has a Location set to 3,3 which gives it a nice margin (while still docking/filling as it should).
The other grids are set to Location = 0,0 and I can't get them to match the first grid. If you set the L...
I have an unbound DataGridView, which fill manually with DataGridViewRows. AllowUserToAddRows is set to false and everything works as expected - no NewRow is shown in the botomn of the grid.
In one method I add some more rows, edit some rows and remove some others. These manipulations work fine, BUT after these manipulations the NewRow ...
Hi,
I'm currently struggling with a problem in Winforms databinding, and I'm wondering if somebody has a good idea how to solve this.
My problem is, that I'm using a 3rd-Party WinForms grid to display some data. I'm using a BindingList with objects that implement INotifyPropertyChanged. This grid doesn't support paging, but I really ne...
Hey All,
A litle while ago I was on Codeproject and came across a cool little tesxteditor and the whole form was made out of aero-glass, and the whole textbox was too. But I can't find it anymore. Does anybody know where it's gone? Or how I can make my Windows Form completely made out of Aero Glass?
Thank you :)
...
In a Windows Forms application I have a MessageBox with YesNo buttons. I want to change the text on the buttons (from "Yes", "No" to something custom).
...
i need to add checkboxes to every cell in the calendar so that the user can select multiple dates and the dates get stored in the database for later retrieval.
basically i am developing a calendar as a signup sheet for day shift and night shift. so i need 2 checkboxes per calendar date in the calendar. is it possible. i am using Visual s...
In Winform's MonthCalendar control I am getting a weird white border on the top and bottom of the calendar when I don't want to show the today label.
Is there anyway to disable this?
...
Simple question. How can I change the icons of the close, minimize, maximize buttons. Can I do this in Winforms and WPF?
...
Hi,
I'm putting together a C# winforms application, and it would be good to be able to have the ability for someone to click on a webpage link that automatically maximizes my c# application and passes some data to it. Pretty much like I see some webpages have a song link that automatically opens iTunes, and then in iTunes it searches f...
I have three forms named frmBase(form1),frmGraph(form2) and frmBalloon(form3).
frmGraph(form2) opens if the user clicks on the button named btnShow placed on frmBase(form1).
frmBalloon(form3) opens if the user clicks on the button named btnShow placed on frmGraph(form2).
Now if the user clicks on the button named btnCancel placed on t...
Is there any code like, frmBallloon is shown in btnShow click event of the frmBase and again I want to show frmBase if user clicks on the btnShow of the frmBalloon then there is two copy of the frmBase.I want only one copy.Then how can I alter the form view by clicking on the button.
...