예제 #1
0
        public A_DPic_ChooseStation(string MineBgImage, Image img, KJ128NMainRun.Graphics.Expert.A_FrmDCreateConfig frm)
        {
            InitializeComponent();
            strMineBgImage = MineBgImage;


            picShow.Image = img;
            frmMain       = frm;
        }
예제 #2
0
        public A_DPic_ChooseStation(string MineBgImage, Image img, KJ128NMainRun.Graphics.Expert.A_FrmDCreateConfig frm)
        {
            InitializeComponent();
            strMineBgImage = MineBgImage;


            picShow.Image = img;
            frmMain = frm;
        }
예제 #3
0
 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;
 }
예제 #4
0
        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");
            
        }
예제 #5
0
 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();
 }
예제 #6
0
        public A_DPic_ImportPic(KJ128NMainRun.Graphics.Expert.A_FrmDCreateConfig frm)
        {
            InitializeComponent();

            frmMain = frm;
        }
예제 #7
0
 public A_FrmDRouteConfig(string fileid, A_FrmDCreateConfig frm)
 {
     InitializeComponent();
     this.FileID = fileid;
     frmMain     = frm;
 }
예제 #8
0
        public A_DPic_Welcom(A_FrmDCreateConfig frm)
        {
            InitializeComponent();

            frmMain = frm;
        }
예제 #9
0
 public A_FrmDRouteConfig(string fileid,A_FrmDCreateConfig frm)
 {
     InitializeComponent();
     this.FileID = fileid;
     frmMain = frm;
 }
예제 #10
0
        public A_DPic_ImportPic(KJ128NMainRun.Graphics.Expert.A_FrmDCreateConfig frm)
        {
            InitializeComponent();

            frmMain = frm;
        }