using DevExpress.Utils;
|
using DevExpress.XtraEditors;
|
using DevExpress.XtraLayout;
|
using DevExpress.XtraTreeList;
|
using DevExpress.XtraTreeList.Columns;
|
|
namespace Yw.WinFrmUI
|
{
|
partial class HydroWorkingTreeCtrl
|
{
|
/// <summary>
|
/// Required designer variable.
|
/// </summary>
|
private System.ComponentModel.IContainer components = null;
|
|
/// <summary>
|
/// Clean up any resources being used.
|
/// </summary>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
protected override void Dispose(bool disposing)
|
{
|
if (disposing && (components != null))
|
{
|
components.Dispose();
|
}
|
base.Dispose(disposing);
|
}
|
|
#region Component Designer generated code
|
|
/// <summary>
|
/// Required method for Designer support - do not modify
|
/// the contents of this method with the code editor.
|
/// </summary>
|
private void InitializeComponent()
|
{
|
components = new Container();
|
ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroWorkingTreeCtrl));
|
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
SerializableAppearanceObject serializableAppearanceObject1 = new SerializableAppearanceObject();
|
SerializableAppearanceObject serializableAppearanceObject2 = new SerializableAppearanceObject();
|
SerializableAppearanceObject serializableAppearanceObject3 = new SerializableAppearanceObject();
|
SerializableAppearanceObject serializableAppearanceObject4 = new SerializableAppearanceObject();
|
layoutControl1 = new LayoutControl();
|
treeList1 = new TreeList();
|
colName = new TreeListColumn();
|
barManager1 = new DevExpress.XtraBars.BarManager(components);
|
bar1 = new DevExpress.XtraBars.Bar();
|
barBtnExpandAll = new DevExpress.XtraBars.BarButtonItem();
|
barBtnCollpseAll = new DevExpress.XtraBars.BarButtonItem();
|
barBtnSearchBox = new DevExpress.XtraBars.BarButtonItem();
|
barCkTreeLine = new DevExpress.XtraBars.BarCheckItem();
|
barDockControlTop = new DevExpress.XtraBars.BarDockControl();
|
barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
|
barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
|
barDockControlRight = new DevExpress.XtraBars.BarDockControl();
|
repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
|
searchControl1 = new SearchControl();
|
Root = new LayoutControlGroup();
|
layoutControlItem1 = new LayoutControlItem();
|
layoutControlItem2 = new LayoutControlItem();
|
barBtnDetail = new DevExpress.XtraBars.BarButtonItem();
|
((ISupportInitialize)layoutControl1).BeginInit();
|
layoutControl1.SuspendLayout();
|
((ISupportInitialize)treeList1).BeginInit();
|
((ISupportInitialize)barManager1).BeginInit();
|
((ISupportInitialize)repositoryItemButtonEdit1).BeginInit();
|
((ISupportInitialize)searchControl1.Properties).BeginInit();
|
((ISupportInitialize)Root).BeginInit();
|
((ISupportInitialize)layoutControlItem1).BeginInit();
|
((ISupportInitialize)layoutControlItem2).BeginInit();
|
SuspendLayout();
|
//
|
// layoutControl1
|
//
|
layoutControl1.Controls.Add(treeList1);
|
layoutControl1.Controls.Add(searchControl1);
|
layoutControl1.Dock = DockStyle.Fill;
|
layoutControl1.Location = new Point(0, 24);
|
layoutControl1.Name = "layoutControl1";
|
layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(539, 371, 650, 400);
|
layoutControl1.Root = Root;
|
layoutControl1.Size = new Size(533, 636);
|
layoutControl1.TabIndex = 0;
|
layoutControl1.Text = "layoutControl1";
|
//
|
// treeList1
|
//
|
treeList1.Columns.AddRange(new TreeListColumn[] { colName });
|
treeList1.KeyFieldName = "Id";
|
treeList1.Location = new Point(0, 24);
|
treeList1.MenuManager = barManager1;
|
treeList1.Name = "treeList1";
|
treeList1.OptionsMenu.EnableNodeMenu = false;
|
treeList1.OptionsSelection.EnableAppearanceFocusedCell = false;
|
treeList1.OptionsView.FocusRectStyle = DrawFocusRectStyle.None;
|
treeList1.ParentFieldName = "ParentId";
|
treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 });
|
treeList1.Size = new Size(533, 611);
|
treeList1.TabIndex = 5;
|
treeList1.TreeViewColumn = colName;
|
treeList1.ViewStyle = TreeListViewStyle.TreeView;
|
treeList1.RowClick += treeList1_RowClick;
|
treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged;
|
//
|
// colName
|
//
|
colName.Caption = "名称";
|
colName.FieldName = "Name";
|
colName.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colName.ImageOptions.SvgImage");
|
colName.Name = "colName";
|
colName.Visible = true;
|
colName.VisibleIndex = 0;
|
colName.Width = 172;
|
//
|
// barManager1
|
//
|
barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { bar1 });
|
barManager1.DockControls.Add(barDockControlTop);
|
barManager1.DockControls.Add(barDockControlBottom);
|
barManager1.DockControls.Add(barDockControlLeft);
|
barManager1.DockControls.Add(barDockControlRight);
|
barManager1.Form = this;
|
barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnExpandAll, barBtnCollpseAll, barBtnSearchBox, barCkTreeLine, barBtnDetail });
|
barManager1.MaxItemId = 9;
|
//
|
// bar1
|
//
|
bar1.BarName = "Custom 1";
|
bar1.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top;
|
bar1.DockCol = 0;
|
bar1.DockRow = 0;
|
bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
|
bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnExpandAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnCollpseAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnSearchBox), new DevExpress.XtraBars.LinkPersistInfo(barCkTreeLine), new DevExpress.XtraBars.LinkPersistInfo(barBtnDetail) });
|
bar1.OptionsBar.AllowQuickCustomization = false;
|
bar1.OptionsBar.DrawDragBorder = false;
|
bar1.OptionsBar.MultiLine = true;
|
bar1.OptionsBar.UseWholeRow = true;
|
bar1.Text = "Custom 1";
|
//
|
// barBtnExpandAll
|
//
|
barBtnExpandAll.Caption = "展开";
|
barBtnExpandAll.Id = 0;
|
barBtnExpandAll.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnExpandAll.ImageOptions.SvgImage");
|
barBtnExpandAll.Name = "barBtnExpandAll";
|
barBtnExpandAll.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
|
barBtnExpandAll.ItemClick += barBtnExpandAll_ItemClick;
|
//
|
// barBtnCollpseAll
|
//
|
barBtnCollpseAll.Caption = "折叠";
|
barBtnCollpseAll.Id = 1;
|
barBtnCollpseAll.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnCollpseAll.ImageOptions.SvgImage");
|
barBtnCollpseAll.Name = "barBtnCollpseAll";
|
barBtnCollpseAll.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
|
barBtnCollpseAll.ItemClick += barBtnCollpseAll_ItemClick;
|
//
|
// barBtnSearchBox
|
//
|
barBtnSearchBox.Caption = "搜索";
|
barBtnSearchBox.Id = 2;
|
barBtnSearchBox.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSearchBox.ImageOptions.SvgImage");
|
barBtnSearchBox.Name = "barBtnSearchBox";
|
barBtnSearchBox.ItemClick += barBtnSearch_ItemClick;
|
//
|
// barCkTreeLine
|
//
|
barCkTreeLine.Caption = "树线";
|
barCkTreeLine.Id = 4;
|
barCkTreeLine.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCkTreeLine.ImageOptions.SvgImage");
|
barCkTreeLine.Name = "barCkTreeLine";
|
barCkTreeLine.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
|
barCkTreeLine.CheckedChanged += barCkTreeLine_CheckedChanged;
|
//
|
// barDockControlTop
|
//
|
barDockControlTop.CausesValidation = false;
|
barDockControlTop.Dock = DockStyle.Top;
|
barDockControlTop.Location = new Point(0, 0);
|
barDockControlTop.Manager = barManager1;
|
barDockControlTop.Size = new Size(533, 24);
|
//
|
// barDockControlBottom
|
//
|
barDockControlBottom.CausesValidation = false;
|
barDockControlBottom.Dock = DockStyle.Bottom;
|
barDockControlBottom.Location = new Point(0, 660);
|
barDockControlBottom.Manager = barManager1;
|
barDockControlBottom.Size = new Size(533, 0);
|
//
|
// barDockControlLeft
|
//
|
barDockControlLeft.CausesValidation = false;
|
barDockControlLeft.Dock = DockStyle.Left;
|
barDockControlLeft.Location = new Point(0, 24);
|
barDockControlLeft.Manager = barManager1;
|
barDockControlLeft.Size = new Size(0, 636);
|
//
|
// barDockControlRight
|
//
|
barDockControlRight.CausesValidation = false;
|
barDockControlRight.Dock = DockStyle.Right;
|
barDockControlRight.Location = new Point(533, 24);
|
barDockControlRight.Manager = barManager1;
|
barDockControlRight.Size = new Size(0, 636);
|
//
|
// repositoryItemButtonEdit1
|
//
|
repositoryItemButtonEdit1.AutoHeight = false;
|
editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage");
|
editorButtonImageOptions1.SvgImageSize = new Size(20, 20);
|
repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, ToolTipAnchor.Default) });
|
repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
|
repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
|
//
|
// searchControl1
|
//
|
searchControl1.Client = treeList1;
|
searchControl1.Location = new Point(0, 2);
|
searchControl1.MenuManager = barManager1;
|
searchControl1.Name = "searchControl1";
|
searchControl1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() });
|
searchControl1.Properties.Client = treeList1;
|
searchControl1.Size = new Size(533, 20);
|
searchControl1.StyleController = layoutControl1;
|
searchControl1.TabIndex = 4;
|
//
|
// Root
|
//
|
Root.EnableIndentsWithoutBorders = DefaultBoolean.True;
|
Root.GroupBordersVisible = false;
|
Root.Items.AddRange(new BaseLayoutItem[] { layoutControlItem1, layoutControlItem2 });
|
Root.Name = "Root";
|
Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
|
Root.Size = new Size(533, 636);
|
Root.TextVisible = false;
|
//
|
// layoutControlItem1
|
//
|
layoutControlItem1.Control = searchControl1;
|
layoutControlItem1.Location = new Point(0, 0);
|
layoutControlItem1.Name = "layoutControlItem1";
|
layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 1);
|
layoutControlItem1.Size = new Size(533, 23);
|
layoutControlItem1.TextSize = new Size(0, 0);
|
layoutControlItem1.TextVisible = false;
|
//
|
// layoutControlItem2
|
//
|
layoutControlItem2.Control = treeList1;
|
layoutControlItem2.Location = new Point(0, 23);
|
layoutControlItem2.Name = "layoutControlItem2";
|
layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 1, 1);
|
layoutControlItem2.Size = new Size(533, 613);
|
layoutControlItem2.TextSize = new Size(0, 0);
|
layoutControlItem2.TextVisible = false;
|
//
|
// barBtnDetail
|
//
|
barBtnDetail.Caption = "详细信息";
|
barBtnDetail.Id = 6;
|
barBtnDetail.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnDetail.ImageOptions.SvgImage");
|
barBtnDetail.Name = "barBtnDetail";
|
//
|
// HydroWorkingTreeCtrl
|
//
|
AutoScaleDimensions = new SizeF(7F, 14F);
|
AutoScaleMode = AutoScaleMode.Font;
|
Controls.Add(layoutControl1);
|
Controls.Add(barDockControlLeft);
|
Controls.Add(barDockControlRight);
|
Controls.Add(barDockControlBottom);
|
Controls.Add(barDockControlTop);
|
Name = "HydroWorkingTreeCtrl";
|
Size = new Size(533, 660);
|
((ISupportInitialize)layoutControl1).EndInit();
|
layoutControl1.ResumeLayout(false);
|
((ISupportInitialize)treeList1).EndInit();
|
((ISupportInitialize)barManager1).EndInit();
|
((ISupportInitialize)repositoryItemButtonEdit1).EndInit();
|
((ISupportInitialize)searchControl1.Properties).EndInit();
|
((ISupportInitialize)Root).EndInit();
|
((ISupportInitialize)layoutControlItem1).EndInit();
|
((ISupportInitialize)layoutControlItem2).EndInit();
|
ResumeLayout(false);
|
PerformLayout();
|
}
|
|
#endregion
|
|
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
private DevExpress.XtraLayout.LayoutControlGroup Root;
|
private DevExpress.XtraBars.BarManager barManager1;
|
private DevExpress.XtraBars.Bar bar1;
|
private DevExpress.XtraBars.BarButtonItem barBtnExpandAll;
|
private DevExpress.XtraBars.BarDockControl barDockControlTop;
|
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
|
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
|
private DevExpress.XtraBars.BarDockControl barDockControlRight;
|
private DevExpress.XtraEditors.SearchControl searchControl1;
|
private DevExpress.XtraBars.BarButtonItem barBtnCollpseAll;
|
private DevExpress.XtraBars.BarButtonItem barBtnSearchBox;
|
private DevExpress.XtraBars.BarCheckItem barCkTreeLine;
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
private DevExpress.XtraTreeList.TreeList treeList1;
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
private DevExpress.XtraTreeList.Columns.TreeListColumn colName;
|
private DevExpress.XtraEditors.SimpleButton btnImportProject;
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
private DevExpress.XtraBars.BarButtonItem barBtnRefresh;
|
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
|
private DevExpress.XtraBars.BarButtonItem barBtnDetail;
|
}
|
}
|