473,396 Members | 2,140 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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
Nov 20 '05 #1
1 1846
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" <cr****@montanadsl.net> wrote in message
news:40**********************@news.newsgroups.ws.. .
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

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Kerwin Cabrera | last post by:
I am writing a console application and I would like to put a "Press any key..." message once the program is done executing. Currently, when it executes it returns to the prompt. I have tried...
0
by: Ross Marchant | last post by:
Hi all, I wrote a simple server console application, and i notice that if I click on the console window is stops processing because the window is in a text select mode. Is there anyway to turn...
0
by: Gary | last post by:
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,...
1
by: Steven Prasil | last post by:
When I run/debug a program with Console.out.write statements inside and the program execution reaches this statement then a new console/command prompt window (this with black background) is opened...
9
by: Susan Rice | last post by:
I'm running a simple win32 console application and I want to impliment a "Press any key to continue", so I print that prompt, and then what's the easiest way to impliment reading any key? Do I use...
1
by: cool2005 | last post by:
I am new to Opera and tried to use its "javascipt console" and only saw "Java console" and "Error console" under tools|advance. Any idea? thanks mark
3
by: Jerry | last post by:
I have created an application using wxPython and compiled it using py2exe. When I put setup(console=) in my setup.py file, the resulting application runs just fine. But when I change it to...
2
by: downtownjelly | last post by:
i have a program in Bloodshed DevC++ and, when i use system("start c://program"); it works, it just makes an ugly console window appear for 1-3 seconds is there a way to hide or "suppress" that
3
by: Curious | last post by:
I''ve created a simple Console Application in C#.NET (.NET 2.0), and I have the following code: Console.WriteLine("Now let us begin!"); However, the string, "Now let us begin!", never shows up...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.