Beispiel #1
0
        private void biNewMap_Click(object sender, EventArgs e)
        {
            FrmEditMap editMap = new FrmEditMap();

            editMap.ShowDialog(this);
            if (editMap.IsChanged)
            {
                AddTree(editMap.MapInfo);
            }
        }
Beispiel #2
0
        private void biModifyMap_Click(object sender, EventArgs e)
        {
            var map = GetSelectMap();

            if (map != null)
            {
                FrmEditMap editMap = new FrmEditMap(map);
                editMap.ShowDialog(this);
                if (editMap.IsChanged)
                {
                    mapCtrl.LoadMapInfo(editMap.MapInfo);
                    mapCtrl.FullExtent();
                }
            }
        }