private void ocultos()
 {
     panel1.Hide();
     Lbl1.Hide();
     Lbl2.Hide();
     Lbl3.Hide();
     Lbl4.Hide();
     Lbl5.Hide();
     LblMateria.Hide();
     LblProyect.Hide();
     PLogoES.Hide();
     progressBar1.Location = new System.Drawing.Point(660, 0);
     panel1.Location       = new System.Drawing.Point(-100, 10);
 }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (btn1 != null)
            {
                btn1.Dispose();
                btn1 = null;
            }

            if (btnRandom != null)
            {
                btnRandom.Dispose();
                btnRandom = null;
            }

            if (Lbl1 != null)
            {
                Lbl1.Dispose();
                Lbl1 = null;
            }

            if (lblSlider != null)
            {
                lblSlider.Dispose();
                lblSlider = null;
            }

            if (lblSwitch != null)
            {
                lblSwitch.Dispose();
                lblSwitch = null;
            }

            if (progressView != null)
            {
                progressView.Dispose();
                progressView = null;
            }

            if (sliderBar != null)
            {
                sliderBar.Dispose();
                sliderBar = null;
            }

            if (switchToggle != null)
            {
                switchToggle.Dispose();
                switchToggle = null;
            }

            if (textField != null)
            {
                textField.Dispose();
                textField = null;
            }

            if (textView != null)
            {
                textView.Dispose();
                textView = null;
            }
        }