¡@

Home 

c# Programming Glossary: winforms

How to detect the currently pressed key?

http://stackoverflow.com/questions/1100285/how-to-detect-the-currently-pressed-key

keyboard notification KeyDown and KeyUp events c# .net winforms keyboard share improve this question if Control.ModifierKeys..

Implementing INotifyPropertyChanged - does a better way exist?

http://stackoverflow.com/questions/1315621/implementing-inotifypropertychanged-does-a-better-way-exist

the piece of code to raise PropertyChanged event c# .net winforms inotifypropertychanged share improve this question Without..

Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on

http://stackoverflow.com/questions/142003/cross-thread-operation-not-valid-control-accessed-from-a-thread-other-than-the

data can be fetched from the database. c# multithreading winforms invoke share improve this question EDIT As per SilverHorse's..

How to inject Javascript in WebBrowser control?

http://stackoverflow.com/questions/153748/how-to-inject-javascript-in-webbrowser-control

way to inject a script into the dom c# javascript .net winforms webbrowser control share improve this question For some reason..

Complex UI inside ListBoxItem

http://stackoverflow.com/questions/15532639/complex-ui-inside-listboxitem

I wouldn't have to refactor the entire application 2 Does winforms support databinding in such a way that each of my ListBoxItems.. where you can see a lot of additional information 4 Does winforms support UI Virtualization in such a way that if I have say 1.. I wanted to introduce complex graphics to the equation. Is winforms rendering hardware accelerated 6 How do I make all this Resolution..

Transitioning from Windows Forms to WPF

http://stackoverflow.com/questions/15681352/transitioning-from-windows-forms-to-wpf

more suited to Windows Forms developers c# wpf windows winforms windows forms designer share improve this question I like..

How to create and connect custom user buttons/controls with lines using windows forms

http://stackoverflow.com/questions/15819318/how-to-create-and-connect-custom-user-buttons-controls-with-lines-using-windows

am programming in C# with Visual Studio 2010 Express. c# winforms custom controls share improve this question Ok. This is a.. for A similar requirement My intention is to show that winforms is no longer an option for anyone who needs a serious UI. The..

How to stop BackgroundWorker on Form's Closing event?

http://stackoverflow.com/questions/1731384/how-to-stop-backgroundworker-on-forms-closing-event

while this.bgWorker.CancellationPending deadlock c# winforms multithreading backgroundworker share improve this question..

Automating the InvokeRequired code pattern

http://stackoverflow.com/questions/2367718/automating-the-invokerequired-code-pattern

So has anyone figured out any shortcuts c# multithreading winforms thread safety invokerequired share improve this question ..

How to simulate Mouse Click in C#?

http://stackoverflow.com/questions/2416748/how-to-simulate-mouse-click-in-c

Click in C# How to simulate Mouse Click in C# c# .net winforms share improve this question An example I found somewhere..

How to fix the flickering in User controls

http://stackoverflow.com/questions/2612487/how-to-fix-the-flickering-in-user-controls

controls. So what is the solution for it.. Thanks. c# winforms user controls flicker share improve this question It is not..

Panel not getting focus

http://stackoverflow.com/questions/3562235/panel-not-getting-focus

VS2008. It's a Windows.Forms application not WPF . c# winforms keyboard focus panel share improve this question The Panel..

Splash Screen waiting until thread finishes

http://stackoverflow.com/questions/392864/splash-screen-waiting-until-thread-finishes

more details please tell me what I need to tell you. c# winforms splash screen share improve this question Following across..

Best practice to save application settings in a Windows Forms Application

http://stackoverflow.com/questions/453161/best-practice-to-save-application-settings-in-a-windows-forms-application

on this subject but it is still not clear to me. c# xml winforms configuration files application settings share improve this..

How do I make a textbox that only accepts numbers?

http://stackoverflow.com/questions/463299/how-do-i-make-a-textbox-that-only-accepts-numbers

user with feedback about the invalid character. c# .net winforms textbox share improve this question Two options Use a NumericUpDown..

How do I suspend painting for a control and its children?

http://stackoverflow.com/questions/487661/how-do-i-suspend-painting-for-a-control-and-its-children

I suspend painting for a control and its children c# .net winforms paint share improve this question At my previous job we struggled..

