Hi All,
I have created a IExtenderProvider (Extender) for Controls.using Extender ,I am Iterating the collection of controls and validate it.It works fine.but, some time while changing some designs,or when designer refreshed (while removing some events from code), the properties that provided by Extender (Validation Order and Group,in m...
I need to detect when the user moves the mouse over the Form and all it's child controls and also when it leaves the Form. I tried the MouseEnter and MouseLeave events of the Form, I tried the WM_MOUSEMOVE/WM_MOUSELAVE and WM_NCMOUSEMOVE/WM_NCMOUSELEAVE windows messages but none seem to work as I want...
Most of my Form is occupied by c...
I have a form that has 2 splitters.
One splitter splits the form horizonally into 2 columns.
The other splits the left column into 2 rows.
On the left hand column, top "row" I have a treeview.
On the right hand column, I have a image viewer.
I want to drop a treeview node onto the image viewer and do something with it.
The viewer is ...
A .NET Windows form can have a help button on the title bar when the HelpButton property is set to true (and you are not displaying minimize/maximize buttons). When this help button is clicked, the form goes into a help mode where the cursor changes and clicking elsewhere in the form does not have the usual effect. Instead a click indu...
I am developing an application that remembers the user's preferences as to where the form was last located on screen. In some instances the user will have it on a secondary screen, and then fire the app up later without the second screen (sometimes having the form appear off screen). Other times the user will change their resolution resu...
We have a large winforms program. On one computer if you are running the program and open IE8 the winforms program freezes and doesn't come back. But if you already have IE8 running when you start the winforms program everything appears to be fine.
The same thing happens regardless of how you start IE8 (normal, no addins, or 64 bit).
M...
First, to be clear, I am not talking about LINQ to SPRocs.
I have an existing DAL that uses over a 100 stored procedures. This was created when this program was a web app. Now it is a winform app in a sometimes connected environment that uses a local db. I have left the existing DAL in place in the interest of time but am now find...
I'm working in VB, VS2008, winforms. I've got some labels to create, and I'm using the BorderStyle = FixedSingle.
Is there any way to change the color of this border? It is always defaulting to black.
...
Does anyone know of any good free libraries providing Windows Forms controls for displaying schedules/timetables in .NET? I'm really looking for something similar to what the guy who asked this question was seeking, with a couple of differences:
I don't need any help organizing the underlying data or generating the schedule (that's all...
C#: How would you only draw certain ListView Items while in Virtual Mode?
I am trying to create a filter-like feature to use in listview so that if the user selects an imageindex from 0-5, it will loop through the listview items and only make it so that the items in question with the correct image index will be displayed and the other ...
I want to have a MenuItem with the Text property set to "Tom & Jerry" but, as you all know, the '&' before a character tells Windows that the next character is the keyboard shortcut.
So how does one escape the '&' to show up as text in the MenuItem?
...
I would like to update a form's textbox in winforms with data that is being processed from a class file.
Example:
Class.RunProcess();
Inside of RunProcess I would like to fire an event that will update the textbox with the text that I pass in on the win form.
I know you can do this with events so I don't have to make the textbox pu...
Hello,
I have a form that will not open in the designer. I used the technique that I mention in an answer to THIS questions...
http://stackoverflow.com/questions/513798/visual-studio-winforms-designer-does-not-instantiate-object/947009#947009
...to determine why the form will not open in the designer.
The bottom line is that the for...
Hello.
I am designing a Windows form application wherein I need to call, from Form A, a click event for a command button on Form B. Form B needs to remain hidden at all times. It was simple to do this in Visual Basic, I'd just call it like this: "FormName.ControlName.Event/Method".
This isn't working for me now in C#, Visual Studio 8. ...
Hi all,
I need to create form that will be filled in by hand and read digitally. I plan on using a sort of scantron-esque format with rows and columns that the user can just color in the a circle in the appropriate cell and the computer will know that value based on the xy position in the cell matrix. Like an excel address.
| S...
I am new to WinForms and C# so apologies if this is a bad question.
I am trying to create my own cell class for use in a DataGridView (eventually the plan is to show either a combo or textbox depending on some other property, but I cannot even get it to work as a normal textbox at the moment). The problem is that, whilst I can set the E...
Hi i have a C# winform application with a particular form populated with a number of textboxes. I would like to make it so that by pressing the right arrow key this mimicks the same behaivour as pressing the tab key. Im not really sure how to do this.
I dont want to change the behaivour of the tab key at all, just get the right arrow ke...
I've been looking for a Visual Studio-like docking library for WinForms, but the two most popular and complete options (WeifenLuo.WinFormsUI.Docking and the MagicLibrary) both use P/Invokes extensively, so I can't use them in Mono.
The best I can manage so far is toggling a Panel from being hosted by the main form or by a toolwindow tha...
Hi!
I'm looking for open source applications, built with winforms in C#. Specifically, i'm looking for applications using new and real world techniques. Like nerddinner and oxite for asp.net.
Thanks
...
In an application I am developing, I need to be able to make a windows form smaller than the minimum height limit imposed by the operating system (36 px in Vista). I have tried intercepting WM_GETMINMAXINFO and providing my own information to override the OS limits, but this only works for the user. From code I can set the height to a ...