public override void Initialise(ICalc calc) { _calc = calc; _viewModel = new TableVM(_calc); _control = new CrossRefTable(); _control.DataContext = _viewModel; }
public TablePlugIn(ICalc calc) { _calc = calc; _viewModel = new TableVM(_calc); _control = new CrossRefTable(); _control.DataContext = _viewModel; }