예제 #1
0
        public static WebAPIServer Instance()
        {
            if (singleton == null)
                singleton = new WebAPIServer();

            return singleton;
        }
        public MainWindow()
        {
            InitializeComponent();
            source = new DrawingItemsSource();
            ListboxContainer.ItemsSource = source;
            //Console.WriteLine("Hooked up item source; num items: " + source.Count);

            server = WebAPIServer.Instance();
        }