public override PopupAlert CreateAlert(object[] args)
        {
            SimplePopupAlert alert;

            switch (AlertStyle)
            {
            case SimplePopupAlertStyle.System:
                alert = new SystemPopupAlert(args);
                break;

            case SimplePopupAlertStyle.Defualt:
            default:
                alert = new SimplePopupAlert(args);
                break;
            }

            alert.HiddingStyle = HiddingStyle;

            alert.ShowingStyle = ShowingStyle;

            alert.HiddingDelay = HiddingDelay;

            alert.RoundedCornerRadius = RoundedCornerRadius;

            alert.ShowingDuration = ShowingDuration;

            alert.HiddingDuration = HiddingDuration;

            alert.MaximumSize = MaximumSize;

            alert.MinimumSize = MinimumSize;

            alert.Padding = Padding;

            alert.MouseDown += new MouseEventHandler(alert_MouseDown);

            return(alert);
        }
        public override PopupAlert CreateAlert(object[] args)
        {
            SimplePopupAlert alert;
            switch (AlertStyle)
            {
                case SimplePopupAlertStyle.System:
                    alert = new SystemPopupAlert(args);
                    break;
                case SimplePopupAlertStyle.Defualt:
                default:
                    alert = new SimplePopupAlert(args);
                    break;
            }

            alert.HiddingStyle = HiddingStyle;

            alert.ShowingStyle = ShowingStyle;

            alert.HiddingDelay = HiddingDelay;

            alert.RoundedCornerRadius = RoundedCornerRadius;

            alert.ShowingDuration = ShowingDuration;

            alert.HiddingDuration = HiddingDuration;

            alert.MaximumSize = MaximumSize;

            alert.MinimumSize = MinimumSize;

            alert.Padding = Padding;

            alert.MouseDown += new MouseEventHandler(alert_MouseDown);

            return alert;
        }