C# 클래스 entity.MetaEditor2.MassFieldChanger

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: troymac1ure/Entity 1 사용 예제들

공개 메소드들

메소드 설명
MassFieldChanger ( BaseField control, reflexiveData rd ) : System

Creates a clone of the passed memory stream and multiple controls of the passed in control type. Returns DialogResult.None if no changes have been written to the memory stream. Returns DialogResult.Yes if changes have been written to the original memory stream.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
FieldTagType_SelectedIndexChanged ( object sender, EventArgs e ) : void
Field_Leave ( object sender, EventArgs e ) : void
Field_TextChanged ( object sender, EventArgs e ) : void
GenerateFields ( int progressBarStart, int progressBarEnd ) : void

Creates one control of the selected type for each chunk in the reflexive. Idents will have the tag types filled in & tag names will be auto filled when the tag type is selected. String IDs will have the strings list populated here.

InitializeComponent ( ) : void

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

MassFieldChanger_Shown ( object sender, EventArgs e ) : void

Occurs after the form has loaded and is shown for the first time. Used to load the controls and populate the data.

PopulateSelectedChunks ( int progressBarStart, int progressBarEnd ) : void

Reads the data from the memory stream and fills in the visible fields.

PopulateValue ( Control c ) : void

Populates the data for the given control

SaveFieldChange ( Control c ) : void
SortStringIDs ( List &SIDs ) : void

Arranges string IDs by name.

btnFill_Click ( object sender, EventArgs e ) : void

Adjusts visible fields according to initial value and change. Used for incremental offsets.

btnResetValues_Click ( object sender, EventArgs e ) : void

Resets values to last saved values or original if no save has taken place

btnSaveChanges_Click ( object sender, EventArgs e ) : void

Save values to memory stream

cbChunk_SelectedIndexChanged ( object sender, EventArgs e ) : void

Raised when either the start chunk or end chunk number changes.

cbEndChunk_DropDown ( object sender, EventArgs e ) : void

When the start/end chunk combobox is dropped down, stop the control update timer

cbEndChunk_DropDownClosed ( object sender, EventArgs e ) : void

When the start/end chunk combobox dropdown is closed, restart the timer if needed

timer1_Tick ( object sender, EventArgs e ) : void

Occurs 1 second after changing the start or end chunk values. Allows both to be changed before updating the controls so only one update is needed.

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

MassFieldChanger() 공개 메소드

Creates a clone of the passed memory stream and multiple controls of the passed in control type. Returns DialogResult.None if no changes have been written to the memory stream. Returns DialogResult.Yes if changes have been written to the original memory stream.
public MassFieldChanger ( BaseField control, reflexiveData rd ) : System
control BaseField Any child of type BaseField
rd reflexiveData The associated reflexiveData information
리턴 System