Пример #1
0
        private bool InternalFindAndWarnOnDialog(Type formType, string message)
        {
            if (MdiChildren.All(f => f.GetType() != formType))
            {
                return(false);
            }

            MessageBox.Show(this, message, "Error");
            return(true);
        }