Esempio n. 1
0
 void _adminRegion_Click(object sender, EventArgs e)
 {
     UpdateAllLoadShp();
     _adminRegion.Items.Clear();
     CreatItemsByFolders("\\基础矢量\\行政区划", _adminRegion, false);
     _adminRegion.ShowDropDown();
 }
Esempio n. 2
0
 void _trafficline_Click(object sender, EventArgs e)
 {
     UpdateAllLoadShp();
     _trafficline.Items.Clear();
     CreatItemsByFolders("\\基础矢量\\交通信息", _trafficline, false);
     _trafficline.ShowDropDown();
 }
Esempio n. 3
0
 void _rivers_Click(object sender, EventArgs e)
 {
     UpdateAllLoadShp();
     _rivers.Items.Clear();
     CreatItemsByFolders("\\基础矢量\\河流湖泊", _rivers, false);
     _rivers.ShowDropDown();
 }
Esempio n. 4
0
        private void _ddbeOthers_Click(object sender, EventArgs e)
        {
            PrepareDropDownMenu();

            if (!_ddbeOthers.IsDropDownShown)
            {
                _ddbeOthers.ShowDropDown();
            }
        }
Esempio n. 5
0
        void _removeRef_Click(object sender, EventArgs e)
        {
            _removeRef.Items.Clear();
            if (_session == null)
            {
                return;
            }
            ILayoutHost host   = null;
            ICanvas     canvas = GetCanvasFromSession(ref host);

            if (canvas == null)
            {
                return;
            }
            AddGridLayerName(canvas);
            //矢量层
            AddVectorLayerName(canvas);
            _removeRef.ShowDropDown();
        }
Esempio n. 6
0
        //从配置文件中读取关注区的信息,并添加到DropDownButton中
        private void CreatInterstItem(object sender)
        {
            RadDropDownButtonElement dbt = sender as RadDropDownButtonElement;

            if (dbt == null)
            {
                return;
            }
            dbt.Items.Clear();
            BookMarkParser parser = new BookMarkParser();

            BookMarkGroup[] groups = parser.BookMarkGroups;
            if (groups == null || groups.Length == 0)
            {
                return;
            }
            foreach (BookMarkGroup group in groups)
            {
                RadMenuHeaderItem headItem = new RadMenuHeaderItem(group.GroupName);
                dbt.Items.Add(headItem);
                CreatBookMarkItems(dbt, group);
            }
            dbt.ShowDropDown();
        }
 //专题图输出范围设置
 void _btnSetThemeGraphRegion_Click(object sender, EventArgs e)
 {
     LoadThemeGraphRegion();
     _btnSetThemeGraphRegion.ShowDropDown();
 }
Esempio n. 8
0
 void _btnAvgNDVISetting_Click(object sender, EventArgs e)
 {
     _btnAvgNDVISetting.ShowDropDown();
 }