Example #1
0
 public DispParamForm(DisplayPara disPlayPara, NetEntityType displayType)
 {
     this.InitializeComponent();
     this.m_SymbolBitmapExample = new Bitmap(this.pnlExample.Size.Width, this.pnlExample.Size.Height);
     this.m_FontBitmapExample = new Bitmap(this.FontPreView.Size.Width, this.FontPreView.Size.Height);
     this.m_DisPlayPara = disPlayPara;
     if (displayType == NetEntityType.Transceiver)
     {
         this.InitIconCellTablePage();
     }
     else
     {
         this.InitIconSiteTablePage();
     }
     this.InitFontTablePage();
 }
Example #2
0
 public void SetSiteGroupDispStyle(DisplayPara para, string groupName, List<short> idList)
 {
     this.m_NetEntityData.SetSiteGroupStyle(para, groupName, idList);
 }
Example #3
0
 public void SetGeoSiteDisplayStyle(DisplayPara para)
 {
     this.m_NetEntityData.SetAllSitesDispParams(para);
 }
Example #4
0
 public void SetGeoCellDisplayStyle(DisplayPara para)
 {
     this.m_NetEntityData.SetAllAntennasDispParams(para);
 }
Example #5
0
 public DisplayPara Clone()
 {
     DisplayPara para = new DisplayPara();
     para.Font = this.Font;
     para.FontColor = this.FontColor;
     para.FontSize = this.FontSize;
     para.FontSymbolStyle = this.FontSymbolStyle;
     para.IconNormalColor = this.IconNormalColor;
     para.IconSelectedColor = this.IconSelectedColor;
     para.IconSize = this.IconSize;
     para.IconSymbol = this.IconSymbol;
     para.IconForeColor = this.IconForeColor;
     return para;
 }
Example #6
0
 public void CopyFrom(DisplayPara another)
 {
     this.Font = another.Font;
     this.FontColor = another.FontColor;
     this.FontSize = another.FontSize;
     this.FontSymbolStyle = another.FontSymbolStyle;
     this.IconNormalColor = another.IconNormalColor;
     this.IconSelectedColor = another.IconSelectedColor;
     this.IconSize = another.IconSize;
     this.IconSymbol = another.IconSymbol;
 }