创建基于窗口的文本 [英] Create window text based
本文介绍了创建基于窗口的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨.
我如何基于文本创建一个窗口,如下图所示:
http://i.imgur.com/Nm5Q8.png [
Hi.
How I can create a window, based on Text, like in this picture:
http://i.imgur.com/Nm5Q8.png[^]
When I entre with tokens, like + - | ( letters )...
How I can get the size of window, using references of the txt file...
Basicaly, I whant to read the txt and transform the text in Window.
推荐答案
使用 ^ ]确定窗口"的大小,然后创建表单并设置其大小.
最好的问候
Espen Harlinn
Use Graphics.MeasureString[^] to determine the size of the "Window", then create the form and set its size.
Best regards
Espen Harlinn
这篇关于创建基于窗口的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文