Exemple #1
0
 private void button3_Click_1(object sender, EventArgs e)
 {
     if (init)
     {
         RepeatedFunctions.SaveAsExcel(MYdgv, Nm, _ColNames);
     }
 }
Exemple #2
0
 private void Save_Click(object sender, EventArgs e)
 {
     if (CbAll.Checked)
     {
         RepeatedFunctions.SaveAsExcel(DGVin, $"Sales All.csv", new string[] { "Sale ID", "Date", "Total Items", "Total" });
     }
     else
     {
         RepeatedFunctions.SaveAsExcel(DGVin, $"Sales {datepick.Value.ToString("yyyyMMdd")}.csv", new string[] { "Sale ID", "Date", "Total Items", "Total" });
     }
 }
Exemple #3
0
 private void Save_Click1(object sender, EventArgs e)
 {
     RepeatedFunctions.SaveAsExcel(DGVit, $"Sold Items.csv", new string[] { "Item ID", "Name", "Qty", "Total" });
 }