Ejemplo n.º 1
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     var decoderView = new Views.DecoderView();
     IMatrixSolver matrixSolver = new MatrixSolver();
     IDecode decoder = new Decode(matrixSolver);
     IEncodeService encodeServiceClient = new EncodeService.EncodeServiceClient();
     var decoderViewModel = new DecoderViewModel(decoder, encodeServiceClient);
     decoderView.DataContext = decoderViewModel;
     decoderView.Show();
 }
Ejemplo n.º 2
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            var            decoderView         = new Views.DecoderView();
            IMatrixSolver  matrixSolver        = new MatrixSolver();
            IDecode        decoder             = new Decode(matrixSolver);
            IEncodeService encodeServiceClient = new EncodeService.EncodeServiceClient();
            var            decoderViewModel    = new DecoderViewModel(decoder, encodeServiceClient);

            decoderView.DataContext = decoderViewModel;
            decoderView.Show();
        }