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

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

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

            if (PizzaCountLabel != null)
            {
                PizzaCountLabel.Dispose();
                PizzaCountLabel = null;
            }
        }
Example #2
0
        void ReleaseDesignerOutlets()
        {
            if (CalculateButton != null)
            {
                CalculateButton.Dispose();
                CalculateButton = null;
            }

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

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

            if (SecondNumberTextField != null)
            {
                SecondNumberTextField.Dispose();
                SecondNumberTextField = null;
            }
        }
Example #3
0
        void ReleaseDesignerOutlets()
        {
            if (bmiLabel != null)
            {
                bmiLabel.Dispose();
                bmiLabel = null;
            }

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

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

            if (weightTextField != null)
            {
                weightTextField.Dispose();
                weightTextField = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (CalcButton != null)
     {
         CalcButton.Dispose();
         CalcButton = null;
     }
     if (CalculateButton != null)
     {
         CalculateButton.Dispose();
         CalculateButton = null;
     }
     if (CallButton1 != null)
     {
         CallButton1.Dispose();
         CallButton1 = null;
     }
     if (CallButton2 != null)
     {
         CallButton2.Dispose();
         CallButton2 = null;
     }
     if (DurationMessage != null)
     {
         DurationMessage.Dispose();
         DurationMessage = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (BMILable != null)
            {
                BMILable.Dispose();
                BMILable = null;
            }

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

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

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

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

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

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

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

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

            if (SecondValueLabel != null)
            {
                SecondValueLabel.Dispose();
                SecondValueLabel = null;
            }
        }
Example #7
0
        void ReleaseDesignerOutlets()
        {
            if (CalculateButton != null)
            {
                CalculateButton.Dispose();
                CalculateButton = null;
            }

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

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

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

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

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

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

            if (TradeImage != null)
            {
                TradeImage.Dispose();
                TradeImage = null;
            }
        }
Example #9
0
        void ReleaseDesignerOutlets()
        {
            if (CalculateButton != null)
            {
                CalculateButton.Dispose();
                CalculateButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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