Exemple #1
0
        public void Dispose()
        {
            foreach (var customButton in GetAllButtons())
            {
                customButton.Image?.Dispose();
            }

            buttonsCollection = null;
            libManager        = null;
        }
Exemple #2
0
 public CustomButtonsManager(ButtonsCollection buttonsCollection, ImageLibraryManager libManager)
 {
     this.buttonsCollection = buttonsCollection;
     this.libManager        = libManager;
 }