Beispiel #1
0
		public void SetParent(View parent)
		{
			if (ParentView != null)
			{
				ParentView.RemoveChild(this);
			}
			parent.AddChild(this);
		}
Beispiel #2
0
		public View(View parentView)
		{
			if (parentView != null)
				parentView.AddChild(this);
		}