DialogResult dres; dres = form.ShowDialog(); if (dres != DialogResult.OK) return;
Error 3 'System.Nullable<bool>' does not contain a definition for 'OK' and no extension method 'OK' accepting a first argument of type 'System.Nullable<bool>' could be found (are you missing a using directive or an assembly reference?)