protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     BDM = new BDMiembro();
     APD = new BDAPAD();
     dic = new Diccionario(L, S);
     mst = (mast)Master;
     if (!IsPostBack)
     {
         try
         {
             Traducir();
             llenarhistorial();
             llenarcombos();
             llenarmese();
         }
         catch (Exception ex)
         {
             mst.mostrarMsjAdvNtf(ex.Message);
         }
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     BDM = new BDMiembro();
     APD = new BDAPAD();
     dic = new Diccionario(L, S);
     mst = (mast)Master;
     mst.contentCallEvent += new EventHandler(accionar);
     if (!IsPostBack)
     {
         if (!mst.verificarFuncion("BAP"))
         {
             Ingreso.Visible = false;
         }
         if (!mst.verificarFuncion("CIAP") == false)
         {
             gvhistorial.Visible = false;
         }
         try
         {
             traducir();
             llenarcombos();
         }
         catch (Exception ex)
         {
         }
     }
 }
Esempio n. 3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     mst = (mast)Master;
     dic = new Diccionario(L, S);
     mst.contentCallEvent += new EventHandler(accionar);
     if (!IsPostBack)
     {
         BDM = new BDMiembro();
         APD = new BDAPAD();
         dic = new Diccionario(L, S);
         try
         {
             valoresiniciales();
         }
         catch (Exception ex)
         {
         }
     }
     else
     {
     }
 }
Esempio n. 4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     L   = mast.L;
     S   = mast.S;
     dic = new Diccionario(L, S);
     mst = (mast)Master;
     mst.borrarIds();
     lblMemberId.Text               = dic.idMiembro + ":";
     lblFamilyId.Text               = dic.idFamilia + ":";
     lblFaroId.Text                 = dic.idFaro + ":";
     lnkBuscarFamilias.Text         = dic.familias;
     lnkBuscarMiembrosInfoEduc.Text = dic.MiembrosPorEducInfo;
     lnkBuscarMiembrosOtraInfo.Text = dic.MiembrosPorOtraInfo;
     lblBuscar.Text                 = dic.buscar + ":";
     if (L.Equals("es"))
     {
         lblO.Text = "o";
     }
     else
     {
         lblO.Text = "or";
     }
     configurarPorSitio();
     txbMemberId.Focus();
 }
        //////////////////////////////////////////////////////////////-EVENTOS-////////////////////////////////////////////////////////

        protected void Page_Load(object sender, EventArgs e)
        {
            M   = mast.M;
            L   = mast.L;
            S   = mast.S;
            F   = mast.F;
            U   = mast.U;
            BDM = new BDMiembro();
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            mst = (mast)Master;
            mst.contentCallEvent += new EventHandler(accionar);

            if (!IsPostBack)
            {
                try
                {
                    traducir();
                    LlenarCombos();
                    LlenarHistorial(S);
                }
                catch (Exception ex)
                {
                }
            }
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         BDU = new BDUsuario();
         U   = mast.U;
         L   = mast.L;
         S   = mast.S;
         BDU = new BDUsuario();
         dic = new Diccionario(L, S);
         lblNuevaPsw.Text            = "*" + dic.nuevaPsw + ":";
         lblConfPsw.Text             = "*" + dic.confirmarPsw + ":";
         lblActPsw.Text              = "*" + dic.actualPsw + ":";
         msjTituloPswNoCumple        = "<table style=\"textalign:left\"><tr><td><b>" + (L.Equals("es") ? "La nueva contraseña no cumple con las reglas:" : "The new password does not comply with the rules:") + "</b></td></tr>";
         refTxbActPsw.ErrorMessage   = dic.msjCampoNecesario;
         refTxbConfPsw.ErrorMessage  = dic.msjCampoNecesario;
         refTxbNuevaPsw.ErrorMessage = dic.msjCampoNecesario;
         txbActPsw.MaxLength         = 15;
         txbConfPsw.MaxLength        = 15;
         txbNuevaPsw.MaxLength       = 15;
         btnCambiarPsw.Text          = dic.actualizar;
         btnVerReglas.Text           = L.Equals("es") ? "Mostrar Reglas" : "Show Rules";
         txbActPsw.Focus();
     }
     mst = (mast)Master;
 }
