using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Pilz.UI.Telerik.Dialogs
{
    public class DialogClosedEventArgs : EventArgs
    {
        public DialogBaseForm Parent { get; private set; }
        public FlyoutDialogBase? Content => Parent?.DialogPanel;

        public DialogClosedEventArgs(DialogBaseForm dialog)
        {
            Parent = dialog;
        }
    }
}
