/**************************************************************************/
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         GL = InitGL(true);
         FL = InitFL(true);
         GetFT gft = new GetFT();
         g_gft = gft;
         g_gft.InitFamilyTree();
         SethasInfo();
         Repeater1.DataSource = g_gft;
         Repeater1.DataBind();
         FT2 = gft.GetFT2();
         BackButton.Enabled = false;
     }
 }
Exemple #2
0
    /**************************************************************************/
    //BasePage()
    //{
    //    gft = null;
    //    GL = null;
    //    BL = null;
    //    FL = null;
    //}
    //
    /**************************************************************************/
    //    protected void Page_Load(object sender, EventArgs e)
    protected override void OnLoad(EventArgs e)
    {
        if (!IsPostBack)
            {
                //int numonline = Membership.GetNumberOfUsersOnline();
                //NumOnline.Text = numonline.ToString();

                _gft = new GetFT();
                _gft.InitFamilyTree();
        //                GL = _gft.GetGL();
                GL = null;
        //                CM = null;
                GL = null;
                BL = null;
                FL = null;
                base.OnLoad(e);
            }
    }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
     //            return;
     //            if (!branch)
         if(true)
         {
             GetFT gft = new GetFT();
             g_gft = gft;
             g_gft.InitFamilyTree();
             Repeater1.DataSource = g_gft;
             Repeater1.DataBind();
             Session["inst1"] = GetFL2();
             Session["inst2"] = g_gft.GetFT1();
             Session["inst3"] = GetFL1();
             FL2 = GetFL2();
             FT2 = gft.GetFT2();
         }
         branch = false;
     }
 }
Exemple #4
0
    public GetFT InitFT(bool renew)
    {
        if (_gft == null || renew == true)
            {

                if (_gft != null && _gft.GetCount() > 0)
                    GL.Clear();
                if (_gft == null)
                    _gft = new GetFT();
                _gft.InitFamilyTree();
                SethasInfo();
            }
            return _gft;
    }
Exemple #5
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (!branch)
         {
             GetFT gft = new GetFT();
             g_gft = gft;
             g_gft.InitFamilyTree();
             Session["inst1"] = GetFL2();
             FL2 = GetFL2();
         }
         branch = false;
     }
 }