예제 #1
0
 void executePrivate( )
 {
     /* GeneXus formulas */
     /* Output device settings */
     GXt_objcol_SdtHomeSampleData_HomeSampleDataItem1 = AV5HomeSampleData;
     new GeneXus.Programs.wwpbaseobjects.gethomesampledata(context).execute(out GXt_objcol_SdtHomeSampleData_HomeSampleDataItem1);
     AV5HomeSampleData = GXt_objcol_SdtHomeSampleData_HomeSampleDataItem1;
     Gxv1skipcount     = 0;
     AV12GXV1          = 1;
     while (AV12GXV1 <= AV5HomeSampleData.Count)
     {
         AV6HomeSampleDataItem       = ((GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem)AV5HomeSampleData.Item(AV12GXV1));
         Gxv1skipcount               = (int)(Gxv1skipcount + 1);
         Gxm2homesamplenamevaluedata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleNameValueData_HomeSampleNameValueDataItem(context);
         Gxm3rootcol.Add(Gxm2homesamplenamevaluedata, 0);
         Gxm2homesamplenamevaluedata.gxTpr_Name  = AV6HomeSampleDataItem.gxTpr_Productname;
         Gxm2homesamplenamevaluedata.gxTpr_Value = AV6HomeSampleDataItem.gxTpr_Productprice;
         if ((6 != 0) && (Gxv1skipcount >= 6))
         {
             /* Exit For each command. Update data (if necessary), close cursors & exit. */
             if (true)
             {
                 break;
             }
         }
         AV12GXV1 = (int)(AV12GXV1 + 1);
     }
     if (context.WillRedirect( ))
     {
         context.Redirect(context.wjLoc);
         context.wjLoc = "";
     }
     this.cleanup();
 }
 void executePrivate( )
 {
     /* GeneXus formulas */
     /* Output device settings */
     GXt_objcol_SdtHomeModulesSDT_HomeModulesSDTItem1 = AV5HomeModulesSDT;
     new GeneXus.Programs.wwpbaseobjects.gethomemodulessample(context).execute(out GXt_objcol_SdtHomeModulesSDT_HomeModulesSDTItem1);
     AV5HomeModulesSDT = GXt_objcol_SdtHomeModulesSDT_HomeModulesSDTItem1;
     Gxv1skipcount     = 0;
     AV12GXV1          = 1;
     while (AV12GXV1 <= AV5HomeModulesSDT.Count)
     {
         AV6HomeModulesSDTItem = ((GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem)AV5HomeModulesSDT.Item(AV12GXV1));
         Gxv1skipcount         = (int)(Gxv1skipcount + 1);
         Gxm2homemodulessdt    = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
         Gxm3rootcol.Add(Gxm2homemodulessdt, 0);
         Gxm2homemodulessdt.gxTpr_Optiontitle               = AV6HomeModulesSDTItem.gxTpr_Optiontitle;
         Gxm2homemodulessdt.gxTpr_Optioniconthemeclass      = AV6HomeModulesSDTItem.gxTpr_Optioniconthemeclass;
         Gxm2homemodulessdt.gxTpr_Optionbackgroundimage     = AV6HomeModulesSDTItem.gxTpr_Optionbackgroundimage;
         Gxm2homemodulessdt.gxTpr_Optionbackgroundimage_gxi = AV6HomeModulesSDTItem.gxTpr_Optionbackgroundimage_gxi;
         Gxm2homemodulessdt.gxTpr_Optiondescription         = AV6HomeModulesSDTItem.gxTpr_Optiondescription;
         if ((4 != 0) && (Gxv1skipcount >= 4))
         {
             /* Exit For each command. Update data (if necessary), close cursors & exit. */
             if (true)
             {
                 break;
             }
         }
         AV12GXV1 = (int)(AV12GXV1 + 1);
     }
     this.cleanup();
 }