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

            plugin.InitializeDevice();

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