calculate.cs

来自「PDF文件格式解析库源代码」· CS 代码 · 共 66 行

CS
66
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// An automation element that controls the calculation of it's container's value.
	/// </summary>
	public class calculate : element_id_extras
	{
		public calculate() : base("calculate") { }

		public overriding @override
		{
			set
			{
				this.SetAttribute("override", 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 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 + =
减小字号Ctrl + -
显示快捷键?