/// <summary> /// Handles the Click event of the btrRefresh control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> protected void btrRefresh_Click(object sender, EventArgs e) { try { theReports = (IReportIQTools)ObjectFactory.CreateInstance("BusinessProcess.Reports.IQToolsReport, BusinessProcess.Reports"); theReports.ImportReportsFromIQTools(false); this.PopulateData(); } catch (Exception ex) { IQCareMsgBox.Show("IQToolsNotConfugured", this); } }
/// <summary> /// Handles the Click event of the btrRefresh control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> protected void btrRefresh_Click(object sender, EventArgs e) { theReports.ImportReportsFromIQTools(false); this.PopulateData(); }