工具箱相关
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dgxinterpl.cs 902B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace HCTools
  11. {
  12. public partial class Dgxinterpl : Form
  13. {
  14. public Dgxinterpl()
  15. {
  16. InitializeComponent();
  17. }
  18. private void button_ok_Click(object sender, EventArgs e)
  19. {
  20. if (textBox_dgj.Text == "")
  21. {
  22. MessageBox.Show("请输入等高距!");
  23. return;
  24. }
  25. Dgxinters.dgj = Convert.ToInt32(textBox_dgj.Text);
  26. Dgxinters dgxinter = new Dgxinters();
  27. this.Close();
  28. dgxinter.Interdgx();
  29. }
  30. private void button_cancel_Click(object sender, EventArgs e)
  31. {
  32. this.Close();
  33. }
  34. }
  35. }