Esempio n. 1
0
        private void Write_Click(object sender, RoutedEventArgs e)
        {
            if (MessageBox.Show("Would you want to Write configuration to device?", "Confirm", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
            {
                mController.ConvertSettingsModel(mSelectedTube);

                bool startDownload = mController.CommitSettings(mSelectedTube, OnDownSettingsComplete);
                if (startDownload)
                {
                    //mProgressDlg.ProgressModel.MaxValue = 64;
                    //mProgressDlg.ProgressModel.Progress = 0;
                    //mProgressDlg.ShowDialog();
                }
            }
        }