Exemplo n.º 1
0
			/// --------------------------------------------------------------------------------
			/// <summary>
			/// Initializes a new instance of the <see cref="TePrintLayoutViewFactory"/> class.
			/// </summary>
			/// <param name="viewName">Name of the view.</param>
			/// <param name="viewType">Type of the view.</param>
			/// <param name="pubName">Name of the publication.</param>
			/// <param name="creatorMethod">The creator method.</param>
			/// --------------------------------------------------------------------------------
			public TePrintLayoutViewFactory(string viewName, TeViewType viewType,
				string pubName, PrintLayoutCreatorDelegate creatorMethod)
				: base(viewName, viewType, null)
			{
				m_pubName = pubName;
				m_creatorMethod = creatorMethod;
			}
Exemplo n.º 2
0
			/// --------------------------------------------------------------------------------
			/// <summary>
			/// Initializes a new instance of the <see cref="TePrintLayoutViewFactory"/> class.
			/// </summary>
			/// <param name="userView">The user view.</param>
			/// <param name="viewType">Type of the view.</param>
			/// <param name="pubName">Name of the publication.</param>
			/// <param name="creatorMethod">The creator method.</param>
			/// --------------------------------------------------------------------------------
			public TePrintLayoutViewFactory(UserView userView, TeViewType viewType,
				string pubName, PrintLayoutCreatorDelegate creatorMethod)
				: base(userView, viewType, null)
			{
				m_pubName = pubName;
				m_CreatorMethod = creatorMethod;
			}