最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
一个数字文本框控件,我觉得思路蛮不错的
时间:2022-07-02 12:00:19 编辑:袖梨 来源:一聚教程网
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Diagnostics;
namespace UtilityLibrary
{
///
/// Summary description for NumericTextBox.
///
public class NumericTextBox : System.Windows.Forms.TextBox
{
private int minimum = -1;
private int maximum = -1;
private bool useRange = false;
private string lastChar;
public NumericTextBox()
{
InitializeComponent();
}
protected override void OnPaint(PaintEventArgs pe)
{
base.OnPaint(pe);
}
public Size SetRange
{
get
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Diagnostics;
namespace UtilityLibrary
{
///
/// Summary description for NumericTextBox.
///
public class NumericTextBox : System.Windows.Forms.TextBox
{
private int minimum = -1;
private int maximum = -1;
private bool useRange = false;
private string lastChar;
public NumericTextBox()
{
InitializeComponent();
}
protected override void OnPaint(PaintEventArgs pe)
{
base.OnPaint(pe);
}
public Size SetRange
{
get
相关文章
- 阴阳师SSR孔雀明王强度介绍 05-20
- 明日方舟CW 05-20
- bitkeep官网下载app 05-20
- Ordi币安卓版官方登录版 05-20
- 《金铲铲之战》怒翼龙阵容装备搭配 05-20
- 欧易trust钱包安卓版2024 05-20