コード例 #1
0
        private Rect PreviewDockCounterOrientation(DockDirection dockDirection, FrameworkElement adornedElement, ViewElement viewElement, SplitterLength itemLength, Orientation orientation)
        {
            List <UIElement> list          = new List <UIElement>();
            Point            point1        = new Point(0.0, 0.0);
            SplitterItem     splitterItem1 = new SplitterItem();
            int          index             = 0;
            Size         availableSize     = new Size(adornedElement.ActualWidth, adornedElement.ActualHeight);
            SplitterItem splitterItem2     = new SplitterItem();

            list.Add((UIElement)splitterItem2);
            if (dockDirection == DockDirection.Right || dockDirection == DockDirection.Bottom)
            {
                index = 1;
            }
            list.Insert(index, (UIElement)splitterItem1);
            SplitterLength splitterLength = !(viewElement is MainSite) ? (orientation == Orientation.Horizontal ? viewElement.DockedWidth : viewElement.DockedHeight) : new SplitterLength(1.0, SplitterUnitType.Fill);

            SplitterPanel.SetSplitterLength((UIElement)splitterItem2, splitterLength);
            SplitterPanel.SetSplitterLength((UIElement)splitterItem1, itemLength);
            Point point2 = DpiHelper.DeviceToLogicalUnits(adornedElement.PointToScreen(new Point(0.0, 0.0)));

            Rect[] elementBounds;
            SplitterPanel.Measure(availableSize, orientation, (IEnumerable)list, false, out elementBounds, (SplitterPanel)null);
            Rect rect = elementBounds[index];

            rect.Offset(point2.X, point2.Y);
            return(rect);
        }
コード例 #2
0
        protected override void UpdateContentCore()
        {
            base.UpdateContentCore();
            DockTarget adornedElement = base.AdornedElement as DockTarget;

            if (adornedElement != null)
            {
                this.DockSiteType = adornedElement.DockSiteType;
                SplitterItem splitterItem = adornedElement.FindAncestor <SplitterItem>();
                if (splitterItem != null)
                {
                    this.IsFirst = SplitterPanel.GetIsFirst(splitterItem);
                    this.IsLast  = SplitterPanel.GetIsLast(splitterItem);
                }
            }
        }
コード例 #3
0
ファイル: PivotGridController.cs プロジェクト: scsi110/eXpand
        private void UpdateSplitterVisibility(LayoutVisibility visibility)
        {
            SplitterItem splitterItem = null;

            foreach (BaseLayoutItem item in ((XafLayoutControl)PivotGridListEditor.Control).Items)
            {
                splitterItem = item as SplitterItem;
                if (splitterItem != null)
                {
                    break;
                }
            }
            if (splitterItem != null)
            {
                splitterItem.Visibility = visibility;
            }
        }
コード例 #4
0
        private void GetPreviewSplitterPanel(out SplitterPanel panel, out int targetIndex, DockDirection dockDirection, ViewElement viewElement, FrameworkElement adornedElement, Orientation orientation)
        {
            targetIndex = -1;
            panel       = Microsoft.VisualStudio.PlatformUI.ExtensionMethods.FindAncestor <SplitterPanel>((Visual)adornedElement);
            if (panel != null)
            {
                SplitterItem ancestor = Microsoft.VisualStudio.PlatformUI.ExtensionMethods.FindAncestor <SplitterItem>((Visual)adornedElement);
                targetIndex = SplitterPanel.GetIndex((UIElement)ancestor);
            }
            MainSite mainSite = viewElement as MainSite;

            if (mainSite == null)
            {
                return;
            }
            DockGroup dockGroup = mainSite.Child as DockGroup;

            if (dockGroup == null || dockGroup.Orientation != orientation)
            {
                return;
            }
            panel = (SplitterPanel)null;
            DependencyObject reference = (DependencyObject)adornedElement;

            while (panel == null && reference != null)
            {
                reference = VisualTreeHelper.GetChild(reference, 0);
                panel     = reference as SplitterPanel;
            }
            if (panel == null)
            {
                return;
            }
            if (dockDirection == DockDirection.Left || dockDirection == DockDirection.FirstValue)
            {
                targetIndex = 0;
            }
            else
            {
                targetIndex = panel.Children.Count - 1;
            }
        }
