private void btnConvertExcel_Click(object sender, EventArgs e)
 {
     Class.ExportToExcel.Export2Excel(dgvPrintStockExcel);
     frmCheckStockExcel frm = new frmCheckStockExcel();
     frm.Close();
 }
Exemple #2
0
 private void btnCkStock_Click(object sender, EventArgs e)
 {
     string MainCateId = cboMainCate.SelectedValue.ToString();
     Stock.frmCheckStockExcel frmexcel = new frmCheckStockExcel();
     frmexcel.setMainCateId = Convert.ToInt16(MainCateId);
     frmexcel.ShowDialog();
 }