예제 #1
0
    void Update(const TpDropZone * c)
    {
        m_Name = CW2T(c->Name, CP_UTF8);
        m_Description = CW2T(c->Description, CP_UTF8);
        m_Path = CW2T(c->Path, CP_UTF8);
        m_Build = CW2T( c->Build, CP_UTF8);
        m_machine = new CMachine();
#if _COMMS_VER < 60000 
        m_machine->Update(c->TpMachines);
#else
        m_machine->Update(c->TpMachines._TpMachine);
#endif
        Refresh();
    }
예제 #2
0
 void Update(const ns5__TpDropZone * c)
 {
     SAFE_ASSIGN(m_Name, c->Name);
     SAFE_ASSIGN(m_Description, c->Description);
     SAFE_ASSIGN(m_Path, c->Path);
     SAFE_ASSIGN(m_Build, c->Build);
     m_machine = new CMachine();
     m_machine->Update(c->TpMachines->TpMachine[0]);
     Refresh();
 }
예제 #3
0
 void Update(const ServiceDetail * c)
 {
     m_Name = CW2T(c->Name, CP_UTF8);
     m_Description = CW2T(c->Description, CP_UTF8);
     //m_Path = CW2T(c->Path, CP_UTF8);
     m_Build = CW2T( c->Build, CP_UTF8);
     m_machine = new CMachine();
     m_machine->Update(c->Machines._Machine);
     Refresh();
 }