Exemplo n.º 1
0
 public A_frmDDivConfig(TreeNode node, double min, double max, XmlDocument configXml, TreeView trv, A_FrmDCreateConfig_Simplify 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();
 }
Exemplo n.º 2
0
 public A_frmDDivConfig(TreeNode node, double min, double max, XmlDocument configXml, TreeView trv,A_FrmDCreateConfig_Simplify 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();
 }
Exemplo n.º 3
0
 public A_FrmDRouteConfig(string fileid,A_FrmDCreateConfig_Simplify frm)
 {
     InitializeComponent();
     this.FileID = fileid;
     frmMain = frm;
 }
Exemplo n.º 4
0
 public A_FrmDRouteConfig(string fileid, A_FrmDCreateConfig_Simplify frm)
 {
     InitializeComponent();
     this.FileID = fileid;
     frmMain     = frm;
 }