¡@

Home 

c# Programming Glossary: forms

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.. Windows Forms developers c# wpf windows winforms windows forms designer share improve this question I like to blog about.. Example To summarize the biggest difference between Winforms and WPF is that in WPF your data layer the DataContext is your..

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

custom user buttons controls with lines using windows forms I am trying to create some custom buttons or user controls.. options GUI view minimized Which functionality in Windows forms can I use to create the connecting lines If they are created.. programming in C# with Visual Studio 2010 Express. c# winforms custom controls share improve this question Ok. This is a..

Communicate between two windows forms in C#

http://stackoverflow.com/questions/1665533/communicate-between-two-windows-forms-in-c-sharp

between two windows forms in C# I have two forms one is the main form and the other is.. between two windows forms in C# I have two forms one is the main form and the other is an options form. So say.. tutorials on how to do what your saying. Thanks c# winforms properties share improve this question Form1 triggers Form2..

Switch statement fallthrough in C#?

http://stackoverflow.com/questions/174155/switch-statement-fallthrough-in-c

special goto case see case 1 or goto default see case 2 forms switch ... case 0 shares the exact same code as case 1 case..

Multiple Inheritance in C#

http://stackoverflow.com/questions/178333/multiple-inheritance-in-c-sharp

component of your class to be easy accessible for windows forms developers. As far as I know you currently have two ways to..

Expression Versus Statement

http://stackoverflow.com/questions/19132/expression-versus-statement

can lead to duplication of effort. For example C has two forms of conditional the statement form if E S1 else S2 and the expression.. Even the class structured looping and conditional forms are considered expressions and they have values&mdash but not..

Multipart forms from C# client

http://stackoverflow.com/questions/219827/multipart-forms-from-c-sharp-client

forms from C# client I am trying to fill a form in a php application.. .Net does not come with native support for this type of forms WebClient has only a method for uploading a file . Does anybody..

How do I build a JSON object to send to an AJAX WebService?

http://stackoverflow.com/questions/2737525/how-do-i-build-a-json-object-to-send-to-an-ajax-webservice

I'll eventually be pulling data out of text inputs in forms but for now hard coded test data is fine. How do I build a properly..

Sharing sessions across applications using the ASP.NET Session State Service

http://stackoverflow.com/questions/2868316/sharing-sessions-across-applications-using-the-asp-net-session-state-service

both hosted on the same server. One is a .net 2.0 web forms application the other is as .net 3.5 MVC2 application. Both.. procedure both apps can share any session keys and or forms authenication. Both apps would do something like this in there..

Performance Tests of Serializations used by WCF Bindings

http://stackoverflow.com/questions/3790728/performance-tests-of-serializations-used-by-wcf-bindings

Performance of different Serializers used by the different forms of bindings for WCF Services basicHttpBinding SoapFormatter..

Best way to implement keyboard shortcuts in a Windows Forms application?

http://stackoverflow.com/questions/400113/best-way-to-implement-keyboard-shortcuts-in-a-windows-forms-application

C#. The application has a main form which hosts many child forms one at a time . When a user hits Ctrl F I'd like to show a custom.. fire when you press a key. What is the solution c# winforms keyboard shortcuts share improve this question You probably..

C#: How to Make it Harder for Hacker/Cracker to Get Around or Bypass the Licensing Check?

http://stackoverflow.com/questions/4532540/c-how-to-make-it-harder-for-hacker-cracker-to-get-around-or-bypass-the-licensi

should focus on making the user experience better and all forms of copy protection make it worse instead. Once you get to the..

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

make a textbox that only accepts numbers I have a windows forms app with a textbox control that I want to only accept integer.. with feedback about the invalid character. c# .net winforms textbox share improve this question Two options Use a NumericUpDown..

Use of Application.DoEvents()

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

not easy to grok. Right off the bat almost any Winforms program actually contains a call to DoEvents . It is cleverly.. in your code. Setting the Enabled property of all your forms to false is a quick and efficient way to avoid problems. Of..

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.. than an icon tool tip and right click menu. c# .net winforms system tray share improve this question The basic answer.. from the system tray properly close any open child forms Does the application enforce that only one instance of itself..

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

the thread it was created on I have a scenario. Windows Forms C# .NET There is a main form which hosts some user control...

Complex UI inside ListBoxItem

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

Results in Is there any way to achieve the same in Windows Forms Edit 1 Is there any way to achieve the same in Windows Forms.. Edit 1 Is there any way to achieve the same in Windows Forms all while maintaining separation of concerns between the View.. To answer the overarching question how to do this in WinForms I'd suggest the following Use a WPF ListBox in your WinForms..

Transitioning from Windows Forms to WPF

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

from Windows Forms to WPF For a long time now I have been stuck with Windows Forms.. to WPF For a long time now I have been stuck with Windows Forms development started with VB6 and has continued through to C#.. 4.5 and I have pretty much hit the limit of what Windows Forms can do both using pure .NET and special effects with Native..

How to fix the flickering in User controls

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

This is a pretty fundamental limitation of Windows Forms it is stuck with the way Windows renders windows. Fixed by WPF..

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

practice to save application settings in a Windows Forms Application What I want to achieve is very simple I have a.. What I want to achieve is very simple I have a Windows Forms .NET 3.5 application that uses a path for reading information... file This technique is applicable both for console Windows Forms and other project types. Note that you need to set the scope..

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.. is how I can reproduce the problem 1 create a new Windows Forms Application C# .NET Framework 4 VS2010 2 add the following code..

How to handle WndProc messages in WPF?

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

Finding WPF a steep learning curve. In good ol' Windows Forms I'd just override WndProc and start handling messages as they.. 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..

Processing OCRed text

http://stackoverflow.com/questions/3070732/processing-ocred-text

it in database. The text I am extracting are actually FORMS having fields like NAME DOB COUNTRY etc. Since OCR does not..

C# String enums

http://stackoverflow.com/questions/424366/c-sharp-string-enums

the following enumeration public enum AuthenticationMethod FORMS 1 WINDOWSAUTHENTICATION 2 SINGLESIGNON 3 The problem however.. SINGLESIGNON 3 The problem however is that I need the word FORMS when I ask for AuthenticationMethod.FORMS and not the id 1... I need the word FORMS when I ask for AuthenticationMethod.FORMS and not the id 1. I have found the following solution for this..