Exemplo n.º 1
0
 public GlRuleDetailChildWindow(GlRuleViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
     _viewModel  = viewModel;
     viewModel.GetSubDetailData();
 }
Exemplo n.º 2
0
 public GlRule()
 {
     InitializeComponent();
     _viewModel  = (GlRuleViewModel)LayoutRoot.DataContext;
     DataContext = _viewModel;
 }