private void BinocularsProductsBackBtn_Click(object sender, EventArgs e) { BinocularsListBoxColour.ClearSelected(); BinocularBrandList.ClearSelected(); BinocularTypeList.ClearSelected(); this.Hide(); }
private void BinocularsProductsClearBtn_Click(object sender, EventArgs e) { BinocularsPrice.Text = "5000"; BinocularsPriceBar.Value = 5000; BinocularsStrenghtText.Text = ""; BinocularsListBoxColour.ClearSelected(); BinocularBrandList.ClearSelected(); BinocularTypeList.ClearSelected(); BinocularsDataView.DataSource = Reader.GetProductsDataTable(); }