| | |
| | | DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition(); |
| | | DevExpress.XtraEditors.TableLayout.TemplatedItemElement templatedItemElement1 = new DevExpress.XtraEditors.TableLayout.TemplatedItemElement(); |
| | | DevExpress.XtraEditors.TableLayout.TableRowDefinition tableRowDefinition1 = new DevExpress.XtraEditors.TableLayout.TableRowDefinition(); |
| | | listBoxControl1 = new DevExpress.XtraEditors.ListBoxControl(); |
| | | hydroWorkingListItemViewModelBindingSource = new BindingSource(components); |
| | | ((ISupportInitialize)listBoxControl1).BeginInit(); |
| | | imageListBoxControl1 = new DevExpress.XtraEditors.ImageListBoxControl(); |
| | | toolTipController1 = new DevExpress.Utils.ToolTipController(components); |
| | | ((ISupportInitialize)hydroWorkingListItemViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)imageListBoxControl1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // listBoxControl1 |
| | | // hydroWorkingListItemViewModelBindingSource |
| | | // |
| | | listBoxControl1.DataSource = hydroWorkingListItemViewModelBindingSource; |
| | | listBoxControl1.Dock = DockStyle.Fill; |
| | | listBoxControl1.ItemHeight = 30; |
| | | listBoxControl1.Location = new Point(0, 0); |
| | | listBoxControl1.Name = "listBoxControl1"; |
| | | listBoxControl1.Size = new Size(267, 669); |
| | | listBoxControl1.TabIndex = 0; |
| | | hydroWorkingListItemViewModelBindingSource.DataSource = typeof(HydroWorkingListItemViewModel); |
| | | // |
| | | // imageListBoxControl1 |
| | | // |
| | | imageListBoxControl1.DataSource = hydroWorkingListItemViewModelBindingSource; |
| | | imageListBoxControl1.Dock = DockStyle.Fill; |
| | | imageListBoxControl1.ItemHeight = 32; |
| | | imageListBoxControl1.Location = new Point(0, 0); |
| | | imageListBoxControl1.Name = "imageListBoxControl1"; |
| | | imageListBoxControl1.Size = new Size(267, 669); |
| | | imageListBoxControl1.TabIndex = 0; |
| | | itemTemplateBase1.Columns.Add(tableColumnDefinition1); |
| | | templatedItemElement1.FieldName = "Name"; |
| | | templatedItemElement1.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; |
| | |
| | | itemTemplateBase1.Elements.Add(templatedItemElement1); |
| | | itemTemplateBase1.Name = "template1"; |
| | | itemTemplateBase1.Rows.Add(tableRowDefinition1); |
| | | listBoxControl1.Templates.Add(itemTemplateBase1); |
| | | listBoxControl1.SelectedValueChanged += listBoxControl1_SelectedValueChanged; |
| | | imageListBoxControl1.Templates.Add(itemTemplateBase1); |
| | | imageListBoxControl1.ToolTipController = toolTipController1; |
| | | imageListBoxControl1.SelectedValueChanged += imageListBoxControl1_SelectedValueChanged; |
| | | // |
| | | // hydroWorkingListItemViewModelBindingSource |
| | | // toolTipController1 |
| | | // |
| | | hydroWorkingListItemViewModelBindingSource.DataSource = typeof(HydroWorkingListItemViewModel); |
| | | toolTipController1.GetActiveObjectInfo += toolTipController1_GetActiveObjectInfo; |
| | | // |
| | | // HydroWorkingListViewCtrl |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(listBoxControl1); |
| | | Controls.Add(imageListBoxControl1); |
| | | Name = "HydroWorkingListViewCtrl"; |
| | | Size = new Size(267, 669); |
| | | ((ISupportInitialize)listBoxControl1).EndInit(); |
| | | ((ISupportInitialize)hydroWorkingListItemViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)imageListBoxControl1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private DevExpress.XtraEditors.ListBoxControl listBoxControl1; |
| | | private BindingSource hydroWorkingListItemViewModelBindingSource; |
| | | private DevExpress.XtraEditors.ImageListBoxControl imageListBoxControl1; |
| | | private DevExpress.Utils.ToolTipController toolTipController1; |
| | | } |
| | | } |