工具箱相关
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.

PicPts.cs 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 PicPts : Form
  13. {
  14. public PicPts()
  15. {
  16. InitializeComponent();
  17. }
  18. private void btn_OK_Click(object sender, EventArgs e)
  19. {
  20. if (string.IsNullOrEmpty(comboBox_Decimal.Text) == true)
  21. {
  22. GrxCAD.ApplicationServices.Application.ShowAlertDialog("请选择小数位数!");
  23. return;
  24. }
  25. PickupPoint pickuppt = new PickupPoint();
  26. string num = comboBox_Decimal.SelectedText;
  27. this.Close();
  28. pickuppt.PickupPt(num);
  29. }
  30. private void PicPts_Load(object sender, EventArgs e)
  31. {
  32. this.comboBox_Decimal.DropDownStyle = ComboBoxStyle.DropDownList;
  33. }
  34. private void btn_Cancel_Click(object sender, EventArgs e)
  35. {
  36. this.Close();
  37. }
  38. }
  39. }