摘要: using System.Windows.Controls; private void btn_Click(object sender, RoutedEventArgs e) { Button b = (Button)sender; Text_Input = b.Name.Substring(4,1); } 阅读全文