Exemplo n.º 1
0
 private void Image_MouseLeave(object sender, MouseEventArgs e)
 {
     if (!isDragging)
     {
         (sender as Image).Source = Util.ImageFromBuffer(Properties.Resources.drag_move_2_line);
     }
 }
Exemplo n.º 2
0
 private void Image_MouseLeave(object sender, MouseEventArgs e)
 {
     if (this.Topmost)
     {
         LockButtonImage.Source = Util.ImageFromBuffer(Properties.Resources.pushpin_2_fill_blue);
     }
     else
     {
         LockButtonImage.Source = Util.ImageFromBuffer(Properties.Resources.pushpin_fill_blue);
     }
 }
Exemplo n.º 3
0
        private void LockButton_Click(object sender, RoutedEventArgs e)
        {
            if (this.Topmost)
            {
                this.Topmost = false;
            }
            else
            {
                this.Topmost = true;
            }

            if (this.Topmost)
            {
                LockButtonImage.Source = Util.ImageFromBuffer(Properties.Resources.pushpin_2_fill);
            }
            else
            {
                LockButtonImage.Source = Util.ImageFromBuffer(Properties.Resources.pushpin_fill);
            }
        }
Exemplo n.º 4
0
 private void MinimizeButtonImage_MouseLeave(object sender, MouseEventArgs e)
 {
     MinimizeButtonImage.Source = Util.ImageFromBuffer(Properties.Resources.downBlue);
 }
Exemplo n.º 5
0
 private void CloseButtonImage_MouseLeave(object sender, MouseEventArgs e)
 {
     CloseButtonImage.Source = Util.ImageFromBuffer(Properties.Resources.closeBlue);
 }
Exemplo n.º 6
0
 private void Image_MouseLeave_2(object sender, MouseEventArgs e)
 {
     (sender as Image).Source = Util.ImageFromBuffer(Properties.Resources.settings_3_line_blue);
 }
Exemplo n.º 7
0
 private void Image_MouseEnter_2(object sender, MouseEventArgs e) // for settings button
 {
     (sender as Image).Source = Util.ImageFromBuffer(Properties.Resources.settings_3_line);
 }
Exemplo n.º 8
0
 private void Image_MouseEnter_1(object sender, MouseEventArgs e) // for palette button
 {
     (sender as Image).Source = Util.ImageFromBuffer(Properties.Resources.palette_line);
 }
Exemplo n.º 9
0
 private void Image_MouseEnter(object sender, MouseEventArgs e)
 {
     (sender as Image).Source = Util.ImageFromBuffer(Properties.Resources.drag_move_2_line_white);
 }
Exemplo n.º 10
0
 private void Button_MouseDown(object sender, MouseButtonEventArgs e)
 {
     FindLabel.Foreground = Util.setColor(80, 180, 245);
     FindImage.Source     = Util.ImageFromBuffer(Properties.Resources.search_line_blue);
 }
Exemplo n.º 11
0
 private void Button_MouseEnter(object sender, MouseEventArgs e)
 {
     FindLabel.Foreground = Util.setColor(255, 255, 255);
     FindImage.Source     = Util.ImageFromBuffer(Properties.Resources.search_line);
 }