Esempio n. 7
0
 protected void Page_Load(object sender, EventArgs e)
 {
     F = mast.F;
     M = mast.M;
     L = mast.L;
     S = mast.S;
     if (S.Equals("E") || S.Equals("A"))
     {
         gdvAvisos.Visible = false;
         tblAfil.Visible   = false;
     }
     if (!IsPostBack)
     {
         mst = (mast)Master;
         try
         {
             BDF = new BDFamilia();
             dic = new Diccionario(L, S);
             agregaInfoGen();
             agregaPalabras();
             agregaMiembrosAct();
             agregaAvisos();
         }
         catch
         {
         }
     }
 }
Esempio n. 8
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                bdTS  = new BDTS();
                bdGEN = new BDGEN();
                BDF   = new BDFamilia();
                F     = mast.F;
                S     = mast.S;
                U     = mast.U;
                L     = mast.L;
                dic   = new Diccionario(L, S);
                try
                {
                    llenarElementos();
                    visibilizarPestaña(pnlReporte, lnkReporte);
                }
                catch
                {
                }
            }
            DataTable dtTS = bdGEN.obtenerTS(S);

            mst = (mast)Master;
        }
Esempio n. 9
0
 protected void Page_Load(object sender, EventArgs e)
 {
     mst = (mast)Master;
     if (!IsPostBack)
     {
         try
         {
             bdTS  = new BDTS();
             bdGEN = new BDGEN();
             BDF   = new BDFamilia();
             F     = mast.F;
             S     = mast.S;
             U     = mast.U;
             L     = mast.L;
             vista = mast.vista;
             dic   = new Diccionario(L, S);
             llenarElementos();
             if (vista)
             {
                 cargarConSeguridad();
             }
         }
         catch
         {
         }
     }
 }
Esempio n. 10
0
        //////////////////////////////////////////////////////////////-EVENTOS-////////////////////////////////////////////////////////
        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            BDM = new BDMiembro();
            APD = new BDAPAD();
            dic = new Diccionario(L, S);

            //carpeta = locacion;
            mst = (mast)Master;
            if (!IsPostBack)
            {
                try
                {
                    if (string.IsNullOrEmpty(M))
                    {
                        tbfiltro.Visible = false;
                        ingreso.Visible  = false;
                    }
                    else
                    {
                        Site   = S;
                        Member = M;
                        valoresiniciales(Site, Member);
                    }
                }
                catch (Exception ex)
                {
                }
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            mst = (mast)Master;
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            BDM = new BDMiembro();
            // mst.contentCallEvent += new EventHandler(accionar);
            if (!IsPostBack)
            {
                dtAsistenciasAux = new DataTable();
                dtAsistencias    = new DataTable();
                mst = (mast)Master;
                BDM = new BDMiembro();
                APD = new BDAPAD();
                try
                {
                    ValoresIniciales();
                }
                catch (Exception ex)
                {
                    mst.mostrarMsjAdvNtf(ex.Message);
                }
            }
        }
Esempio n. 12
0
 protected void iniciarElementos()
 {
     mst = (mast)Master;
     if (!IsPostBack)
     {
         bdTS  = new BDTS();
         bdGEN = new BDGEN();
         BDF   = new BDFamilia();
         F     = mast.F;
         S     = mast.S;
         U     = mast.U;
         L     = mast.L;
         dic   = new Diccionario(L, S);
         llenarElementos();
         if (Session["AsignoTSGrupo"] != null)
         {
             String asigno = (String)Session["AsignoTSGrupo"];
             if (asigno.Equals("SI"))
             {
                 mst.mostrarMsjNtf(dic.msjSeHaActualizado);
             }
             else
             {
                 mst.mostrarMsjMdl(dic.msjNoSeRealizoExcp + asigno + ".");
             }
             Session["AsignoTSGrupo"] = null;
         }
     }
 }
Esempio n. 13
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         bdTS  = new BDTS();
         BDF   = new BDFamilia();
         F     = mast.F;
         S     = mast.S;
         U     = mast.U;
         L     = mast.L;
         vista = mast.vista;
         try
         {
             DataTable dt   = BDF.obtenerDatos(S, F, L);
             DataRow   rowF = dt.Rows[0];
             lblVDirec.Text  = rowF["Address"].ToString() + ", " + rowF["Area"].ToString();
             lblVClasif.Text = rowF["Classification"].ToString();
             lblVTelef.Text  = rowF["Phone"].ToString();
             lblVTS.Text     = rowF["TS"].ToString();
             dic             = new Diccionario(L, S);
             cargarPgnVisitas();
             cargarConSeguridad();
         }
         catch
         {
         }
     }
     mst = (mast)Master;
     mst.contentCallEvent += new EventHandler(eliminarVisita);
 }
