예제 #1
0
 private void CreateChangePropertiesSubMenu(string propertyPath, TreeNode parentNode, string section, MOG_PropertiesIni ripMenu)
 {
     for (int i = 0; i < ripMenu.CountProperties(section, "MenuItem"); i++)
     {
         MOG_Property property = ripMenu.GetPropertyByIndex(section, "MenuItem", i);
         if (property != null)
         {
             string menuItem = property.mPropertyKey;
             if (propertyPath.Length == 0)
             {
                 CreateChangePropertiesMenuItem(menuItem, parentNode, section, menuItem, ripMenu);
             }
             else
             {
                 CreateChangePropertiesMenuItem(propertyPath + "/" + menuItem, parentNode, section, menuItem, ripMenu);
             }
         }
     }
 }