/// <summary> /// hides the second panel showing the idf screen /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void idfButton_Click(object sender, EventArgs e) { SecondScreenPanel.Hide(); panel2.Show(); UpdateIDFLables(); }
// resets all values and updates labels void Reset() { idf_switchNum = 0; idf_cableType = 1; idf_portNum = 0; slotNum = 0; portNum = 0; idfNum = 0; subnet = 0; UpdateLabels(); UpdateIDFLables(); SecondScreenPanel.Hide(); panel1.Hide(); panel2.Hide(); PhoneButton.Show(); WirelessAPButton.Show(); }
/// <summary> /// hides the second screen /// shows the mdf panel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void mdfButton_Click(object sender, EventArgs e) { SecondScreenPanel.Hide(); panel1.Show(); UpdateLabels(); }