<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{121,114,777,540}</property>
    <property name="Name">[xml_conv]</property>
    <property name="Caption">[Conversao de Unidades]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Arial" width="0" height="-21" weight="400"/>
    </property>
    <property name="FormType">[dlgModal]</property>
    <property name="Modal">.F.</property>
    <property name="ScopeVarObj">[Local]</property>
    <property name="lClipper">.T.</property>
    <property name="lExitOnEnter">.T.</property>
    <property name="lExitOnESC">.T.</property>
    <property name="Variables">{modus}</property>
    <property name="FromStyle">[Popup]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.T.</property>
    <property name="StyleBorder">[3 - Sizable (Default)]</property>
    <property name="nBackColor">16777215</property>
    <property name="Icon">[]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.F.</property>
    <property name="Minimizebox">.F.</property>
    <property name="Maximizebox">.F.</property>
    <property name="AbsAlignment">.T.</property>
    <property name="WindowState">[1 - Normal (Default)]</property>
    <property name="minHeight">-1</property>
    <property name="maxHeight">-1</property>
    <property name="minWidth">-1</property>
    <property name="maxWidth">-1</property>
    <property name="ScrollBars">[0 - None (Default)]</property>
    <property name="DSControl">.F.</property>
  </style>
  <method name="onFormInit">
    <![CDATA[parameters o, p1
modus:=p1]]>
  </method>
  <method name="onDlgInit">
    <![CDATA[if(modus<>NIL,SetWindowText( oDlg:handle, modus ),)
SET(5,1960) ]]>
  </method>
  <part class="group">
    <style>
      <property name="Geometry">{7,3,756,465}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="line">
      <style>
        <property name="Geometry">{7,480,756,2}</property>
        <property name="Name">[oLine1]</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{307,63,135,28}</property>
        <property name="Name">[ocUnidCompra]</property>
        <property name="varName">[cUnidCompra]</property>
        <property name="Justify">[Right]</property>
        <property name="nMaxLength">2</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return .f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{28,63,280,26}</property>
        <property name="Name">[oSaycUnidCompra]</property>
        <property name="Caption">[Unidade de Compra no XML :]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">2</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{307,93,135,28}</property>
        <property name="Name">[onPrUnitXml]</property>
        <property name="varName">[nPrUnitXml]</property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[9999999.999]</property>
        <property name="nMaxLength">11</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return .f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{28,93,280,26}</property>
        <property name="Name">[oSaynPrUnitXml]</property>
        <property name="Caption">[Preco de 1 Unidade do XML:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{307,123,135,28}</property>
        <property name="Name">[onQuantXML]</property>
        <property name="varName">[nQuantXML]</property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[99999999.999]</property>
        <property name="nMaxLength">12</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">3</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return .f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{28,123,280,26}</property>
        <property name="Name">[oSaynQuantXML]</property>
        <property name="Caption">[Quantidade no XML .......:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{121,153,623,110}</property>
        <property name="Name">[ocQuestao]</property>
        <property name="varName">[cQuestao]</property>
        <property name="font">
          <font name="Arial" width="0" height="-19" weight="400" italic="255"/>
        </property>
        <property name="Multiline">.T.</property>
        <property name="nMaxLength">0</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">4</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{131,270,114,28}</property>
        <property name="Name">[onPitens]</property>
        <property name="varName">[nPitens]</property>
        <property name="cPicture">[99999.999]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">5</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[//
return nPitens>0.and.(nmQuant:=nQuantXML*nPitens, npVluVen3:=npVluVen3/nPitens,nPrUnit:=nPrUnitXml/nPitens,RefreshGetList())]]>
      </method>
      <method name="onGetFocus">
        <![CDATA[//
return (nPitens:=if(nPitens=0,1,nPitens),.t.)]]>
      </method>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{609,303,135,28}</property>
        <property name="Name">[ocUnidVenda]</property>
        <property name="varName">[cUnidVenda]</property>
        <property name="Justify">[Right]</property>
        <property name="nMaxLength">2</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">6</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return .f.]]>
      </method>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{609,333,135,28}</property>
        <property name="Name">[onpVluVen3]</property>
        <property name="varName">[npVluVen3]</property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[9999999.999]</property>
        <property name="nMaxLength">11</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">7</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return .f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{27,270,104,26}</property>
        <property name="Name">[oSaynPitens]</property>
        <property name="Caption">[Resposta:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">8</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{609,363,135,28}</property>
        <property name="Name">[onPrUnit]</property>
        <property name="varName">[nPrUnit]</property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[9999999.999]</property>
        <property name="nMaxLength">11</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">8</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return .f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{27,186,104,26}</property>
        <property name="Name">[oLabel2]</property>
        <property name="Caption">[Questao:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">8</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{28,303,577,26}</property>
        <property name="Name">[oSaycUnidVenda]</property>
        <property name="Caption">
[Sua Unidade de Venda/Consumo atualmente cadastrada:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">9</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{609,393,135,28}</property>
        <property name="Name">[onmQuant]</property>
        <property name="varName">[nmQuant]</property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[99999999.999]</property>
        <property name="nMaxLength">12</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">9</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return .f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{28,333,577,26}</property>
        <property name="Name">[oSaynpVluVen3]</property>
        <property name="Caption">
[Seu Preco de Recompra de 1 Unidade de Venda/Consumo:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">10</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{28,363,577,26}</property>
        <property name="Name">[oSaynPrUnit]</property>
        <property name="Caption">
[Preco Recompra de 1 Unidade de Venda/Consumo pelo XML:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">11</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{28,393,577,26}</property>
        <property name="Name">[oSaynmQuant]</property>
        <property name="Caption">
[Quantidade que sera adicionada em seu Estoque:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">12</property>
      </style>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{588,494,70,28}</property>
      <property name="Name">[oOwnerbutton1]</property>
      <property name="Id">[IDOK]</property>
      <property name="Caption">[&amp;OK]</property>
      <property name="TabIndex">1000</property>
    </style>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{673,494,90,28}</property>
      <property name="Name">[oOwnerbutton2]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[&amp;Cancela]</property>
      <property name="TabIndex">1001</property>
      <property name="TabStop">.F.</property>
    </style>
  </part>
</part>
