Пример #1
0
        public MainPage()
        {
            this.InitializeComponent();

            DataRepo.InitializeDB();
            //Make a new view model
            this.viewModel = new TextFileViewModel(fileText);
        }
Пример #2
0
 public EditCommand(TextFileViewModel tfvm, TextBox textFileBox)
 {
     TFVM = tfvm;
     TFB  = textFileBox;
 }
Пример #3
0
 public SaveDialog(TextFileViewModel vm)
 {
     viewModel = vm;
     this.InitializeComponent();
 }
Пример #4
0
 public SaveCommand(TextFileViewModel tfvm, TextBox textFileBox)
 {
     viewModel = tfvm;
     myTextBox = textFileBox;
 }