Exemplo n.º 1
0
 public override void initialize( )
 {
     wcpOAV7Geolocation = "";
     gxfirstwebparm     = "";
     gxfirstwebparm_bkp = "";
     sDynURL            = "";
     FormProcess        = "";
     bodyStyle          = "";
     GXKey         = "";
     GxMapData     = new SdtGxMap(context);
     AV10Latitude  = "";
     AV11Longitude = "";
     Googlemapcontrol1_Latitude  = "";
     Googlemapcontrol1_Longitude = "";
     GX_FocusControl             = "";
     sPrefix   = "";
     Form      = new GXWebForm();
     sEvt      = "";
     EvtGridId = "";
     EvtRowId  = "";
     sEvtType  = "";
     AV12SplittedGeolocation = new GxSimpleCollection <String>();
     GxMapPoint             = new SdtGxMap_Point(context);
     ucGooglemapcontrol1    = new GXUserControl();
     sStyleString           = "";
     ClassString            = "";
     StyleString            = "";
     TempTags               = "";
     bttBtnenter_Jsonclick  = "";
     bttBtncancel_Jsonclick = "";
     BackMsgLst             = new msglist();
     LclMsgLst              = new msglist();
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 2
0
 public override void initialize( )
 {
     gxfirstwebparm     = "";
     gxfirstwebparm_bkp = "";
     sDynURL            = "";
     FormProcess        = "";
     bodyStyle          = "";
     GXKey                         = "";
     GX_FocusControl               = "";
     Form                          = new GXWebForm();
     sPrefix                       = "";
     ClassString                   = "";
     StyleString                   = "";
     TempTags                      = "";
     bttBtntest_Jsonclick          = "";
     sEvt                          = "";
     EvtGridId                     = "";
     EvtRowId                      = "";
     sEvtType                      = "";
     sStyleString                  = "";
     ucDvelop_confirmpanel_btntest = new GXUserControl();
     BackMsgLst                    = new msglist();
     LclMsgLst                     = new msglist();
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 3
0
 public override void initialize( )
 {
     wcpOAV5OptionTitle = "";
     gxfirstwebparm     = "";
     gxfirstwebparm_bkp = "";
     sPrefix            = "";
     sDynURL            = "";
     FormProcess        = "";
     bodyStyle          = "";
     GXKey               = "";
     GX_FocusControl     = "";
     ucUcpb              = new GXUserControl();
     Form                = new GXWebForm();
     sXEvt               = "";
     sEvt                = "";
     EvtGridId           = "";
     EvtRowId            = "";
     sEvtType            = "";
     BackMsgLst          = new msglist();
     LclMsgLst           = new msglist();
     sCtrlAV5OptionTitle = "";
     sCtrlAV6Percentage  = "";
     /* GeneXus formulas. */
     context.Gx_err           = 0;
     edtavOptiontitle_Enabled = 0;
 }
Exemplo n.º 4
0
        public void GenerateSimpleUC()
        {
            GXUserControl ucMycontrol1 = new GXUserControl();

            UserControlFactoryImpl factory = new UserControlFactoryImpl();
            GxDictionary           propbag = new GxDictionary();

            string GetTemplateFile(string type)
            {
                return("TestModule.MyControl.view");
            }

            var context = new GxContext();

            StringBuilder sb = new StringBuilder();

            context.OutputWriter = new HtmlTextWriter(new StringWriter(sb));
            UserControlGenerator.GetTemplateAction = GetTemplateFile;

            // Initialize Data in SDT Collection
            var    AV6ItemCollection = new GXBaseCollection <SdtItem>(context, "Item", "testuc");
            string HELLO             = "Hello Test UC";
            string ONE     = "One";
            string TWO     = "Two";
            var    AV7Item = new SdtItem(context)
            {
                gxTpr_Name = ONE
            };

            AV6ItemCollection.Add(AV7Item, 0);
            AV7Item = new SdtItem(context)
            {
                gxTpr_Name = TWO
            };
            AV6ItemCollection.Add(AV7Item, 0);
            ucMycontrol1.SetProperty("Items", AV6ItemCollection);

            ucMycontrol1.SetProperty("Message", HELLO);
            ucMycontrol1.SetProperty("Boolean", true);
            ucMycontrol1.Render(context, "testmodule.mycontrol", "internalName", "MYCONTROL1Container");

            string output = sb.ToString();

            AssertContains(ONE, output);
            AssertContains(TWO, output);
            AssertContains(HELLO, output);
            AssertContains("Boolean:true", output);
        }
Exemplo n.º 5
0
 public override void initialize( )
 {
    wcpOAV8TabCode = "";
    Tabs_Activepagecontrolname = "";
    gxfirstwebparm = "";
    gxfirstwebparm_bkp = "";
    sDynURL = "";
    FormProcess = "";
    bodyStyle = "";
    GXKey = "";
    AV12SelectedTabCode = "";
    GX_FocusControl = "";
    Form = new GXWebForm();
    sPrefix = "";
    lblWorkwithlink_Jsonclick = "";
    lblTxttabtitle_Jsonclick = "";
    ucTabs = new GXUserControl();
    lblGeneral_title_Jsonclick = "";
    WebComp_Generalwc_Component = "";
    OldGeneralwc = "";
    TempTags = "";
    ClassString = "";
    StyleString = "";
    bttBtngeneral_Jsonclick = "";
    sEvt = "";
    EvtGridId = "";
    EvtRowId = "";
    sEvtType = "";
    AV6WWPContext = new GeneXus.Programs.wwpbaseobjects.SdtWWPContext(context);
    scmdbuf = "";
    H002O2_A61BR_Demographics_ID = new long[1] ;
    BackMsgLst = new msglist();
    LclMsgLst = new msglist();
    pr_default = new DataStoreProvider(context, new GeneXus.Programs.br_demographicsview__default(),
       new Object[][] {
           new Object[] {
          H002O2_A61BR_Demographics_ID
          }
       }
    );
    WebComp_Generalwc = new GeneXus.Http.GXNullWebComponent();
    /* GeneXus formulas. */
    context.Gx_err = 0;
 }
Exemplo n.º 6
0
 public override void initialize( )
 {
     Contentholder  = new GXDataAreaControl();
     GXKey          = "";
     sPrefix        = "";
     ucUcmessage    = new GXUserControl();
     ucUctooltip    = new GXUserControl();
     ucWwputilities = new GXUserControl();
     sEvt           = "";
     EvtGridId      = "";
     EvtRowId       = "";
     sEvtType       = "";
     BackMsgLst     = new msglist();
     LclMsgLst      = new msglist();
     sDynURL        = "";
     Form           = new GXWebForm();
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 7
0
 public override void initialize( )
 {
     gxfirstwebparm     = "";
     gxfirstwebparm_bkp = "";
     sPrefix            = "";
     sDynURL            = "";
     FormProcess        = "";
     bodyStyle          = "";
     GXKey                = "";
     AV5vFckEditor        = "";
     AV7BR_MedicalImaging = new SdtBR_MedicalImaging(context);
     GX_FocusControl      = "";
     Form                         = new GXWebForm();
     sXEvt                        = "";
     sEvt                         = "";
     EvtGridId                    = "";
     EvtRowId                     = "";
     sEvtType                     = "";
     AV8tEncounterType            = "";
     AV9WebSession                = context.GetSession();
     sStyleString                 = "";
     ClassString                  = "";
     StyleString                  = "";
     ucVfckeditor                 = new GXUserControl();
     TempTags                     = "";
     bttButton1_Jsonclick         = "";
     BackMsgLst                   = new msglist();
     LclMsgLst                    = new msglist();
     sCtrlAV6iBR_MedicalImagingID = "";
     pr_datastore1                = new DataStoreProvider(context, new GeneXus.Programs.br_medicalshowupoloadimage__datastore1(),
                                                          new Object[][] {
     }
                                                          );
     pr_default = new DataStoreProvider(context, new GeneXus.Programs.br_medicalshowupoloadimage__default(),
                                        new Object[][] {
     }
                                        );
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 8
0
 public override void initialize( )
 {
     wcpOAV21tCurrentCode = "";
     gxfirstwebparm       = "";
     gxfirstwebparm_bkp   = "";
     sDynURL               = "";
     FormProcess           = "";
     bodyStyle             = "";
     GXKey                 = "";
     AV7UploadedFiles      = new GXBaseCollection <SdtFileUploadData>(context, "FileUploadData", "DataAnalysisPlatform");
     AV12BR_MedicalImaging = new SdtBR_MedicalImaging(context);
     GX_FocusControl       = "";
     Form              = new GXWebForm();
     sPrefix           = "";
     ucFileupload1     = new GXUserControl();
     sEvt              = "";
     EvtGridId         = "";
     EvtRowId          = "";
     sEvtType          = "";
     AV23cookie        = new GxHttpCookie();
     AV24httpresponse  = new GxHttpResponse(context);
     GXt_dbconnection1 = new GxDataStore();
     AV8FileUploadData = new SdtFileUploadData(context);
     AV18tBaseFile     = new GxFile(context.GetPhysicalPath());
     AV19tLargeHtml    = "";
     AV10tFileNewName  = "";
     AV22Context       = new GeneXus.Programs.wwpbaseobjects.SdtWWPContext(context);
     BackMsgLst        = new msglist();
     LclMsgLst         = new msglist();
     pr_datastore1     = new DataStoreProvider(context, new GeneXus.Programs.br_sduploadimage__datastore1(),
                                               new Object[][] {
     }
                                               );
     pr_default = new DataStoreProvider(context, new GeneXus.Programs.br_sduploadimage__default(),
                                        new Object[][] {
     }
                                        );
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }