private void Commercial_CheckedChanged(object sender, EventArgs e) { lblWelcome.Hide(); lblOption.Hide(); PeakHours.Hide(); OffPeak.Hide(); lblEnter.Show(); txtInput.Show(); btnCalculate.Show(); btnClear.Show(); Output.Show(); Choose.Hide(); btnExit.Show(); }
private void Form1_Load(object sender, EventArgs e) { lblWelcome.Show(); lblOption.Hide(); Residential.Hide(); Commercial.Hide(); Industrial.Hide(); PeakHours.Hide(); OffPeak.Hide(); lblEnter.Hide(); txtInput.Hide(); btnCalculate.Hide(); btnClear.Hide(); Output.Hide(); Choose.Show(); btnExit.Hide(); }