using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Drawing; using System.Data; using FastReport; using FastReport.Data; using FastReport.Dialog; using FastReport.Barcode; using FastReport.Table; using FastReport.Utils; namespace FastReport { public class ReportScript { private void Cell1_MouseEnter(object sender, EventArgs e) { TableCell cell = sender as TableCell; cell.Fill = new GlassFill(Color.DarkOrange, 0.2f, false); cell.Page.Refresh(); } private void Cell1_MouseLeave(object sender, EventArgs e) { TableCell cell = sender as TableCell; cell.Fill = new SolidFill(Color.FromArgb(77,77,77)); cell.Page.Refresh(); } private void Cell2_MouseLeave(object sender, EventArgs e) { TableCell cell = sender as TableCell; cell.Fill = new GlassFill(Color.FromArgb(64,64,64), 0.15f, false); cell.Page.Refresh(); } private void Cell3_MouseLeave(object sender, EventArgs e) { TableCell cell = sender as TableCell; cell.Fill = new SolidFill(Color.FromArgb(64,64,64)); cell.Page.Refresh(); } } }