Beispiel #1
0
        public static CommandPrompt CreateInstance(string title)
        {
            if ( instance == null )
            {
                lock ( syncRoot )
                {
                    if ( instance == null ) instance = new CommandPrompt(title);
                }
            }

            return instance;
        }
        public static CommandPrompt CreateInstance(string title)
        {
            if (instance == null)
            {
                lock ( syncRoot )
                {
                    if (instance == null)
                    {
                        instance = new CommandPrompt(title);
                    }
                }
            }

            return(instance);
        }