Beispiel #1
0
        private void customPictureBoxbutton_MouseHover(object sender, EventArgs e)
        {
            CustomPictureBoxButton customPictureBox = sender as CustomPictureBoxButton;

            customPictureBox.Image = customPictureBox.m_HoverImage;
        }
Beispiel #2
0
        private void CustomPictureBoxbutton_MouseLeave(object sender, EventArgs e)
        {
            CustomPictureBoxButton customPictureBox = sender as CustomPictureBoxButton;

            customPictureBox.Image = customPictureBox.m_NormalImage;
        }