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(); }
public void SetSiteGroupDispStyle(DisplayPara para, string groupName, List<short> idList) { this.m_NetEntityData.SetSiteGroupStyle(para, groupName, idList); }
public void SetGeoSiteDisplayStyle(DisplayPara para) { this.m_NetEntityData.SetAllSitesDispParams(para); }
public void SetGeoCellDisplayStyle(DisplayPara para) { this.m_NetEntityData.SetAllAntennasDispParams(para); }
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; }
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; }