2007-09-03, 04:31 PM
I am kind of new using .NET and I choose vb.net because I have been using vb6 the last years. I am kind of stuck now, I have the sample code of Wheater plugin in C# and am trying to convert the following lines to vb.net
C#
I have tested with below in VB.NET but VS2005 says 'Inherits' can appear only once within a 'Class' statement and only specify one class.
VB.NET
I need to solve the UiSimpleList.CommandCallback otherwise I can not create a list like:
Any suggestions?
C#
Code:
namespace WeatherPlugin
{
public class AddCityPopup : PopupBase, UiSimpleList.CommandCallback
I have tested with below in VB.NET but VS2005 says 'Inherits' can appear only once within a 'Class' statement and only specify one class.
VB.NET
Code:
Namespace WheaterPlugin
Public Class AddCityPopup
Inherits PopupBase, UiSimpleList.CommandCallback
I need to solve the UiSimpleList.CommandCallback otherwise I can not create a list like:
Code:
ButtonUiList = New UiSimpleList(skinHelper2, "PopupButtons", skinHelper2.getPlacementRect("PopupButtons"), Me, Nothing)
Any suggestions?