Preventing a form from opening more than once

Suppose you have a form named frmMain (Main) and a form named frmInformation (Information).  You want to open the frmInformation from frmMain as a modeless window (so the user can return to frmMain) but prevent the window from being opened again and having two copies of the Information window open. Read the rest of this entry »

Visual Inheritance using DataGridView

While working today I came across a perceived problem with using Visual Inheritance (Windows Forms that inherit from “base” forms). Read the rest of this entry »

Theming a MDI child window when using DevExpress controls

If you create a new form and change its type to inherit from DevExpress.XtraEditors.XtraForm, the entire form will take on the current Default Look and Feel of the application. To make the title bar and window border also take on this theme, Read the rest of this entry »