Hi,
I am facing design time error in WINForm.
I am not able to view my controls in design time.
My code is executing perfectly fine, but I am not able to view the controls.
I am getting following error:
To prevent possible data loss before loading the designer, the following errors must be resolved:
"The designer loader did not provi...
I am attempting to write a 'User Control' in WinForms .NET (not ASP.NET). The control is relatively simple. It will contain a label, a button, and a DataGridView.
However, the control needs to be able to instantiate itself, i.e. when the user clicks the button (of the parent control) at least 1 nested (children) control of the same ty...
Hey, I'm trying to figure out how to display the ▼ character properly in a .NET winform application.
I am creating a custom control, and for the button, I want this character to appear. I am able to set the text to this character, but it appears as a blank square.
Any ideas on what I need to do to make this character appear properl...
Hi all.
This one is very weird:
My app works just fine, but suddenly the damn ListView control's events are not raised any more. It just comes and goes without any clear reason. (Obviously) I've set the AllowDrop property to True and handled the DragEnter, DragOver and DragDrop events as follows:
Private Sub lstApplications_DragDrop(B...
I need to draw an image on a panel, containing some child controls. I dont want to let it hide behind those controls, which is the case right now when m drawing the image on paint event. Please suggest something to overcome this prob.
Here is the code I used to override the OnPaint method of my panel:
protected override void OnPaint(...
I have a search usercontrol that I'd like to make generic.
The control itself will contain a different collection of controls dependent on its context. For example it could be stock items, people, address as the context of the search..
How can I make it generic enough that based upon the search context it knows exactly what user contro...
Hi All,
My scenario:
Windows Forms Application with a base master (mdi) form.
Public Interface IDoSomething that has an event:
Event AddFilter()
Modal popup window implements the interface and decalres event:
Public Class frmPopup
Implements IDoSomething
Public Event AddFilter() Implements IDoSomething.AddFilter
Popup also conta...
I have a form that is dynamically created. It is a winForms application.
This form is just a menu and a series of textboxes and labels. For the sake of this example, you can ignore the labels.
My problem is: When I edit stuff in the textboxes, then click the menu to issue "Save", the text from the last text box still hasn't issued its...
I am looking at the report viewer WinForms control in SSRS 2005 and want to know if you can have actions do something other than call a URL or show another report. My boss likes the report viewer control but wants to know if you can set it up so that if you click on a cell it could open up another form.
I think the "Action" property ...
I have a Forms C# application where I would like to use a toolTip on one of the text boxes. I Initialize the tool-tip in the constructor of the Form class, and it works the first time. So when I hover over the text box with my mouse it works, but once the toolTip times out and it goes away, it does not re-appear when I move my mouse awa...
I'm looking for a way to retrieve the user's MachineID or ProcessorID using a VB.net WinForms app? Any thoughts?
...
I am writing a c# winforms application which needs to enable its users to add content to its interface. I have looked at the RichTextBox and the WebBrowser controls, but I'm not sure which route to take. The content would contain text with newlines and several tags that will include images which are in the project resources.
This is my ...
If I have a TreeView (myTreeview),how can I obtain a list of all the nodes that are parent nodes? i.e. nodes that have children
...
is using empty working set or forcing GC collects a recommended practices in trying to reduce memory versus performance. is there any articles or best practices to help understand the implications of using this functions
...
I am fairly new to .NET and C#, but I have a DataGridView that I would like to print. What would be the best way to go about doing so?
Thanks in advance!
...
Hi everyone, I'm trying to create a custom gridview similar to the one present in SQL Management Studio for mapping fields to another database.
I tried to create a custom datagridviewrow with custom cellviews with controls inside and all I get are empty cells inside.
Does anyone have a good idea how I can get this working. I've look...
I am trying to disable a number of text boxes intended for displaying data (not edit) in one of my UserControls. However, for some reason I can not get the textBoxes to disable properly.
I've set "ApplyAuthorization on readWriteAuthorization" to true and the textBoxes are databound to the correct properties.
I've also added the followi...
Hello,
Does anyone know of any way to suppress the Vista fade animations on scroll bars?
I only want to do this temporarily and I don't think subclassing is an option because the scroll bars are the "automatic" ones generated by the auto-scroll functionality (it's a .NET app but I assume interop is required).
The reason I want to do t...
DUPE: http://stackoverflow.com/questions/388711/when-is-winforms-the-correct-choice-vs-wpf
We have to decide these days whether or not to go with WPF as a platform for building our next generation of our product.
Personally I am a little afraid of using this technology especially because of performance and because it's not mature (I am...
EDIT -- simplified version to help focus
Should I load child forms in the Constructor or the FormLoad()?
I have some code that is calling a custom class that embeds a form in a control. I had originally been declaring my child forms outside the Constructor and then calling a FormPaint() routine in the FormLoad() to then load the f...