//private bool _isEdit; public FormQCItem(MWLQueryCriteriaItem item, XCollection <MWLQueryCriteriaItem> list) { InitializeComponent(); InitializeCombox(); _qcitem = item; _qcList = list; if (_qcitem == null) { _qcitem = new MWLQueryCriteriaItem(); _qcitem.Translating.Type = TranslatingType.FixValue; _qcitem.Operator = QueryCriteriaOperator.Equal; _qcitem.Type = QueryCriteriaType.And; this.Text = "Add Query Criteria Item"; } else { //_isEdit = true; this.Text = "Edit Query Criteria Item"; } _fieldControler = new FieldControler(this.comboBoxTable, this.comboBoxField); _fieldControler.ValueChanged += new EventHandler(_fieldControler_ValueChanged); }
public Options() { Fields = FieldControler.Make(typeof(ValueType)); Labels = new string[Fields.Length]; for (int i = 0; i < Fields.Length; i++) { Labels[i] = Fields[i].Info.Name; } }
public FormQCElement(MWLQueryCriteriaItem item) { InitializeComponent(); _qcItem = item; _tagControler = new TagControler(false, this.groupBoxDicom, this.comboBoxVR, this.comboBoxTag, this.textBoxGroupNum, this.textBoxElementNum); _tagControler.OnValueChanged += new EventHandler(_tagControler_OnValueChanged); _fieldControler = new FieldControler(false, this.groupBoxGateway, this.comboBoxTable, this.comboBoxField, this.checkBoxFixValue, this.textBoxFixValue, this.checkBoxLUT, this.comboBoxLUT, false); _fieldControler.OnValueChanged += new EventHandler(_fieldControler_OnValueChanged); _tagControler.Enabled = false; }
public FormElement(StorageItem item, XCollection <StorageItem> itemList) { InitializeComponent(); _storageItem = item; _itemList = itemList; _tagControler = new TagControler(false, this.groupBoxDicom, this.comboBoxVR, this.comboBoxTag, this.textBoxGroupNum, this.textBoxElementNum); _tagControler.OnValueChanged += new EventHandler(_tagControler_OnValueChanged); _fieldControler = new FieldControler(false, this.groupBoxGateway, this.comboBoxTable, this.comboBoxField, this.checkBoxFixValue, this.textBoxFixValue, this.checkBoxLUT, this.comboBoxLUT, true); _fieldControler.OnValueChanged += new EventHandler(_fieldControler_OnValueChanged); _tagControler.Enabled = false; }
public FormField2(GWDataDBField field) { InitializeComponent(); _fieldControler = new FieldControler(this.comboBoxTable, this.comboBoxField, Program.DeviceMgt.DeviceDirInfor.Header.Direction); _fieldControler.ValueChanged += new EventHandler(_fieldControler_ValueChanged); _field = field; if (_field == null) { _field = new GWDataDBField(); this.Text = "Add Field"; } else { this.Text = "Edit Field"; } LoadSetting(); }
public FormReplace(ReplacementRuleItem item) { InitializeComponent(); _fieldControler = new FieldControler(this.comboBoxTable, this.comboBoxField); _fieldControler.ValueChanged += new EventHandler(_fieldControler_ValueChanged); _ruleItem = item; if (_ruleItem == null) { this.Text = "Add Replacement Rule"; _ruleItem = new ReplacementRuleItem(); } else { this.Text = "Edit Replacement Rule"; _isEdit = true; } LoadSetting(); }
public FormQRElement(MWLQueryResultItem item) { InitializeComponent(); _qrItem = item; _isAuto = (item.TargetField == WorklistSCPHelper.DataColumns.RequestedProcedureID || item.TargetField == WorklistSCPHelper.DataColumns.ScheduledProcedureStepID || item.TargetField == WorklistSCPHelper.DataColumns.StudyInstanceUID); _tagControler = new TagControler(true, this.groupBoxDicom, this.comboBoxVR, this.comboBoxTag, this.textBoxGroupNum, this.textBoxElementNum); _tagControler.OnValueChanged += new EventHandler(_tagControler_OnValueChanged); _fieldControler = new FieldControler(true, this.groupBoxGateway, this.comboBoxTable, this.comboBoxField, this.checkBoxFixValue, this.textBoxFixValue, this.checkBoxLUT, this.comboBoxLUT, false); _fieldControler.OnValueChanged += new EventHandler(_fieldControler_OnValueChanged); _tagControler.Enabled = false; }
public FormFieldKanJi(Level3KanJiReplacementRuleItem field) { InitializeComponent(); _fieldControler = new FieldControler(this.comboBoxTable, this.comboBoxField, DirectionType.INBOUND); _fieldControler.ValueChanged += new EventHandler(_fieldControler_ValueChanged); _field = field; if (_field == null) { _field = new Level3KanJiReplacementRuleItem(); this.Text = "Add Convertion Rule"; } else { this.Text = "Edit Convertion Rule"; _isEdit = true; } LoadSetting(); }
public FormField(XIMMappingItem item, List <XIMMappingItem> list, string dbConnection, Logging log, bool isInbound) { InitializeComponent(); this.checkBoxRedundancy.Visible = isInbound; _log = log; _dbConnection = dbConnection; _item = item; _list = list; _controler = new FieldControler(!isInbound, this.groupBoxGateway, this.comboBoxTable, this.comboBoxField, this.checkBoxFixValue, this.textBoxFixValue, this.checkBoxLUT, this.comboBoxLUT, isInbound); _controler.OnValueChanged += new EventHandler(_controler_OnValueChanged); }