void ShowImage(double compound) { HideImages(); if (compound > 0.05) { SentimentImageHappy.Show(); } else if (compound < -0.05) { SentimentImageMad.Show(); } else { SentimentImageNeutral.Show(); } }
void HideImages() { SentimentImageHappy.Hide(); SentimentImageNeutral.Hide(); SentimentImageMad.Hide(); }