Beispiel #1
0
        void ReleaseDesignerOutlets()
        {
            if (ClickedLabel1 != null)
            {
                ClickedLabel1.Dispose();
                ClickedLabel1 = null;
            }

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

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

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

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

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

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

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

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

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

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

            if (txtZip != null)
            {
                txtZip.Dispose();
                txtZip = null;
            }
        }
Beispiel #3
0
        void ReleaseDesignerOutlets()
        {
            if (ClickedLabel != null)
            {
                ClickedLabel.Dispose();
                ClickedLabel = null;
            }

            if (ThankYouLabel != null)
            {
                ThankYouLabel.Dispose();
                ThankYouLabel = null;
            }
        }
Beispiel #4
0
        void ReleaseDesignerOutlets()
        {
            if (ClickedLabel != null)
            {
                ClickedLabel.Dispose();
                ClickedLabel = null;
            }

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

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

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

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

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

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

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

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

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

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