C# Класс Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.NodeEditors.ConditionalTypePatternEditor

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

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