ui.cs

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

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

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// A user-interface element that encloses the actual user interface widget element.
	/// </summary>
	public class ui : element_id_extras
	{
		public ui() : base("ui") { }

		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 control _control;

		public control control
		{
			get
			{
				return _control;
			}
			set
			{
				this.RemoveChild(_control);
				_control = value;
				this.AddChild(_control);
			}
		}

		protected exObject _exObject;

		public exObject exObject
		{
			get
			{
				if (_exObject == null)
				{
					_exObject = new exObject();
					this.AddChild(_exObject);
				}
				return _exObject;
			}
			set
			{
				this.RemoveChild(_exObject);
				_exObject = value;
				this.AddChild(_exObject);
			}
		}

	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?