Esempio n. 1
0
 private void btnPrint_Click(object sender, EventArgs e)
 {
     try
     {
         DataOperator.DataPrint(this.lvPerformance, "员工信息", null);
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Handles the Click event of the btnStockPrint control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 /// 整理人:桂书丛
 /// 整理时间:2013-02-02
 private void btnStockPrint_Click(object sender, EventArgs e)
 {
     try
     {
         DataOperator.DataPrint(this.gvStock, "库存信息", this);
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message);
     }
 }