📄 validate.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace AnotherPDFLib.XFA
{
/// <summary>
/// A automation element that controls validation of user-supplied data.
/// </summary>
public class validate : element_id_extras
{
public validate() : base("validate") { }
public testAction formatTest
{
set
{
this.SetAttribute("formatTest", value);
}
}
public testAction nullTest
{
set
{
this.SetAttribute("nullTest", value);
}
}
public testAction scriptTest
{
set
{
this.SetAttribute("scriptTest", value);
}
}
protected message _message;
public message message
{
get
{
if (_message == null)
{
_message = new message();
this.AddChild(_message);
}
return _message;
}
set
{
this.RemoveChild(_message);
_message = value;
this.AddChild(_message);
}
}
protected picture _picture;
public picture picture
{
get
{
if (_picture == null)
{
_picture = new picture();
this.AddChild(_picture);
}
return _picture;
}
set
{
this.RemoveChild(_picture);
_picture = value;
this.AddChild(_picture);
}
}
protected script _script;
public script script
{
get
{
if (_script == null)
{
_script = new script();
this.AddChild(_script);
}
return _script;
}
set
{
this.RemoveChild(_script);
_script = value;
this.AddChild(_script);
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -