public A_DPic_ChooseStation(string MineBgImage, Image img, KJ128NMainRun.Graphics.Expert.A_FrmDCreateConfig frm) { InitializeComponent(); strMineBgImage = MineBgImage; picShow.Image = img; frmMain = frm; }
public A_DPic_RouteConfig(string fileid, A_FrmDCreateConfig frm, string strPicLayerName,TreeNode trvnode,TreeView trvview,Image image) { InitializeComponent(); this.FileID = fileid; frmMain = frm; PicLayerName = strPicLayerName; treeNode = trvnode; treeView = trvview; IMG = image; }
public A_DPic_AddPicLayer(string strImageName, Image img, A_FrmDCreateConfig frm) { InitializeComponent(); if (grap.GetAllFileName().Rows.Count > 0) { for (int i = 0; i < grap.GetAllFileName().Rows.Count;i++ ) { trv_PicLayerList.Nodes.Add(grap.GetAllFileName().Rows[i][0].ToString()); } } ImageName = strImageName; this.picShow.Image = img; trv_PicLayerList_GetChecked(); if (trv_PicLayerList.Nodes.Count != 0) { txtNewPicLayerName.Text = trv_PicLayerList.Nodes[trv_PicLayerList.Nodes.IndexOf(trv_PicLayerList.SelectedNode)].Text; } else { trv_PicLayerList.Nodes.Add("新建图层"); } if (txtNewPicLayerName.Text == string.Empty) { txtNewPicLayerName.Text = "新建图层"; } frmMain = frm; RootNode = frmMain.ConfigXml.SelectSingleNode("//MapConfig"); }
public A_DPic_DivConfig(TreeNode node, double min, double max, XmlDocument configXml, TreeView trv, KJ128NMainRun.Graphics.Expert.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(); }
public A_DPic_ImportPic(KJ128NMainRun.Graphics.Expert.A_FrmDCreateConfig frm) { InitializeComponent(); frmMain = frm; }
public A_FrmDRouteConfig(string fileid, A_FrmDCreateConfig frm) { InitializeComponent(); this.FileID = fileid; frmMain = frm; }
public A_DPic_Welcom(A_FrmDCreateConfig frm) { InitializeComponent(); frmMain = frm; }
public A_FrmDRouteConfig(string fileid,A_FrmDCreateConfig frm) { InitializeComponent(); this.FileID = fileid; frmMain = frm; }