| 12345678910111213141516171819202122232425262728293031323334353637383940 | using OTSCommon;using System;using System.Collections;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._4_OTSSamplespaceGraphicsPanel{    public partial class RingGdiDataInput : Form    {        public float Diameter;        public float RingWidth;        Hashtable table;        public RingGdiDataInput()        {            InitializeComponent();            Language lan = new Language(this);            table = lan.GetNameTable(this.Name);        }        private void button1_Click(object sender, EventArgs e)        {            Diameter = Convert.ToSingle(txtDiameter.Text);            RingWidth = Convert.ToSingle(txtWidth.Text);            this.Close();        }        private void button2_Click(object sender, EventArgs e)        {            this.Close();        }    }}
 |