Esempio n. 1
0
        public WindowMain()
        {
            InitializeComponent();

            // create viewmodel and set data context

            ViewModel = new MemberViewModel(new Provider());
            DataContext = ViewModel;
        }
Esempio n. 2
0
 public DeleteCommand(MemberViewModel viewModel)
 {
     this.viewModel = viewModel;
 }
Esempio n. 3
0
 public EditCommand(MemberViewModel viewModel)
 {
     this.viewModel = viewModel;
 }
Esempio n. 4
0
 public AddCommand(MemberViewModel viewModel)
 {
     this.viewModel = viewModel;
 }
Esempio n. 5
0
 public DeleteCommand(MemberViewModel viewModel)
 {
     this.viewModel = viewModel;
 }
Esempio n. 6
0
 public EditCommand(MemberViewModel viewModel)
 {
     this.viewModel = viewModel;
 }
Esempio n. 7
0
 public AddCommand(MemberViewModel viewModel)
 {
     this.viewModel = viewModel;
 }