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

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

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

            if (TeaChoicesCombo != null)
            {
                TeaChoicesCombo.Dispose();
                TeaChoicesCombo = null;
            }
        }
		void ReleaseDesignerOutlets ()
		{
			if (comboBox != null) {
				comboBox.Dispose ();
				comboBox = null;
			}
		}
Exemplo n.º 3
0
 void ReleaseDesignerOutlets()
 {
     if (comboBox != null)
     {
         comboBox.Dispose();
         comboBox = null;
     }
 }