Exemplo n.º 1
0
 public TaskWindow(UserController service, string boardName)
 {
     InitializeComponent();
     this.boardName   = boardName;
     this.twdc        = new TaskWindowDataContext();
     this.DataContext = this.twdc;
     this.service     = service;
 }
Exemplo n.º 2
0
 public CreateTaskWindow(BoardInter myBoard, BoardWindowDataContext VM)
 {
     InitializeComponent();
     this.myBoard     = myBoard;
     this.VM          = VM;
     this.TC          = new TaskWindowDataContext();
     this.DataContext = this.TC;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 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;
 }