Exemplo n.º 1
0
 public CloudSeedView(CloudSeedViewModel viewModel)
 {
     this.viewModel = viewModel;
     DataContext    = viewModel;
     InitializeComponent();
     Setup();
 }
Exemplo n.º 2
0
        public CloudSeedView()
        {
            var plugin = new CloudSeedPlugin();

            plugin.InitializeDevice();

            viewModel   = plugin.ViewModel;
            DataContext = viewModel;
            InitializeComponent();
            Setup();
        }