| 123456789101112131415161718192021222324 |
- namespace Server.MirForms.VisualMapInfo.Control.Forms
- {
- public partial class MiningDetailForm : Form
- {
- public MiningDetailForm()
- {
- InitializeComponent();
- }
- private void DoneButton_Click(object sender, EventArgs e)
- {
- if (X.Text == string.Empty) X.Text = "0";
- if (Y.Text == string.Empty) Y.Text = "0";
- if (Range.Text == string.Empty) Range.Text = "0";
- this.Close();
- }
- private void Insert(object sender, KeyPressEventArgs e)
- {
- e.Handled = (!char.IsDigit(e.KeyChar)) && (!char.IsControl(e.KeyChar));
- }
- }
- }
|