Esempio n. 14
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         bdTS  = new BDTS();
         bdGEN = new BDGEN();
         BDF   = new BDFamilia();
         F     = mast.F;
         S     = mast.S;
         U     = mast.U;
         L     = mast.L;
         vista = mast.vista;
         dic   = new Diccionario(L, S);
         try
         {
             llenarElementos();
             DataTable dt   = BDF.obtenerDatos(S, F, L);
             DataRow   rowF = dt.Rows[0];
             lblVDirec.Text  = rowF["Address"].ToString() + ", " + rowF["Area"].ToString();
             lblVClasif.Text = rowF["Classification"].ToString();
             lblVTS.Text     = rowF["TS"].ToString();
             lblVTelef.Text  = rowF["Phone"].ToString();
             if (vista)
             {
                 cargarConSeguridad();
             }
         }
         catch
         {
         }
     }
     mst = (mast)Master;
 }
Esempio n. 15
0
        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            mst = (mast)Master;
            //       APD = new BDAPAD();
            dic = new Diccionario(L, S);
            if (!IsPostBack)
            {
                mst = (mast)Master;
                APD = new BDAPAD();
                try
                {
                    ValoresIniciales();
                }
                catch (Exception ex)
                {
                    mst.mostrarMsjAdvNtf(ex.Message);
                }
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            mst = (mast)Master;
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            BDM = new BDMiembro();
            // mst.contentCallEvent += new EventHandler(accionar);
            if (!IsPostBack)
            {
                mst = (mast)Master;
                BDM = new BDMiembro();
                APD = new BDAPAD();
                try
                {
                    if (string.IsNullOrEmpty(M))
                    {
                        pnltodo.Visible = false;
                    }
                    else
                    {
                        ValoresIniciales();
                    }
                }
                catch (Exception ex)
                {
                    mst.mostrarMsjAdvNtf(ex.Message);
                }
            }
        }
 private void adView_LoggingEvent(object sender, mast.MASTAdView.LoggingEventEventArgs e)
 {
     // Since these events can come from a non-main/UI thread, dispatch properly.
     System.Windows.Deployment.Current.Dispatcher.BeginInvoke(delegate()
     {
         textBlock.Text += "LogLevel:" + e.LogLevel + " Entry:" + e.Entry + "\n\n";
     });
 }
 private void adView_ProcessedRichmediaRequest(object sender, mast.MASTAdView.ProcessedRichmediaRequestEventArgs e)
 {
     // Since these events can come from a non-main/UI thread, dispatch properly.
     System.Windows.Deployment.Current.Dispatcher.BeginInvoke(delegate()
     {
         textBlock.Text += "URI:" + e.URI + " Handled:" + e.Handled + "\n\n";
     });
 }
 private void adView_AdFailed(object sender, mast.MASTAdView.AdFailedEventArgs e)
 {
     // Since these events can come from a non-main/UI thread, dispatch properly.
     System.Windows.Deployment.Current.Dispatcher.BeginInvoke(delegate()
     {
         textBlock.Text += "adView_AdFailed Exception:" + e.Exception.Message + "\n\n";
     });
 }
 async private void adView_AdFailed(object sender, mast.MASTAdView.AdFailedEventArgs e)
 {
     // Since these events can come from a non-main/UI thread, dispatch properly.
     await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, delegate()
     {
         textBlock.Text += "adView_AdFailed Exception:" + e.Exception.Message + "\n\n";
     });
 }
 private void adView_ReceivedThirdPartyRequest(object sender, mast.MASTAdView.ThirdPartyRequestEventArgs e)
 {
     // Since these events can come from a non-main/UI thread, dispatch properly.
     System.Windows.Deployment.Current.Dispatcher.BeginInvoke(delegate()
     {
         textBlock.Text += "Properties:" + App.FormattedString(e.Properties) +
             " Parameters:" + App.FormattedString(e.Parameters) + "\n\n";
     });
 }
Esempio n. 22
0
 private Card[] deck = new Card[52]; //deck of cards
 public Deck()
 {
     for (mast mast = mast.Spades; mast <= mast.Hearts; mast++)             // for all cards suits
     {
         for (number number = number.Two; number <= number.Ace; number++)   //get all rank for each suit
         {
             deck[((int)mast) * 13 + (int)number] = new Card(mast, number); //get deck with 52 cards
         }
     }
 }
