private void btCancel_Click(object sender, EventArgs e) { string name = "文件YY"; EmptyUI.Excel ex = new EmptyUI.Excel(); ex.RExcel(name, dataGridView1); }
private void button1_Click(object sender, EventArgs e) { EmptyUI.Excel excel = new EmptyUI.Excel(); excel.RExcel("YY", dataGridView1); }
private void button2_Click(object sender, EventArgs e) { EmptyUI.Excel ex = new EmptyUI.Excel(); ex.RExcel("SweetyoYY", dataGridView1); }