ProfitCalculation() public method

public ProfitCalculation ( ) : List
return List
コード例 #1
0
        private void btn_Updater(object sender, RoutedEventArgs e)
        {
            OptimizationHandler opHandler = new OptimizationHandler();

            //      Working when the class and list is made
            List<ProfitItem> profitProductList = opHandler.ProfitCalculation();
            LVProductSubClasses.ItemsSource = profitProductList;
        }
コード例 #2
0
        public ProfitView()
        {
            InitializeComponent();
            OptimizationHandler opHandler = new OptimizationHandler();

            //      Working when the class and list is made
            List<ProfitItem> profitProductList = opHandler.ProfitCalculation();
            LVProductSubClasses.ItemsSource = profitProductList;
        }