123456789101112131415161718192021222324252627282930313233343536373839 |
- 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 : 2.7\n";
- richTextBox1.Text += "Opton Copyright © 2022";
- 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();
- }
- }
- }
|