最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
提供一个测试用的“平面按纽”控件代码!如想看结果,请自行编译
时间:2022-07-02 11:41:21 编辑:袖梨 来源:一聚教程网
环境:win2000 server 、DOTNET beta2
本程序旨在练习,请朋友们多指教
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace SohoContral
{
///
/// 定义平面格式的按扭
///
public class FlatButton : System.Windows.Forms.UserControl
{
private string _text=""; //定义按纽文字
public string Text{
set{_text=value;}
get{return _text;}
}
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label1;
///
/// Required designer variable.
///
private System.ComponentModel.Container components = null;
public FlatButton()
本程序旨在练习,请朋友们多指教
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace SohoContral
{
///
/// 定义平面格式的按扭
///
public class FlatButton : System.Windows.Forms.UserControl
{
private string _text=""; //定义按纽文字
public string Text{
set{_text=value;}
get{return _text;}
}
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label1;
///
/// Required designer variable.
///
private System.ComponentModel.Container components = null;
public FlatButton()
相关文章
- 《弓箭传说2》新手玩法介绍 01-16
- 《地下城与勇士:起源》断桥烟雨多买多送活动内容一览 01-16
- 《差不多高手》醉拳龙技能特点分享 01-16
- 《鬼谷八荒》毕方尾羽解除限制道具推荐 01-16
- 《地下城与勇士:起源》阿拉德首次迎新春活动内容一览 01-16
- 《差不多高手》情圣技能特点分享 01-16