C# Класс SevenUpdate.Windows.MainWindow

Показать файл Открыть проект

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