コード例 #1
0
        public IndustryCalculatorPage()
        {
            InitializeComponent();

            ProductList    = IndustryProductList.GetInstance();
            WantedProducts = new List <IndustryResult>();
            WantedResultsDataGrid.ItemsSource = WantedProducts;
        }
コード例 #2
0
        public static IndustryProductList GetInstance()
        {
            if (__Instance == null)
            {
                __Instance = new IndustryProductList();
            }

            return(__Instance);
        }