المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Console application screen divided in 2 parts



C# Programming
11-13-2009, 09:01 PM
hi all
For my Console application in C# I would like to divide the main window area in 2 parts.
#1 for the message to be printed out during application lifetime
#2 for a menu where at least write some command or key to be pressed while the program is running.

How can be sure that one of my for-loop for example writes only in the #1 area without taking too much care of cursor position? Is it possible to define multiple areas of the screen as separate buffers where each text can be written or Console.WriteLine can be called?

Thanks
Mn