LiFan
2024-07-17 66ba8d62628967a305b5b0e16a6317f416933699
update
已修改3个文件
19 ■■■■■ 文件已修改
jrj/project/business/SystemSettings/AddUser.cpp 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/AddUserGroup.cpp 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/Developer.Synch.cpp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/AddUser.cpp
@@ -138,8 +138,7 @@
    int ClearItem(xstring item)
    {
        control xc = new control;
        xc.setNativePointer(GetControl(item));
        xcontrol xc =GetControl(item);
        xc.SetText(L"");
        return 1;
    }
@@ -191,8 +190,7 @@
    }
    int SetItem(xstring value, xstring item) {
        control xc = new control;
        xc.setNativePointer(GetControl(item));
        xcontrol xc = GetControl(item);
        xc.SetText(value);
        return 1;
    }
jrj/project/business/SystemSettings/AddUserGroup.cpp
@@ -41,8 +41,7 @@
    }
    int AppendItem(xml x, KXMLDOMElement r, xstring item) {
        var e = x.createElement(item);
        control xc = new control;
        xc.setNativePointer(GetControl(item));
        xcontrol xc = GetControl(item);
        e.text() = xc.GetText();
        r.appendChild(e);
        return 1;
@@ -50,8 +49,7 @@
    int AppendAttrib(xml x, KXMLDOMElement r, xstring item) {
        var e = x.createElement(item);
        //xcontrol xc = GetControl(item);
        control xc = new control;
        xc.setNativePointer(GetControl(item));
        xcontrol xc= GetControl(item);
        e.text() = xc.GetText();
        r.setAttribute(item, xc.GetText());
        return 1;
@@ -136,8 +134,7 @@
    }
    int SetItem(xstring value, xstring item) {
        control xc = new control;
        xc.setNativePointer(GetControl(item));
        xcontrol xc = GetControl(item);
        xc.SetText(value);
        return 1;
    }
jrj/project/business/SystemSettings/Developer.Synch.cpp
@@ -93,13 +93,13 @@
                
                int hP2Item = 0;
                int hDomainItem = 0;
                if(xtreeview::GetParentItem(tv_gs.GetId(), hItem)<=0)
                if(tv_gs.GetParentItem(hItem)<=0)
                {
                    hDomainItem = hItem;
                }else
                {
                    hP2Item = GetP2Item(hItem);
                    hDomainItem =tv_gs.GetParentItem(tv_gs.GetId(), hP2Item);
                    hDomainItem =tv_gs.GetParentItem(hP2Item);
                }    
                //find project folder