Example #1
0
 /// <summary>
 /// Handles the Click event of the btnStockOut 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 btnStockOut_Click(object sender, EventArgs e)
 {
     try
     {
         DataOperator.DataOut(this.gvStockMain, "库存信息");
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message);
     }
 }
Example #2
0
 private void btnDerived_Click(object sender, EventArgs e)
 {
     try
     {
         DataOperator.DataOut(this.gvEmployeeMain, "员工信息");
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message);
     }
 }