stringeventargs.cs

来自「Gibphone is CSharp Program, it can tell 」· CS 代码 · 共 30 行

CS
30
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace GPCore.Args
{
    /// <summary>
    /// Use these event args if you only need to pass a string.
    /// </summary>
    public class StringEventArgs : EventArgs
    {
        private string str;
        /// <summary>
        /// The inner string
        /// </summary>
        public string String
        {
            get { return str; }
        }
        /// <summary>
        /// Create a new StringEventArgs
        /// </summary>
        /// <param name="str">The inner string</param>
        public StringEventArgs(string str)
        {
            this.str = str;
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?