Results 1 to 3 of 3

Thread: Drawing Program

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Location
    sydney
    Posts
    265

    Drawing Program

    Hi,
    Just looking for some suggestions here, not sure if this is a doable, and how much work is involved. i need to create a module where i can drag and drop predefined shapes e.g. squares, triangles into a designer view and then be able to select, resize and relocate these shapes. similar to VS Designer view drag and drop controls functionality.

    illustration :
    Name:  ABCD.jpg
Views: 231
Size:  16.6 KB

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    11,753

    Re: Drawing Program

    That wouldn't be to much of an issue, after all most of not all shapes accept a rectangle. The way I'd handle it is by creating a Shape class and have an enum for each shape. Based on that enum is how the drawing will be done.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: Drawing Program

    Check this out:

    http://www.vbforums.com/showthread.p...ngs&highlight=

    Pay particular attention to NickThissen's extension of the original idea.

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