private void button7_Click(object sender, EventArgs e)
 {
     groupBox2.Visible = true;
     Models.Products products = business.GetProducts().Where(x => x.Name == comboBox5.Text).Select(n => n).FirstOrDefault();
     textBox9.Text  = products.Name;
     textBox8.Text  = products.Price.ToString();
     textBox7.Text  = products.Description;
     comboBox4.Text = products.CategoryName;
 }
 private void button5_Click(object sender, EventArgs e)
 {
     Models.Products products = business.GetProducts().Where(x => x.Name == comboBox2.Text).Select(n => n).FirstOrDefault();
     products.Name        = textBox6.Text;
     products.Price       = float.Parse(textBox5.Text);
     products.Description = textBox4.Text;
     business.Edit(products);
     MessageBox.Show("Ürün başarıyla düzenlendi.", "Başarılı");
 }