C# 클래스 Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.NodeEditors.ConditionalTypePatternEditor

Edits a ConditionalTypePattern.
상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

Private Properties

프로퍼티 타입 설명
ConditionalTypePatternValidated void
InitializeComponent void
ViewModel_PropertyChanged void
butSave_Click void

공개 메소드들

메소드 설명
ConditionalTypePatternEditor ( ) : System

The default constructor.

보호된 메소드들

메소드 설명
BindConditionalTypePattern ( Nexus.Client.ModManagement.Scripting.XmlScript.ConditionalOptionTypeResolver.ConditionalTypePattern p_ctpPattern ) : void

Binds the ConditionalTypePattern being edited to the UI.

Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
ConditionalTypePatternValidated ( object sender, EventArgs e ) : void

This handles the ConditionalTypePatternEditorVM.ConditionalTypePatternValidated event of the view model.

This displays any validation errors.

InitializeComponent ( ) : void

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

ViewModel_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles the INotifyPropertyChanged.PropertyChanged event of the view model.

This binds the UI to the updated ConditionalTypePattern.

butSave_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the save button.

This asks the view model to save the pattern.

메소드 상세

BindConditionalTypePattern() 보호된 메소드

Binds the ConditionalTypePattern being edited to the UI.
protected BindConditionalTypePattern ( Nexus.Client.ModManagement.Scripting.XmlScript.ConditionalOptionTypeResolver.ConditionalTypePattern p_ctpPattern ) : void
p_ctpPattern Nexus.Client.ModManagement.Scripting.XmlScript.ConditionalOptionTypeResolver.ConditionalTypePattern The being edited.
리턴 void

ConditionalTypePatternEditor() 공개 메소드

The default constructor.
public ConditionalTypePatternEditor ( ) : System
리턴 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