Graphics from a "console" program

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary

    #1

    Graphics from a "console" program

    Hi,

    I would like to display a form and draw some line graphics on the form,
    and do all of this from a "console" program. I would like control to
    remain with the console program before, during, and after the form is
    displayed (i.e. I don't want to switch to an event driven model).

    Is there a way to do this? Is there some sample code available that
    demonstrates this?

    Thanks -- Gary
  • Brian Henry

    #2
    Re: Graphics from a "console&q uot; program

    do it the same way you would do it in a winform app... just reference the
    system.windows. forms namespace in your app, then you can declare and create
    a form and do what ever you need to from the console app.


    "Gary" <creysa@montana dsl.net> wrote in message
    news:40b9f02a$0 $98319$c397aba@ news.newsgroups .ws...[color=blue]
    > Hi,
    >
    > I would like to display a form and draw some line graphics on the form,
    > and do all of this from a "console" program. I would like control to
    > remain with the console program before, during, and after the form is
    > displayed (i.e. I don't want to switch to an event driven model).
    >
    > Is there a way to do this? Is there some sample code available that
    > demonstrates this?
    >
    > Thanks -- Gary[/color]


    Comment

    Working...