/// <summary> /// Initializes a new instance of the <see cref="MapViewerController"/> class. /// </summary> /// <param name="viewer">The viewer.</param> /// <param name="legend">The legend.</param> /// <param name="statBar">The stat bar.</param> /// <param name="propPane">The prop pane.</param> /// <param name="toolbar">The toolbar.</param> public MapViewerController(IMapViewer viewer, IMapLegend legend, IMapStatusBar statBar, IPropertyPane propPane, IDefaultToolbar toolbar) : this(viewer, legend, statBar, propPane) { if (toolbar == null) throw new ArgumentNullException("toolbar"); toolbar.Viewer = viewer; }
/// <summary> /// Initializes a new instance of the <see cref="MapViewerController"/> class. /// </summary> /// <param name="viewer">The viewer.</param> /// <param name="legend">The legend.</param> /// <param name="statBar">The stat bar.</param> /// <param name="propPane">The prop pane.</param> /// <param name="toolbar">The toolbar.</param> public MapViewerController(IMapViewer viewer, IMapLegend legend, IMapStatusBar statBar, IPropertyPane propPane, IDefaultToolbar toolbar) : this(viewer, legend, statBar, propPane) { if (toolbar == null) { throw new ArgumentNullException("toolbar"); } toolbar.Viewer = viewer; }
/// <summary> /// Initializes a new instance of the <see cref="MapViewerController"/> class. /// </summary> /// <param name="viewer">The viewer.</param> /// <param name="legend">The legend.</param> /// <param name="statBar">The stat bar.</param> /// <param name="propPane">The prop pane.</param> public MapViewerController(IMapViewer viewer, IMapLegend legend, IMapStatusBar statBar, IPropertyPane propPane) { if (viewer == null) throw new ArgumentNullException("viewer"); //NOXLATE _viewer = viewer; _legend = legend; _statBar = statBar; _propPane = propPane; WireEvents(); }
/// <summary> /// Initializes a new instance of the <see cref="MapViewerController"/> class. /// </summary> /// <param name="viewer">The viewer.</param> /// <param name="legend">The legend.</param> /// <param name="statBar">The stat bar.</param> /// <param name="propPane">The prop pane.</param> public MapViewerController(IMapViewer viewer, IMapLegend legend, IMapStatusBar statBar, IPropertyPane propPane) { if (viewer == null) { throw new ArgumentNullException("viewer"); //NOXLATE } _viewer = viewer; _legend = legend; _statBar = statBar; _propPane = propPane; WireEvents(); }