// ***********************************************************************
// Assembly : HZH_Controls
// Created : 2019-09-27
//
// ***********************************************************************
//
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
//
//
// Blog: https://www.cnblogs.com/bfyx
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
//
// If you use this code, please keep this note.
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace HZH_Controls.Controls
{
///
/// Class VerificationEventArgs.
/// Implements the
///
///
public class VerificationEventArgs : EventArgs
{
///
/// Gets or sets the verification control.
///
/// The verification control.
public Control VerificationControl { get; set; }
///
/// Gets or sets a value indicating whether [verify success].
///
/// true if [verify success]; otherwise, false.
public bool IsVerifySuccess { get; set; }
///
/// Gets or sets the verification model.
///
/// The verification model.
public VerificationModel VerificationModel { get; set; }
///
/// 是否已处理,如果为true,则不再使用默认验证提示功能
///
/// true if this instance is processed; otherwise, false.
public bool IsProcessed { get; set; }
///
/// Gets or sets 正则表达式
///
/// The custom regex.
public string Regex { get; set; }
///
/// Gets or sets a value indicating whether this is required.
///
/// true if required; otherwise, false.
public bool Required { get; set; }
///
/// Gets or sets the error MSG.
///
/// The error MSG.
public string ErrorMsg { get; set; }
}
}