public void RaiseSamplePrintEvent(object sender, SamplePrintEventArgs args) { if (SamplePrintEvent != null) { SamplePrintEvent(sender, args); } }
private void MyGridView1_SamplePrintEvent(object sender, SamplePrintEventArgs args) { args.Brick.Style.BackColor = Color.Pink; }