Exemplo n.º 1
0
        public void SetTileImage(String imagePath)
        {
            if (_tileImage == imagePath) return;

            _tileImage = imagePath;
            _bgImage = String.IsNullOrEmpty(imagePath) ? null : new AlphaImage(imagePath);

            NotifyPropertyChanged("TileImage");
        }
Exemplo n.º 2
0
 public TransparentPictureBox(String ResourcePath, Assembly Assembly)
     : base()
 {
     _AlphaImage = new AlphaImage(Assembly.GetManifestResourceStream(ResourcePath));
 }
Exemplo n.º 3
0
 protected virtual void UpdateIconImage()
 {
     if ((! String.IsNullOrEmpty(_iconPath)) && (!IsExecutableIcon()))
         _iconImage = new AlphaImage(_iconPath);
     else
         _iconImage = null;
 }