Пример #1
0
        internal static void OnPaint(PaintEventArgs e)
        {
            if (instance == null && items.Count > 0)
            {
                instance = items.Dequeue();
            }

            if (instance != null)
            {
                instance.PaintInternal(e);

                TryHideInstance();
            }
        }