Exemplo n.º 1
0
        private void GlassesProductsBackBtn_Click(object sender, EventArgs e)
        {
            BrandListBox.ClearSelected();
            GlassTypeListBox.ClearSelected();
            FrameTypeListBox.ClearSelected();
            GlasseslistBoxColour.ClearSelected();

            this.Hide();
        }
Exemplo n.º 2
0
        private void GlassesProductsClearBtn_Click(object sender, EventArgs e)
        {
            GlassesPrice.Text           = "5000";
            GlassesPriceBar.Value       = 5000;
            GlassLeftStrengthText.Text  = "";
            GlassRightStrengthText.Text = "";

            BrandListBox.ClearSelected();
            GlassTypeListBox.ClearSelected();
            FrameTypeListBox.ClearSelected();
            GlasseslistBoxColour.ClearSelected();
            GlassesDataView.DataSource = Reader.GetProductsDataTable();
        }