void dataGridView2_CellToolTipTextNeeded(object sender, DataGridViewCellToolTipTextNeededEventArgs e)
 {
     if (e.RowIndex >= 0 && e.ColumnIndex == 4)
     {
         SimplePluginDependency depItem = pluginDepBindSource[e.RowIndex] as SimplePluginDependency;
         if (depItem.CurrentVersion != null)
         {
             e.ToolTipText = string.Format("since MediaPortal {0}",
                                           MediaPortal.Common.Utils.CompatibilityManager.MediaPortalReleaseForApiVersion(depItem.CurrentVersion));
         }
     }
 }
        void dataGridView2_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
        {
            SimplePluginDependency depItem = pluginDepBindSource[e.RowIndex] as SimplePluginDependency;

            if (depItem == null)
            {
                return;
            }
            else
            {
                Version compatibleVersion = null;
                try { compatibleVersion = new Version(depItem.CompatibleVersionItem.DesignedForVersion); }
                catch { }
                if (compatibleVersion != null && depItem.CurrentVersion != null)
                {
                    e.CellStyle.ForeColor = depItem.CurrentVersion > compatibleVersion ? Color.Red : Color.Green;
                }
            }
        }