Example #1
0
        public MENU Hide <MENU>() where MENU : IMenu
        {
            MENU returnMenu = GetMenu <MENU>();

            if (returnMenu != null)
            {
                returnMenu.Hide();
            }
            return(returnMenu);
        }
Example #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            String type = Properties.Settings.Default.type;

            if (type == "utilisateur")
            {
                settings.Hide();
            }


            hideAll(user_Login1, null);
            MENU.Hide();
            user_Login1.load(this);
        }