private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            ViewModel vMdl = new ViewModel();
            todoviewMain.DataContext = vMdl;
            /*
            SqlConnection sqlConnection = new SqlConnection();
            sqlConnection.ConnectionString = "Addr=(local);Database=ToDoListDb;Trusted_Connection=sspi;User ID=Admin";
            sqlConnection.Open();

            sqlConnection.Close();
             * */
        }
Exemplo n.º 2
0
 public ReloadTasksCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
Exemplo n.º 3
0
 public AddNewCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
Exemplo n.º 4
0
 public UpdateCurrentCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
Exemplo n.º 5
0
 public AllowEditCurrentCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
Exemplo n.º 6
0
 public CommitChangesCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }