C# Class Prizm.Main.Forms.Settings.Inspections.MillInspectionXtraForm

Afficher le fichier Open project: AleksMorozova/prizm Class Usage Examples

Méthodes publiques

Свойство Type Description
viewModel MillInspectionViewModel

Méthodes publiques

Méthode Description
MillInspectionXtraForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : System
SetupForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : void

Méthodes protégées

Méthode Description
CreateLocalizedItems ( ) : List
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
BindToViewModel ( ) : void
ChangeExpected ( ) : void
ChangeFrequency ( ) : void
CheckCreateNotBlankRule ( ValidationRuleBase rule ) : ValidationRuleBase
CheckFixedResultType ( Category c ) : void

Result type should be disabled and of appropriate value for some categories

GetInspectionViewModel ( PipeTest current, BindingList categoryTypes ) : MillInspectionViewModel
IValidatable ( ) : bool
InitializeComponent ( ) : void

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

MillInspectionXtraForm_FormClosed ( object sender, FormClosedEventArgs e ) : void
MillInspectionXtraForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
MillInspectionXtraForm_Load ( object sender, EventArgs e ) : void
SetControlsTextLength ( ) : void
boolExpected_CheckedChanged ( object sender, EventArgs e ) : void
btnAdd_Click ( object sender, EventArgs e ) : void
btnRemove_Click ( object sender, EventArgs e ) : void
category_CloseUp ( object sender, DevExpress e ) : void

After category has been chosen

category_EditValueChanged ( object sender, EventArgs e ) : void
frequencyType_SelectedIndexChanged ( object sender, EventArgs e ) : void
maxExpected_ParseEditValue ( object sender, DevExpress e ) : void
minExpected_ParseEditValue ( object sender, DevExpress e ) : void
repeatedOperationsView_RowCellStyle ( object sender, DevExpress e ) : void
resultType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Method Details

CreateLocalizedItems() protected méthode

protected CreateLocalizedItems ( ) : List
Résultat List

Dispose() protected méthode

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

MillInspectionXtraForm() public méthode

public MillInspectionXtraForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : System
current PipeTest
categoryTypes BindingList
pipeTestList IReadOnlyList
usedCodes IReadOnlyList
Résultat System

SetupForm() public méthode

public SetupForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : void
current PipeTest
categoryTypes BindingList
pipeTestList IReadOnlyList
usedCodes IReadOnlyList
Résultat void

Property Details

viewModel public_oe property

public MillInspectionViewModel,Prizm.Main.Forms.Settings.Inspections viewModel
Résultat MillInspectionViewModel