private void OnCloseModelFormButtonClicked(object sender, RoutedEventArgs e) { LocalFileCollection.Clear(); this.modelNameTextBox.Text = string.Empty; ModelSetupState = ModelSetupState.NotStarted; this.newModelForm.IsOpen = false; }
private void OnCloseScenarioFormButtonClicked(object sender, RoutedEventArgs e) { LocalFileCollection.Clear(); this.scenarioNameTextBox.Text = string.Empty; ScenarioSetupState = FormRecognizerScenarioSetupState.NotStarted; this.newFormScenario.IsOpen = false; }