版博士V2.0程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

43 lines
1017 B

  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 AssistClient
  11. {
  12. public partial class FrmRepairInfo : Form
  13. {
  14. public string RepairInfo;
  15. public FrmRepairInfo()
  16. {
  17. InitializeComponent();
  18. }
  19. private void FrmRepairInfo_Load(object sender, EventArgs e)
  20. {
  21. this.RepairInfo = this.tbInfo.Text = "";
  22. this.btnCancel.Select();
  23. }
  24. private void btnSave_Click(object sender, EventArgs e)
  25. {
  26. this.RepairInfo = this.tbInfo.Text;
  27. this.DialogResult = DialogResult.OK;
  28. }
  29. private void btnCancel_Click(object sender, EventArgs e)
  30. {
  31. this.RepairInfo = this.tbInfo.Text;
  32. this.DialogResult= DialogResult.Cancel;
  33. }
  34. }
  35. }