void ReleaseDesignerOutlets()
        {
            if (GreetingLabel != null)
            {
                GreetingLabel.Dispose();
                GreetingLabel = null;
            }

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

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

            if (FooterLabel != null)
            {
                FooterLabel.Dispose();
                FooterLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (Label1 != null)
            {
                Label1.Dispose();
                Label1 = null;
            }

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

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

            if (Button3 != null)
            {
                Button3.Dispose();
                Button3 = null;
            }
        }
Exemplo n.º 3
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.Cookies["txtPassword"] != null)
                {
                    unbox.Text     = Request.Cookies["txtPassword"].Value;
                    Button2.Click += new EventHandler(Button2_Click);
                }
                else if (Session["pass"] != null)
                {
                    unbox.Text     = Session["pass"].ToString();
                    Button2.Click += new EventHandler(Button2_Click);
                }
            }

            if (Helper.userValid(unbox.Text) == "1")
            {
                user            = unbox.Text;
                unbox.Text      = "";
                unbox.TextMode  = TextBoxMode.Password;
                ulbl.Text       = "Password ";
                rem.Visible     = false;
                remlbl.Visible  = false;
                Button1.Visible = false;
                Button1.Dispose();
                Session["User"] = user;
            }
            else
            {
                errlbl.Text = "User Name doesnt exist";
            }
            Button2.Visible = true;
        }
Exemplo n.º 4
0
        void ReleaseDesignerOutlets()
        {
            if (Button1 != null)
            {
                Button1.Dispose();
                Button1 = null;
            }

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

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

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

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

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

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

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

            if (WebView1 != null)
            {
                WebView1.Dispose();
                WebView1 = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (Button1 != null)
     {
         Button1.Dispose();
         Button1 = null;
     }
     if (Button2 != null)
     {
         Button2.Dispose();
         Button2 = null;
     }
     if (button3 != null)
     {
         button3.Dispose();
         button3 = null;
     }
     if (button4 != null)
     {
         button4.Dispose();
         button4 = null;
     }
     if (label1 != null)
     {
         label1.Dispose();
         label1 = null;
     }
     if (slider1 != null)
     {
         slider1.Dispose();
         slider1 = null;
     }
     if (sliderLabel != null)
     {
         sliderLabel.Dispose();
         sliderLabel = null;
     }
     if (switch1 != null)
     {
         switch1.Dispose();
         switch1 = null;
     }
     if (textfield1 != null)
     {
         textfield1.Dispose();
         textfield1 = null;
     }
     if (textview1 != null)
     {
         textview1.Dispose();
         textview1 = null;
     }
 }
Exemplo n.º 6
0
        void ReleaseDesignerOutlets()
        {
            if (Lable1 != null)
            {
                Lable1.Dispose();
                Lable1 = null;
            }

            if (Button1 != null)
            {
                Button1.Dispose();
                Button1 = null;
            }
        }
Exemplo n.º 7
0
        void ReleaseDesignerOutlets()
        {
            if (Button1 != null)
            {
                Button1.Dispose();
                Button1 = null;
            }

            if (MessageLabel != null)
            {
                MessageLabel.Dispose();
                MessageLabel = null;
            }
        }
Exemplo n.º 8
0
        void ReleaseDesignerOutlets()
        {
            if (Button0 != null)
            {
                Button0.Dispose();
                Button0 = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (TranslateButton != null)
            {
                TranslateButton.Dispose();
                TranslateButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (Button1 != null)
            {
                Button1.Dispose();
                Button1 = null;
            }

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

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

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

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

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

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

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

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

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

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ConstWidthTopBarButtons != null)
            {
                ConstWidthTopBarButtons.Dispose();
                ConstWidthTopBarButtons = null;
            }

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

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

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

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

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

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

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

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

            if (ScrollViewContainers != null)
            {
                ScrollViewContainers.Dispose();
                ScrollViewContainers = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (Button0 != null)
     {
         Button0.Dispose();
         Button0 = null;
     }
     if (Button1 != null)
     {
         Button1.Dispose();
         Button1 = null;
     }
     if (Button10 != null)
     {
         Button10.Dispose();
         Button10 = null;
     }
     if (Button11 != null)
     {
         Button11.Dispose();
         Button11 = null;
     }
     if (Button2 != null)
     {
         Button2.Dispose();
         Button2 = null;
     }
     if (Button3 != null)
     {
         Button3.Dispose();
         Button3 = null;
     }
     if (Button4 != null)
     {
         Button4.Dispose();
         Button4 = null;
     }
     if (Button5 != null)
     {
         Button5.Dispose();
         Button5 = null;
     }
     if (Button6 != null)
     {
         Button6.Dispose();
         Button6 = null;
     }
     if (Button7 != null)
     {
         Button7.Dispose();
         Button7 = null;
     }
     if (Button8 != null)
     {
         Button8.Dispose();
         Button8 = null;
     }
     if (Button9 != null)
     {
         Button9.Dispose();
         Button9 = null;
     }
     if (ResultLabel != null)
     {
         ResultLabel.Dispose();
         ResultLabel = null;
     }
 }