About.cs 851 B

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 OTSMeasureApp
  11. {
  12. public partial class About : Form
  13. {
  14. public About()
  15. {
  16. InitializeComponent();
  17. }
  18. private void About_Load(object sender, EventArgs e)
  19. {
  20. richTextBox1.Enabled = false;
  21. richTextBox2.Enabled = false;
  22. }
  23. private void button_OK_Click(object sender, EventArgs e)
  24. {
  25. this.Close();
  26. }
  27. private void button1_Click(object sender, EventArgs e)
  28. {
  29. System.Diagnostics.Process.Start("notepad.exe", Application.StartupPath+"\\version.txt");
  30. }
  31. }
  32. }