private void NewMenu_Click(object sender, EventArgs e)
        {
            newMen = new newMenu();
            newMen.ShowDialog();
            newMen.Closed += NewMen_Closed;
            if (newMen.IsSaved)
            {
                newMenus.Add(newMen);

                categories.Add(newMen.Category);
                categoryWindows[newMen.CategoryID] = newMen.Category;
                addCategoryPanel(newMen.CategoryName, newMen.CategoryID);
            }
        }
        private void menuSetting_Click(object sender, EventArgs e)
        {
            Console.WriteLine("only settiiiings");
            Button     btn   = sender as Button;
            StackPanel p1    = (StackPanel)btn.Parent;
            StackPanel p2    = (StackPanel)p1.Parent;
            Category   categ = categoryWindows.ElementAt(clickedCategID).Value;
            newMenu    m     = new newMenu(categ);

            m.ShowDialog();
            if (m.IsSaved)
            {
                categ.CategName = m.CategoryName;
                categ.CategImg  = m.CategoryImg;
                EnumVisual(this, p2, categ);
            }
        }