Esempio n. 23
0
 protected void Page_Load(object sender, EventArgs e)
 {
     mst = (mast)Master;
     if (!IsPostBack)
     {
         bdTS  = new BDTS();
         bdGEN = new BDGEN();
         BDF   = new BDFamilia();
         F     = mast.F;
         S     = mast.S;
         U     = mast.U;
         L     = mast.L;
         vista = mast.vista;
         dic   = new Diccionario(L, S);
         año   = (DateTime.Now.Year + 1) + "";
         try
         {
             llenarGdvMiembros();
             DataTable dt   = BDF.obtenerDatos(S, F, L);
             DataRow   rowF = dt.Rows[0];
             lblDirec.Text   = dic.direccion + ":";
             lblTelef.Text   = dic.telefono + ":";
             lblTS.Text      = dic.trabajadorS + ":";
             lblClasif.Text  = dic.clasificacion + ":";
             lblVDirec.Text  = rowF["Address"].ToString() + ", " + rowF["Area"].ToString();
             lblVClasif.Text = rowF["Classification"].ToString();
             lblVTS.Text     = rowF["TS"].ToString();
             lblVTelef.Text  = rowF["Phone"].ToString();
             btnGuardar.Text = dic.guardar;
             if (vista)
             {
                 cargarConSeguridad();
             }
             if (gdvMiembros.Rows.Count == 0)
             {
                 if (L.Equals("es"))
                 {
                     mst.mostrarMsjStc("Esta familia no tiene miembros aptos para registrar NADFAS.");
                 }
                 else
                 {
                     mst.mostrarMsjStc("This family has no members eligible to register NADFAS.");
                 }
             }
             else
             {
             }
         }
         catch
         {
         }
     }
 }
        private void adView_AdFailed(object sender, mast.MASTAdView.AdFailedEventArgs e)
        {
            if (sender != adView)
                return;

            System.Windows.Deployment.Current.Dispatcher.BeginInvoke(delegate()
            {
                // Remove any existing ad content (last rendered ad).
                // The ad control itself will still be displayed but appear as if no ad has been loaded.
                adView.RemoveContent();
            });
        }
Esempio n. 25
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         bdTS  = new BDTS();
         bdGEN = new BDGEN();
         BDF   = new BDFamilia();
         F     = mast.F;
         S     = mast.S;
         U     = mast.U;
         L     = mast.L;
         vista = mast.vista;
         dic   = new Diccionario(L, S);
         mst   = (mast)Master;
         año   = (DateTime.Now.Year) + "";
         try
         {
             llenarGdvMiembros();
             llenarElementos();
             edadMiembro = 20;
             DataTable dt   = BDF.obtenerDatos(S, F, L);
             DataRow   rowF = dt.Rows[0];
             lblVDirec.Text  = rowF["Address"].ToString() + " " + rowF["Area"].ToString();
             lblVClasif.Text = rowF["Classification"].ToString();
             lblVTS.Text     = rowF["TS"].ToString();
             lblVTelef.Text  = rowF["Phone"].ToString();
             if (gdvMiembros.Rows.Count == 0)
             {
                 if (L.Equals("es"))
                 {
                     mst.mostrarMsjStc("Esta familia no tiene miembros aptos para registrar Años Escolares.");
                 }
                 else
                 {
                     mst.mostrarMsjStc("This family has no members eligible to register School Years.");
                 }
             }
             else
             {
                 if (vista)
                 {
                     cargarConSeguridad();
                 }
             }
         }
         catch
         {
         }
     }
     mst = (mast)Master;
     mst.contentCallEvent += new EventHandler(eliminarAñoEscolar);
 }
Esempio n. 26
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         dtAsistenciasAux = new DataTable();
         dtAsistencias    = new DataTable();
         mst    = (mast)Master;
         bdAPJO = new BDPROE();
         S      = mast.S;
         U      = mast.U;
         L      = mast.L;
         dic    = new Diccionario(L, S);
     }
 }
