I'm doing a system about voice recognition. now what i want to do is when i say "scroll up". It will do that command. I've already did the scroll down command. Here's my code sample:
if (r = "scroll down")
{
listbox1.SelectedIndex = listbox1.Items.Count - 1;
listbox1.SelectedIndex = -1;
}
if (r == "scroll up")
{
//scroll up code here
}