//public DashboardStlViewerView(string Name = "") public DashboardStlViewerView(DashboardTabContentType Name) { InitializeComponent(); TabContentType = Name; DataContext = _viewModel = new DashboardStlViewerViewModel(DialogCoordinator.Instance, Name); Messenger.Default.Register <NotificationMessage>(this, NotificationMessageReceived); }
//public DashboardCalculatorView(string Name = "") public DashboardCalculatorView(DashboardTabContentType Name) { InitializeComponent(); TabContentType = Name; DataContext = _viewModel = new DashboardCalculatorViewModel(DialogCoordinator.Instance, Name); }