Results 1 to 3 of 3

Thread: Inherit System.Drawing.Image

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Posts
    2

    Question Inherit System.Drawing.Image

    I want to extend image base class, but when I declare a subclass that inherits image I receive an error.

    this is the code

    Public Class ExtendedImage inherits Image
    Sub New()
    MyBase.New() <-- error Overload failed.
    End Sub
    end Class

    How can I inherit this image class?

    Thanks
    Fabio

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    Read the following link, it doesn't tell you how to do it, but it tells you why you can't do it:

    http://groups.google.com/groups?hl=e...com%26rnum%3D1

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Posts
    2
    Thanks for your help.

    So I can't create any inherited version of image class

    Bye
    Fabio

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