UI code snippets (17)

How to get active window handle and title

Published: 7. February 2012 | Updated: 7. February 2012
Categories: Win32 Windows
Tags: C# UI Win32 Windows

How to open message box

Published: 1. February 2012 | Updated: 1. February 2012
Categories: Winforms WPF
Tags: C# UI Windows Winforms WPF

How to find out whether Windows UI effects are enabled

Published: 19. November 2011 | Updated: 19. November 2011
Categories: Windows
Tags: C# UI Windows Winforms WPF

How to change cursor

Published: 14. December 2008 | Updated: 10. November 2011
Categories: Winforms
Tags: C# UI Windows Winforms

How to find out whether form is active

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Winforms
Tags: C# UI Winforms

How to hide windows form

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Winforms
Tags: C# UI Winforms

How to list all open forms in Winforms

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Winforms
Tags: C# UI Winforms

How to close a form in Winforms

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Winforms
Tags: C# UI Winforms

How to minimize form in Winforms

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Winforms
Tags: C# UI Winforms

How to get currently active form for application

Published: 8. January 2009 | Updated: 8. January 2009
Categories: Winforms
Tags: C# Controls UI Winforms

How to flash form taskbar button

Published: 21. December 2008 | Updated: 21. December 2008
Categories: Win32 Winforms
Tags: C# UI Win32 Windows Winforms

How to create MDI form

Published: 18. December 2008 | Updated: 18. December 2008
Categories: Winforms
Tags: C# Controls UI Winforms

How to set tooltip for control

Published: 18. December 2008 | Updated: 18. December 2008
Categories: Winforms
Tags: C# Controls UI Winforms

How to create control and add to form on the fly

Published: 15. December 2008 | Updated: 15. December 2008
Categories: Winforms
Tags: C# Controls UI Winforms

How to disable close 'x' button in winform

Published: 15. December 2008 | Updated: 15. December 2008
Categories: Win32 Winforms
Tags: C# UI Windows Winforms

How to create file open dialog

Published: 14. December 2008 | Updated: 14. December 2008
Categories: Winforms
Tags: C# File System UI Winforms

How to create file save dialog

Published: 14. December 2008 | Updated: 14. December 2008
Categories: Winforms
Tags: C# File System UI Winforms