Creating a toolbar of globe tools
ColorCommand.cs
// Copyright 2010 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using ESRI.ArcGIS.ADF.BaseClasses;
using ESRI.ArcGIS.ADF.CATIDs;
using System.Windows.Forms;


namespace GlobeGraphicsToolbar
{
    public class ColorCommand : ESRI.ArcGIS.Desktop.AddIns.Button
    {
        private ColorPalette _colorPalette = null;

        public ColorCommand()
        {
            _colorPalette = new ColorPalette();

            ColorSelection.SetColor(_colorPalette.Red, _colorPalette.Green, _colorPalette.Blue);
        }

        protected override void OnClick()
        {
            if (_colorPalette.IsColorSelected() == true)
            {
                ColorSelection.SetColor(_colorPalette.Red, _colorPalette.Green, _colorPalette.Blue);
            }      
        }

        protected override void OnUpdate()
        {
            Enabled = ArcGlobe.Application != null;
        }
    }
}