Let the User Pick a Color with ColorDialog in C#
Show the WinForms ColorDialog, preselect a color, keep the user’s custom colors between calls and avoid the Color equality trap.
Show the WinForms ColorDialog, preselect a color, keep the user’s custom colors between calls and avoid the Color equality trap.
Create, read, update and delete Windows registry values in C# with Microsoft.Win32.Registry, with the value-type, 32/64-bit and permission traps explained.
Play the Windows Beep, Asterisk, Exclamation, Hand and Question sounds from C# with SystemSounds, and why some of them stay silent.
Ask the user where to save a file with the WinForms SaveFileDialog: filters, default extension, overwrite prompt, and writing the file safely.
Let the user pick one or more files with the WinForms OpenFileDialog, filter by type, and read the selected file without freezing the UI.