private void saveTableToCSVClick(object sender, EventArgs e) { RaportFunctions.SaveRaportToCSV(dataGridView1); }
private void saveRaportDetailsToCSVClick(object sender, EventArgs e) { RaportFunctions.SaveRaportToCSV(numberOfOrdersLabel, totalValueOfOrdersLabel, averageValueOfOrdersLabel); }
private void OrdersByNameClick(object sender, EventArgs e) { LoadAllDataGridVievData(dataGridView1, database); RaportFunctions.OrdersByName(numberOfOrdersByNameIdInput, dataGridView1); }
private void OrdersInRangeClick(object sender, EventArgs e) { LoadAllDataGridVievData(dataGridView1, database); RaportFunctions.OrdersInRange(numericUpDown6, numericUpDown7, dataGridView1); }
private void AverageValueOfOrdersClick(object sender, EventArgs e) { LoadAllDataGridVievData(dataGridView1, database); RaportFunctions.AvarageValueOfOrders(averageValueOfOrdersIdInput, averageValueOfOrdersLabel, dataGridView1); }
private void ListOrdersClick(object sender, EventArgs e) { LoadAllDataGridVievData(dataGridView1, database); RaportFunctions.ListOfOrders(listOfOrdersIdInput, dataGridView1); }
private void ValueOfOrdersClick(object sender, EventArgs e) { LoadAllDataGridVievData(dataGridView1, database); RaportFunctions.ValueOfOrders(totalValueOfOrdersIdInput, totalValueOfOrdersLabel, dataGridView1); }
private void NumberOfOrdersClick(object sender, EventArgs e) { LoadAllDataGridVievData(dataGridView1, database); RaportFunctions.NumberOfOrders(numberOfOrdersIdInput, numberOfOrdersLabel, dataGridView1); }
private void selectFileButton_Click(object sender, EventArgs e) { database.DeleteDatabase(); RaportFunctions.LoadFromFiles(database, selectedFilesLabel, dataGridView1); }