Example #1
0
        public WindowMain()
        {
            InitializeComponent();

            // create viewmodel and set data context

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