private void SearchButton_Click(object sender, EventArgs e)
        {
            // this.Hide();
            //Zoekresultaten zoek= new Zoekresultaten();
            // zoek.Show();
            string sel  = ShowSelected();
            DbMeal Meal = new DbMeal();

            Meal.FilterCategories(sel);
            listBox2.Items.Clear();
            foreach (Meal m in Meal.Meals)
            {
                listBox2.Items.Add(m.Name);
            }
        }
        public FiltersScherm()
        {
            InitializeComponent();
            listBox2.Items.Clear();
            DbMeal Meal = new DbMeal();

            foreach (Meal m in Meal.Meals)
            {
                listBox2.Items.Add(m.Name);
            }
            // Dynamically Load Categories in Panel
            cat = new DbCategories();
            int top = 0;

            //Font f = new Font();
            foreach (Category c in cat.Categories)
            {
                CheckBox   chk = new CheckBox();
                PictureBox pic = new PictureBox();
                chk.Font = new Font("Microsoft Sans Serif", 12, FontStyle.Bold);

                chk.Text = c.Characteristic;
                chk.Name = "chk" + c.Id;
                chk.Left = 10;
                chk.Top  = top + 20;
                chk.Size = new System.Drawing.Size(140, 30);
                pic.Name = "pic" + c.Id;
                chk.Tag  = c.Id;
                object O = ResourceImages.ResourceManager.GetObject(c.Image.Trim()); //.Chicken;//ResourceImages.ResourceManager.GetObject(c.Image);
                pic.Image    = (Image)O;
                pic.Left     = 150;
                pic.Top      = top;
                pic.Size     = new System.Drawing.Size(50, 50);
                pic.SizeMode = PictureBoxSizeMode.StretchImage;

                panel1.Controls.Add(chk);
                panel1.Controls.Add(pic);
                top = top + 50;
            }
        }