Example #1
0
        public static XplatUIX11_new GetInstance()
        {
            lock (lockobj) {
                if (Instance == null)
                {
                    Instance = new XplatUIX11_new();

                    Instance.InitializeDisplay();
                }
                RefCount++;
            }
            return(Instance);
        }
Example #2
0
		public static XplatUIX11_new GetInstance() {
			lock (lockobj) {
				if (Instance == null) {
					Instance = new XplatUIX11_new ();

					Instance.InitializeDisplay ();
				}
				RefCount++;
			}
			return Instance;
		}