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