Exemple #1
0
        public static void ShowException(Form owner, Exception e)
        {
            if (e == null)
            {
                return;
            }
            Form_Error fe = new Form_Error();

            fe.tbMsg.Text   = e.Message;
            fe.tbDescr.Text = e.ToString();
            try
            {
                fe.ShowDialog(owner);
            }
            catch (Exception) { }
        }