Пример #1
0
        public static txtImport Instance()
        {
            if (instance == null)
            {
                lock(sybcObj)
                {
                    if (instance == null)
                        instance = new txtImport();
                }
            }

            return instance;
        }
Пример #2
0
        public static txtImport Instance()
        {
            if (instance == null)
            {
                lock (sybcObj)
                {
                    if (instance == null)
                    {
                        instance = new txtImport();
                    }
                }
            }

            return(instance);
        }