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();
             * */
        }
예제 #2
0
 public ReloadTasksCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
예제 #3
0
 public AddNewCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
예제 #4
0
 public UpdateCurrentCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
예제 #5
0
 public AllowEditCurrentCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }
예제 #6
0
 public CommitChangesCommandImplementation(ViewModel vMdl)
 {
     this.vMdl = vMdl;
 }