private void Window_Loaded(object sender, RoutedEventArgs e)
{
lbl1.Background = System.Windows.Media.Brushes.Aqua;
lbl4.Background = System.Windows.Media.Brushes.Aqua;
}
private void lbl1_MouseDown(object sender, MouseButtonEventArgs e)
{
lbl1.Background = System.Windows.Media.Brushes.Aqua;
lbl2.Background = System.Windows.Media.Brushes.White;
lbl3.Background = System.Windows.Media.Brushes.White;
lbl4.Background = System.Windows.Media.Brushes.Aqua;
}
private void lbl2_MouseDown(object sender, MouseButtonEventArgs e)
{
lbl1.Background = System.Windows.Media.Brushes.White;
lbl2.Background = System.Windows.Media.Brushes.Aqua;
lbl3.Background = System.Windows.Media.Brushes.Aqua;
lbl4.Background = System.Windows.Media.Brushes.White;
}
|