Creating an application with editable graphical objects (need hints on where to begin)

Bloqueada Creating an application with editable graphical objects (need hints on where to begin)

  • sábado, 21 de enero de 2012 8:28
     
     

    Hi

    I want to develop an application in Visual Studio (VB) where I can add, edit, move graphical objects in some kind of canvas area (e.g. like a very simple object orientation design tool or state chart designer or similar)...

    Where do I start? Do I have to design such "canvas" from scratch or is there some kind of component that supports it?

    I simply need a kick-start to get me started (perhaps a kind of "Hello world" sample).


    • Editado Traxx_ sábado, 21 de enero de 2012 8:29 misspelling
    •  

Todas las respuestas

  • lunes, 23 de enero de 2012 3:16
    Moderador
     
     Respondida

    Hi Traxx,

    Based on my understanding, your issue is more related to the technical aspect than the specific programming language. So I suggest you try WPF, and here is a codeproject for your reference: 

    http://www.codeproject.com/Articles/15354/Dragging-Elements-in-a-Canvas

    Discusses a class which provides automated dragging of elements in a WPF Canvas.

    You may start your project here.

    And this online tool can help you to translate code from the C# to VB.net: http://www.developerfusion.com/tools/convert/csharp-to-vb/

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marcado como respuesta Traxx_ lunes, 23 de enero de 2012 6:47
    •  
  • lunes, 23 de enero de 2012 6:47
     
     
    Thanks! Exactly what I needed!