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 formTool
|
{
|
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(Hydro.MapView.TemplateList.Inited == false)
|
{
|
Hydro.MapView.TemplateList.Init();
|
}
|
GlobalObject.map = this.mapViewer1;
|
GlobalObject.PropertyForm = this.propertyForm1;
|
}
|
}
|
}
|