public void SetTileImage(String imagePath) { if (_tileImage == imagePath) return; _tileImage = imagePath; _bgImage = String.IsNullOrEmpty(imagePath) ? null : new AlphaImage(imagePath); NotifyPropertyChanged("TileImage"); }
public TransparentPictureBox(String ResourcePath, Assembly Assembly) : base() { _AlphaImage = new AlphaImage(Assembly.GetManifestResourceStream(ResourcePath)); }
protected virtual void UpdateIconImage() { if ((! String.IsNullOrEmpty(_iconPath)) && (!IsExecutableIcon())) _iconImage = new AlphaImage(_iconPath); else _iconImage = null; }