예제 #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;
 }