예제 #1
0
 public void UpdateDatas(bool show)
 {
     txtZip.Text        = "";
     txtZip.Placeholder = "ZIP/DEALER CODE";
     txtZip.EndEditing(true);
     this.View.EndEditing(true);
     GetStartBtn.SetTitle("Get Started", UIControlState.Normal);
     AppDelegate.appDelegate.IsZipCodeValid = false;
     if (null != toolbar)
     {
         toolbar.RemoveFromSuperview();
     }
     if (null != pickerView)
     {
         pickerView.RemoveFromSuperview();
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (DealerBtn != null)
            {
                DealerBtn.Dispose();
                DealerBtn = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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