Exemple #1
0
        /// <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();
        }
Exemple #2
0
        // 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();
        }
Exemple #3
0
 /// <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();
 }