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

Datei anzeigen Open project: AleksMorozova/prizm Class Usage Examples

Public Properties

Property Type Description
viewModel MillInspectionViewModel

Public Methods

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

Protected Methods

Method Description
CreateLocalizedItems ( ) : List
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 method

protected CreateLocalizedItems ( ) : List
return List

Dispose() protected method

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

MillInspectionXtraForm() public method

public MillInspectionXtraForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : System
current PipeTest
categoryTypes BindingList
pipeTestList IReadOnlyList
usedCodes IReadOnlyList
return System

SetupForm() public method

public SetupForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : void
current PipeTest
categoryTypes BindingList
pipeTestList IReadOnlyList
usedCodes IReadOnlyList
return void

Property Details

viewModel public_oe property

public MillInspectionViewModel,Prizm.Main.Forms.Settings.Inspections viewModel
return MillInspectionViewModel