C# Класс ScreenToGif.Pages.Content

Наследование: System.Windows.Forms.UserControl
Показать файл Открыть проект

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

Метод Описание
Content ( ) : System

Unused constructor, just for the designer.

Content ( Form caller ) : System

Constructor of the Internal page.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Метод Описание
BlurAll_Click ( object sender, EventArgs e ) : void

Apply all images to a blur filter

BlurOne_Click ( object sender, EventArgs e ) : void

Apply selected image to a blur filter

Content_Load ( object sender, EventArgs e ) : void
Content_Resize ( object sender, EventArgs e ) : void
DoWork ( ) : void

Thread method that encodes the list of frames.

EditFrames ( ) : void

Constructor of the Frame Edit Page.

FinishState ( ) : void

Do all the work to set the controls to the finished state. (i.e. Finished encoding)

GrayscaleAll_Click ( object sender, EventArgs e ) : void

Convert all images to grayscale filter

GrayscaleOne_Click ( object sender, EventArgs e ) : void

Apply selected image to a grayscale filter

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

KeyHookTarget ( object sender, KeyEventArgs e ) : void

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

MouseHookTarget ( object sender, System keyEventArgs ) : void

MouseHook event method, not implemented.

NegativeAll_Click ( object sender, EventArgs e ) : void

Convert all images to negative filter

NegativeOne_Click ( object sender, EventArgs e ) : void

Convert selected image to negative filter

PixelateAll_Click ( object sender, EventArgs e ) : void

Apply all images to a Pixelated filter

PixelateOne_Click ( object sender, EventArgs e ) : void

Apply selected image to a pixelated filter

PlayPreview ( ) : void
RecordPause ( ) : void

Method that starts or pauses the recording

ResizeFormToImage ( ) : void

Resizes the form to hold the image

Save ( ) : void

Prepares the recorded frames to be saved/edited

Stop ( ) : void

Stops the recording or stops the pre-start timer.

StopPreview ( ) : void
TransparencyAll_Click ( object sender, EventArgs e ) : void

Convert all images to transparency filter

TransparencyOne_Click ( object sender, EventArgs e ) : void

Convert selected image to transparency filter

btnCancel_Click ( object sender, EventArgs e ) : void

Ignores all the alterations and hides this page.

btnConfig_Click ( object sender, EventArgs e ) : void
btnDeleteFrame_Click ( object sender, EventArgs e ) : void
btnDone_Click ( object sender, EventArgs e ) : void

Accepts all the alterations and hides this page.

btnFilters_Click ( object sender, EventArgs e ) : void

Opens the filter context menu.

btnGifConfig_Click ( object sender, EventArgs e ) : void
btnInfo_Click ( object sender, EventArgs e ) : void
btnOptions_Click ( object sender, EventArgs e ) : void

Opens the options context menu.

btnRecordPause_Click ( object sender, EventArgs e ) : void
btnReset_Click ( object sender, EventArgs e ) : void
btnStop_Click ( object sender, EventArgs e ) : void
btnUndo_Click ( object sender, EventArgs e ) : void
con_DeleteAfter_Click ( object sender, EventArgs e ) : void
con_DeleteBefore_Click ( object sender, EventArgs e ) : void
con_cropAll_Click ( object sender, EventArgs e ) : void
con_deleteThisFrame_Click ( object sender, EventArgs e ) : void
con_exportFrame_Click ( object sender, EventArgs e ) : void
con_image_Click ( object sender, EventArgs e ) : void

Insert one image to desired position in the list

con_resizeAllFrames_Click ( object sender, EventArgs e ) : void
con_revertOrder_Click ( object sender, EventArgs e ) : void

ListFrames Inverted

con_showGrid_CheckedChanged ( object sender, EventArgs e ) : void

Show Grid event handler.

con_sloMotion_Click ( object sender, EventArgs e ) : void
con_yoyo_Click ( object sender, EventArgs e ) : void

Make a Yoyo with the frames (listFrames + listFramesInverted)

contextMenu_Opening ( object sender, System e ) : void
lblDelay_MouseDown ( object sender, System e ) : void

Updates the _clicked flag or opens the contextMenu.

lblDelay_MouseMove ( object sender, System e ) : void

Gets if the user is draging to up or down and updates the values.

lblDelay_MouseUp ( object sender, System e ) : void

Updates the flag _clicked to false and sets the delay value to the list.

pictureBitmap_MouseClick ( object sender, System e ) : void
sepiaToneAll_Click ( object sender, EventArgs e ) : void

Convert all images to SepiaTone filter

sepiaToneOne_Click ( object sender, EventArgs e ) : void

Convert selected image to SepiaTone filter

tbSize_KeyDown ( object sender, KeyEventArgs e ) : void

User press Enter, updates the form size.

tbSize_KeyPress ( object sender, KeyPressEventArgs e ) : void

Prevents keys!=numbers

tbSize_Leave ( object sender, EventArgs e ) : void

After leaving the textBox, updates the size of the form with what is typed

timerCapWithCursor_Tick ( object sender, EventArgs e ) : void

Takes a screenshot of desired area and add to the list, plus add to the list the position and icon of the cursor.

timerCapture_Tick ( object sender, EventArgs e ) : void

Takes a screenshot of desired area and add to the list.

timerPlayPreview_Tick ( object sender, EventArgs e ) : void
timerPreStart_Tick ( object sender, EventArgs e ) : void

Timer used after clicking in Record, to give the user a shor time to prepare recording

toolStripTextBox_TextChanged ( object sender, EventArgs e ) : void

Called after the user changes the text of the toolstrip of the delay.

trackBar_Enter ( object sender, EventArgs e ) : void
trackBar_Scroll ( object sender, EventArgs e ) : void

When the user slides the trackBar, the image updates.

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

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

Unused constructor, just for the designer.
public Content ( ) : System
Результат System

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

Constructor of the Internal page.
public Content ( Form caller ) : System
caller System.Windows.Forms.Form
Результат System

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void