1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace OTSMeasureApp
- {
- public partial class About : Form
- {
- public About()
- {
- InitializeComponent();
- }
- private void About_Load(object sender, EventArgs e)
- {
- richTextBox1.Text = "Version Current : 2.1";
- richTextBox1.Select(0, richTextBox1.Text.Length);
- //richTextBox1.SelectionColor = Color.DarkBlue;
- richTextBox1.SelectionAlignment = HorizontalAlignment.Center;
- richTextBox1.ReadOnly = true;
- richTextBox1.Enabled = false;
- richTextBox1.Select(0, 0);
- this.Focus();
- }
- private void button_OK_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- }
- }
|