c# Programming Glossary: winform
Convert System.Drawing.Icon to System.Media.ImageSource http://stackoverflow.com/questions/1127647/convert-system-drawing-icon-to-system-media-imagesource that the MTA STA dance I've been playing to keep a hosted WinForm from breaking the primary WPF tastic UI of the application is.. UI of the application is too brittle to stick with. So the WinForm has got to go. So how can I get an ImageSource version of an..
WinForm Application UI Hangs during Long-Running Operation http://stackoverflow.com/questions/1216791/winform-application-ui-hangs-during-long-running-operation Application UI Hangs during Long Running Operation I have a..
How to make Databinding type safe and support refactoring http://stackoverflow.com/questions/1329138/how-to-make-databinding-type-safe-and-support-refactoring has the ease of use of data binding This is a problem in WinForm Asp.net and WPF and most likely lots of other systems I have.. event PropertyChangedEventHandler PropertyChanged The WinForms binding helper class has the meat in it that makes it all work..
Avoiding the woes of Invoke/BeginInvoke in cross-thread WinForm event handling? http://stackoverflow.com/questions/1364116/avoiding-the-woes-of-invoke-begininvoke-in-cross-thread-winform-event-handling the woes of Invoke BeginInvoke in cross thread WinForm event handling I'm still plagued by background threading in.. handling I'm still plagued by background threading in a WinForm UI. Why Here are some of the issues Obviously the most important..
Cast to Anonymous Type http://stackoverflow.com/questions/1409734/cast-to-anonymous-type build anonymous classes and use it as a datasource for a WinForm BindingSource public void Init var option1 new Id TemplateAction.Update..
Getting Cross-thread operation not valid [duplicate] http://stackoverflow.com/questions/1523878/getting-cross-thread-operation-not-valid share improve this question You can only make changes to WinForm controls from the master thread. You need to check whether InvokeRequired..
Run multiple UI Threads http://stackoverflow.com/questions/1566791/run-multiple-ui-threads can only be used in a Windows Form as it has to bind to a WinForms object that can be drawn. Because all the WinForms are running.. to a WinForms object that can be drawn. Because all the WinForms are running in the same thread I can only use one GeckoFX instance.. so I decided to create a 'worker class' in the form of a WinForm and add all the logic in there. The form doesn't require to..
How to start WinForm app minimized to tray? http://stackoverflow.com/questions/1730731/how-to-start-winform-app-minimized-to-tray to start WinForm app minimized to tray I've successfully created an app that..
Perform screen-scape of Webbrowser control in thread http://stackoverflow.com/questions/18675606/perform-screen-scape-of-webbrowser-control-in-thread work when the WebBrowser control is placed on a WinForm . However it fails by providing an arbitrary image of the desktop..
Display progress bar while doing some work in C#? http://stackoverflow.com/questions/1952201/display-progress-bar-while-doing-some-work-in-c hang the UI and the progress bar won't update. I have a WinForm ProgressForm with a ProgressBar that will continue indefinitely..
Cursor.Current vs. this.Cursor http://stackoverflow.com/questions/302663/cursor-current-vs-this-cursor between Cursor.Current and this.Cursor where this is a WinForm in .Net I've always used this.Cursor and have had very good..
Garbage collection when using anonymous delegates for event handling http://stackoverflow.com/questions/371109/garbage-collection-when-using-anonymous-delegates-for-event-handling use it. Furthermore referencing the core WPF library in a WinForm app seems a little heavy as well. share improve this answer..
Regarding IE9 WebBrowser control http://stackoverflow.com/questions/4612255/regarding-ie9-webbrowser-control I recently upgraded to IE9 beta. Now In my .net 3.5 WinForm application I want to use WebBrowser control. So my question..
Filtering DataGridView without changing datasource http://stackoverflow.com/questions/5843537/filtering-datagridview-without-changing-datasource DataGridView. There could be 3 cases examples for standard WinForm application with DataGridView and TextBox on it first 2 are..
How do I restart my C# WinForm Application? http://stackoverflow.com/questions/779405/how-do-i-restart-my-c-sharp-winform-application do I restart my C# WinForm Application Developing a C# .NET 2.0 WinForm Application. Need.. my C# WinForm Application Developing a C# .NET 2.0 WinForm Application. Need the application to close and restart itself...
How to fill forms and submit with Webclient in C# http://stackoverflow.com/questions/793755/how-to-fill-forms-and-submit-with-webclient-in-c-sharp me if my question is confusing to read. I need to build a WinForm based on C# which can open a URL which is secured with the basic..
Restoring Window Size/Position With Multiple Monitors http://stackoverflow.com/questions/937298/restoring-window-size-position-with-multiple-monitors Multiple Monitors Many posts around about restoring a WinForm position and size. Examples www.stackoverflow.com questions..
C# vertical label in a winform http://stackoverflow.com/questions/1371943/c-sharp-vertical-label-in-a-winform vertical label in a winform Is it possible to display a label vertically in a Windows Forms.. to display a label vertically in a Windows Forms c# winforms label share improve this question Labels are easy all you..
right click context menu for datagrid http://stackoverflow.com/questions/1718389/right-click-context-menu-for-datagrid context menu for datagrid I have a datagrid in a .NET winform app. I would like to rightclick on a row and have a menu pop..
How do I capture the mouse move event in my winform application http://stackoverflow.com/questions/2063974/how-do-i-capture-the-mouse-move-event-in-my-winform-application do I capture the mouse move event in my winform application I would like to capture the mouse move event in..
How do I build a DataTemplate in c# code? http://stackoverflow.com/questions/248362/how-do-i-build-a-datatemplate-in-c-sharp-code in c# code I am trying to build a dropdown list for a winform interop and I am building the dropdown in code. However I am..
Silverlight, Wpf Web App (xbap) or Click Once? Pros and Cons http://stackoverflow.com/questions/251718/silverlight-wpf-web-app-xbap-or-click-once-pros-and-cons to use for example if you need you can use some legacy winform code on the WPF surface . The requires full framework is also..
How can I get the PID of the parent process of my application http://stackoverflow.com/questions/2531837/how-can-i-get-the-pid-of-the-parent-process-of-my-application I get the PID of the parent process of my application My winform application is launched by another application the parent i.. application wich launch my application using c#. c# .net winforms process pid share improve this question WMI is the easier..
Resize WinForm, with no border? http://stackoverflow.com/questions/2575216/resize-winform-with-no-border with no border Does anyone know how I can resize a winform when it has no border. I don't want the default border that.. the form around I just need to know how to resize it. c# winforms resize border formborderstyle share improve this question..
how to run a winform from console application? http://stackoverflow.com/questions/277771/how-to-run-a-winform-from-console-application to run a winform from console application How do I create execute and control.. console application How do I create execute and control a winform from within a console application c# winforms console application.. control a winform from within a console application c# winforms console application share improve this question The easiest..
How can we do paging in datagridview in winform http://stackoverflow.com/questions/2825771/how-can-we-do-paging-in-datagridview-in-winform can we do paging in datagridview in winform I want to show 10 records per page in a datagridview on a window.. a custom control. What i need to do to achieve this. c# winforms datagridview custom controls pagination share improve this..
Add context menu in a datagrid view in a winform application http://stackoverflow.com/questions/4201816/add-context-menu-in-a-datagrid-view-in-a-winform-application context menu in a datagrid view in a winform application How to show a Context Menu when you right click.. the entire row can be deleted . Thanks in Advance c# .net winforms datagridview share improve this question With reference..
Find a control in C# winforms by name http://stackoverflow.com/questions/4483912/find-a-control-in-c-sharp-winforms-by-name a control in C# winforms by name I am working on an application which add objects basically.. I am working on an application which add objects basically winform controls on run time from xml file. The application needs to.. any method like GetObject objName or something similar c# winforms controls share improve this question You can use the form's..
Overriding Extension Methods http://stackoverflow.com/questions/474074/overriding-extension-methods multiple type that have different class hierachies like winform controls you can make a subclass of each that all implement..
Model-View-Presenter in WinForms http://stackoverflow.com/questions/4794121/model-view-presenter-in-winforms to the Model s . My specific points are below When the winform loads it has to obtain a treeview. Am I correct in thinking.. flow should be for these I think I will be okay. c# .net winforms design patterns mvp share improve this question This is.. views usually benefit from. To your questions 1. When the winform loads it has to obtain a treeview. Am I correct in thinking..
How to render pdfs using C# http://stackoverflow.com/questions/518878/how-to-render-pdfs-using-c-sharp Get a preview jpeg of a pdf on windows .NET open PDF in winform without external dependencies PDF Previewing and viewing In..
Returning multiple tables from a stored procedure http://stackoverflow.com/questions/7239450/returning-multiple-tables-from-a-stored-procedure multiple tables from a stored procedure In my winform application I have the following scenario I want to get multiple.. are the advantages one over another c# .net sql server winforms data share improve this question The normal way is to get..
MySQL Entity Framework Error - The specified store provider cannot be found in the configuration, or is not valid http://stackoverflow.com/questions/8705108/mysql-entity-framework-error-the-specified-store-provider-cannot-be-found-in-t successfully used the assembly a compiled dll in my C# winform desktop application. But it only works on PCs that have had..
facebook c# sdk getting started http://stackoverflow.com/questions/8720023/facebook-c-sharp-sdk-getting-started clarification added Playing with the C# facebook sdk winform application I had to change their FacebookLoginDialog.cs to..
WPF WebBrowser (3.5 SP1) Always on top - other suggestion to display HTML in WPF http://stackoverflow.com/questions/980334/wpf-webbrowser-3-5-sp1-always-on-top-other-suggestion-to-display-html-in-wpf in WPF scrollviewer it doesnt respect z index meaning the winform is always on top of other WPF control. This is very annoying.. found a native HTML display for WPF. All options are winforms and with the above mentioned problems. the only way out I have..
BUG: Cant choose dates on a DatePicker that fall outside a floating VSTO Add-In http://stackoverflow.com/questions/10526118/bug-cant-choose-dates-on-a-datepicker-that-fall-outside-a-floating-vsto-add-in but this is all WPF code for menu's not a solution for Winform DateTimePicker. Repro for Microsoft Connect New Project Excel.. respond to input. This goes wrong in WPF as much as Winforms they have their own dispatch loop that filters messages before.. worried about programs messing with Office apps. The Winforms solution is the same one as the WPF workaround you need to..
C# Winform ProgressBar and BackgroundWorker http://stackoverflow.com/questions/1470927/c-sharp-winform-progressbar-and-backgroundworker Winform ProgressBar and BackgroundWorker I have a problem like this..
(C#) How to check if System.Net.WebClient.DownloadData is downloading a binary file? http://stackoverflow.com/questions/153451/c-how-to-check-if-system-net-webclient-downloaddata-is-downloading-a-binary-f to use WebClient to download a file from web using a Winform application. However I really only wanted to download HTML file...
ClickOnce and IsolatedStorage http://stackoverflow.com/questions/202013/clickonce-and-isolatedstorage and IsolatedStorage The Winform application is release with ClickOnce in our Intranet. We store..
Winforms issue - Error creating window handle [duplicate] http://stackoverflow.com/questions/222649/winforms-issue-error-creating-window-handle issue Error creating window handle duplicate This question.. 4 answers We are seeing this error in a Winform application. Can anyone help on why you would see this error..
The breakpoint will not currently be hit. No symbols have been loaded for this document http://stackoverflow.com/questions/2301216/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-d Version 3.0. Added a LinqToSQL Class a WCF Service a Winform Tester Application Project in the Solution and a few Classes.. the Web Appliaction i can debug the Silverlight and the Winform App. What i tried did to get rid of the message Reset Visual..
Winform - determine if mouse has left user control http://stackoverflow.com/questions/423728/winform-determine-if-mouse-has-left-user-control determine if mouse has left user control I am struggling with..
c# panel for drawing graphics and scrolling http://stackoverflow.com/questions/4305011/c-sharp-panel-for-drawing-graphics-and-scrolling be able to use a panel or similar to draw graphics onto a Winform. I cannot seem to see anything regarding adding scrollbars if..
C# listView, how do I add items to columns 2, 3 and 4 etc? http://stackoverflow.com/questions/473148/c-sharp-listview-how-do-i-add-items-to-columns-2-3-and-4-etc and 4 etc To add items to column 1 in my listView control Winform I'm using listView1.Items.Add this works fine but how do I add..
Model-View-Presenter in WinForms http://stackoverflow.com/questions/4794121/model-view-presenter-in-winforms View. Effectively I will have a bunch of controls on a Winform that will be handled by a Presenter and then the tasks delegated.. a panel Would this be the same for any data control on the Winform as I also have a datagridview My App has a number of model classes.. 2. Would this be the same for any data control on the Winform as I also have a datagridview Yes I would call IConfigurationView.SetTableData..
How do I skin my Winform application? http://stackoverflow.com/questions/6329632/how-do-i-skin-my-winform-application do I skin my Winform application I want to change the look and feel of my application..
WPF: How to dynamically Add Controls in dynamically created WPF Window http://stackoverflow.com/questions/7884185/wpf-how-to-dynamically-add-controls-in-dynamically-created-wpf-window in C#. I got a WinForm one from InputBox in C# but it has Winform look and feel. So i was recreating it in WPF. I have created..
How do I create a C# app that decides itself whether to show as a console or windowed app? http://stackoverflow.com/questions/807998/how-do-i-create-a-c-sharp-app-that-decides-itself-whether-to-show-as-a-console-o console you used but myapp.exe by itself would launch my Winforms or WPF user interface. The best answers I know of so far involve.. described in the example above I'm open to ideas that are Winform specific or WPF specific too. c# .net wpf winforms share..
Pause/Resume loop in Background worker http://stackoverflow.com/questions/8359058/pause-resume-loop-in-background-worker Background worker I have a loop in Background worker in a Winform Application. I Just used this Code but it won't resume after..
How to Fix the Memory Leak in IE WebBrowser Control? http://stackoverflow.com/questions/904478/how-to-fix-the-memory-leak-in-ie-webbrowser-control Control I am trying to embed a WebBrowser Control in a C# Winform Application. This sounds easy enough. However I discovered that..
Restoring Window Size/Position With Multiple Monitors http://stackoverflow.com/questions/937298/restoring-window-size-position-with-multiple-monitors do this with multiple monitors. That is if I close my .NET Winform app with the window on monitor 2 I want it to save the windows..
|