Ejemplo n.º 1
0
        public frmAtalsBrowse(frmAtlasContents _frm)
        {
            InitializeComponent();
            parentForm = _frm;
            parentForm.Visible = false;

            this.pe_AtlasShower.Properties.ShowZoomSubMenu = DefaultBoolean.True;
            this.pe_AtlasShower.Properties.ShowScrollBars = true;
            this.pe_AtlasShower.Properties.AllowScrollViaMouseDrag = true;
            this.pe_AtlasShower.MouseWheel += pe_AtlasShower_MouseWheel;
            this.pe_AtlasShower.MouseEnter += pe_AtlasShower_MouseEnter;
        }
 private void pictureBox_Images_Click(object sender, EventArgs e)
 {
     frmAtlasContents frmContents = new frmAtlasContents(this);
     frmContents.SetFlowLayouts(clsConfig.PlanningImageFolder + "\\现状图",
         clsConfig.PlanningImageFolder + "\\规划图", clsConfig.PlanningImageFolder + "\\分析图", ".jpg");
     frmContents.Show();
 }