Ejemplo n.º 1
0
 public UC_Cell(int row, int col, Cell model)
 {
     InitializeComponent();
     _viewModel     = new CellVM(row, col, model);
     btnContent.Tag = string.Format("{0},{1},{2}", row, col, model.Value);
     DataContext    = _viewModel;
 }
Ejemplo n.º 2
0
 public UC_Cell(int row, int col, Cell model)
 {
     InitializeComponent();
     _viewModel = new CellVM(row, col, model);
     btnContent.Tag = string.Format("{0},{1},{2}", row, col, model.Value);
     DataContext = _viewModel;
 }