So I've been thinking of going for Microsoft certification and I have to make a choice (for now) between Windows Forms and WPF for developing Windows applications. I have had good exposure to Windows Forms but never tried WPF before. Furthermore, most of the job postings where I live seem to be WinForms-oriented. That might change in the...
I'm using a custom winforms 2.0 designer (i.e. my apps hosting the designer) which is being used for a small internal project.
So far all the controls have their properties edited via the property grid - but I'd like to make it a little more user-friendly by allowing in-line editing - does anyone know of an example of how to implement i...
Has anyone seen a good twin slider control for .Net (Win forms or WPF).
I'm looking for something that will allow me to select a range from within a set so the first slider would be the start of the range and the second would be the end.
I remember seeing a Swing double slider but it was 6 years ago and I can't for the life of me remem...
If the user of my winforms application resizes the main form, I want the 2 panels to stretch out also, along with the child controls.
How can I achieve this?
...
There's a famous bug in Visual Studio that prevents you from using the form designer on a subclass of an abstract form.
This problem has already been elucidated and solved most elegantly by Urban Potato; that's not the part I'm having trouble with. The trouble is, I have duplicated the technique described by Urban Potato, and include...
I have a form where controls are dynamically added to a Panel. However, when they do so, they are many times added below the fold (bottom of the container). It's nice that the .NET Framework provides this ScrollControlIntoView method, however, for added usability, it would also be nice if there was an easy way to animate so that it is ...
Hi,
What is the easiest way to do this? Is it possible with managed code?
Thanks for your time.
...
I am trying to override the DataGridViewTextBoxCell's paint method in a derived class so that I can indent the foreground text by some variable amount of pixels. I would like it if the width of the column adjusts so that its total width is the length of my cells text plus the "buffer" indent. Does anyone know of a way to accomplish thi...
I want to webpage to look like a winform but it is actually a webform. The users should think that it is a form and not a webpage
...
Am looking for commercial/free recommended c# winform controls packs
...
Does anybody know if it is possible, with windows forms in .net, to change the opacity of a form without it automatically changing the opacity of the controls within the form?
I have a form that is running maximized, that contains a flowlayoutpanel in the centre of the form with controls inside it. I would like to lower the opacity of ...
This is a minor bug (one I'm willing to live with in the interest of go-live, frankly), but I'm wondering if anyone else has ideas to fix it.
I have a C# WinForms application. When the app is launched via the executable (not via the debugger), the first thing the user sees is a console window, followed by the main window (after pre-load...
I have a C# form into which I've placed a left-docked MenuStrip. This MenuStrip contains some menu items which contain submenus, and some menu items which are effectively buttons (clicking on them results in an action taking place; n.b., I realize this is not a good design).
I would like to have the menu items which have menus associat...
When you a set a property's value, you can either validate before or after updating the internal value.
If validating before, you could throw an exception if the new value is invalid. The object is then always in a valid state.
If validating after, undo is desired (i.e. via IEditableObject), so the user can cancel the edit any time. ...
Is there any utility that will copy the "official" build of a windows forms app from a central network share and launch it (from a client desktop)? I want to make sure users get the latest version when I update the binaries on the central network share.
ClickOnce is user un-friendly so I'm looking for something else...
...
Wanted to see peoples thoughts on best way to organize directory and project structure on a project / solution for a winforms C# app.
Most people agree its best to seperate view, business logic, data objects, interfaces but wanted to see how different people tackle this. In addition, isolate third party dependencies into implementati...
i am looking for both performance as well as ease of learning curve. thoughts?
...
I have a c# form (let's call it MainForm) with a number of custom controls on it. I'd like to have the MainForm.OnClick() method fire anytime someone clicks on the form regardless of whether the click happened on the form or if the click was on one of the custom controls. I'm looking for behavior similar to the KeyPreview feature of form...
I have a DataGridViewComboBoxColumn in a DataGridView in a windows application. The user can change settings elsewhere to potentially invalidate a selection in a DataGridViewComboBoxColumn. I have a requirement to retain/display the invalid item while only leaving valid items selectable in the list.
Without correcting the selection an...
I'd like to bold the text for a tab page under certain conditions (not, necessarily, GotFocus). Is it true the only 'er easiest way to do this is by overriding the DrawItem event for the tab control?
http://www.vbforums.com/showthread.php?t=355093
It seems like there should be an easier way.
Like ...
tabControl.TabPages(index).Fo...