标签中的文字未以窗口形式显示 [英] Text in label not shown proper in window form

查看:79
本文介绍了标签中的文字未以窗口形式显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个项目中工作,因为我从透明的窗口开始。在该标签文本中的一个标签中动态设置。设置文本后,显示如下链接图像。





http://i.stack.imgur。 com / rmCM5.jpg [ ^ ]



我希望标签上有明确的文字类型。

请帮我解决这个问题。

i work on one project in that i make my window from transparent. in that one label in that label text set by dynamically. after set the text it shown like below link image.


http://i.stack.imgur.com/rmCM5.jpg[^]

i want clear type text in the label.
please help me to solve out this.

推荐答案

将FormBorderStyle属性更改为无
Change your FormBorderStyle Property to "None"


您可以在表单加载事件中添加以下代码..

You can add following codes to your form loading event..
//You can change your form border style according your requirement..
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;


这篇关于标签中的文字未以窗口形式显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