C# Класс Prizm.Main.Forms.Settings.Inspections.MillInspectionXtraForm

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
viewModel MillInspectionViewModel

Открытые методы

Метод Описание
MillInspectionXtraForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : System
SetupForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : void

Защищенные методы

Метод Описание
CreateLocalizedItems ( ) : List
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

CreateLocalizedItems() защищенный Метод

protected CreateLocalizedItems ( ) : List
Результат List

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

MillInspectionXtraForm() публичный Метод

public MillInspectionXtraForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : System
current PipeTest
categoryTypes BindingList
pipeTestList IReadOnlyList
usedCodes IReadOnlyList
Результат System

SetupForm() публичный Метод

public SetupForm ( PipeTest current, BindingList categoryTypes, IReadOnlyList pipeTestList, IReadOnlyList usedCodes ) : void
current PipeTest
categoryTypes BindingList
pipeTestList IReadOnlyList
usedCodes IReadOnlyList
Результат void

Описание свойств

viewModel публичное свойство

public MillInspectionViewModel,Prizm.Main.Forms.Settings.Inspections viewModel
Результат MillInspectionViewModel