コード例 #1
0
        public CustomersView()
        {
            InitializeComponent();
            IServiceAgent sa = new ServiceAgent();

            _vm = new CustomersViewModel(sa);
            this.DataContext = _vm;

            _vm.LoadProducts();
        }