示例#1
0
        private void Clear_Serial1_Click(object sender, RoutedEventArgs e)
        {
            MenuItem menu = (MenuItem)sender;

            if (menu.Header.ToString() == "Clear Left")
            {
                SP1.ClearDisplay();
            }
            else
            {
                SP2.ClearDisplay();
            }
        }
示例#2
0
 private void Clear_All_Click(object sender, RoutedEventArgs e)
 {
     SP1.ClearDisplay();
     SP2.ClearDisplay();
 }