Пример #1
0
        private void SetToolbarImages()
        {
            var toolbarImageList = MappingDetailsImages.GetToolbarImageList();

            tablesButton.Image = toolbarImageList.Images[MappingDetailsImages.TOOLBAR_TABLE];
            sprocsButton.Image = toolbarImageList.Images[MappingDetailsImages.TOOLBAR_SPROCS];
        }
Пример #2
0
 public void SetToolbarThemedColors()
 {
     toolbar.BackColor = VSColorTheme.GetThemedColor(EnvironmentColors.CommandBarOptionsBackgroundColorKey);
     MappingDetailsImages.InvalidateCache();
     SetToolbarImages();
 }