コード例 #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;
            }
        }
コード例 #2
0
		void ReleaseDesignerOutlets ()
		{
			if (comboBox != null) {
				comboBox.Dispose ();
				comboBox = null;
			}
		}
コード例 #3
0
 void ReleaseDesignerOutlets()
 {
     if (comboBox != null)
     {
         comboBox.Dispose();
         comboBox = null;
     }
 }