The blog has moved to a new address. The blog is now located at http://devintelligence.com

Adsense

Friday, January 12, 2007

Open source C# SourceForge implementation

SharpForge supports collaborative development and management of multiple software projects. Similar to SourceForge or CodePlex but for your own team or organisation. The software is written in C# for .NET 2.0 is integrates with Subversion for source control and is released under the New BSD License.

 

Features

  • Multi Portal
  • Multi Project
  • Subversion Administration
  • Work Item Tracking
  • Project Forums
  • Release Management
  • Subversion Wiki
  • Browse Source Code
  • News Feed Aggregation

 

Download SharpForge

[Via Larkware News]

Tuesday, January 09, 2007

A function to calculate the opposite color of given color

/// <summary>
/// Calculates the opposite color
/// </summary>
/// <param name="clr">Given color</param>
/// <returns></returns>
public static Color CalculateOppositeColor(Color clr)
{
return Color.FromArgb(255 - clr.R, 255 - clr.G, 255 - clr.B);
}