Cross-thread operation not valid [duplicate]

http://stackoverflow.com/questions/5037470/cross-thread-operation-not-valid

easier when working with the UI in a new Thread. c# .net winforms multithreading user interface share improve this question..

How to associate a file extension to the current executable in C#

http://stackoverflow.com/questions/69761/how-to-associate-a-file-extension-to-the-current-executable-in-c-sharp

to the icon for my executable. Thanks all. c# windows winforms share improve this question There doesn't appear to be a..

How to detect the currently pressed key?

http://stackoverflow.com/questions/1100285/how-to-detect-the-currently-pressed-key

to detect the currently pressed key In WinForms you can know at any time the current position of the cursor..

How to make Databinding type safe and support refactoring

http://stackoverflow.com/questions/1329138/how-to-make-databinding-type-safe-and-support-refactoring

event PropertyChangedEventHandler PropertyChanged The WinForms binding helper class has the meat in it that makes it all work..

Complex UI inside ListBoxItem

http://stackoverflow.com/questions/15532639/complex-ui-inside-listboxitem

To answer the overarching question how to do this in WinForms I'd suggest the following Use a WPF ListBox in your WinForms.. I'd suggest the following Use a WPF ListBox in your WinForms application wrapped in an ElementHost. This has its own issues..

Transitioning from Windows Forms to WPF

http://stackoverflow.com/questions/15681352/transitioning-from-windows-forms-to-wpf

Understanding the change in mindset when switching from WinForms to WPF What is this DataContext you speak of A Simple MVVM Example.. draw your application components. That's the opposite of WinForms where you build your application out of UI objects and then.. question about if there's other WPF designers suited for WinForms developers I would suggest that instead of looking for another..

How can I programmatically generate keypress events in C#?

http://stackoverflow.com/questions/1645815/how-can-i-programmatically-generate-keypress-events-in-c

question is tagged WPF but the answers so far are specific WinForms and Win32. To do this in WPF simply construct a KeyEventArgs..

C# webbrowser Ajax call

http://stackoverflow.com/questions/18333459/c-sharp-webbrowser-ajax-call

improve this question WebBrowser control both WPF and WinForms versions behaves in many ways differently from the full IE...

Fixing “The breakpoint will not currently be hit. No symbols have been loaded for this document.”

http://stackoverflow.com/questions/2155930/fixing-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-fo

causing the problem from scratch. Reboot. I have two WinForms projects in the solution. One of them loads the debug info one..

Windows service and timer

http://stackoverflow.com/questions/246697/windows-service-and-timer

which are respectively for ASP applications and WinForms. Using those will cause the service to load an additional assembly..

Best Free Controls for .NET [closed]

http://stackoverflow.com/questions/361271/best-free-controls-for-net

Suite Ribbon Style Controls Animation Loading Circle WinForms Google Earth Plugin Library SourceGrid grid control formerly..

VS2010 does not show unhandled exception message in a WinForms Application on a 64-bit version of Windows

http://stackoverflow.com/questions/4933958/vs2010-does-not-show-unhandled-exception-message-in-a-winforms-application-on-a

does not show unhandled exception message in a WinForms Application on a 64 bit version of Windows When I create a..

How do I make a WinForms app go Full Screen

http://stackoverflow.com/questions/505167/how-do-i-make-a-winforms-app-go-full-screen

do I make a WinForms app go Full Screen I have a Winforms app that I am trying to..

How to handle WndProc messages in WPF?

http://stackoverflow.com/questions/624367/how-to-handle-wndproc-messages-in-wpf

the most obvious form of interop for working with another WinForms app . The design ideology and the nature of the API is very.. and the nature of the API is very different in WPF from WinForms so I would suggest you just familiarise yourself with WPF more..

How can I make a .Net Winforms application that only runs in the System Tray?

http://stackoverflow.com/questions/995195/how-can-i-make-a-net-winforms-application-that-only-runs-in-the-system-tray

runs in the System Tray What do I need to do to make a WinForms application run in the System Tray Not an application that can.. not all tray apps How to open WPF child windows as well as WinForms child windows if desired. How to support dynamic context menus... dynamic context menus. The standard NotifyIcon exists in WinForms space can I do a pure WPF solution Yes you can I just had an..

C# - Winforms - Global Variables

