示例#1
0
		public void RegisterView(ViewType type, Control bigControl,Control smallControl)
		{
			View view = new View(type, bigControl, smallControl);
			if (view.BigControl != null)
				view.BigControl.Visible = false;
			if (view.SmallControl != null)
				view.SmallControl.Visible = false;
			RegisterView(view);
		}
示例#2
0
		/// <summary>
		/// register a view
		/// </summary>
		/// <param name="view"></param>
		/// <param name="ctl"></param>
		public void RegisterView(View view)
		{
			m_RegisteredViews[view.Type] = view;
			FireViewListChange();
		}