Exemple #1
0
        public MainWindow()
        {
            InitializeComponent();

            if ((string)Properties.Settings.Default["ApiEndpoint"] == string.Empty)
            {
                settingWindow = new SettingWindow();
                settingWindow.ShowDialog();
            }
            predictionEndpoint      = (string)Properties.Settings.Default["ApiEndpoint"];
            iterationId             = (string)Properties.Settings.Default["ApiIterationId"];
            predictionKeyValue      = (string)Properties.Settings.Default["ApiPredictionKey"];
            TextBoxProbability.Text = (string)Properties.Settings.Default["Probability"];
        }
Exemple #2
0
 private void MenuItem_Click(object sender, RoutedEventArgs e)
 {
     settingWindow = new SettingWindow();
     settingWindow.ShowDialog();
 }