public TaskWindow(UserController service, string boardName) { InitializeComponent(); this.boardName = boardName; this.twdc = new TaskWindowDataContext(); this.DataContext = this.twdc; this.service = service; }
public CreateTaskWindow(BoardInter myBoard, BoardWindowDataContext VM) { InitializeComponent(); this.myBoard = myBoard; this.VM = VM; this.TC = new TaskWindowDataContext(); this.DataContext = this.TC; }
public EditTaskWindow(UserController service, DateTime dueDate, string title, string description, string creationTime, string state, string boardName) { InitializeComponent(); this.boardName = boardName; this.service = service; this.twdc = new TaskWindowDataContext(); this.DataContext = this.twdc; this.twdc.DueDate = dueDate; this.twdc.Title = title; this.twdc.Description = description; this.creationTime = creationTime; this.state = state; }
public EditTaskWin(BoardInter myBoard, BoardWindowDataContext VM)// ,Guid taskid ,String status, String title, String text, DateTime due_Date) { InitializeComponent(); this.myBoard = myBoard; this.VM = VM; this.taskid = VM.Selected.taskid; this.status = VM.Selected.status; this.TC = new TaskWindowDataContext(); TC.Title = VM.Selected.title; TC.Text = VM.Selected.text; TC.Due_date = VM.Selected.Due_Date; this.DataContext = this.TC; }