public static void Show(System.Exception inputException) { Init(); switch (_runMode) { case "DEV": MsgBoxException frm = new MsgBoxException(inputException); frm.ShowDialog(); break; case "USER": MsgBoxException userEx = new MsgBoxException(inputException); userEx.ShowDialog(); break; default: break; } }