<RefactorLibrary>
<Refactor id="[MSOUTL32.OCX]">
<!-- 
Description: Rules to upgrade MS Outline Control to a Winforms Treeview Wrapper
-->
<!-- 
The following rules may be needed when migrating to VB.NET and using a 
C#-based assembly to emulate the Outline control.  C# cannot declare 
parameterized properties; set_property functions are used instead. 
gmBasic automatically uses set_property calls for C# but not for VB.NET.  

The rules below direct the tool to use set properties explicitly.

   <Migrate id="IOutlineCtrl.Indent" status="GetSet" >
      <Get migPattern="%1d.Indent(%2d)" nPram="2" />
      <Set migPattern="%2d.set_Indent(%3d,%1d)\c" nPram="3" />
   </Migrate>   
   <Migrate id="IOutlineCtrl.ItemData" status="GetSet" >
      <Get migPattern="%1d.ItemData(%2d)" nPram="2" />
      <Set migPattern="%2d.set_ItemData(%3d,%1d)\c" nPram="3" />
   </Migrate>   
   <Migrate id="IOutlineCtrl.List" status="GetSet" >
      <Get migPattern="%1d.List(%2d)" nPram="2" />
      <Set migPattern="%2d.set_List(%3d,%1d)\c" nPram="3" />
   </Migrate>   
   <Migrate id="IOutlineCtrl.Expand" status="GetSet" >
      <Get migPattern="%1d.Expand(%2d)" nPram="2" />
      <Set migPattern="%2d.set_Expand(%3d,%1d)\c" nPram="3" />
   </Migrate>

In the VBScan sample, the Outline control is a supplied as a VB.NET 
code class that provides parameterized properties, so the above rules
are not needed.
-->   
   <Migrate libType="Internal" />
   <Migrate id="Outline" migName="Outline" />
   <Migrate id="IOutlineCtrl.MouseIcon" migStatus="Delete" />
   <Migrate id="IOutlineCtrl.AddItem.Index" type="Integer" />
   <Migrate id="OutlineEvents.Click" migName="Click" SpecializedHookup="on" />
   <Migrate id="OutlineEvents.DblClick" migName="DoubleClick" SpecializedHookup="on"  />
   <Migrate id="OutlineEvents.KeyDown" migName="KeyDown" SpecializedHookup="on"  netHandler="KeyEventHandler" netArgs="KeyEventArgs" />
   <Migrate id="OutlineEvents.KeyDown.keyCode" migPattern="%1d = e.KeyValue" nPram="0" />
</Refactor>
</RefactorLibrary>
