12345678910111213141516171819202122232425262728293031323334 |
- 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._4_OTSSamplespaceGraphicsPanel
- {
- public partial class RingGdiDataInput : Form
- {
- public float Diameter;
- public float RingWidth;
- public RingGdiDataInput()
- {
- InitializeComponent();
- }
- 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();
- }
- }
- }
|