コード例 #1
0
 public BoardWindow(Service service)
 {
     InitializeComponent();
     this.service = service;
     //GetBoardName!!!!
     header.Content   = service.GetBoard();
     boardDataContext = new BoardDataContext(service);
     DataContext      = boardDataContext;
 }
コード例 #2
0
 public BoardDataContext Get()
 {
     return(dataContext ?? (dataContext = new BoardDataContext()));
 }