/[cits3200i]/trunk/UWAPlugins/MetadataPlugin/tired/RouteControlLayer.cs


UCC Code Repository

Contents of /trunk/UWAPlugins/MetadataPlugin/tired/RouteControlLayer.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 80 - (show annotations) (download)
Thu Sep 30 09:11:10 2010 UTC (11 years, 2 months ago) by rvvs89
File size: 1171 byte(s)
Merging zac-test-branch.
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using ZoneFiveSoftware.Common.Visuals.Mapping;
5 namespace MetadataPlugin.tired
6 {
7 class RouteControlLayer : IRouteControlLayer
8 {
9
10
11 #region IRouteControlLayer Members
12
13 //user defined variables
14 private IRouteControlLayerProvider layerPro = null;
15
16 public int ZOrder
17 {
18 get { return 1; }
19 }
20
21 public RouteControlLayer(IRouteControl control, IRouteControlLayerProvider layer)
22 {
23 this.layerPro = layer;
24 control.ItemClick += new RouteControlEvents.ItemEventHandler(control_ItemClick);
25 }
26
27 public void control_ItemClick(object sender, RouteControlEvents.ItemEventArgs e)
28 {
29 RouteAction act = new RouteAction();
30 System.Drawing.Rectangle rec = new System.Drawing.Rectangle();
31 act.Run(rec);
32 }
33
34 #endregion
35
36 #region IRouteControlLayer Members
37
38 public IRouteControlLayerProvider Provider
39 {
40 get { return this.layerPro; }
41 }
42
43 #endregion
44 }
45 }

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26