资源简介

c#实现的简易 数字键盘/手机键盘,用来拨号用 实现方式是使button控件与textbox控件互动, 在textbox中输出数据

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication7
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        
        private void button1_Click(object sender EventArgs e)
        {
            textBox1.Text += “1“;
             
        }

        private void button3_Click(object sender EventArgs e)
        {
            textBox1.Text += “2“;
             
        }

        private void button2_Click(object sender EventArgs e)
        {
            textBox1.Text += “3“;
             
        }

        private void button6_Click(object sender EventArgs e)
        {
            textBox1.Text += “4“;
             
        }

        private void button4_Click(object sender EventArgs e)
        {
            textBox1.Text += “5“;
             
        }

        private void button5_Click(object sender EventArgs e)
        {
            textBox1.Text += “6“;
             
        }

        private void button9_Click(object sender EventArgs e)
        {
            textBox1.Text += “7“;
             
        }

        private void button7_Click(object sender EventArgs e)
        {
            textBox1.Text += “8“;
             
        }

        private void button8_Click(object sender EventArgs e)
        {
            textBox1.Text += “9“;
             
        }

        private void button10_Click(object sender EventArgs e)
        {
            textBox1.Text += “0“;
             
        }

        private void button12_Click(object sender EventArgs e)
        {
            textBox1.Text += “#“;
             
        }

        private void button13_Click(object sender EventArgs e)
        {
            textBox1.Text += “*“;
             
        }

        private void button11_Click(object sender EventArgs e)
        {
            //发送消息
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        249  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\Properties\Settings.settings

     文件       1210  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\Properties\AssemblyInfo.cs

     文件       2860  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\Properties\Resources.Designer.cs

     文件       1102  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\Properties\Settings.Designer.cs

     文件       5619  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\Properties\Resources.resx

     文件       3282  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\WindowsApplication7.csproj

     文件       5632  2005-12-08 14:51  WindowsApplication7\WindowsApplication7\bin\Debug\WindowsApplication7.vshost.exe

     文件      24576  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\bin\Debug\WindowsApplication7.exe

     文件      28160  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\bin\Debug\WindowsApplication7.pdb

     文件       4608  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        180  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\obj\Debug\WindowsApplication7.Form1.resources

     文件        180  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\obj\Debug\WindowsApplication7.Properties.Resources.resources

     文件      28160  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\obj\Debug\WindowsApplication7.pdb

     文件      24576  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\obj\Debug\WindowsApplication7.exe

     文件        842  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\obj\Debug\WindowsApplication7.csproj.GenerateResource.Cache

     文件        352  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\obj\WindowsApplication7.csproj.FileList.txt

     文件        478  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\Program.cs

     文件      10056  2009-08-10 17:16  WindowsApplication7\WindowsApplication7\Form1.Designer.cs

     文件       2133  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\Form1.cs

     文件       5821  2009-08-11 08:40  WindowsApplication7\WindowsApplication7\Form1.resx

     文件        946  2009-08-10 17:07  WindowsApplication7\WindowsApplication7.sln

    ..A..H.     17920  2009-08-11 08:40  WindowsApplication7\WindowsApplication7.suo

     目录          0  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\obj\Debug\TempPE

     目录          0  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\bin\Debug

     目录          0  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\obj\Debug

     目录          0  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\Properties

     目录          0  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\bin

     目录          0  2009-08-10 17:07  WindowsApplication7\WindowsApplication7\obj

     目录          0  2009-08-10 17:07  WindowsApplication7\WindowsApplication7

     目录          0  2009-08-10 17:07  WindowsApplication7

............此处省略3个文件信息

评论

共有 条评论