using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Data;
|
using System.Drawing;
|
using System.Text;
|
using System.Windows.Forms;
|
|
namespace BLL
|
{
|
public partial class Gy_NumberInPut : Form
|
{
|
public Gy_NumberInPut()
|
{
|
InitializeComponent();
|
}
|
|
public int ISOK=0;
|
|
private void cmdOne_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "1";
|
}
|
|
private void cmdTwo_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "2";
|
}
|
|
private void cmdThree_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "3";
|
}
|
|
private void cmdFour_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "4";
|
}
|
|
private void cmdFive_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "5";
|
}
|
|
private void cmdSix_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "6";
|
}
|
|
private void cmdSeven_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "7";
|
}
|
|
private void cmdEight_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "8";
|
}
|
|
private void cmdNine_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "9";
|
}
|
|
private void cmdZero_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "0";
|
}
|
|
private void cmdNet_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + ".";
|
}
|
|
private void cmdZero2_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text + "00";
|
}
|
|
private void cmdBack_Click(object sender, EventArgs e)
|
{
|
txtHText.Text = txtHText.Text.Substring(0, txtHText.Text.Length - 1);
|
}
|
|
private void cmdOK_Click(object sender, EventArgs e)
|
{
|
ISOK = 1;
|
this.Visible = false;
|
}
|
|
private void cmdCancel_Click(object sender, EventArgs e)
|
{
|
ISOK = 0;
|
this.Visible = false;
|
}
|
}
|
}
|