cloudflight
2024-06-10 4db7d08bb295be33e80f1353f58fcea4a8da6127
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Hydro.MapUI; 
 
namespace Hydro.ClientTool
{
    public partial class Form2 : Form
    {
        public Form2()
        {
 
            InitializeComponent();
        }
 
        //private void 打开OToolStripMenuItem_Click(object sender, EventArgs e)
        //{
        //    模板管理 form = new 模板管理();
        //    if(form.ShowDialog()==DialogResult.OK)
        //    {
        //        var temp = TemplateList.GetTemplate(form.TemplateID);
        //        mapViewer1.SetData(temp);
        //    }
           
        //}
 
        private void Form2_Load(object sender, EventArgs e)
        {
            this.mapViewer1.showToolBar = true;
            if(MapView.TemplateList.Inited == false)
            {
                MapView.TemplateList.Init();
            }
            GlobalObject.map = this.mapViewer1;
            GlobalObject.PropertyForm = this.propertyForm1;
        }
    }
}