using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Brovi07.session1 { public partial class saleTovar : Form { public saleTovar() { InitializeComponent(); } private void saleTovar_Load(object sender, EventArgs e) { // TODO: данная строка кода позволяет загрузить данные в таблицу "broviDataSet.ProductSale". При необходимости она может быть перемещена или удалена. this.productSaleTableAdapter.Fill(this.broviDataSet.ProductSale); } private void exitButton_Click(object sender, EventArgs e) { this.Close(); AutorizationForm form = new AutorizationForm(); form.Show(); } private void filtrButton_Click(object sender, EventArgs e) { productSaleBindingSource.Sort = "SaleDate Desc"; } } }