Beispiel #1
0
        static public void ExceptionTransactionData(string err)
        {
            if (err is null)
            {
                return;
            }
            ExeptionForm exepFrom = new ExeptionForm();

            exepFrom.setTextToLabel(err);
            exepFrom.Show();
            throw new System.Exception(err);
        }
Beispiel #2
0
        static public void ExceptionInt(string err, int min, int max)
        {
            if (err is null)
            {
                return;
            }
            ExeptionForm exepFrom = new ExeptionForm();

            exepFrom.setTextToLabel(err);
            exepFrom.Show();
            throw new System.Exception(err);
        }