C# 클래스 SevenUpdate.Windows.MainWindow

파일 보기 프로젝트 열기: robertbaker/SevenUpdate

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ChangeWindowChrome ( object sender, CompositionChangedEventArgs e ) : void

Changes the Window Background when Aero Glass is enabled or disabled.

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

Enables the ability to drag the window on glass.

LoadWindowSize ( object sender, RoutedEventArgs e ) : void

Sets the Height and Width of the window from the settings.

MainWindow ( ) : System

Initializes a new instance of the MainWindow class.

SaveWindowSize ( object sender, CancelEventArgs e ) : void

When Seven Update is closing, save the Window Width and Height in the settings.

보호된 메소드들

메소드 설명
OnSourceInitialized ( EventArgs e ) : void

Enables Aero Glass on the Window.

메소드 상세

ChangeWindowChrome() 공개 메소드

Changes the Window Background when Aero Glass is enabled or disabled.
public ChangeWindowChrome ( object sender, CompositionChangedEventArgs e ) : void
sender object The object that called the event.
e SevenSoftware.Windows.CompositionChangedEventArgs The CompositionChangedEventArgs instance containing the event data.
리턴 void

EnableDragOnGlass() 공개 메소드

Enables the ability to drag the window on glass.
public EnableDragOnGlass ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object The object that called the event.
e System.Windows.Input.MouseButtonEventArgs The System.Windows.Input.MouseButtonEventArgs instance containing the event data.
리턴 void

LoadWindowSize() 공개 메소드

Sets the Height and Width of the window from the settings.
public LoadWindowSize ( object sender, RoutedEventArgs e ) : void
sender object The object that called the event.
e System.Windows.RoutedEventArgs The System.Windows.RoutedEventArgs instance containing the event data.
리턴 void

MainWindow() 공개 메소드

Initializes a new instance of the MainWindow class.
public MainWindow ( ) : System
리턴 System

OnSourceInitialized() 보호된 메소드

Enables Aero Glass on the Window.
protected OnSourceInitialized ( EventArgs e ) : void
e System.EventArgs The EventArgs instance containing the event data.
리턴 void

SaveWindowSize() 공개 메소드

When Seven Update is closing, save the Window Width and Height in the settings.
public SaveWindowSize ( object sender, CancelEventArgs e ) : void
sender object The object that called the event.
e CancelEventArgs The System.ComponentModel.CancelEventArgs instance containing the event data.
리턴 void