コード例 #5
0
        private Rect PreviewDockSameOrientation(DockDirection dockDirection, SplitterPanel panel, ViewElement viewElement, SplitterLength itemLength, Orientation orientation, int originalIndex)
        {
            List <UIElement> list          = new List <UIElement>();
            Point            point1        = new Point(0.0, 0.0);
            SplitterItem     splitterItem1 = new SplitterItem();
            Size             availableSize = new Size();

            availableSize.Width  = panel.ActualWidth;
            availableSize.Height = panel.ActualHeight;
            SplitterItem splitterItem2 = (SplitterItem)null;

            foreach (SplitterItem splitterItem3 in panel.Children)
            {
                list.Add((UIElement)splitterItem3);
                if (splitterItem3.Content == viewElement)
                {
                    splitterItem2 = splitterItem3;
                    panel.Children.IndexOf((UIElement)splitterItem2);
                }
            }
            int index = splitterItem2 != null?list.IndexOf((UIElement)splitterItem2) : originalIndex;

            if (dockDirection == DockDirection.Right || dockDirection == DockDirection.Bottom)
            {
                ++index;
            }
            list.Insert(index, (UIElement)splitterItem1);
            SplitterPanel.SetSplitterLength((UIElement)splitterItem1, itemLength);
            Point point2 = DpiHelper.DeviceToLogicalUnits(panel.PointToScreen(new Point(0.0, 0.0)));

            Rect[] elementBounds;
            SplitterPanel.Measure(availableSize, orientation, (IEnumerable)list, false, out elementBounds, panel);
            Rect rect = elementBounds[index];

            rect.Offset(point2.X, point2.Y);
            return(rect);
        }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTrialXtraLayoutControl));
     this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
     this.imageCollection1 = new DevExpress.Utils.ImageCollection(this.components);
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit();
     this.filename = new DevExpress.XtraEditors.TextEdit();
     this.btnSave = new DevExpress.XtraEditors.SimpleButton();
     this.btnLoad = new DevExpress.XtraEditors.SimpleButton();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.dsFile = new DevExpress.XtraEditors.ComboBoxEdit();
     this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
     this.userCtrl_DieuKienLoc1 = new XtralayoutControl.chautv.UserCtrl_DieuKienLoc();
     this.NgaySinh = new DevExpress.XtraEditors.DateEdit();
     this.NgheNghiep = new DevExpress.XtraEditors.ComboBoxEdit();
     this.TenNuoc = new DevExpress.XtraEditors.ComboBoxEdit();
     this.NoiSinh = new DevExpress.XtraEditors.TextEdit();
     this.txt_HoTen = new DevExpress.XtraEditors.TextEdit();
     this.dataNavigator1 = new DevExpress.XtraEditors.DataNavigator();
     this.ThongTinThem = new DevExpress.XtraEditors.MemoEdit();
     this.pictureEditHinhAnh = new DevExpress.XtraEditors.PictureEdit();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
     this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
     this.splitterItem2 = new DevExpress.XtraLayout.SplitterItem();
     this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
     this.xtraUserControlLayout1 = new pl.fw.layout.test.XtraUserControlLayout();
     ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.filename.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsFile.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NgaySinh.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NgaySinh.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NgheNghiep.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TenNuoc.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NoiSinh.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_HoTen.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ThongTinThem.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEditHinhAnh.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     this.SuspendLayout();
     //
     // defaultLookAndFeel1
     //
     this.defaultLookAndFeel1.LookAndFeel.SkinName = "Money Twins";
     //
     // imageCollection1
     //
     this.imageCollection1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection1.ImageStream")));
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.splitContainerControl1.Horizontal = false;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 176);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.checkEdit1);
     this.splitContainerControl1.Panel1.Controls.Add(this.filename);
     this.splitContainerControl1.Panel1.Controls.Add(this.btnSave);
     this.splitContainerControl1.Panel1.Controls.Add(this.btnLoad);
     this.splitContainerControl1.Panel1.Controls.Add(this.labelControl2);
     this.splitContainerControl1.Panel1.Controls.Add(this.labelControl1);
     this.splitContainerControl1.Panel1.Controls.Add(this.dsFile);
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.layoutControl1);
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(827, 451);
     this.splitContainerControl1.SplitterPosition = 92;
     this.splitContainerControl1.TabIndex = 0;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // checkEdit1
     //
     this.checkEdit1.Location = new System.Drawing.Point(26, 64);
     this.checkEdit1.Name = "checkEdit1";
     this.checkEdit1.Properties.Caption = "Thiết kế";
     this.checkEdit1.Size = new System.Drawing.Size(75, 18);
     this.checkEdit1.TabIndex = 5;
     this.checkEdit1.CheckedChanged += new System.EventHandler(this.checkEdit1_CheckedChanged);
     //
     // filename
     //
     this.filename.Location = new System.Drawing.Point(373, 37);
     this.filename.Name = "filename";
     this.filename.Size = new System.Drawing.Size(108, 20);
     this.filename.TabIndex = 4;
     //
     // btnSave
     //
     this.btnSave.Location = new System.Drawing.Point(487, 34);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new System.Drawing.Size(61, 24);
     this.btnSave.TabIndex = 3;
     this.btnSave.Text = "Save";
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnLoad
     //
     this.btnLoad.Location = new System.Drawing.Point(238, 34);
     this.btnLoad.Name = "btnLoad";
     this.btnLoad.Size = new System.Drawing.Size(61, 23);
     this.btnLoad.TabIndex = 2;
     this.btnLoad.Text = "Load";
     this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click);
     //
     // labelControl2
     //
     this.labelControl2.Location = new System.Drawing.Point(309, 41);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(52, 13);
     this.labelControl2.TabIndex = 1;
     this.labelControl2.Text = "File name :";
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(28, 40);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(47, 13);
     this.labelControl1.TabIndex = 1;
     this.labelControl1.Text = "Load file :";
     //
     // dsFile
     //
     this.dsFile.Location = new System.Drawing.Point(81, 36);
     this.dsFile.Name = "dsFile";
     this.dsFile.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dsFile.Size = new System.Drawing.Size(151, 20);
     this.dsFile.TabIndex = 0;
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.userCtrl_DieuKienLoc1);
     this.layoutControl1.Controls.Add(this.NgaySinh);
     this.layoutControl1.Controls.Add(this.NgheNghiep);
     this.layoutControl1.Controls.Add(this.TenNuoc);
     this.layoutControl1.Controls.Add(this.NoiSinh);
     this.layoutControl1.Controls.Add(this.txt_HoTen);
     this.layoutControl1.Controls.Add(this.dataNavigator1);
     this.layoutControl1.Controls.Add(this.ThongTinThem);
     this.layoutControl1.Controls.Add(this.pictureEditHinhAnh);
     this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(0, 0);
     this.layoutControl1.Name = "layoutControl1";
     this.layoutControl1.OptionsCustomizationForm.ShowPropertyGrid = true;
     this.layoutControl1.Root = this.layoutControlGroup1;
     this.layoutControl1.Size = new System.Drawing.Size(821, 347);
     this.layoutControl1.TabIndex = 2;
     this.layoutControl1.Text = "layoutControl1";
     //
     // userCtrl_DieuKienLoc1
     //
     this.userCtrl_DieuKienLoc1.Location = new System.Drawing.Point(11, 29);
     this.userCtrl_DieuKienLoc1.Name = "userCtrl_DieuKienLoc1";
     this.userCtrl_DieuKienLoc1.Size = new System.Drawing.Size(800, 66);
     this.userCtrl_DieuKienLoc1.TabIndex = 21;
     //
     // NgaySinh
     //
     this.NgaySinh.EditValue = null;
     this.NgaySinh.Location = new System.Drawing.Point(404, 140);
     this.NgaySinh.Name = "NgaySinh";
     this.NgaySinh.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.NgaySinh.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.NgaySinh.Size = new System.Drawing.Size(274, 20);
     this.NgaySinh.StyleController = this.layoutControl1;
     this.NgaySinh.TabIndex = 20;
     //
     // NgheNghiep
     //
     this.NgheNghiep.Location = new System.Drawing.Point(404, 233);
     this.NgheNghiep.Name = "NgheNghiep";
     this.NgheNghiep.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.NgheNghiep.Size = new System.Drawing.Size(274, 20);
     this.NgheNghiep.StyleController = this.layoutControl1;
     this.NgheNghiep.TabIndex = 19;
     //
     // TenNuoc
     //
     this.TenNuoc.Location = new System.Drawing.Point(404, 202);
     this.TenNuoc.Name = "TenNuoc";
     this.TenNuoc.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.TenNuoc.Size = new System.Drawing.Size(274, 20);
     this.TenNuoc.StyleController = this.layoutControl1;
     this.TenNuoc.TabIndex = 18;
     //
     // NoiSinh
     //
     this.NoiSinh.Location = new System.Drawing.Point(404, 171);
     this.NoiSinh.Name = "NoiSinh";
     this.NoiSinh.Size = new System.Drawing.Size(410, 20);
     this.NoiSinh.StyleController = this.layoutControl1;
     this.NoiSinh.TabIndex = 17;
     //
     // txt_HoTen
     //
     this.txt_HoTen.Location = new System.Drawing.Point(404, 109);
     this.txt_HoTen.Name = "txt_HoTen";
     this.txt_HoTen.Size = new System.Drawing.Size(410, 20);
     this.txt_HoTen.StyleController = this.layoutControl1;
     this.txt_HoTen.TabIndex = 15;
     //
     // dataNavigator1
     //
     this.dataNavigator1.Location = new System.Drawing.Point(371, 321);
     this.dataNavigator1.Name = "dataNavigator1";
     this.dataNavigator1.Size = new System.Drawing.Size(443, 19);
     this.dataNavigator1.StyleController = this.layoutControl1;
     this.dataNavigator1.TabIndex = 14;
     this.dataNavigator1.Text = "dataNavigator1";
     //
     // ThongTinThem
     //
     this.ThongTinThem.Location = new System.Drawing.Point(11, 291);
     this.ThongTinThem.Name = "ThongTinThem";
     this.ThongTinThem.Size = new System.Drawing.Size(800, 16);
     this.ThongTinThem.StyleController = this.layoutControl1;
     this.ThongTinThem.TabIndex = 12;
     //
     // pictureEditHinhAnh
     //
     this.pictureEditHinhAnh.Location = new System.Drawing.Point(8, 109);
     this.pictureEditHinhAnh.Name = "pictureEditHinhAnh";
     this.pictureEditHinhAnh.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
     this.pictureEditHinhAnh.Size = new System.Drawing.Size(299, 144);
     this.pictureEditHinhAnh.StyleController = this.layoutControl1;
     this.pictureEditHinhAnh.TabIndex = 4;
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem1,
     this.splitterItem1,
     this.splitterItem2,
     this.emptySpaceItem1,
     this.layoutControlItem11,
     this.emptySpaceItem2,
     this.layoutControlItem7,
     this.layoutControlItem4,
     this.emptySpaceItem3,
     this.layoutControlItem8,
     this.emptySpaceItem4,
     this.layoutControlItem6,
     this.layoutControlGroup2,
     this.layoutControlItem5,
     this.layoutControlGroup3});
     this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name = "layoutControlGroup1";
     this.layoutControlGroup1.Size = new System.Drawing.Size(821, 347);
     this.layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.layoutControlGroup1.Text = "layoutControlGroup1";
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control = this.pictureEditHinhAnh;
     this.layoutControlItem1.CustomizationFormText = "layoutControlItem1";
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 101);
     this.layoutControlItem1.Name = "layoutControlItem1";
     this.layoutControlItem1.Size = new System.Drawing.Size(310, 155);
     this.layoutControlItem1.Text = "layoutControlItem1";
     this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Left;
     this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextToControlDistance = 0;
     this.layoutControlItem1.TextVisible = false;
     //
     // splitterItem1
     //
     this.splitterItem1.CustomizationFormText = "splitterItem1";
     this.splitterItem1.Location = new System.Drawing.Point(310, 101);
     this.splitterItem1.Name = "splitterItem1";
     this.splitterItem1.Size = new System.Drawing.Size(6, 155);
     //
     // splitterItem2
     //
     this.splitterItem2.CustomizationFormText = "splitterItem2";
     this.splitterItem2.Location = new System.Drawing.Point(0, 256);
     this.splitterItem2.Name = "splitterItem2";
     this.splitterItem2.Size = new System.Drawing.Size(817, 6);
     //
     // emptySpaceItem1
     //
     this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1";
     this.emptySpaceItem1.Location = new System.Drawing.Point(681, 225);
     this.emptySpaceItem1.Name = "emptySpaceItem1";
     this.emptySpaceItem1.Size = new System.Drawing.Size(136, 31);
     this.emptySpaceItem1.Text = "emptySpaceItem1";
     this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
     //
     // layoutControlItem11
     //
     this.layoutControlItem11.Control = this.dataNavigator1;
     this.layoutControlItem11.CustomizationFormText = "layoutControlItem11";
     this.layoutControlItem11.Location = new System.Drawing.Point(363, 313);
     this.layoutControlItem11.Name = "layoutControlItem11";
     this.layoutControlItem11.Size = new System.Drawing.Size(454, 30);
     this.layoutControlItem11.Text = "layoutControlItem11";
     this.layoutControlItem11.TextLocation = DevExpress.Utils.Locations.Left;
     this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem11.TextToControlDistance = 0;
     this.layoutControlItem11.TextVisible = false;
     //
     // emptySpaceItem2
     //
     this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2";
     this.emptySpaceItem2.Location = new System.Drawing.Point(0, 313);
     this.emptySpaceItem2.Name = "emptySpaceItem2";
     this.emptySpaceItem2.Size = new System.Drawing.Size(363, 30);
     this.emptySpaceItem2.Text = "emptySpaceItem2";
     this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
     //
     // layoutControlItem7
     //
     this.layoutControlItem7.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.layoutControlItem7.AppearanceItemCaption.Options.UseFont = true;
     this.layoutControlItem7.AppearanceItemCaption.Options.UseTextOptions = true;
     this.layoutControlItem7.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.layoutControlItem7.Control = this.NgheNghiep;
     this.layoutControlItem7.CustomizationFormText = "Job :";
     this.layoutControlItem7.Location = new System.Drawing.Point(316, 225);
     this.layoutControlItem7.Name = "layoutControlItem7";
     this.layoutControlItem7.Size = new System.Drawing.Size(365, 31);
     this.layoutControlItem7.Text = "Nghề nghiệp :";
     this.layoutControlItem7.TextLocation = DevExpress.Utils.Locations.Left;
     this.layoutControlItem7.TextSize = new System.Drawing.Size(75, 20);
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.layoutControlItem4.AppearanceItemCaption.Options.UseFont = true;
     this.layoutControlItem4.AppearanceItemCaption.Options.UseTextOptions = true;
     this.layoutControlItem4.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.layoutControlItem4.Control = this.NoiSinh;
     this.layoutControlItem4.CustomizationFormText = "Place birthday :";
     this.layoutControlItem4.Location = new System.Drawing.Point(316, 163);
     this.layoutControlItem4.Name = "layoutControlItem4";
     this.layoutControlItem4.Size = new System.Drawing.Size(501, 31);
     this.layoutControlItem4.Text = "Nơi sinh :";
     this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Left;
     this.layoutControlItem4.TextSize = new System.Drawing.Size(75, 20);
     //
     // emptySpaceItem3
     //
     this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3";
     this.emptySpaceItem3.Location = new System.Drawing.Point(681, 132);
     this.emptySpaceItem3.Name = "emptySpaceItem3";
     this.emptySpaceItem3.Size = new System.Drawing.Size(136, 31);
     this.emptySpaceItem3.Text = "emptySpaceItem3";
     this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
     //
     // layoutControlItem8
     //
     this.layoutControlItem8.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.layoutControlItem8.AppearanceItemCaption.Options.UseFont = true;
     this.layoutControlItem8.AppearanceItemCaption.Options.UseTextOptions = true;
     this.layoutControlItem8.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.layoutControlItem8.Control = this.NgaySinh;
     this.layoutControlItem8.CustomizationFormText = "layoutControlItem8";
     this.layoutControlItem8.Location = new System.Drawing.Point(316, 132);
     this.layoutControlItem8.Name = "layoutControlItem8";
     this.layoutControlItem8.Size = new System.Drawing.Size(365, 31);
     this.layoutControlItem8.Text = "Ngày sinh :";
     this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Left;
     this.layoutControlItem8.TextSize = new System.Drawing.Size(75, 20);
     //
     // emptySpaceItem4
     //
     this.emptySpaceItem4.CustomizationFormText = "emptySpaceItem4";
     this.emptySpaceItem4.Location = new System.Drawing.Point(681, 194);
     this.emptySpaceItem4.Name = "emptySpaceItem4";
     this.emptySpaceItem4.Size = new System.Drawing.Size(136, 31);
     this.emptySpaceItem4.Text = "emptySpaceItem4";
     this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0);
     //
     // layoutControlItem6
     //
     this.layoutControlItem6.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.layoutControlItem6.AppearanceItemCaption.Options.UseFont = true;
     this.layoutControlItem6.AppearanceItemCaption.Options.UseTextOptions = true;
     this.layoutControlItem6.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.layoutControlItem6.Control = this.TenNuoc;
     this.layoutControlItem6.CustomizationFormText = "Country :";
     this.layoutControlItem6.Location = new System.Drawing.Point(316, 194);
     this.layoutControlItem6.Name = "layoutControlItem6";
     this.layoutControlItem6.Size = new System.Drawing.Size(365, 31);
     this.layoutControlItem6.Text = "Tên nước :";
     this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Left;
     this.layoutControlItem6.TextSize = new System.Drawing.Size(75, 20);
     //
     // layoutControlGroup2
     //
     this.layoutControlGroup2.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.layoutControlGroup2.AppearanceGroup.Options.UseFont = true;
     this.layoutControlGroup2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.layoutControlGroup2.AppearanceItemCaption.Options.UseFont = true;
     this.layoutControlGroup2.CustomizationFormText = "Thông tin thêm";
     this.layoutControlGroup2.ExpandButtonVisible = true;
     this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem9});
     this.layoutControlGroup2.Location = new System.Drawing.Point(0, 262);
     this.layoutControlGroup2.Name = "layoutControlGroup2";
     this.layoutControlGroup2.Size = new System.Drawing.Size(817, 51);
     this.layoutControlGroup2.Text = "Thông tin thêm";
     //
     // layoutControlItem9
     //
     this.layoutControlItem9.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.layoutControlItem9.AppearanceItemCaption.Options.UseFont = true;
     this.layoutControlItem9.Control = this.ThongTinThem;
     this.layoutControlItem9.CustomizationFormText = "The Plot:";
     this.layoutControlItem9.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem9.Name = "layoutControlItem9";
     this.layoutControlItem9.Size = new System.Drawing.Size(811, 27);
     this.layoutControlItem9.Text = "The Plot:";
     this.layoutControlItem9.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
     this.layoutControlItem9.TextLocation = DevExpress.Utils.Locations.Top;
     this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem9.TextToControlDistance = 0;
     this.layoutControlItem9.TextVisible = false;
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.layoutControlItem5.AppearanceItemCaption.Options.UseFont = true;
     this.layoutControlItem5.AppearanceItemCaption.Options.UseTextOptions = true;
     this.layoutControlItem5.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.layoutControlItem5.Control = this.txt_HoTen;
     this.layoutControlItem5.CustomizationFormText = "Name :";
     this.layoutControlItem5.ImageAlignment = System.Drawing.ContentAlignment.MiddleRight;
     this.layoutControlItem5.Location = new System.Drawing.Point(316, 101);
     this.layoutControlItem5.Name = "layoutControlItem5";
     this.layoutControlItem5.Size = new System.Drawing.Size(501, 31);
     this.layoutControlItem5.Text = "Họ và tên :";
     this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Left;
     this.layoutControlItem5.TextSize = new System.Drawing.Size(75, 20);
     //
     // layoutControlGroup3
     //
     this.layoutControlGroup3.CustomizationFormText = "Điều kiện lọc";
     this.layoutControlGroup3.ExpandButtonVisible = true;
     this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem2});
     this.layoutControlGroup3.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup3.Name = "layoutControlGroup3";
     this.layoutControlGroup3.Size = new System.Drawing.Size(817, 101);
     this.layoutControlGroup3.Text = "Điều kiện lọc";
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control = this.userCtrl_DieuKienLoc1;
     this.layoutControlItem2.CustomizationFormText = "layoutControlItem2";
     this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem2.Name = "layoutControlItem2";
     this.layoutControlItem2.Size = new System.Drawing.Size(811, 77);
     this.layoutControlItem2.Text = "layoutControlItem2";
     this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Left;
     this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextToControlDistance = 0;
     this.layoutControlItem2.TextVisible = false;
     //
     // xtraUserControlLayout1
     //
     this.xtraUserControlLayout1.Location = new System.Drawing.Point(14, 58);
     this.xtraUserControlLayout1.Name = "xtraUserControlLayout1";
     this.xtraUserControlLayout1.Size = new System.Drawing.Size(350, 93);
     this.xtraUserControlLayout1.TabIndex = 1;
     //
     // frmTrialXtraLayoutControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(827, 627);
     this.Controls.Add(this.xtraUserControlLayout1);
     this.Controls.Add(this.splitContainerControl1);
     this.Name = "frmTrialXtraLayoutControl";
     this.Text = "Demo Xtralayout";
     this.Load += new System.EventHandler(this.frmDemoXtralayout2_Load_1);
     ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.filename.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsFile.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.NgaySinh.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NgaySinh.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NgheNghiep.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TenNuoc.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NoiSinh.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_HoTen.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ThongTinThem.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEditHinhAnh.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdminTool));
     this.tlControls = new CommonTreeList();
     this.tlcType = new CommonTreeListColumn();
     this.tlcText = new CommonTreeListColumn();
     this.lueForms = new DevExpress.XtraEditors.LookUpEdit();
     this.bsForms = new System.Windows.Forms.BindingSource(this.components);
     this.lcAdmin = new DevExpress.XtraLayout.LayoutControl();
     this.pgFilter = new FilterPropertyGrid();
     this.lueRoles = new DevExpress.XtraEditors.LookUpEdit();
     this.lcgAdmin = new DevExpress.XtraLayout.LayoutControlGroup();
     this.lciForm = new DevExpress.XtraLayout.LayoutControlItem();
     this.lciTree = new DevExpress.XtraLayout.LayoutControlItem();
     this.lciRole = new DevExpress.XtraLayout.LayoutControlItem();
     this.lciProperty = new DevExpress.XtraLayout.LayoutControlItem();
     this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
     this.rcAdmin = new DevExpress.XtraBars.Ribbon.RibbonControl();
     this.bbiDefault = new DevExpress.XtraBars.BarButtonItem();
     this.bbiRestore = new DevExpress.XtraBars.BarButtonItem();
     this.bbiSave = new DevExpress.XtraBars.BarButtonItem();
     this.rpMain = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rpgSettings = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.toolTip = new DevExpress.Utils.ToolTipController(this.components);
     this.pmControls = new DevExpress.XtraBars.PopupMenu(this.components);
     this.bbiExpand = new DevExpress.XtraBars.BarButtonItem();
     ((System.ComponentModel.ISupportInitialize)(this.tlControls)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lueForms.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bsForms)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lcAdmin)).BeginInit();
     this.lcAdmin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lueRoles.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lcgAdmin)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciForm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciTree)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciRole)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciProperty)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rcAdmin)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmControls)).BeginInit();
     this.SuspendLayout();
     //
     // tlControls
     //
     this.tlControls.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
     this.tlcType,
     this.tlcText});
     this.tlControls.KeyFieldName = "Name";
     this.tlControls.Location = new System.Drawing.Point(7, 85);
     this.tlControls.Name = "tlControls";
     this.tlControls.OptionsBehavior.Editable = false;
     this.tlControls.OptionsView.ShowAutoFilterRow = true;
     this.tlControls.ParentFieldName = "Parent";
     this.tlControls.Size = new System.Drawing.Size(377, 397);
     this.tlControls.TabIndex = 2;
     this.tlControls.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.ControlsFocusedNodeChanged);
     this.tlControls.PopupMenuShowing += new DevExpress.XtraTreeList.PopupMenuShowingEventHandler(this.ControlsPopupMenuShowing);
     //
     // tlcType
     //
     this.tlcType.Caption = "Тип элемента";
     this.tlcType.FieldName = "Type";
     this.tlcType.Name = "tlcType";
     this.tlcType.OptionsColumn.AllowEdit = false;
     this.tlcType.OptionsFilter.AutoFilterCondition = DevExpress.XtraTreeList.Columns.AutoFilterCondition.Contains;
     this.tlcType.Visible = true;
     this.tlcType.VisibleIndex = 0;
     this.tlcType.Width = 190;
     //
     // tlcText
     //
     this.tlcText.Caption = "Текст элемента";
     this.tlcText.FieldName = "Caption";
     this.tlcText.Name = "tlcText";
     this.tlcText.OptionsColumn.AllowEdit = false;
     this.tlcText.OptionsFilter.AutoFilterCondition = DevExpress.XtraTreeList.Columns.AutoFilterCondition.Contains;
     this.tlcText.Visible = true;
     this.tlcText.VisibleIndex = 1;
     this.tlcText.Width = 113;
     //
     // lueForms
     //
     this.lueForms.Location = new System.Drawing.Point(94, 17);
     this.lueForms.MaximumSize = new System.Drawing.Size(0, 20);
     this.lueForms.Name = "lueForms";
     this.lueForms.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lueForms.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Value", "Заголовок формы", 20, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Default, DevExpress.Data.ColumnSortOrder.Ascending)});
     this.lueForms.Properties.DataSource = this.bsForms;
     this.lueForms.Properties.DisplayMember = "Value";
     this.lueForms.Properties.DropDownRows = 10;
     this.lueForms.Properties.NullText = "";
     this.lueForms.Properties.ValueMember = "Key";
     this.lueForms.Size = new System.Drawing.Size(290, 20);
     this.lueForms.StyleController = this.lcAdmin;
     this.lueForms.TabIndex = 4;
     this.lueForms.EditValueChanged += new System.EventHandler(this.FormsEditValueChanged);
     //
     // bsForms
     //
     this.bsForms.DataSource = typeof(System.Collections.Generic.KeyValuePair<string, string>);
     //
     // lcAdmin
     //
     this.lcAdmin.Controls.Add(this.pgFilter);
     this.lcAdmin.Controls.Add(this.tlControls);
     this.lcAdmin.Controls.Add(this.lueForms);
     this.lcAdmin.Controls.Add(this.lueRoles);
     this.lcAdmin.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lcAdmin.Location = new System.Drawing.Point(0, 96);
     this.lcAdmin.Name = "lcAdmin";
     this.lcAdmin.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(655, 271, 250, 350);
     this.lcAdmin.Root = this.lcgAdmin;
     this.lcAdmin.Size = new System.Drawing.Size(391, 692);
     this.lcAdmin.TabIndex = 1;
     this.lcAdmin.Text = "lcAdmin";
     //
     // pgFilter
     //
     this.pgFilter.Location = new System.Drawing.Point(7, 491);
     this.pgFilter.Name = "pgFilter";
     this.pgFilter.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
     this.pgFilter.Size = new System.Drawing.Size(377, 194);
     this.pgFilter.TabIndex = 0;
     this.pgFilter.ToolbarVisible = false;
     this.pgFilter.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.FilterPropertyValueChanged);
     //
     // lueRoles
     //
     this.lueRoles.Location = new System.Drawing.Point(94, 51);
     this.lueRoles.MaximumSize = new System.Drawing.Size(0, 20);
     this.lueRoles.Name = "lueRoles";
     this.lueRoles.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lueRoles.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name", 20, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Default, DevExpress.Data.ColumnSortOrder.Ascending)});
     this.lueRoles.Properties.DisplayMember = "Name";
     this.lueRoles.Properties.DropDownRows = 10;
     this.lueRoles.Properties.ImmediatePopup = true;
     this.lueRoles.Properties.NullText = "";
     this.lueRoles.Properties.NullValuePrompt = "Выберите роль для настройки";
     this.lueRoles.Properties.PopupSizeable = false;
     this.lueRoles.Properties.ShowHeader = false;
     this.lueRoles.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.lueRoles.Properties.ValueMember = "Id";
     this.lueRoles.Size = new System.Drawing.Size(290, 20);
     this.lueRoles.StyleController = this.lcAdmin;
     this.lueRoles.TabIndex = 0;
     this.lueRoles.EditValueChanged += new System.EventHandler(this.RolesEditValueChanged);
     //
     // lcgAdmin
     //
     this.lcgAdmin.CustomizationFormText = "Root";
     this.lcgAdmin.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.lcgAdmin.GroupBordersVisible = false;
     this.lcgAdmin.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.lciForm,
     this.lciTree,
     this.lciRole,
     this.lciProperty,
     this.splitterItem1});
     this.lcgAdmin.Location = new System.Drawing.Point(0, 0);
     this.lcgAdmin.Name = "Root";
     this.lcgAdmin.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5);
     this.lcgAdmin.Size = new System.Drawing.Size(391, 692);
     this.lcgAdmin.Text = "Root";
     this.lcgAdmin.TextVisible = false;
     //
     // lciForm
     //
     this.lciForm.Control = this.lueForms;
     this.lciForm.CustomizationFormText = "Активная форма";
     this.lciForm.Location = new System.Drawing.Point(0, 0);
     this.lciForm.Name = "lciForm";
     this.lciForm.Size = new System.Drawing.Size(381, 34);
     this.lciForm.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 10, 0);
     this.lciForm.Text = "Активная форма";
     this.lciForm.TextSize = new System.Drawing.Size(84, 13);
     //
     // lciTree
     //
     this.lciTree.Control = this.tlControls;
     this.lciTree.CustomizationFormText = "lciTree";
     this.lciTree.Location = new System.Drawing.Point(0, 68);
     this.lciTree.Name = "lciTree";
     this.lciTree.Size = new System.Drawing.Size(381, 411);
     this.lciTree.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 10, 0);
     this.lciTree.Text = "lciTree";
     this.lciTree.TextSize = new System.Drawing.Size(0, 0);
     this.lciTree.TextToControlDistance = 0;
     this.lciTree.TextVisible = false;
     //
     // lciRole
     //
     this.lciRole.Control = this.lueRoles;
     this.lciRole.CustomizationFormText = "Активная роль";
     this.lciRole.Location = new System.Drawing.Point(0, 34);
     this.lciRole.Name = "lciRole";
     this.lciRole.Size = new System.Drawing.Size(381, 34);
     this.lciRole.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 10, 0);
     this.lciRole.Text = "Активная роль";
     this.lciRole.TextSize = new System.Drawing.Size(84, 13);
     //
     // lciProperty
     //
     this.lciProperty.Control = this.pgFilter;
     this.lciProperty.CustomizationFormText = "lciProperty";
     this.lciProperty.Location = new System.Drawing.Point(0, 484);
     this.lciProperty.Name = "lciProperty";
     this.lciProperty.Size = new System.Drawing.Size(381, 198);
     this.lciProperty.Text = "lciProperty";
     this.lciProperty.TextSize = new System.Drawing.Size(0, 0);
     this.lciProperty.TextToControlDistance = 0;
     this.lciProperty.TextVisible = false;
     //
     // splitterItem1
     //
     this.splitterItem1.AllowHotTrack = true;
     this.splitterItem1.CustomizationFormText = "splitterItem1";
     this.splitterItem1.Location = new System.Drawing.Point(0, 479);
     this.splitterItem1.Name = "splitterItem1";
     this.splitterItem1.Size = new System.Drawing.Size(381, 5);
     //
     // rcAdmin
     //
     this.rcAdmin.ExpandCollapseItem.Id = 0;
     this.rcAdmin.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.rcAdmin.ExpandCollapseItem,
     this.bbiDefault,
     this.bbiRestore,
     this.bbiSave,
     this.bbiExpand});
     this.rcAdmin.Location = new System.Drawing.Point(0, 0);
     this.rcAdmin.MaxItemId = 7;
     this.rcAdmin.Name = "rcAdmin";
     this.rcAdmin.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
     this.rpMain});
     this.rcAdmin.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
     this.rcAdmin.ShowCategoryInCaption = false;
     this.rcAdmin.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
     this.rcAdmin.ShowFullScreenButton = DevExpress.Utils.DefaultBoolean.False;
     this.rcAdmin.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
     this.rcAdmin.ShowToolbarCustomizeItem = false;
     this.rcAdmin.Size = new System.Drawing.Size(391, 96);
     this.rcAdmin.Toolbar.ShowCustomizeItem = false;
     this.rcAdmin.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
     //
     // bbiDefault
     //
     this.bbiDefault.Caption = "По умолчанию";
     this.bbiDefault.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537");
     this.bbiDefault.Enabled = false;
     this.bbiDefault.Hint = "Вернуть настройки элементов интерфеса для выбранной формы к изначальным";
     this.bbiDefault.Id = 3;
     this.bbiDefault.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiDefault.LargeGlyph")));
     this.bbiDefault.Name = "bbiDefault";
     this.bbiDefault.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.DefaultItemClick);
     //
     // bbiRestore
     //
     this.bbiRestore.Caption = "Последние сохранённые";
     this.bbiRestore.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537");
     this.bbiRestore.Enabled = false;
     this.bbiRestore.Hint = "Вернуть настройки элементов интерфеса для выбранной формы к последним сохранённым" +
     "";
     this.bbiRestore.Id = 4;
     this.bbiRestore.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiRestore.LargeGlyph")));
     this.bbiRestore.Name = "bbiRestore";
     this.bbiRestore.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.RestoreItemClick);
     //
     // bbiSave
     //
     this.bbiSave.Caption = "Сохранить";
     this.bbiSave.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537");
     this.bbiSave.Enabled = false;
     this.bbiSave.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiSave.Glyph")));
     this.bbiSave.Hint = "Сохранить текущие настройки для выбранной формы и роли ";
     this.bbiSave.Id = 5;
     this.bbiSave.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiSave.LargeGlyph")));
     this.bbiSave.Name = "bbiSave";
     this.bbiSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.SaveItemClick);
     //
     // rpMain
     //
     this.rpMain.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.rpgSettings});
     this.rpMain.Name = "rpMain";
     this.rpMain.Text = "Администрирование";
     //
     // rpgSettings
     //
     this.rpgSettings.Glyph = ((System.Drawing.Image)(resources.GetObject("rpgSettings.Glyph")));
     this.rpgSettings.ItemLinks.Add(this.bbiDefault);
     this.rpgSettings.ItemLinks.Add(this.bbiRestore);
     this.rpgSettings.ItemLinks.Add(this.bbiSave);
     this.rpgSettings.Name = "rpgSettings";
     this.rpgSettings.Text = "Настройки";
     //
     // toolTip
     //
     this.toolTip.Rounded = true;
     this.toolTip.ShowBeak = true;
     this.toolTip.ToolTipLocation = DevExpress.Utils.ToolTipLocation.LeftCenter;
     //
     // pmControls
     //
     this.pmControls.ItemLinks.Add(this.bbiExpand);
     this.pmControls.Name = "pmControls";
     this.pmControls.Ribbon = this.rcAdmin;
     //
     // bbiExpand
     //
     this.bbiExpand.Caption = "Развернуть всё";
     this.bbiExpand.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiExpand.Glyph")));
     this.bbiExpand.Id = 6;
     this.bbiExpand.Name = "bbiExpand";
     this.bbiExpand.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ExpandButtonClick);
     //
     // AdminTool
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(391, 788);
     this.Controls.Add(this.lcAdmin);
     this.Controls.Add(this.rcAdmin);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "AdminTool";
     this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     this.Text = "Настройка интерфейса";
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.AdminToolFormClosed);
     this.Load += new System.EventHandler(this.AdminToolLoad);
     this.Shown += new System.EventHandler(this.AdminToolShown);
     ((System.ComponentModel.ISupportInitialize)(this.tlControls)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lueForms.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bsForms)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lcAdmin)).EndInit();
     this.lcAdmin.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lueRoles.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lcgAdmin)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciForm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciTree)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciRole)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciProperty)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rcAdmin)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmControls)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }