【文本框是属于容器型控件】一个数字文本框控件,我觉得思路蛮不错的

时间:2014-03-27  来源:excel  阅读:
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

【文本框是属于容器型控件】一个数字文本框控件,我觉得思路蛮不错的

http://m.bbyears.com/bangongshuma/5162.html

推荐访问:excel形状控件文本框
相关阅读 猜你喜欢
本类排行 本类最新