摘要:
<TextBlock> <TextBlock.Triggers> <EventTrigger RoutedEvent="Loaded"> <BeginStoryboard> <Storyboard> <ColorAnimation Storyboard.TargetName="color" Storyboard.Targe... 阅读全文
摘要:
public MainWindow() { InitializeComponent(); this.Loaded += new RoutedEventHandler(MainWindow_Loaded); this.button1.Click += new RoutedEventHandler(button1_Click); //AddHandler this.button1.AddHandler(Button.MouseRightButtonDownEvent, new... 阅读全文