using System;
using SystemData;
using SystemConfiguration;
using SystemCollections;
using SystemWeb;
using SystemWebSecurity;
using SystemWebUI;
using SystemWebUIWebControls;
using SystemWebUIWebControlsWebParts;
using SystemWebUIHtmlControls;
using SystemDrawing;
public partial class Default : SystemWebUIPage
{
protected void Page_Load(object sender EventArgs e)
{
string k = getStrColor();
LabelForeColor=SystemDrawingColorFromName( getStrColor());
// LabelForeColor=ColorFromArgb(randomNext()randomNext()randomNext());
}
private static Random rand = new Random();
public static string getStrColor()
{
Color color = ColorFromArgb(randNext());
string strColor = # + ConvertToString(colorToArgb() )PadLeft( )Substring( );
return strColor;
}
}