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();
             * */
        }
 public ReloadTasksCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
 public AddNewCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
 public UpdateCurrentCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
 public AllowEditCurrentCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
 public CommitChangesCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }