Exemplo n.º 1
0
        private void OnConnectionStringChanged(object sender, TextChangedEventArgs e)
        {
            if (!_initialized)
            {
                return;
            }

            SaveConnectionString();
            DeploymentListPanel.SetConnectionString(IoTHubConnectionStringBox.Text);
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            _initialized = false;

            InitializeComponent();

            LoadConnectionString();
            DeploymentListPanel.SetConnectionString(IoTHubConnectionStringBox.Text);

            _initialized = true;

            DeploymentListPanel.RefreshDeploymentListAsync();
        }