/// <summary> /// Raises the First Page event /// </summary> /// <param name="eventArgs"></param> protected virtual void OnFirstPage(FirstPageEventArgs eventArgs) { EventHandler <FirstPageEventArgs> handler = FirstPage; if (handler != null) { handler(this, eventArgs); } }
/// <summary> /// Executes the actions related to FirstPage event. /// </summary> /// <param name="sender">Sender.</param> /// <param name="eventArgs">FirstPageEventArgs.</param> protected void HandleDisplaySetFirstPage(object sender, FirstPageEventArgs eventArgs) { try { // Clear Oids stack Context.LastOids.Clear(); // Update data UpdateData(true); } catch (Exception e) { ScenarioManager.LaunchErrorScenario(e); } }
/// <summary> /// Raises the First Page event /// </summary> /// <param name="eventArgs"></param> protected virtual void OnFirstPage(FirstPageEventArgs eventArgs) { EventHandler<FirstPageEventArgs> handler = FirstPage; if (handler != null) { handler(this, eventArgs); } }