示例#1
0
 private void saveTableToCSVClick(object sender, EventArgs e)
 {
     RaportFunctions.SaveRaportToCSV(dataGridView1);
 }
示例#2
0
 private void saveRaportDetailsToCSVClick(object sender, EventArgs e)
 {
     RaportFunctions.SaveRaportToCSV(numberOfOrdersLabel, totalValueOfOrdersLabel, averageValueOfOrdersLabel);
 }
示例#3
0
 private void OrdersByNameClick(object sender, EventArgs e)
 {
     LoadAllDataGridVievData(dataGridView1, database);
     RaportFunctions.OrdersByName(numberOfOrdersByNameIdInput, dataGridView1);
 }
示例#4
0
 private void OrdersInRangeClick(object sender, EventArgs e)
 {
     LoadAllDataGridVievData(dataGridView1, database);
     RaportFunctions.OrdersInRange(numericUpDown6, numericUpDown7, dataGridView1);
 }
示例#5
0
 private void AverageValueOfOrdersClick(object sender, EventArgs e)
 {
     LoadAllDataGridVievData(dataGridView1, database);
     RaportFunctions.AvarageValueOfOrders(averageValueOfOrdersIdInput, averageValueOfOrdersLabel, dataGridView1);
 }
示例#6
0
 private void ListOrdersClick(object sender, EventArgs e)
 {
     LoadAllDataGridVievData(dataGridView1, database);
     RaportFunctions.ListOfOrders(listOfOrdersIdInput, dataGridView1);
 }
示例#7
0
 private void ValueOfOrdersClick(object sender, EventArgs e)
 {
     LoadAllDataGridVievData(dataGridView1, database);
     RaportFunctions.ValueOfOrders(totalValueOfOrdersIdInput, totalValueOfOrdersLabel, dataGridView1);
 }
示例#8
0
 private void NumberOfOrdersClick(object sender, EventArgs e)
 {
     LoadAllDataGridVievData(dataGridView1, database);
     RaportFunctions.NumberOfOrders(numberOfOrdersIdInput, numberOfOrdersLabel, dataGridView1);
 }
示例#9
0
 private void selectFileButton_Click(object sender, EventArgs e)
 {
     database.DeleteDatabase();
     RaportFunctions.LoadFromFiles(database, selectedFilesLabel, dataGridView1);
 }