Storing numbers project in c#
Check the website for example and reqiurements
http://themrmiller.com/program/projects/temperatureReadings.php
what i have so far
'form 1`namespace Temperature_Readings { public partial class Form1 : Form
{ public Form1() { InitializeComponent(); }
private void btnReadings_Click(object sender, EventArgs e)
{
using (Form2 f2 = new Form2())
{
while (f2.ShowDialog() != DialogResult.OK)
{
this.Enabled = false;
}
this.Enabled = true;
}
}
}
form 2
namespace Temperature_Readings
{ public partial class Form2 : Form { public Form2() {
InitializeComponent(); }
private void Form2_FormClosing(object sender, FormClosingEventArgs e)
{
this.DialogResult = DialogResult.OK;
}
private void button1_Click(object sender, EventArgs e)
{
}
}
No comments:
Post a Comment