Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (switchButton != null)
            {
                switchButton.Dispose();
                switchButton = null;
            }
        }
Exemplo n.º 2
0
 private void RecognitionUserControl_Resize(object sender, EventArgs e)
 {
     RadioButton1.CenterWithinParent();
     RadioButton2.CenterWithinParent();
     RadioButton3.CenterWithinParent();
 }
Exemplo n.º 3
0
 private void RecenterAllRadioButtons()
 {
     RadioButton1.CenterWithinParent();
     RadioButton2.CenterWithinParent();
     RadioButton3.CenterWithinParent();
 }