/// <Summary>
/// defined lable exceeds the first page is hidden
/// </ Summary>
/// <param name = "SENDER"> </ param>
/// <param name = "E"> </ param>
void LablePrintOnPage (Object SENDER, PrintOnPageEventArgs E)
{
XRLabel B = (XRLabel) SENDER; // call when there are a plurality of buttons when the same event, determines which specific button clicks
// hide beyond the first page
if (e.PageIndex != 0)
{
b.Visible = false;
}
}
XRLabel DrugWindows = report.FindControl("XRLabel15", true) as XRLabel;
DrugWindows.PrintOnPage += LablePrintOnPage;