public static void SetSceneOnlyButtonsState(bool enabled)
 {
     SplineControls.UpdateSplineToolbox();
     Methods.Drawing.ObjectDrawing.RequestEntityVisiblityRefresh(true);
     Instance.EditorToolbar.SetSceneOnlyButtonsState(enabled);
     EditorToolbars.UpdateEditorToolbars();
 }
        /// <summary>
        /// Required method for ArcGIS Component Category unregistration -
        /// Do not modify the contents of this method with the code editor.
        /// </summary>
        private static void ArcGISCategoryUnregistration(Type registerType)
        {
            string regKey = string.Format("HKEY_CLASSES_ROOT\\CLSID\\{{{0}}}", registerType.GUID);

            EditorToolbars.Unregister(regKey);
        }