示例#1
0
        private void butt_clickMe_Click(object sender, RoutedEventArgs e)
        {
            Button        clickMe;
            SillyMessages SM = new SillyMessages();

            clickMe         = (Button)sender;
            clickMe.Content = String.Concat("LEFT BUTTON ", SM.Mumble(2));
        }
示例#2
0
        private void butt_clickMe_MouseUp(object sender, MouseButtonEventArgs e)
        {
            Button        clickMe;
            SillyMessages SM = new SillyMessages();

            clickMe         = (Button)sender;
            clickMe.Content = String.Concat("RIGHT BUTTON ", SM.Mumble(1));
        }