public MainPage()
        {
            this.InitializeComponent();

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