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

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

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

            if (TFType != null)
            {
                TFType.Dispose();
                TFType = null;
            }
        }
Exemple #2
0
        void ReleaseDesignerOutlets()
        {
            if (btnCreate != null)
            {
                btnCreate.Dispose();
                btnCreate = null;
            }

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

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