zoukankan      html  css  js  c++  java
  • Building ASP.NET Server ControlsTextChanged.cs

    // Title: Building ASP.NET Server Controls
    //
    // Chapter: 5 - Event-based Programming
    // File: TextChanged.cs
    // Written by: Dale Michalk and Rob Cameron
    //
    // Copyright ?2003, Apress L.P.
    using System;

    namespace ControlsBookLib.Ch05
    {
       public delegate void TextChangedEventHandler(object o, TextChangedEventArgs tce);

       public class TextChangedEventArgs : EventArgs
       {
          private string oldValue;
          private string newValue;

          public TextChangedEventArgs(string oldValue, string newValue)
          {
             this.oldValue = oldValue;
             this.newValue = newValue;
          }

          public string OldValue
          {
             get
             {
                return oldValue;
             }
          }

          public string NewValue
          {
             get
             {
                return newValue;
             }
          }
       }
    }
  • 相关阅读:
    Android获取手机内存和sd卡相关信息
    总结(创建快捷方式等)
    正则是个好东西
    Android自定义AlertDialog
    Eclipse生成author等注释
    day18 io多路复用
    json 模块
    re 模块
    random 模块
    hashlib 模块
  • 原文地址:https://www.cnblogs.com/shihao/p/2498661.html
Copyright © 2011-2022 走看看