C# Класс ScreenToGif.Windows.Recorder

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ExitArg ExitAction
ListFrames List
StageProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
Recorder ( bool hideBackButton = false ) : System

Default constructor.

Приватные методы

Метод Описание
AddFrames ( string filename, Bitmap bitmap ) : void

Saves the Bitmap to the disk.

AdjustToSize ( ) : void
AutoFitButtons ( ) : void

Changes the way that the Record and Stop buttons are shown.

ChangeTrayIconVisibility ( bool isTrayIconEnabled ) : void
Cursor_Elapsed ( object sender, EventArgs e ) : void
Discard ( ) : void
DiscardButton_Click ( object sender, RoutedEventArgs e ) : void
DiscardCallback ( IAsyncResult ar ) : void
EnableSnapshot_CanExecute ( object sender, CanExecuteRoutedEventArgs e ) : void
EnableSnapshot_Executed ( object sender, ExecutedRoutedEventArgs e ) : void
FullCursor_Elapsed ( object sender, EventArgs e ) : void
Full_Elapsed ( object sender, EventArgs e ) : void
GarbageTimer_Tick ( object sender, EventArgs e ) : void
HeightTextBox_LostFocus ( object sender, RoutedEventArgs e ) : void
HideWindowAndShowTrayIcon ( ) : void
KeyHookTarget ( object sender, CustomKeyEventArgs e ) : void

KeyHook event method. This fires when the user press a key.

LightWindow_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
MouseHookTarget ( object sender, CustomMouseEventArgs keyEventArgs ) : void

MouseHook event method, detects the mouse clicks.

Normal_Elapsed ( object sender, EventArgs e ) : void
NotifyIconClicked ( object sender, EventArgs eventArgs ) : void
Options_CanExecute ( object sender, CanExecuteRoutedEventArgs e ) : void
Options_Executed ( object sender, ExecutedRoutedEventArgs e ) : void
PreStart_Elapsed ( object sender, EventArgs e ) : void
RecordPause ( ) : void

Method that starts or pauses the recording

RecordPauseButton_Click ( object sender, RoutedEventArgs e ) : void
Recorder_OnLoaded ( object sender, RoutedEventArgs e ) : void
ShowWindowAndHideTrayIcon ( ) : void
SizeBox_MouseWheel ( object sender, MouseWheelEventArgs e ) : void
Snap ( ) : void
SnapButton_PreviewMouseDown ( object sender, MouseButtonEventArgs e ) : void
SnapToWindow_CanExecute ( object sender, CanExecuteRoutedEventArgs e ) : void
Stop ( ) : void

Stops the recording or the Pre-Start countdown.

StopButton_Click ( object sender, RoutedEventArgs e ) : void
System_PowerModeChanged ( object sender, PowerModeChangedEventArgs e ) : void
TextBox_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
UnregisterEvents ( ) : void
UpdateScreenDpi ( ) : void
Window_Closing ( object sender, System e ) : void
Window_LocationChanged ( object sender, EventArgs e ) : void

Описание методов

Recorder() публичный Метод

Default constructor.
public Recorder ( bool hideBackButton = false ) : System
hideBackButton bool
Результат System

Описание свойств

ExitArg публичное свойство

The action to be executed after closing this Window.
public ExitAction ExitArg
Результат ExitAction

ListFrames публичное свойство

Lists of cursors.
public List ListFrames
Результат List

StageProperty публичное статическое свойство

public static DependencyProperty,System.Windows StageProperty
Результат System.Windows.DependencyProperty