I have a console application and in some point, I need to open GUI window to get user input, that is sent to console. Is it possible? I have been looking at sample code, but have found nothing regarding this.