コード例 #1
0
 public DialogoConsulta(LogicaConsulta logicaConsulta)
 {
     InitializeComponent();
     this.logicaConsulta = logicaConsulta;
     consulta            = new Consultas();
     this.DataContext    = consulta;
 }
コード例 #2
0
 public MainWindow()
 {
     InitializeComponent();
     logicaConsulta           = new LogicaConsulta();
     this.DataContext         = this;
     gridConsulta.DataContext = logicaConsulta;
 }