Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET w/accompanying CD-ROM
Shape
Upgrades to System.Windows.Forms.Label if shape is a rectangle or square.
| Visual Basic 6 | Type | Visual Basic .NET |
| BackColor | Property | BackColor |
| BackStyle | Property | No mapping |
| BorderColor | Property | No mapping |
| BorderStyle | Property | BorderStyle if value is solid or transparent |
| BorderWidth | Property | No mapping |
| Container | Property | Parent |
| DrawMode | Property | No mapping |
| FillColor | Property | BackColor, if FillStyle is Solid |
| FillStyle | Property | Used to determine FillColor and BackColor |
| Height | Property | Height |
| Index | Property | Index property of ControlArray object |
| Left | Property | Left |
| Move | Method | SetBounds |
| Name | Property | Name |
| Parent | Property | FindForm |
| Refresh | Method | Refresh |
| Shape | Property | Used to determine whether control upgrades or not |
| Tag | Property | Tag |
| Top | Property | Top |
| Visible | Property | Visible |
| Width | Property | Width |
| ZOrder | Method | VB6.ZOrder method, or BringToFront if Position parameter is 0, SendToBack if Position parameter is 1 |