Posts

Showing posts from September, 2015

Password Property in PropertyGrid

To mask a property of an object in property grid with password like editor, simply add attribute [PasswordPropertyText(true)] on the selected property. Example: [PasswordPropertyText(true)] public string Label { get; set; }

Process Executor

Image
Description ProcessExecutor is a wrapper class for System.Diagnostic.Process which created with intention to manage external process within .NET application without showing up the console window and capture all the console output logs at the same time. Download From... GitHub NuGet CodeProject

OpenFilePanel and FolderBrowsePanel

Image
Description OpenFilePanel, FolderBrowsePanel   OpenFilePanel and FolderBrowsePanel are 2 new controls added to WinForms Controls Library released in Version 1.4.0 onward. This control is a combination of file / folder select dialog and textbox which allow user to select file / folder by either one of the following method: Select file / folder from open file dialog / folder browse dialog. Enter file / folder path into text box. Drag and drop file / folder from Window Explorer. Motivation These controls is created to simplify GUI design in Windows Forms application where file / folder select is widely use in each project. With this control, it eliminates the need to rewrite / copy the same piece of code again and again. Moreover, all projects that utilize this controls will get instant upgrade in future with new released assemblies without recompilation. Usage In general, both of this