示例#1
0
        void ReleaseDesignerOutlets()
        {
            if (DescriptionLabel != null)
            {
                DescriptionLabel.Dispose();
                DescriptionLabel = null;
            }

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

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

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

            if (LanguageView != null)
            {
                LanguageView.Dispose();
                LanguageView = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (DescriptionLabel != null)
            {
                DescriptionLabel.Dispose();
                DescriptionLabel = null;
            }

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

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

            if (RepositoryImageView != null)
            {
                RepositoryImageView.Dispose();
                RepositoryImageView = null;
            }
        }
示例#3
0
 protected void Back()
 {
     NameLabel.Hide();
     NameBox.Hide();
     NameBox.Text = "";
     TypeLabeld.Hide();
     Typebox.Hide();
     OwnerLabel.Hide();
     OwnerBox.Hide();
     OwnerBox.Text = "";
     AddButton.Show();
     ViewButton.Show();
     BackButton.Hide();
     DoneButton.Hide();
     ScreenLabel.Hide();
     ScreenSpin.Hide();
     ScreenSpin.Text = "0";
     CatLabel.Hide();
     CatBox.Hide();
     ExcLabel.Hide();
     ExTablesButton.Hide();
     ExTablesButton.Active = false;
     HoursLabel.Hide();
     HoursBox.Hide();
     HoursBox.Text = "";
 }
        void ReleaseDesignerOutlets()
        {
            if (CityLabel != null)
            {
                CityLabel.Dispose();
                CityLabel = null;
            }

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

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

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

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

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

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

            if (PriceLabel != null)
            {
                PriceLabel.Dispose();
                PriceLabel = null;
            }
        }
示例#5
0
 protected void OnAddButtonClicked(object sender, EventArgs e)
 {
     DoneLabel.Hide();
     NameLabel.Show();
     NameBox.Show();
     TypeLabeld.Show();
     Typebox.Show();
     OwnerLabel.Show();
     OwnerBox.Show();
     AddButton.Hide();
     ViewButton.Hide();
     BackButton.Show();
     DoneButton.Show();
     HoursBox.Show();
     HoursLabel.Show();
 }
        void ReleaseDesignerOutlets()
        {
            if (CityLabel != null)
            {
                CityLabel.Dispose();
                CityLabel = null;
            }

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

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

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

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

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

            if (ThumbnailImageView != null)
            {
                ThumbnailImageView.Dispose();
                ThumbnailImageView = null;
            }
        }
示例#7
0
        void ReleaseDesignerOutlets()
        {
            if (ActivityButton2 != null)
            {
                ActivityButton2.Dispose();
                ActivityButton2 = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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