Пример #1
0
 private void Rectangle_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     if (f)
     {
         MouseClick?.Invoke(this, e);
     }
     f = false;
     EnterColor?.Invoke(this, new EventArgs());
 }
Пример #2
0
 private void Rectangle_MouseEnter(object sender, System.Windows.Input.MouseEventArgs e)
 {
     EnterColor?.Invoke(this, new EventArgs());
     f = false;
 }