protected void FirePageFull(ExporterCollection items) { var newPage = new NewPageEventArgs(items, SinglePage.SectionBounds); EventHelper.Raise <NewPageEventArgs>(PageFull, this, newPage); SinglePage.SectionBounds = newPage.SectionBounds; }
private void OnNavigateNewPage(object sender, NewPageEventArgs e) { var webPage = CreateWebPage(e.Url); xtraTabControl.TabPages.Add(webPage); xtraTabControl.SelectedTabPage = webPage; UpdateTabControlState(); webPage.Navigate(); }
private void OnPageFull(object sender, NewPageEventArgs e) { this.SinglePage.Items.AddRange(e.ItemsList); PageBreak(); e.SectionBounds = SinglePage.SectionBounds; }
private void OnPageFull(object sender, NewPageEventArgs e) { this.SinglePage.Items.AddRange(e.ItemsList); SetPageFull(); PageBreak(); }