protected override void OnClick(EventArgs e)
    	{
    		base.OnClick(e);
    		
    		Point p = new Point(0, Height);
    		p = PointToScreen(p);
			
			using (ColorPaletteDialog clDlg = new ColorPaletteDialog(p.X, p.Y)) {
		    	clDlg.ShowDialog(ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.MainForm);    	 
				if (clDlg.DialogResult == DialogResult.OK) {
		    		CenterColor = clDlg.Color;
				}
			}
	    		
    	}  	    
        protected override void OnClick(EventArgs e)
        {
            base.OnClick(e);

            Point p = new Point(0, Height);

            p = PointToScreen(p);

            using (ColorPaletteDialog clDlg = new ColorPaletteDialog(p.X, p.Y)) {
                clDlg.ShowDialog(ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.MainForm);
                if (clDlg.DialogResult == DialogResult.OK)
                {
                    CenterColor = clDlg.Color;
                }
            }
        }