/// <summary> /// Show the form. /// </summary> public void Show() { if (isFormReadOnly) { myForm.Enabled = false; } myForm.Show(); }