コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (AciklamaWebView != null)
            {
                AciklamaWebView.Dispose();
                AciklamaWebView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (SatinAlButton != null)
            {
                SatinAlButton.Dispose();
                SatinAlButton = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (AciklamaWebView != null)
            {
                AciklamaWebView.Dispose();
                AciklamaWebView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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