Esempio n. 1
0
 public A_frmDDivConfig(TreeNode node, double min, double max, XmlDocument configXml, TreeView trv,A_FrmDCreateConfig frm)
 {
     InitializeComponent();
     this.LastSelectNode = node;
     this.OldDivName = node.Text;
     this.trvDiv = trv;
     FrmConfig = frm;
     MinWidth = min;
     MaxWidth = max;
     FileID = configXml.SelectSingleNode("//Map").InnerText;
     //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);
     dmc.Add(pnl1,true);
     dmc.Add(pnl2);
     dmc.Add(pnl3);
     dmc.LeftPartResize();
 }
Esempio n. 2
0
 public A_frmDDivConfig(TreeNode node, double min, double max, XmlDocument configXml, TreeView trv, A_FrmDCreateConfig frm)
 {
     InitializeComponent();
     this.LastSelectNode = node;
     this.OldDivName     = node.Text;
     this.trvDiv         = trv;
     FrmConfig           = frm;
     MinWidth            = min;
     MaxWidth            = max;
     FileID = configXml.SelectSingleNode("//Map").InnerText;
     //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);
     dmc.Add(pnl1, true);
     dmc.Add(pnl2);
     dmc.Add(pnl3);
     dmc.LeftPartResize();
 }
Esempio n. 3
0
 public A_FrmDRouteConfig(string fileid,A_FrmDCreateConfig frm)
 {
     InitializeComponent();
     this.FileID = fileid;
     frmMain = frm;
 }
 public A_FrmDRouteConfig(string fileid, A_FrmDCreateConfig frm)
 {
     InitializeComponent();
     this.FileID = fileid;
     frmMain     = frm;
 }