Example #1
0
 public A_frmDivConfig(TreeNode node, double min, double max, string mapfilepath, XmlDocument configXml, TreeView trv, A_FrmCreateConfig frm)
 {
     InitializeComponent();
     this.fcc = frm;
     this.LastSelectNode = node;
     this.OldDivName = node.Text;
     this.trvDiv = trv;
     MinWidth = min;
     MaxWidth = max;
     MapFilePath = mapfilepath;
     //this.MapGis.MapFilePath = MapFilePath;
     //this.MapGis.MinWidth = MapGis.Width;
     //this.MapGis.MaxWidth = MapGis.Width;
     this.MapGis.IsShowAllStations(true);
     ConfigXml = configXml;
     MapGis.StaticClick += new ZzhaControlLibrary.ZzhaMapGis.ClickStatic(MapGis_StaticClick);
     MapGis.MouseMove += new MouseEventHandler(MapGis_MouseMove);
     MapGis.MouseDown += new MouseEventHandler(MapGis_MouseDown);
 }
Example #2
0
 public A_frmDivConfig(TreeNode node, double min, double max, string mapfilepath, XmlDocument configXml, TreeView trv, A_FrmCreateConfig frm)
 {
     InitializeComponent();
     this.fcc            = frm;
     this.LastSelectNode = node;
     this.OldDivName     = node.Text;
     this.trvDiv         = trv;
     MinWidth            = min;
     MaxWidth            = max;
     MapFilePath         = mapfilepath;
     //this.MapGis.MapFilePath = MapFilePath;
     //this.MapGis.MinWidth = MapGis.Width;
     //this.MapGis.MaxWidth = MapGis.Width;
     this.MapGis.IsShowAllStations(true);
     ConfigXml           = configXml;
     MapGis.StaticClick += new ZzhaControlLibrary.ZzhaMapGis.ClickStatic(MapGis_StaticClick);
     MapGis.MouseMove   += new MouseEventHandler(MapGis_MouseMove);
     MapGis.MouseDown   += new MouseEventHandler(MapGis_MouseDown);
 }