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.

33 lines
663 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 ManagementSystem
  11. {
  12. public partial class InputDialog : Form
  13. {
  14. private string strReturnValue = "";
  15. public InputDialog()
  16. {
  17. InitializeComponent();
  18. }
  19. private void btnOK_Click(object sender, EventArgs e)
  20. {
  21. strReturnValue = txtInput.Text.Trim();
  22. }
  23. public string GetMsg()
  24. {
  25. return strReturnValue;
  26. }
  27. }
  28. }