Results 1 to 2 of 2

Thread: [RESOLVED] how to convert this to vb .net

  1. #1

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619

    Resolved [RESOLVED] how to convert this to vb .net

    private String _sXAxisTitle;
    private String _sChartTitle;
    private Int32 _iUserWidth = 300;
    private String [] _sYAxisItems;
    private Int32 [] _iYAxisValues;

    public Int32 UserWidth {
    get { return _iUserWidth; }
    set { _iUserWidth = value; }
    }

    public Int32 [] YAxisValues {
    get { return _iYAxisValues; }
    set { _iYAxisValues = value; }
    }

    public String [] YAxisItems {
    get { return _sYAxisItems; }
    set { _sYAxisItems = value; }
    }

    public String XAxisTitle {
    get { return _sXAxisTitle; }
    set { _sXAxisTitle = value; }
    }

    public String ChartTitle {
    get { return _sChartTitle; }
    set { _sChartTitle = value; }
    }

    If a post has helped you then Please Rate it!

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how to convert this to vb .net

    VB Code:
    1. Private _sXAxisTitle As String
    2. Private _sChartTitle As String
    3. Private _iUserWidth As Int32 = 300
    4. Private _sYAxisItems As String()
    5. Private _iYAxisValues As Int32()
    6.  
    7. Public Property UserWidth() As Int32
    8.  Get
    9.    Return _iUserWidth
    10.  End Get
    11.  Set
    12.    _iUserWidth = value
    13.  End Set
    14. End Property
    15.  
    16. Public Property YAxisValues() As Int32()
    17.  Get
    18.    Return _iYAxisValues
    19.  End Get
    20.  Set
    21.    _iYAxisValues = value
    22.  End Set
    23. End Property
    24.  
    25. Public Property YAxisItems() As String()
    26.  Get
    27.    Return _sYAxisItems
    28.  End Get
    29.  Set
    30.    _sYAxisItems = value
    31.  End Set
    32. End Property
    33.  
    34. Public Property XAxisTitle() As String
    35.  Get
    36.    Return _sXAxisTitle
    37.  End Get
    38.  Set
    39.    _sXAxisTitle = value
    40.  End Set
    41. End Property
    42.  
    43. Public Property ChartTitle() As String
    44.  Get
    45.    Return _sChartTitle
    46.  End Get
    47.  Set
    48.    _sChartTitle = value
    49.  End Set
    50. End Property

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width