private void Form1_Load(object sender, EventArgs e)
{
fpSpread1.Sheets[0].Cells[1, 1].Value = DateTime.Now;
}
private void button1_Click(object sender, EventArgs e)
{
//Date Occurs CF
FarPoint.Win.Spread.TimePeriodConditionalFormattingRule time = new FarPoint.Win.Spread.TimePeriodConditionalFormattingRule(FarPoint.Win.Spread.TimePeriod.Last7Days);
time.TimePeriod = FarPoint.Win.Spread.TimePeriod.Last7Days;
time.ForeColor = Color.Magenta;
fpSpread1.ActiveSheet.SetConditionalFormatting(1, 1, time);
}