void InitializeToolbar()
        {
            toolbarDelegate = new PreferencesToolbarDelegate(tabs);
            toolbarDelegate.SelectionChanged += HandleSelectionChanged;

            Window.Toolbar = CreateToolbar();

            HandleSelectionChanged(this, null);             // Called once when the window is created to make first tab visible
        }
        void InitializeToolbar()
        {
            toolbarDelegate = new PreferencesToolbarDelegate(tabs);
            toolbarDelegate.SelectionChanged += HandleSelectionChanged;

            Window.Toolbar = CreateToolbar ();

            HandleSelectionChanged(this, null); // Called once when the window is created to make first tab visible
        }