Ejemplo n.º 1
0
    protected override SogNavigate NavigateInit()
    {
        Dictionary <string, string> ht = new Dictionary <string, string>();

        ht.Add("1", "在职");
        ht.Add("0", "离职");
        SogNavigate nv = new SogNavigate();

        nv.DataSource = ht;
        nv.Value      = "1";
        nv.target     = "UR_ACTIVE";
        return(nv);
    }
Ejemplo n.º 2
0
        protected virtual void SogHeadInit()
        {
            SogDiv SogHead = new SogDiv();

            SogHead.CssClass = "SogHead";
            G_SogHead        = SogHead;
            Form.Controls.Add(SogHead);

            SogSpan SogTitle = new SogSpan();

            SogTitle.CssClass  = "SogTitle";
            SogTitle.InnerText = "合作伙伴";
            G_SogHead.Controls.Add(SogTitle);


            Dictionary <string, string> ht = new Dictionary <string, string>();

            ht.Add("1", "我的渠道");
            ht.Add("2", "全部渠道");
            ht.Add("3", "公海渠道");
            SogNavigate obj_SogNavigate = new SogNavigate();

            obj_SogNavigate.DataSource = ht;
            obj_SogNavigate.Value      = "2";
            G_SogHead.Controls.Add(obj_SogNavigate);

            SogDiv SogRight = new SogDiv();

            SogRight.CssClass = "SogRight";
            G_SogHead.Controls.Add(SogRight);

            SogSpan add_botton = new SogSpan();

            add_botton.CssClass  = "add_botton";
            add_botton.InnerText = "+";
            SogRight.Controls.Add(add_botton);
        }