NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 40 41 42 43 44 … 93 Next »
VB.NET UiSimpleList.CommandCallBack

 
  • 0 Vote(s) - 0 Average
VB.NET UiSimpleList.CommandCallBack
BekKen
Offline

Junior Member

Posts: 33
Threads: 1
Joined: Feb 2007
#1
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#
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?
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2007-09-04, 03:12 AM
You might try looking at this article: http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=337 which explains the difference between VB and C# inherits and implements.

Or, you could download Visual C# Express from Microsoft. There are alot of examples of plugins out there and the jump from VB to C# isn't too bad, especially if you've worked with other languages (C++, Java,...).
BekKen
Offline

Junior Member

Posts: 33
Threads: 1
Joined: Feb 2007
#3
2007-09-04, 02:51 PM
Thanks, I will take a look and see if I get it Rolleyes
[SIZE="1"]PC: WinXP, AMD X2 4200+, 2 GB RAM, X800XT, Twinhan DVB-T+floppyDTV-T, Zalman Water Cooling, Thermaltake fanless PSU = noice-less from 1/2 meter!
Codecs: CyberLink MPEG2/H.264 + CCCP + OggVorbis + AC3 Filter
Storage: 1 TB OS/Data
Video: Samsung 42'' PDP
Audio: Pioneer VSX709, 5.1 analog input[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  UiList vs UiSimpleList mvallevand 1 1,348 2010-01-02, 04:38 AM
Last Post: sub
  Loading Large lists - uiSimpleList, UiList psycik 10 3,340 2008-07-14, 10:08 PM
Last Post: psycik
  UiSimpleList - Ctrl-Right/Ctrl-Left psycik 6 2,015 2008-02-27, 08:11 PM
Last Post: sub
  UiSimpleList - ImageList?, IconView? psycik 12 3,300 2007-10-10, 08:30 AM
Last Post: whurlston

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode