How Do I Make A Custom Class? RRS feed

  • Question

  • I wan't to make a custom class so that will contain a handful of variables and functions.  I've been scouring the net and can't find a resource that will explain it to me or give me an example.  So if anyone could give me an example or point me in the right direction i would really apreciate it.
    Monday, November 12, 2007 6:43 PM


All replies

  • In Solution Explorer:

    Right click on the project.

    Click Add.

    Click Class.

    In the Wizard that appears, name your class.

    Click Add.

    Monday, November 12, 2007 6:50 PM
  • I know how to make the file.

    How Do I add the stuff inside?

    like variables and functions? Is it any diffrent than what you would do for a form?

    How Do I Add stuff like "MyClass.Options.Option1 = True" or something like that?
    Monday, November 12, 2007 7:23 PM
  • Look at this walkthrough.

    Monday, November 12, 2007 9:23 PM