This commit is contained in:
Frahman 2025-08-20 17:19:38 +08:00 committed by GitHub
commit 823b3828c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,6 +51,8 @@ namespace CalculatorApp::ViewModel
}
void EquationViewModel::PopulateKeyGraphFeatures(KeyGraphFeaturesInfo ^ graphEquation)
{
try
{
if (graphEquation->AnalysisError != 0)
{
@ -95,6 +97,12 @@ namespace CalculatorApp::ViewModel
AnalysisErrorVisible = false;
}
catch (Exception^ ex)
{
AnalysisErrorVisible = true;
AnalysisErrorString = "Invalid input: " + ex->Message;
}
}
void EquationViewModel::AddKeyGraphFeature(String ^ title, String ^ expression, String ^ errorString)
{