private void ShowBaudRateModelWindow() { //this.MYMainWindow.myFrame.Navigate(new Uri("/View/IpModel/IpModelList.xaml", UriKind.Relative)); this._myContorl = new ControllerCenter.MVVM.View.BaudRateModel.List(); var childWindow = new ControllerCenter.MVVM.ViewModel.BaudRateModel.ListViewModel(); _mYMainWindow.ChildrenWinContent.Children.Clear(); childWindow.ShowList(_mYMainWindow); }
public AddViewModel(ListViewModel lvm) { _myListViewModel = lvm; _addCommand = new DelegateCommand(SaveModel); }