Esempio n. 27
0
 protected void Page_Load(object sender, EventArgs e)
 {
     M = mast.M;
     L = mast.L;
     S = mast.S;
     F = mast.F;
     if (S.Equals("E") || S.Equals("A"))
     {
         tblAfiliacion.Visible = false;
         gdvPadres.Visible     = false;
         gdvPadrinos.Visible   = false;
         tblEduc.Visible       = false;
         pnlAvisos.Visible     = false;
     }
     if (!IsPostBack)
     {
         mst = (mast)Master;
         try
         {
             BDM = new BDMiembro();
             dic = new Diccionario(L, S);
             string consulta   = "SELECT COUNT(*) conteo FROM dbo.Member WHERE Project='" + S + "' AND RecordStatus=' ' AND MemberId='" + M + "' AND AffiliationStatus='AFIL' ";
             int    apadrinado = ObtenerEntero(consulta, "conteo");
             if (apadrinado == 1)
             {
                 agregaPalabras();
                 agregaInfoGen();
                 agregaDerechos();
                 agregaAvisos();
                 agregaPadrinos();
                 agregaPadres();
             }
             else
             {
                 agregaPalabras();
                 agregaInfoGen();
                 agregaDerechos();
                 agregaAvisos();
                 agregaPadres();
                 //tblAfiliacion.Visible = false;
                 pnlPadrinos.Visible = false;
             }
         }
         catch
         {
         }
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         U   = mast.U;
         L   = mast.L;
         S   = mast.S;
         BDU = new BDUsuario();
         dic = new Diccionario(L, S);
         agregarSitios();
         lblSitio.Text       = dic.sitio + ":";
         lblIdioma.Text      = dic.msjCambiarIdioma;
         btnCambiarPref.Text = dic.guardar;
         mst = (mast)Master;
     }
 }
Esempio n. 29
0
 //////////////////////////////////////////////////////////////-EVENTOS-////////////////////////////////////////////////////////
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     P   = mast.P;
     dic = new Diccionario(L, S);
     P   = (String)Session["P"];
     mst = (mast)Master;
     APD = new BDAPAD();
     mst.contentCallEvent += new EventHandler(accionar);
     if (String.IsNullOrEmpty(P))
     {
         string notiene;
         if (L == "es")
         {
             notiene = "No has seleccionado ningún padrino";
         }
         else
         {
             notiene = "You have not selected any sponsors";
         }
         numAccion = 1;
         mst.mostrarMsjOpcionMdl(notiene);
     }
     else
     {
         if (!IsPostBack)
         {
             try
             {
                 BDM = new BDMiembro();
                 APD = new BDAPAD();
                 traducir();
                 llenarhistorial();
                 apadrinado();
             }
             catch (Exception ex)
             {
                 mst.mostrarMsjAdvNtf("Error: " + ex.Message);
             }
         }
     }
 }
Esempio n. 30
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         U = mast.U;
         L = mast.L;
         S = mast.S;
         if (S.Equals("E") || S.Equals("A"))
         {
             mst.redir("MISC/Buscar.aspx");
         }
         bdGEN = new BDGEN();
         dic   = new Diccionario(L, S);
         colocarNombres();
     }
     mst = (mast)Master;
 }
Esempio n. 31
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         U     = mast.U;
         L     = mast.L;
         S     = mast.S;
         bdGEN = new BDGEN();
         dic   = new Diccionario(L, S);
         colocarNombres();
         llenarAreas();
         llenarMeses();
         llenarTS();
         llenarTiposAfil();
         configurarSiEmp();
     }
     mst = (mast)Master;
 }
