using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Mesnac.Action.Compressor { public partial class NumBoard : Form { public NumBoard() { InitializeComponent(); } private void button11_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; } private void keyboardButton13_Click(object sender, EventArgs e) { this.textBox1.Text = "0"; } private void keyboardButton12_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Cancel; } private void btn_Click(object sender, EventArgs e) { Button btn = sender as Button; if (this.textBox1.Text == "0") this.textBox1.Text = btn.Text; else this.textBox1.Text += btn.Text; } } }