C# 클래스 P02Project.RightButton

This class is the UserControl for the buttons on the Right The buttons can have a custom colour and caption
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: raouldc/OptiDev 1 사용 예제들

공개 메소드들

메소드 설명
RightButton ( ) : System.Windows.Controls

constructor

비공개 메소드들

메소드 설명
Background_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

When the mouse is down, the shadow of the button is hidden to make it look like the button is moving down

Background_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

When the mouse if up, the shadow of the button is made visible to make the button look like it's moving up

hideShadow ( ) : void

Sets the opacity of the shadow to 0% Makes the shadow invisible

showShadow ( ) : void

Sets the opacity of the shadow to 100% Makes the shadow visible

메소드 상세

RightButton() 공개 메소드

constructor
public RightButton ( ) : System.Windows.Controls
리턴 System.Windows.Controls