Esempio n. 32
0
 protected void Page_Load(object sender, EventArgs e)
 {
     mst       = (mast)Master;
     año       = DateTime.Now.Year;
     cantMeses = 4;
     if (!IsPostBack)
     {
         soloUltimas = 0;
         asignaColores();
         U    = mast.U;
         S    = mast.S;
         L    = mast.L;
         F    = mast.F;
         bdTS = new BDTS();
         bdF  = new BDFamilia();
         dic  = new Diccionario(L, S);
         try
         {
             DataTable dt   = bdF.obtenerDatos(S, F, L);
             DataRow   rowF = dt.Rows[0];
             lblVDirec.Text  = rowF["Address"].ToString() + ", " + rowF["Area"].ToString();
             lblVClasif.Text = rowF["Classification"].ToString();
             lblVTS.Text     = rowF["TS"].ToString();
             lblVTelef.Text  = rowF["Phone"].ToString();
             llenarNombres();
             pnlContenedor.Visible = false;
             try
             {
                 buscar();
                 visibilizarPestaña(pnlInfoGeneral, lnkInfoGeneral);
             }
             catch (Exception ex)
             {
                 mst.mostrarMsjStc(dic.msjNoSeRealizoExcp + ex.Message.ToString() + ".");
             }
         }
         catch
         {
         }
     }
 }
        private void adView_AdFailed(object sender, mast.MASTAdView.AdFailedEventArgs e)
        {
            if (sender != adView)
                return;

            System.Windows.Deployment.Current.Dispatcher.BeginInvoke(delegate()
            {
                // Remove any existing ad content (last rendered ad).
                adView.RemoveContent();

                // Load the image resource to display when the adView fails to load a new ad.
                System.Windows.Media.Imaging.BitmapImage bitmapImage = new System.Windows.Media.Imaging.BitmapImage(new Uri("/ErrorImage.png", UriKind.Relative));

                // Use the adView's own containers to render the image.
                adView.ImageControl.Source = bitmapImage;
                adView.ImageBorder.Child = adView.ImageControl;

                // Add the border as a child to the ad.  This way when/if a new ad is rendered the adView will handle resetting everything properly.
                adView.Children.Add(adView.ImageBorder);
            });
        }
Esempio n. 34
0
 protected void Page_Load(object sender, EventArgs e)
 {
     mst = (mast)Master;
     mst.contentCallEvent += new EventHandler(eliminarAsistencia);
     if (!IsPostBack)
     {
         bdPROE = new BDPROE();
         F      = mast.F;
         S      = mast.S;
         U      = mast.U;
         L      = mast.L;
         try
         {
             dic = new Diccionario(L, S);
             valoresIniciales();
         }
         catch
         {
         }
     }
 }
Esempio n. 35
0
 protected void Page_Load(object sender, EventArgs e)
 {
     M   = mast.M;
     L   = mast.L;
     S   = mast.S;
     F   = mast.F;
     U   = mast.U;
     P   = mast.P;
     mst = (mast)Master;
     BDM = new BDMiembro();
     APD = new BDAPAD();
     dic = new Diccionario(L, S);
     P   = (String)Session["P"];
     mst.contentCallEvent += new EventHandler(accionar);
     if (String.IsNullOrEmpty(P))
     {
         string mensaje;
         if (L == "es")
         {
             mensaje = "No has seleccionado ningún padrino";
         }
         else
         {
             mensaje = "You have not selected any sponsors";
         }
         mst.mostrarMsjOpcionMdl(mensaje);
     }
     if (!IsPostBack)
     {
         try
         {
             LlenarInformacion();
             Apadrinados();
         }
         catch (Exception ex)
         {
         }
     }
 }
Esempio n. 36
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         bdTS  = new BDTS();
         bdGEN = new BDGEN();
         BDF   = new BDFamilia();
         F     = mast.F;
         S     = mast.S;
         U     = mast.U;
         L     = mast.L;
         dic   = new Diccionario(L, S);
         try
         {
             llenarElementos();
         }
         catch
         {
         }
     }
     mst = (mast)Master;
 }
Esempio n. 37
0
        //////////////////////////////////////////////////////////////-EVENTOS-////////////////////////////////////////////////////////

        protected void Page_Load(object sender, EventArgs e)
        {
            M = mast.M;
            L = mast.L;
            S = mast.S;
            F = mast.F;
            U = mast.U;

            mst = (mast)Master;
            APD = new BDAPAD();
            dic = new Diccionario(L, S);
            BDM = new BDMiembro();
            mst.contentCallEvent += new EventHandler(accionar);
            if (!IsPostBack)
            {
                mst = (mast)Master;
                BDM = new BDMiembro();
                APD = new BDAPAD();
                try
                {
                    if (string.IsNullOrEmpty(M))
                    {
                        gvhistorial.Visible = false;
                        tbregistro.Visible  = false;
                        tbfiltros.Visible   = false;
                    }
                    else
                    {
                        Site   = S;
                        Member = M;
                        valoresiniciales(Site, Member);
                    }
                }
                catch (Exception ex)
                {
                    mst.mostrarMsjAdvNtf(ex.Message);
                }
            }
        }
 private void adView_AdFailed(object sender, mast.MASTAdView.AdFailedEventArgs e)
 {
     string entry = "adView_AdFailed Exception:" + e.Exception;
     addEntry(entry);
 }