Ejemplo n.º 1
0
 private void setDisplayToolStripMenuItem_Click(object sender, EventArgs e)
 {
     string name = this.m_SiteNode.TreeView.SelectedNode.Name;
     DisplayPara siteDisplayPara = this.m_Editor.GetSiteDisplayPara(name);
     DispParamForm form = new DispParamForm(siteDisplayPara, NetEntityType.Site);
     if (form.ShowDialog() == DialogResult.OK)
     {
         this.m_Editor.UpdateSiteGroupDisplay(name, siteDisplayPara, this.GetCurSeletedNode());
     }
 }
Ejemplo n.º 2
0
 private void dgvLegend_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if ((e.ColumnIndex == 0) & (e.RowIndex != -1))
     {
         int index = Convert.ToInt32(this.dgvLegend.Rows[e.RowIndex].Tag);
         DispParamForm form = new DispParamForm(this.m_Editor.GetPlayPara(index), NetEntityType.Transceiver);
         if (form.ShowDialog(this) == DialogResult.OK)
         {
             this.m_Editor.SetPlayPara(index, form.DisPlayPara);
             this.dgvLegend.Rows[e.RowIndex].Height = form.DisPlayPara.IconSize;
             this.SetEnable();
         }
         this.OnUpdateEvent();
     }
 }
Ejemplo n.º 3
0
 private void SiteSymbolStyle_Click(object sender, EventArgs e)
 {
     DispParamForm form = new DispParamForm(this.m_Editor.GisDisplay.SiteDisPlayPara, NetEntityType.Site);
     if (form.ShowDialog(this) == DialogResult.OK)
     {
         this.m_Editor.GisDisplay.SiteDisPlayPara = form.DisPlayPara;
         this.SetApplyBtnEnable();
     }
 }