private void mmFormGenerator_Click(object sender, EventArgs e) { FormGenerator fm = new FormGenerator(this); fm.MdiParent = this; fm.Show(); }
public void EnableHumidityTextBoxes() { foreach (Form f in MdiChildren) { FormGenerator fg = f as FormGenerator; if (fg != null) { fg.EnableTextBoxHumidity(); } } }
public void EnableTemperatureTextBoxes() { foreach (Form f in MdiChildren) { FormGenerator fg = f as FormGenerator; if (fg != null) { fg.EnableTextBoxTemperature(); } } }