singleton

Open a Single Instance of Window in WPF

We often need to limit some Windows in a system to allow only one open each time. If you want to open another instance of the Window, you must first close the opened one; on the other hand, if the opened Window instance is not closed, you cannot open a new instance of the same Window.

Singleton vs Static Class

Singleton pattern, is actually a design pattern that was from Microsoft patterns & practices. And, when we say Singleton, we should know it is a class. About more details, we can read msdn.


asp.net (148) c# (106) .net (97) silverlight (62) sql server (60) visual studio (57) wpf (56) Web (53) Windows (51) sql (43) microsoft (40) cloud (38) wcf (35) mvc (27) windows forms (23) azure (19) computer (19) source control (17) iis (16) c++ (16) javascript (15) c (15) git (14) database (14) WordPress (13) mobile (13) map (13) report (12) linux (10) Blog (10) gis (10) svn (9) php (9) css (8) jquery (7) google (7) system (7) web api (6) windows phone (6) html (6) java (5) gmail (5) bing map (5) .net core (5) open source (5) Virtual Machine (4) windows server (4) system management (4) html5 (4) membership (4) amazon (4) vmware (4) control (4) blazor (4) news (3) network (3) modbus (3) windows 7 (3) signalr (3) linq (3) chart (3) bing (3) eclipse (3) cpu (3) api (3) security (3) virus (3) job (3) iot (3) youtube (3) mono (3) static (3) bootstrap (3) storage (3) binding (3) cross platform (2) Router (2) server (2) programming (2) game (2) xbox (2) phone (2) visio (2) ado.net (2) setup (2) Skype (2) driver (2) xml (2) vb.net (2) cellphone (2) uml (2) VB (2) ssd (2) angularjs (2) animation (2) video (2) interview (2) tools (2) permission (2) xamarin (2) singleton (2) core (2) entity framework (2) WebAssembly (2) socket (2) data (2) development (2) home (1) WiFi (1) Powerline (1) Internet (1) postgresql (1) Scada (1) email (1) life (1) Code (1) web socket (1) iis express (1) windows-8 (1) event (1) Cell phone (1) design (1) thread (1) mysql (1) editor (1) sql.server (1) msdn (1) shared (1) reset (1) share (1) kinect (1) size (1) install (1) print (1) grant (1) power (1) page (1) web app (1) printer (1) monitor (1) jave (1) wp7 (1) apps (1) office (1) dell (1) font (1) windows.form (1) vista (1) xp (1) ce (1) compact (1) object (1) hosting (1) Micorosoft (1) sdk (1) hot key (1) rss (1) combobox (1) gps (1) mobille (1) chrome (1) firefox (1) ie (1) embedded (1) media-player (1) firewall (1) GAC (1) browser (1) Memory (1) mfc (1) memebership (1) image (1) document (1) help (1) android (1) iphone (1) it (1) threat (1) software (1) restful (1) deals (1) deal (1) angular (1) free shipping (1) ajax (1) iquery (1) tfs (1) config (1) password (1) 3d (1) maya (1) mel (1) rendering (1) agile (1) software development (1) hyper-v (1) linkedin (1) social (1) HDD (1) tekton (1) account (1) schduler (1) architecture (1) solution (1) seo (1) desktop (1) theme (1) tcp (1) client (1) Website (1) screen (1) tablet (1) ai (1) enum (1) esri (1)