显示没有背景的文字 [英] show a text without background

查看:90
本文介绍了显示没有背景的文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
我想显示没有背景的文字
例如:当用户输入软件时欢迎用户使用(WELCOME)
请指导我...

hi
i wanna show a text without background
for exampel : for welcome to user when user enter to sofware ( WELCOME )
please guide me ...

推荐答案

// in form load
private void Form1_Load(object sender, EventArgs e)
{
    // must background and TransparencyKey properties set into (for example) white color and your text (label) black
    this.BackColor = this.TransparencyKey = Color.White;

    this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
}


这篇关于显示没有背景的文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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