http://stackoverflow.com/questions/1293926/c-sharp-winforms-global-variables

Winforms Global Variables I want some variables to be global across..

Transitioning from Windows Forms to WPF

http://stackoverflow.com/questions/15681352/transitioning-from-windows-forms-to-wpf

MVVM Example To summarize the biggest difference between Winforms and WPF is that in WPF your data layer the DataContext is your.. data layer the DataContext is your application while in Winforms your UI layer is your application. To look at it another way..

Best way to test if a website is alive from a C# applicaiton

http://stackoverflow.com/questions/186894/best-way-to-test-if-a-website-is-alive-from-a-c-sharp-applicaiton

a C# application. Background My application consists of a Winforms UI a backend WCF service and a website to publish content to..

What's the difference between Application.ThreadException and AppDomain.CurrentDomain.UnhandledException?

http://stackoverflow.com/questions/2014562/whats-the-difference-between-application-threadexception-and-appdomain-currentd

Application.ThreadException is specific to Windows Forms. Winforms runs event handlers in response to messages sent to it by Windows... throws an exception then there's a back stop inside the Winforms message loop that catches that exception. That backstop fires..

Best Free Controls for .NET [closed]

http://stackoverflow.com/questions/361271/best-free-controls-for-net

.NET closed What Free Controls are there for .NET both Winforms and Webforms c# .net asp.net vb.net controls share improve.. asp.net vb.net controls share improve this question Winforms Development Masked Textbox Control . MozBar Krypton Control..

Global hotkey in console application

http://stackoverflow.com/questions/3654787/global-hotkey-in-console-application

back when the key was pressed Every example I see is for Winforms and uses protected override void WndProc ref Message m ... which..

Winforms Double Buffering

http://stackoverflow.com/questions/3718380/winforms-double-buffering

Double Buffering I added this to my form's constructor code..

Multi-threaded splash screen in C#?

http://stackoverflow.com/questions/48916/multi-threaded-splash-screen-in-c

of functionality that can make your life a lot easier in Winforms even in an application that is 100 C#. At the end of the day..

How do I make a WinForms app go Full Screen

http://stackoverflow.com/questions/505167/how-do-i-make-a-winforms-app-go-full-screen

do I make a WinForms app go Full Screen I have a Winforms app that I am trying to make full screen somewhat like what..

Use of Application.DoEvents()

http://stackoverflow.com/questions/5181777/use-of-application-doevents

definitely not easy to grok. Right off the bat almost any Winforms program actually contains a call to DoEvents . It is cleverly..

how to bind a list to a combobox? (Winforms)

http://stackoverflow.com/questions/600869/how-to-bind-a-list-to-a-combobox-winforms

to bind a list to a combobox Winforms I want to connect a binding source to a list of class objects..

Detecting idle users in Winforms

http://stackoverflow.com/questions/6282298/detecting-idle-users-in-winforms

idle users in Winforms I'd like to pause my program if a user is inactive for 5 minutes...

How do I display a popup from a WebBrowser in another window I created?

http://stackoverflow.com/questions/6470842/how-do-i-display-a-popup-from-a-webbrowser-in-another-window-i-created

NewWindow event to get notified about a popup window. The Winforms wrapper however does not let you do much with it you can only..

Is it appropriate to extend Control to provide consistently safe Invoke/BeginInvoke functionality?

http://stackoverflow.com/questions/714666/is-it-appropriate-to-extend-control-to-provide-consistently-safe-invoke-begininv

what thread is attempting to update the ui or should new Winforms code generally contain a specific dedicated method with the..

Winforms: SuspendLayout/ResumeLayout is not enough?

http://stackoverflow.com/questions/835100/winforms-suspendlayout-resumelayout-is-not-enough

SuspendLayout ResumeLayout is not enough I have a library of..

Changing the user agent of the WebBrowser control

http://stackoverflow.com/questions/937573/changing-the-user-agent-of-the-webbrowser-control

to change the UserAgent of the WebBrowser control in a Winforms application. I have successfully achieved this by using the..

How can I make a .Net Winforms application that only runs in the System Tray?

http://stackoverflow.com/questions/995195/how-can-i-make-a-net-winforms-application-that-only-runs-in-the-system-tray

can I make a .Net Winforms application that only runs in the System Tray What do I need..