public static Control Create()
        {
            TreeStyleMenu result = new TreeStyleMenu();

            CreateMainMenu cm = new CreateMainMenu();
            DataSet data = cm.GetData();
            result.SetMenu(data.Tables[0]);
            return result;
        }
Example #2
0
        public static Control Create()
        {
            TreeStyleMenu result = new TreeStyleMenu();

            CreateMainMenu cm   = new CreateMainMenu();
            DataSet        data = cm.GetData();

            result.SetMenu(data.Tables[0]);
            return(result);
        }