Ejemplo n.º 1
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("MainToolbar");
     System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(WorkWithModalForm));
     this.ultraDockWorkspace1 = new Infragistics.Practices.CompositeUI.WinForms.UltraDockWorkspace(this.components);
     this._WorkWithModalShellUnpinnedTabAreaLeft   = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._WorkWithModalShellUnpinnedTabAreaRight  = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._WorkWithModalShellUnpinnedTabAreaTop    = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._WorkWithModalShellUnpinnedTabAreaBottom = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._WorkWithModalShellAutoHideControl       = new Infragistics.Win.UltraWinDock.AutoHideControl();
     this.ultraToolbarsManager1        = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
     this.imageListExplorerbar         = new System.Windows.Forms.ImageList(this.components);
     this.WorkWithModalForm_Fill_Panel = new System.Windows.Forms.Panel();
     this._WorkWithModalForm_Toolbars_Dock_Area_Left   = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._WorkWithModalForm_Toolbars_Dock_Area_Right  = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._WorkWithModalForm_Toolbars_Dock_Area_Top    = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     ((System.ComponentModel.ISupportInitialize)(this.ultraDockWorkspace1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
     this.SuspendLayout();
     //
     // ultraDockWorkspace1
     //
     this.ultraDockWorkspace1.HostControl   = this;
     this.ultraDockWorkspace1.WorkspaceName = "DockWorkWith";
     //
     // _WorkWithModalShellUnpinnedTabAreaLeft
     //
     this._WorkWithModalShellUnpinnedTabAreaLeft.Dock     = System.Windows.Forms.DockStyle.Left;
     this._WorkWithModalShellUnpinnedTabAreaLeft.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellUnpinnedTabAreaLeft.Location = new System.Drawing.Point(0, 17);
     this._WorkWithModalShellUnpinnedTabAreaLeft.Name     = "_WorkWithModalShellUnpinnedTabAreaLeft";
     this._WorkWithModalShellUnpinnedTabAreaLeft.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellUnpinnedTabAreaLeft.Size     = new System.Drawing.Size(0, 441);
     this._WorkWithModalShellUnpinnedTabAreaLeft.TabIndex = 0;
     //
     // _WorkWithModalShellUnpinnedTabAreaRight
     //
     this._WorkWithModalShellUnpinnedTabAreaRight.Dock     = System.Windows.Forms.DockStyle.Right;
     this._WorkWithModalShellUnpinnedTabAreaRight.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellUnpinnedTabAreaRight.Location = new System.Drawing.Point(512, 17);
     this._WorkWithModalShellUnpinnedTabAreaRight.Name     = "_WorkWithModalShellUnpinnedTabAreaRight";
     this._WorkWithModalShellUnpinnedTabAreaRight.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellUnpinnedTabAreaRight.Size     = new System.Drawing.Size(0, 441);
     this._WorkWithModalShellUnpinnedTabAreaRight.TabIndex = 1;
     //
     // _WorkWithModalShellUnpinnedTabAreaTop
     //
     this._WorkWithModalShellUnpinnedTabAreaTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this._WorkWithModalShellUnpinnedTabAreaTop.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellUnpinnedTabAreaTop.Location = new System.Drawing.Point(0, 17);
     this._WorkWithModalShellUnpinnedTabAreaTop.Name     = "_WorkWithModalShellUnpinnedTabAreaTop";
     this._WorkWithModalShellUnpinnedTabAreaTop.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellUnpinnedTabAreaTop.Size     = new System.Drawing.Size(512, 0);
     this._WorkWithModalShellUnpinnedTabAreaTop.TabIndex = 2;
     //
     // _WorkWithModalShellUnpinnedTabAreaBottom
     //
     this._WorkWithModalShellUnpinnedTabAreaBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this._WorkWithModalShellUnpinnedTabAreaBottom.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 458);
     this._WorkWithModalShellUnpinnedTabAreaBottom.Name     = "_WorkWithModalShellUnpinnedTabAreaBottom";
     this._WorkWithModalShellUnpinnedTabAreaBottom.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellUnpinnedTabAreaBottom.Size     = new System.Drawing.Size(512, 0);
     this._WorkWithModalShellUnpinnedTabAreaBottom.TabIndex = 3;
     //
     // _WorkWithModalShellAutoHideControl
     //
     this._WorkWithModalShellAutoHideControl.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellAutoHideControl.Location = new System.Drawing.Point(0, 0);
     this._WorkWithModalShellAutoHideControl.Name     = "_WorkWithModalShellAutoHideControl";
     this._WorkWithModalShellAutoHideControl.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellAutoHideControl.Size     = new System.Drawing.Size(0, 0);
     this._WorkWithModalShellAutoHideControl.TabIndex = 4;
     //
     // ultraToolbarsManager1
     //
     this.ultraToolbarsManager1.DesignerFlags               = 0;
     this.ultraToolbarsManager1.DockWithinContainer         = this;
     this.ultraToolbarsManager1.DockWithinContainerBaseType = typeof(System.Windows.Forms.Form);
     this.ultraToolbarsManager1.ImageListLarge              = this.imageListExplorerbar;
     this.ultraToolbarsManager1.ImageListSmall              = this.imageListExplorerbar;
     this.ultraToolbarsManager1.LockToolbars = true;
     this.ultraToolbarsManager1.RuntimeCustomizationOptions = Infragistics.Win.UltraWinToolbars.RuntimeCustomizationOptions.None;
     this.ultraToolbarsManager1.ShowFullMenusDelay          = 500;
     this.ultraToolbarsManager1.ShowQuickCustomizeButton    = false;
     ultraToolbar1.DockedColumn               = 0;
     ultraToolbar1.DockedRow                  = 0;
     ultraToolbar1.Settings.AllowCustomize    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockBottom   = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockLeft     = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockRight    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockTop      = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowFloating     = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowHiding       = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.BorderStyleDocked = Infragistics.Win.UIElementBorderStyle.None;
     ultraToolbar1.Settings.GrabHandleStyle   = Infragistics.Win.UltraWinToolbars.GrabHandleStyle.None;
     ultraToolbar1.Text = "MainToolbar";
     this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
         ultraToolbar1
     });
     this.ultraToolbarsManager1.UseFlatMode = Infragistics.Win.DefaultableBoolean.True;
     //
     // imageListExplorerbar
     //
     this.imageListExplorerbar.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageListExplorerbar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageListExplorerbar.TransparentColor = System.Drawing.Color.Transparent;
     //
     // WorkWithModalForm_Fill_Panel
     //
     this.WorkWithModalForm_Fill_Panel.AutoSize = true;
     this.WorkWithModalForm_Fill_Panel.Cursor   = System.Windows.Forms.Cursors.Default;
     this.WorkWithModalForm_Fill_Panel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.WorkWithModalForm_Fill_Panel.Location = new System.Drawing.Point(0, 17);
     this.WorkWithModalForm_Fill_Panel.Name     = "WorkWithModalForm_Fill_Panel";
     this.WorkWithModalForm_Fill_Panel.Size     = new System.Drawing.Size(512, 441);
     this.WorkWithModalForm_Fill_Panel.TabIndex = 5;
     //
     // _WorkWithModalForm_Toolbars_Dock_Area_Left
     //
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.BackColor       = System.Drawing.SystemColors.Control;
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.Location        = new System.Drawing.Point(0, 17);
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.Name            = "_WorkWithModalForm_Toolbars_Dock_Area_Left";
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.Size            = new System.Drawing.Size(0, 441);
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _WorkWithModalForm_Toolbars_Dock_Area_Right
     //
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.BackColor       = System.Drawing.SystemColors.Control;
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.Location        = new System.Drawing.Point(512, 17);
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.Name            = "_WorkWithModalForm_Toolbars_Dock_Area_Right";
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.Size            = new System.Drawing.Size(0, 441);
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _WorkWithModalForm_Toolbars_Dock_Area_Top
     //
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.BackColor       = System.Drawing.SystemColors.Control;
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.Location        = new System.Drawing.Point(0, 0);
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.Name            = "_WorkWithModalForm_Toolbars_Dock_Area_Top";
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.Size            = new System.Drawing.Size(512, 17);
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _WorkWithModalForm_Toolbars_Dock_Area_Bottom
     //
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.BackColor       = System.Drawing.SystemColors.Control;
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.Location        = new System.Drawing.Point(0, 458);
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.Name            = "_WorkWithModalForm_Toolbars_Dock_Area_Bottom";
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.Size            = new System.Drawing.Size(512, 0);
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // WorkWithModalForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.ClientSize          = new System.Drawing.Size(512, 458);
     this.Controls.Add(this._WorkWithModalShellAutoHideControl);
     this.Controls.Add(this.WorkWithModalForm_Fill_Panel);
     this.Controls.Add(this._WorkWithModalShellUnpinnedTabAreaTop);
     this.Controls.Add(this._WorkWithModalShellUnpinnedTabAreaBottom);
     this.Controls.Add(this._WorkWithModalShellUnpinnedTabAreaLeft);
     this.Controls.Add(this._WorkWithModalShellUnpinnedTabAreaRight);
     this.Controls.Add(this._WorkWithModalForm_Toolbars_Dock_Area_Left);
     this.Controls.Add(this._WorkWithModalForm_Toolbars_Dock_Area_Right);
     this.Controls.Add(this._WorkWithModalForm_Toolbars_Dock_Area_Top);
     this.Controls.Add(this._WorkWithModalForm_Toolbars_Dock_Area_Bottom);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "WorkWithModalForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "WorkWithModalShell";
     ((System.ComponentModel.ISupportInitialize)(this.ultraDockWorkspace1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 2
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
     System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(InstanceModalForm));
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.panel1     = new System.Windows.Forms.Panel();
     this._ModalFormShell_Toolbars_Dock_Area_Left   = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ModalFormShell_Toolbars_Dock_Area_Right  = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ModalFormShell_Toolbars_Dock_Area_Top    = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ModalFormShell_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this.ultraStatusBar1       = new Infragistics.Win.UltraWinStatusBar.UltraStatusBar();
     this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // panel1
     //
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 17);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(184, 21);
     this.panel1.TabIndex = 1;
     this.panel1.Enter   += new System.EventHandler(this.panel1_Enter);
     //
     // _ModalFormShell_Toolbars_Dock_Area_Left
     //
     this._ModalFormShell_Toolbars_Dock_Area_Left.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._ModalFormShell_Toolbars_Dock_Area_Left.BackColor       = System.Drawing.SystemColors.Control;
     this._ModalFormShell_Toolbars_Dock_Area_Left.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
     this._ModalFormShell_Toolbars_Dock_Area_Left.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._ModalFormShell_Toolbars_Dock_Area_Left.Location        = new System.Drawing.Point(0, 17);
     this._ModalFormShell_Toolbars_Dock_Area_Left.Name            = "_ModalFormShell_Toolbars_Dock_Area_Left";
     this._ModalFormShell_Toolbars_Dock_Area_Left.Size            = new System.Drawing.Size(0, 21);
     this._ModalFormShell_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _ModalFormShell_Toolbars_Dock_Area_Right
     //
     this._ModalFormShell_Toolbars_Dock_Area_Right.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._ModalFormShell_Toolbars_Dock_Area_Right.BackColor       = System.Drawing.SystemColors.Control;
     this._ModalFormShell_Toolbars_Dock_Area_Right.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
     this._ModalFormShell_Toolbars_Dock_Area_Right.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._ModalFormShell_Toolbars_Dock_Area_Right.Location        = new System.Drawing.Point(184, 17);
     this._ModalFormShell_Toolbars_Dock_Area_Right.Name            = "_ModalFormShell_Toolbars_Dock_Area_Right";
     this._ModalFormShell_Toolbars_Dock_Area_Right.Size            = new System.Drawing.Size(0, 21);
     this._ModalFormShell_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _ModalFormShell_Toolbars_Dock_Area_Top
     //
     this._ModalFormShell_Toolbars_Dock_Area_Top.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._ModalFormShell_Toolbars_Dock_Area_Top.BackColor       = System.Drawing.SystemColors.Control;
     this._ModalFormShell_Toolbars_Dock_Area_Top.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
     this._ModalFormShell_Toolbars_Dock_Area_Top.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._ModalFormShell_Toolbars_Dock_Area_Top.Location        = new System.Drawing.Point(0, 0);
     this._ModalFormShell_Toolbars_Dock_Area_Top.Name            = "_ModalFormShell_Toolbars_Dock_Area_Top";
     this._ModalFormShell_Toolbars_Dock_Area_Top.Size            = new System.Drawing.Size(184, 17);
     this._ModalFormShell_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _ModalFormShell_Toolbars_Dock_Area_Bottom
     //
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.BackColor       = System.Drawing.SystemColors.Control;
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.Location        = new System.Drawing.Point(0, 38);
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.Name            = "_ModalFormShell_Toolbars_Dock_Area_Bottom";
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.Size            = new System.Drawing.Size(184, 0);
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // ultraStatusBar1
     //
     this.ultraStatusBar1.Location = new System.Drawing.Point(0, 38);
     this.ultraStatusBar1.Name     = "ultraStatusBar1";
     this.ultraStatusBar1.Size     = new System.Drawing.Size(184, 23);
     this.ultraStatusBar1.TabIndex = 0;
     //
     // ultraToolbarsManager1
     //
     this.ultraToolbarsManager1.DesignerFlags               = 1;
     this.ultraToolbarsManager1.DockWithinContainer         = this;
     this.ultraToolbarsManager1.DockWithinContainerBaseType = typeof(System.Windows.Forms.Form);
     this.ultraToolbarsManager1.ImageListLarge              = this.imageList1;
     this.ultraToolbarsManager1.ImageListSmall              = this.imageList1;
     this.ultraToolbarsManager1.LockToolbars = true;
     this.ultraToolbarsManager1.RuntimeCustomizationOptions = Infragistics.Win.UltraWinToolbars.RuntimeCustomizationOptions.None;
     this.ultraToolbarsManager1.ShowFullMenusDelay          = 500;
     this.ultraToolbarsManager1.ShowQuickCustomizeButton    = false;
     ultraToolbar1.DockedColumn               = 0;
     ultraToolbar1.DockedRow                  = 0;
     ultraToolbar1.IsMainMenuBar              = true;
     ultraToolbar1.Settings.AllowCustomize    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockBottom   = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockLeft     = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockRight    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockTop      = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowFloating     = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowHiding       = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.BorderStyleDocked = Infragistics.Win.UIElementBorderStyle.None;
     ultraToolbar1.Settings.GrabHandleStyle   = Infragistics.Win.UltraWinToolbars.GrabHandleStyle.None;
     ultraToolbar1.Settings.ToolDisplayStyle  = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
     ultraToolbar1.Text = "UltraToolbar1";
     this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
         ultraToolbar1
     });
     //
     // InstanceModalForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.ClientSize          = new System.Drawing.Size(184, 61);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this._ModalFormShell_Toolbars_Dock_Area_Left);
     this.Controls.Add(this._ModalFormShell_Toolbars_Dock_Area_Right);
     this.Controls.Add(this._ModalFormShell_Toolbars_Dock_Area_Top);
     this.Controls.Add(this._ModalFormShell_Toolbars_Dock_Area_Bottom);
     this.Controls.Add(this.ultraStatusBar1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "InstanceModalForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "ModalFormShell";
     this.Load         += new System.EventHandler(this.ModalFormShell_Load);
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung. 
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("editorToolBar");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("bold");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("italic");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("refrain");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("special");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tab");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("indent");
     Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool1 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("indentCombo");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("jumpmark");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Seitenumbruch");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("undo");
     Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("bold");
     Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("italic");
     Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("refrain");
     Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("special");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tab");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("indent");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Seitenumbruch");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("jumpmark");
     Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool2 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("indentCombo");
     Infragistics.Win.ValueList valueList1 = new Infragistics.Win.ValueList(0);
     Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("undo");
     Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Editor));
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.label7 = new System.Windows.Forms.Label();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.textBox4 = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.trackBar1 = new System.Windows.Forms.TrackBar();
     this.checkBox2 = new System.Windows.Forms.CheckBox();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.toolbars = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
     this.toolbarPanel = new Infragistics.Win.Misc.UltraPanel();
     this.ClientArea_Fill_Panel = new System.Windows.Forms.Panel();
     this._ClientArea_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ClientArea_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ClientArea_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ClientArea_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this.Editor_Fill_Panel = new System.Windows.Forms.Panel();
     this.previewBtn = new System.Windows.Forms.PictureBox();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.button12 = new Lyra2.LyraShell.LyraButtonControl();
     this.button10 = new Lyra2.LyraShell.LyraButtonControl();
     this.button2 = new Lyra2.LyraShell.LyraButtonControl();
     this.button1 = new Lyra2.LyraShell.LyraButtonControl();
     this.button14 = new Lyra2.LyraShell.LyraButtonControl();
     this.button16 = new Lyra2.LyraShell.LyraButtonControl();
     this.button17 = new Lyra2.LyraShell.LyraButtonControl();
     this.button13 = new Lyra2.LyraShell.LyraButtonControl();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.toolbars)).BeginInit();
     this.toolbarPanel.ClientArea.SuspendLayout();
     this.toolbarPanel.SuspendLayout();
     this.ClientArea_Fill_Panel.SuspendLayout();
     this.Editor_Fill_Panel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(240, 38);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(384, 20);
     this.textBox1.TabIndex = 1;
     this.textBox1.Text = "textBox1";
     //
     // textBox2
     //
     this.textBox2.Enabled = false;
     this.textBox2.Location = new System.Drawing.Point(102, 38);
     this.textBox2.MaxLength = 4;
     this.textBox2.Name = "textBox2";
     this.textBox2.Size = new System.Drawing.Size(40, 20);
     this.textBox2.TabIndex = 0;
     this.textBox2.Text = "textBox2";
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.SlateGray;
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(160, 16);
     this.label1.TabIndex = 4;
     this.label1.Text = "Lyra Songtext Editor";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(24, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(78, 13);
     this.label2.TabIndex = 5;
     this.label2.Text = "Liednummer:";
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(206, 40);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(32, 16);
     this.label3.TabIndex = 6;
     this.label3.Text = "Titel:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(24, 72);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(36, 13);
     this.label4.TabIndex = 7;
     this.label4.Text = "Text:";
     //
     // richTextBox1
     //
     this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Location = new System.Drawing.Point(0, 0);
     this.richTextBox1.Name = "richTextBox1";
     this.richTextBox1.Size = new System.Drawing.Size(685, 209);
     this.richTextBox1.TabIndex = 2;
     this.richTextBox1.Text = "richTextBox1";
     //
     // listBox1
     //
     this.listBox1.Location = new System.Drawing.Point(24, 465);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(600, 69);
     this.listBox1.TabIndex = 25;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.Black;
     this.label7.Location = new System.Drawing.Point(24, 441);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(92, 13);
     this.label7.TabIndex = 12;
     this.label7.Text = "Übersetzungen";
     //
     // textBox3
     //
     this.textBox3.Enabled = false;
     this.textBox3.Location = new System.Drawing.Point(200, 64);
     this.textBox3.MaxLength = 3;
     this.textBox3.Name = "textBox3";
     this.textBox3.Size = new System.Drawing.Size(40, 20);
     this.textBox3.TabIndex = 28;
     this.textBox3.Text = "---";
     //
     // checkBox1
     //
     this.checkBox1.Location = new System.Drawing.Point(104, 65);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(104, 16);
     this.checkBox1.TabIndex = 29;
     this.checkBox1.Text = "Bemerkungen:";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // textBox4
     //
     this.textBox4.Location = new System.Drawing.Point(117, 341);
     this.textBox4.Name = "textBox4";
     this.textBox4.Size = new System.Drawing.Size(384, 20);
     this.textBox4.TabIndex = 1;
     this.textBox4.TextChanged += new System.EventHandler(this.textBox4_TextChanged);
     //
     // label8
     //
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(24, 344);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(168, 16);
     this.label8.TabIndex = 6;
     this.label8.Text = "Hintergrundbild:";
     //
     // trackBar1
     //
     this.trackBar1.AutoSize = false;
     this.trackBar1.Enabled = false;
     this.trackBar1.LargeChange = 10;
     this.trackBar1.Location = new System.Drawing.Point(304, 368);
     this.trackBar1.Maximum = 100;
     this.trackBar1.Name = "trackBar1";
     this.trackBar1.Size = new System.Drawing.Size(104, 16);
     this.trackBar1.TabIndex = 30;
     this.trackBar1.TickFrequency = 25;
     this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged);
     //
     // checkBox2
     //
     this.checkBox2.Enabled = false;
     this.checkBox2.Location = new System.Drawing.Point(116, 368);
     this.checkBox2.Name = "checkBox2";
     this.checkBox2.Size = new System.Drawing.Size(104, 16);
     this.checkBox2.TabIndex = 29;
     this.checkBox2.Text = "Bild strecken";
     //
     // label9
     //
     this.label9.Enabled = false;
     this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(232, 368);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(168, 16);
     this.label9.TabIndex = 6;
     this.label9.Text = "Transparenz:";
     //
     // label10
     //
     this.label10.Enabled = false;
     this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location = new System.Drawing.Point(305, 388);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(168, 16);
     this.label10.TabIndex = 6;
     this.label10.Text = "0%         50%       100%";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.BackColor = System.Drawing.Color.Transparent;
     this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.ForeColor = System.Drawing.Color.DimGray;
     this.label11.Location = new System.Drawing.Point(653, 68);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(52, 13);
     this.label11.TabIndex = 5;
     this.label11.Text = "Vorschau";
     //
     // toolbars
     //
     this.toolbars.DesignerFlags = 1;
     this.toolbars.DockWithinContainer = this.toolbarPanel.ClientArea;
     this.toolbars.ShowFullMenusDelay = 500;
     ultraToolbar1.DockedColumn = 0;
     ultraToolbar1.DockedRow = 0;
     buttonTool3.InstanceProps.IsFirstInGroup = true;
     buttonTool5.InstanceProps.IsFirstInGroup = true;
     buttonTool8.InstanceProps.IsFirstInGroup = true;
     buttonTool17.InstanceProps.IsFirstInGroup = true;
     ultraToolbar1.NonInheritedTools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
     buttonTool1,
     buttonTool2,
     buttonTool3,
     buttonTool4,
     buttonTool5,
     buttonTool6,
     comboBoxTool1,
     buttonTool8,
     buttonTool7,
     buttonTool17});
     ultraToolbar1.Settings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockBottom = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockLeft = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockRight = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowFloating = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowHiding = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.FillEntireRow = Infragistics.Win.DefaultableBoolean.True;
     ultraToolbar1.Settings.GrabHandleStyle = Infragistics.Win.UltraWinToolbars.GrabHandleStyle.NoGlyph;
     ultraToolbar1.Settings.ToolDisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
     ultraToolbar1.Text = "editorToolBar";
     this.toolbars.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
     ultraToolbar1});
     this.toolbars.ToolbarSettings.BorderStyleDocked = Infragistics.Win.UIElementBorderStyle.Etched;
     appearance14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     appearance14.BackColor2 = System.Drawing.Color.Silver;
     appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.GlassTop37;
     appearance14.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.toolbars.ToolbarSettings.DockedAppearance = appearance14;
     appearance16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(178)))));
     appearance16.BackColor2 = System.Drawing.Color.Silver;
     appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalWithGlassLeft50;
     appearance16.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.toolbars.ToolbarSettings.HotTrackAppearance = appearance16;
     appearance11.FontData.BoldAsString = "True";
     buttonTool9.SharedPropsInternal.AppearancesSmall.Appearance = appearance11;
     buttonTool9.SharedPropsInternal.Caption = "F";
     appearance12.FontData.ItalicAsString = "True";
     buttonTool10.SharedPropsInternal.AppearancesSmall.Appearance = appearance12;
     buttonTool10.SharedPropsInternal.Caption = "K";
     appearance13.FontData.BoldAsString = "True";
     appearance13.FontData.ItalicAsString = "True";
     appearance13.FontData.Name = "Times New Roman";
     buttonTool11.SharedPropsInternal.AppearancesSmall.Appearance = appearance13;
     buttonTool11.SharedPropsInternal.Caption = "Refrain";
     buttonTool12.SharedPropsInternal.Caption = "Spezial";
     buttonTool13.SharedPropsInternal.Caption = "Tab";
     buttonTool14.SharedPropsInternal.Caption = "Einrücken um";
     buttonTool15.SharedPropsInternal.Caption = "Seitenumbruch";
     buttonTool16.SharedPropsInternal.Caption = "Sprungmarke";
     comboBoxTool2.SharedPropsInternal.Width = 50;
     valueList1.DisplayStyle = Infragistics.Win.ValueListDisplayStyle.DisplayText;
     valueListItem1.DataValue = "ValueListItem0";
     valueListItem1.DisplayText = "8";
     valueListItem2.DataValue = "ValueListItem1";
     valueListItem2.DisplayText = "16";
     valueListItem3.DataValue = "ValueListItem2";
     valueListItem3.DisplayText = "24";
     valueListItem4.DataValue = "ValueListItem3";
     valueListItem4.DisplayText = "32";
     valueListItem5.DataValue = "ValueListItem4";
     valueListItem5.DisplayText = "40";
     valueList1.ValueListItems.AddRange(new Infragistics.Win.ValueListItem[] {
     valueListItem1,
     valueListItem2,
     valueListItem3,
     valueListItem4,
     valueListItem5});
     comboBoxTool2.ValueList = valueList1;
     appearance15.Image = global::Lyra2.LyraShell.Properties.Resources.undo_icon;
     buttonTool18.SharedPropsInternal.AppearancesSmall.Appearance = appearance15;
     buttonTool18.SharedPropsInternal.Caption = "Undo";
     buttonTool18.SharedPropsInternal.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.DefaultForToolType;
     this.toolbars.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
     buttonTool9,
     buttonTool10,
     buttonTool11,
     buttonTool12,
     buttonTool13,
     buttonTool14,
     buttonTool15,
     buttonTool16,
     comboBoxTool2,
     buttonTool18});
     //
     // toolbarPanel
     //
     //
     // toolbarPanel.ClientArea
     //
     this.toolbarPanel.ClientArea.Controls.Add(this.ClientArea_Fill_Panel);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Left);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Right);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Top);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Bottom);
     this.toolbarPanel.Location = new System.Drawing.Point(27, 88);
     this.toolbarPanel.Name = "toolbarPanel";
     this.toolbarPanel.Size = new System.Drawing.Size(685, 240);
     this.toolbarPanel.TabIndex = 34;
     //
     // ClientArea_Fill_Panel
     //
     this.ClientArea_Fill_Panel.Controls.Add(this.richTextBox1);
     this.ClientArea_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
     this.ClientArea_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ClientArea_Fill_Panel.Location = new System.Drawing.Point(0, 31);
     this.ClientArea_Fill_Panel.Name = "ClientArea_Fill_Panel";
     this.ClientArea_Fill_Panel.Size = new System.Drawing.Size(685, 209);
     this.ClientArea_Fill_Panel.TabIndex = 0;
     //
     // _ClientArea_Toolbars_Dock_Area_Left
     //
     this._ClientArea_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
     this._ClientArea_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 31);
     this._ClientArea_Toolbars_Dock_Area_Left.Name = "_ClientArea_Toolbars_Dock_Area_Left";
     this._ClientArea_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 209);
     this._ClientArea_Toolbars_Dock_Area_Left.ToolbarsManager = this.toolbars;
     //
     // _ClientArea_Toolbars_Dock_Area_Right
     //
     this._ClientArea_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
     this._ClientArea_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(685, 31);
     this._ClientArea_Toolbars_Dock_Area_Right.Name = "_ClientArea_Toolbars_Dock_Area_Right";
     this._ClientArea_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 209);
     this._ClientArea_Toolbars_Dock_Area_Right.ToolbarsManager = this.toolbars;
     //
     // _ClientArea_Toolbars_Dock_Area_Top
     //
     this._ClientArea_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
     this._ClientArea_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
     this._ClientArea_Toolbars_Dock_Area_Top.Name = "_ClientArea_Toolbars_Dock_Area_Top";
     this._ClientArea_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(685, 31);
     this._ClientArea_Toolbars_Dock_Area_Top.ToolbarsManager = this.toolbars;
     //
     // _ClientArea_Toolbars_Dock_Area_Bottom
     //
     this._ClientArea_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
     this._ClientArea_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 240);
     this._ClientArea_Toolbars_Dock_Area_Bottom.Name = "_ClientArea_Toolbars_Dock_Area_Bottom";
     this._ClientArea_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(685, 0);
     this._ClientArea_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.toolbars;
     //
     // Editor_Fill_Panel
     //
     this.Editor_Fill_Panel.Controls.Add(this.toolbarPanel);
     this.Editor_Fill_Panel.Controls.Add(this.label11);
     this.Editor_Fill_Panel.Controls.Add(this.previewBtn);
     this.Editor_Fill_Panel.Controls.Add(this.pictureBox1);
     this.Editor_Fill_Panel.Controls.Add(this.trackBar1);
     this.Editor_Fill_Panel.Controls.Add(this.textBox3);
     this.Editor_Fill_Panel.Controls.Add(this.label7);
     this.Editor_Fill_Panel.Controls.Add(this.label4);
     this.Editor_Fill_Panel.Controls.Add(this.label2);
     this.Editor_Fill_Panel.Controls.Add(this.textBox2);
     this.Editor_Fill_Panel.Controls.Add(this.textBox1);
     this.Editor_Fill_Panel.Controls.Add(this.textBox4);
     this.Editor_Fill_Panel.Controls.Add(this.checkBox1);
     this.Editor_Fill_Panel.Controls.Add(this.button12);
     this.Editor_Fill_Panel.Controls.Add(this.listBox1);
     this.Editor_Fill_Panel.Controls.Add(this.button10);
     this.Editor_Fill_Panel.Controls.Add(this.label1);
     this.Editor_Fill_Panel.Controls.Add(this.label3);
     this.Editor_Fill_Panel.Controls.Add(this.button2);
     this.Editor_Fill_Panel.Controls.Add(this.button1);
     this.Editor_Fill_Panel.Controls.Add(this.button14);
     this.Editor_Fill_Panel.Controls.Add(this.button16);
     this.Editor_Fill_Panel.Controls.Add(this.button17);
     this.Editor_Fill_Panel.Controls.Add(this.label8);
     this.Editor_Fill_Panel.Controls.Add(this.button13);
     this.Editor_Fill_Panel.Controls.Add(this.checkBox2);
     this.Editor_Fill_Panel.Controls.Add(this.label9);
     this.Editor_Fill_Panel.Controls.Add(this.label10);
     this.Editor_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
     this.Editor_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Editor_Fill_Panel.Location = new System.Drawing.Point(0, 0);
     this.Editor_Fill_Panel.Name = "Editor_Fill_Panel";
     this.Editor_Fill_Panel.Size = new System.Drawing.Size(736, 544);
     this.Editor_Fill_Panel.TabIndex = 0;
     //
     // previewBtn
     //
     this.previewBtn.Cursor = System.Windows.Forms.Cursors.Hand;
     this.previewBtn.Image = ((System.Drawing.Image)(resources.GetObject("previewBtn.Image")));
     this.previewBtn.Location = new System.Drawing.Point(648, 5);
     this.previewBtn.Name = "previewBtn";
     this.previewBtn.Size = new System.Drawing.Size(64, 64);
     this.previewBtn.TabIndex = 33;
     this.previewBtn.TabStop = false;
     this.previewBtn.Click += new System.EventHandler(this.previewButton_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Enabled = false;
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(440, 368);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(48, 48);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 31;
     this.pictureBox1.TabStop = false;
     //
     // button12
     //
     this.button12.Enabled = false;
     this.button12.Location = new System.Drawing.Point(149, 38);
     this.button12.Name = "button12";
     this.button12.Size = new System.Drawing.Size(53, 20);
     this.button12.TabIndex = 27;
     this.button12.Text = "ändern";
     this.button12.Click += new System.EventHandler(this.button12_Click);
     //
     // button10
     //
     this.button10.BackColorInternal = System.Drawing.SystemColors.Control;
     this.button10.Location = new System.Drawing.Point(24, 401);
     this.button10.Name = "button10";
     this.button10.Size = new System.Drawing.Size(160, 24);
     this.button10.TabIndex = 21;
     this.button10.Text = "Übersetzungen >>";
     this.button10.Click += new System.EventHandler(this.button10_Click);
     //
     // button2
     //
     this.button2.BackColorInternal = System.Drawing.SystemColors.Control;
     this.button2.Location = new System.Drawing.Point(608, 401);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(72, 24);
     this.button2.TabIndex = 20;
     this.button2.Text = "Abbrechen";
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.BackColorInternal = System.Drawing.SystemColors.Control;
     this.button1.Location = new System.Drawing.Point(688, 401);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(40, 24);
     this.button1.TabIndex = 19;
     this.button1.Text = "Ok";
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button14
     //
     this.button14.Location = new System.Drawing.Point(688, 505);
     this.button14.Name = "button14";
     this.button14.Size = new System.Drawing.Size(40, 24);
     this.button14.TabIndex = 24;
     this.button14.Text = "Del";
     this.button14.Click += new System.EventHandler(this.button14_Click);
     //
     // button16
     //
     this.button16.Location = new System.Drawing.Point(632, 473);
     this.button16.Name = "button16";
     this.button16.Size = new System.Drawing.Size(96, 24);
     this.button16.TabIndex = 22;
     this.button16.Text = "Neu…";
     this.button16.Click += new System.EventHandler(this.button16_Click);
     //
     // button17
     //
     this.button17.Location = new System.Drawing.Point(632, 505);
     this.button17.Name = "button17";
     this.button17.Size = new System.Drawing.Size(40, 24);
     this.button17.TabIndex = 23;
     this.button17.Text = "Edit";
     this.button17.Click += new System.EventHandler(this.button17_Click);
     //
     // button13
     //
     this.button13.Location = new System.Drawing.Point(512, 342);
     this.button13.Name = "button13";
     this.button13.Size = new System.Drawing.Size(88, 20);
     this.button13.TabIndex = 27;
     this.button13.Text = "durchsuchen…";
     this.button13.Click += new System.EventHandler(this.button13_Click);
     //
     // Editor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(736, 544);
     this.ControlBox = false;
     this.Controls.Add(this.Editor_Fill_Panel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name = "Editor";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Editor";
     this.Activated += new System.EventHandler(this.MeGotFocus);
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.toolbars)).EndInit();
     this.toolbarPanel.ClientArea.ResumeLayout(false);
     this.toolbarPanel.ResumeLayout(false);
     this.ClientArea_Fill_Panel.ResumeLayout(false);
     this.Editor_Fill_Panel.ResumeLayout(false);
     this.Editor_Fill_Panel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 4
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar2 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("MainToolbar");
     System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(MainShell));
     this.statusStrip1          = new System.Windows.Forms.StatusStrip();
     this.ultraMdiTabWorkspace1 = new Infragistics.Practices.CompositeUI.WinForms.UltraMdiTabWorkspace(this.components);
     this.imageListExplorerbar  = new System.Windows.Forms.ImageList(this.components);
     this._MainShell_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
     this._MainShell_Toolbars_Dock_Area_Right  = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._MainShell_Toolbars_Dock_Area_Top    = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._MainShell_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this.ultraDockWorkspace1             = new Infragistics.Practices.CompositeUI.WinForms.UltraDockWorkspace(this.components);
     this._MainShellUnpinnedTabAreaLeft   = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._MainShellUnpinnedTabAreaRight  = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._MainShellUnpinnedTabAreaTop    = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._MainShellUnpinnedTabAreaBottom = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._MainShellAutoHideControl       = new Infragistics.Win.UltraWinDock.AutoHideControl();
     ((System.ComponentModel.ISupportInitialize)(this.ultraMdiTabWorkspace1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraDockWorkspace1)).BeginInit();
     this.SuspendLayout();
     //
     // statusStrip1
     //
     this.statusStrip1.Location = new System.Drawing.Point(0, 428);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new System.Drawing.Size(678, 22);
     this.statusStrip1.TabIndex = 1;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // ultraMdiTabWorkspace1
     //
     this.ultraMdiTabWorkspace1.MdiParent = this;
     //
     // imageListExplorerbar
     //
     this.imageListExplorerbar.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageListExplorerbar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageListExplorerbar.TransparentColor = System.Drawing.Color.Transparent;
     //
     // _MainShell_Toolbars_Dock_Area_Left
     //
     this._MainShell_Toolbars_Dock_Area_Left.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._MainShell_Toolbars_Dock_Area_Left.BackColor       = System.Drawing.SystemColors.Control;
     this._MainShell_Toolbars_Dock_Area_Left.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
     this._MainShell_Toolbars_Dock_Area_Left.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._MainShell_Toolbars_Dock_Area_Left.Location        = new System.Drawing.Point(0, 40);
     this._MainShell_Toolbars_Dock_Area_Left.Name            = "_MainShell_Toolbars_Dock_Area_Left";
     this._MainShell_Toolbars_Dock_Area_Left.Size            = new System.Drawing.Size(0, 388);
     this._MainShell_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // ultraToolbarsManager1
     //
     this.ultraToolbarsManager1.DesignerFlags               = 1;
     this.ultraToolbarsManager1.DockWithinContainer         = this;
     this.ultraToolbarsManager1.DockWithinContainerBaseType = typeof(System.Windows.Forms.Form);
     this.ultraToolbarsManager1.ImageListLarge              = this.imageListExplorerbar;
     this.ultraToolbarsManager1.ImageListSmall              = this.imageListExplorerbar;
     this.ultraToolbarsManager1.LockToolbars       = true;
     this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
     ultraToolbar1.DockedColumn              = 0;
     ultraToolbar1.DockedRow                 = 0;
     ultraToolbar1.IsMainMenuBar             = true;
     ultraToolbar1.Text                      = "UltraToolbar1";
     ultraToolbar2.DockedColumn              = 0;
     ultraToolbar2.DockedRow                 = 1;
     ultraToolbar2.Settings.AllowFloating    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar2.Settings.AllowHiding      = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar2.Settings.FillEntireRow    = Infragistics.Win.DefaultableBoolean.True;
     ultraToolbar2.Settings.ToolDisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageOnlyOnToolbars;
     ultraToolbar2.Text                      = "MainToolbar";
     this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
         ultraToolbar1,
         ultraToolbar2
     });
     this.ultraToolbarsManager1.UseFlatMode = Infragistics.Win.DefaultableBoolean.True;
     //
     // _MainShell_Toolbars_Dock_Area_Right
     //
     this._MainShell_Toolbars_Dock_Area_Right.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._MainShell_Toolbars_Dock_Area_Right.BackColor       = System.Drawing.SystemColors.Control;
     this._MainShell_Toolbars_Dock_Area_Right.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
     this._MainShell_Toolbars_Dock_Area_Right.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._MainShell_Toolbars_Dock_Area_Right.Location        = new System.Drawing.Point(678, 40);
     this._MainShell_Toolbars_Dock_Area_Right.Name            = "_MainShell_Toolbars_Dock_Area_Right";
     this._MainShell_Toolbars_Dock_Area_Right.Size            = new System.Drawing.Size(0, 388);
     this._MainShell_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _MainShell_Toolbars_Dock_Area_Top
     //
     this._MainShell_Toolbars_Dock_Area_Top.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._MainShell_Toolbars_Dock_Area_Top.BackColor       = System.Drawing.SystemColors.Control;
     this._MainShell_Toolbars_Dock_Area_Top.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
     this._MainShell_Toolbars_Dock_Area_Top.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._MainShell_Toolbars_Dock_Area_Top.Location        = new System.Drawing.Point(0, 0);
     this._MainShell_Toolbars_Dock_Area_Top.Name            = "_MainShell_Toolbars_Dock_Area_Top";
     this._MainShell_Toolbars_Dock_Area_Top.Size            = new System.Drawing.Size(678, 40);
     this._MainShell_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _MainShell_Toolbars_Dock_Area_Bottom
     //
     this._MainShell_Toolbars_Dock_Area_Bottom.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._MainShell_Toolbars_Dock_Area_Bottom.BackColor       = System.Drawing.SystemColors.Control;
     this._MainShell_Toolbars_Dock_Area_Bottom.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
     this._MainShell_Toolbars_Dock_Area_Bottom.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._MainShell_Toolbars_Dock_Area_Bottom.Location        = new System.Drawing.Point(0, 428);
     this._MainShell_Toolbars_Dock_Area_Bottom.Name            = "_MainShell_Toolbars_Dock_Area_Bottom";
     this._MainShell_Toolbars_Dock_Area_Bottom.Size            = new System.Drawing.Size(678, 0);
     this._MainShell_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // ultraDockWorkspace1
     //
     this.ultraDockWorkspace1.DragWindowStyle = Infragistics.Win.UltraWinDock.DragWindowStyle.LayeredWindowWithIndicators;
     this.ultraDockWorkspace1.HostControl     = this;
     this.ultraDockWorkspace1.WorkspaceName   = "Dock";
     //
     // _MainShellUnpinnedTabAreaLeft
     //
     this._MainShellUnpinnedTabAreaLeft.Dock     = System.Windows.Forms.DockStyle.Left;
     this._MainShellUnpinnedTabAreaLeft.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellUnpinnedTabAreaLeft.Location = new System.Drawing.Point(0, 40);
     this._MainShellUnpinnedTabAreaLeft.Name     = "_MainShellUnpinnedTabAreaLeft";
     this._MainShellUnpinnedTabAreaLeft.Owner    = this.ultraDockWorkspace1;
     this._MainShellUnpinnedTabAreaLeft.Size     = new System.Drawing.Size(0, 388);
     this._MainShellUnpinnedTabAreaLeft.TabIndex = 5;
     //
     // _MainShellUnpinnedTabAreaRight
     //
     this._MainShellUnpinnedTabAreaRight.Dock     = System.Windows.Forms.DockStyle.Right;
     this._MainShellUnpinnedTabAreaRight.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellUnpinnedTabAreaRight.Location = new System.Drawing.Point(678, 40);
     this._MainShellUnpinnedTabAreaRight.Name     = "_MainShellUnpinnedTabAreaRight";
     this._MainShellUnpinnedTabAreaRight.Owner    = this.ultraDockWorkspace1;
     this._MainShellUnpinnedTabAreaRight.Size     = new System.Drawing.Size(0, 388);
     this._MainShellUnpinnedTabAreaRight.TabIndex = 6;
     //
     // _MainShellUnpinnedTabAreaTop
     //
     this._MainShellUnpinnedTabAreaTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this._MainShellUnpinnedTabAreaTop.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellUnpinnedTabAreaTop.Location = new System.Drawing.Point(0, 40);
     this._MainShellUnpinnedTabAreaTop.Name     = "_MainShellUnpinnedTabAreaTop";
     this._MainShellUnpinnedTabAreaTop.Owner    = this.ultraDockWorkspace1;
     this._MainShellUnpinnedTabAreaTop.Size     = new System.Drawing.Size(678, 0);
     this._MainShellUnpinnedTabAreaTop.TabIndex = 7;
     //
     // _MainShellUnpinnedTabAreaBottom
     //
     this._MainShellUnpinnedTabAreaBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this._MainShellUnpinnedTabAreaBottom.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 428);
     this._MainShellUnpinnedTabAreaBottom.Name     = "_MainShellUnpinnedTabAreaBottom";
     this._MainShellUnpinnedTabAreaBottom.Owner    = this.ultraDockWorkspace1;
     this._MainShellUnpinnedTabAreaBottom.Size     = new System.Drawing.Size(678, 0);
     this._MainShellUnpinnedTabAreaBottom.TabIndex = 8;
     //
     // _MainShellAutoHideControl
     //
     this._MainShellAutoHideControl.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellAutoHideControl.Location = new System.Drawing.Point(0, 0);
     this._MainShellAutoHideControl.Name     = "_MainShellAutoHideControl";
     this._MainShellAutoHideControl.Owner    = this.ultraDockWorkspace1;
     this._MainShellAutoHideControl.Size     = new System.Drawing.Size(0, 0);
     this._MainShellAutoHideControl.TabIndex = 9;
     //
     // MainShell
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(678, 450);
     this.Controls.Add(this._MainShellAutoHideControl);
     this.Controls.Add(this._MainShellUnpinnedTabAreaTop);
     this.Controls.Add(this._MainShellUnpinnedTabAreaBottom);
     this.Controls.Add(this._MainShellUnpinnedTabAreaLeft);
     this.Controls.Add(this._MainShellUnpinnedTabAreaRight);
     this.Controls.Add(this._MainShell_Toolbars_Dock_Area_Left);
     this.Controls.Add(this._MainShell_Toolbars_Dock_Area_Right);
     this.Controls.Add(this._MainShell_Toolbars_Dock_Area_Top);
     this.Controls.Add(this._MainShell_Toolbars_Dock_Area_Bottom);
     this.Controls.Add(this.statusStrip1);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "MainShell";
     this.Text = "MainShell";
     ((System.ComponentModel.ISupportInitialize)(this.ultraMdiTabWorkspace1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraDockWorkspace1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 5
0
        private void GenerateUltraToolBar(BipForm form, List <SysFunction> list)
        {
            if (list == null || list.Count == 0)
            {
                return;
            }
            Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _FrmBase_Toolbars_Dock_Area_Left   = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _FrmBase_Toolbars_Dock_Area_Right  = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _FrmBase_Toolbars_Dock_Area_Top    = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _FrmBase_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            form.Toolbar = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(null);
            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar = new Infragistics.Win.UltraWinToolbars.UltraToolbar("ultraToolbar1");
            System.Windows.Forms.Panel toolbarPanel = new System.Windows.Forms.Panel();


            ((System.ComponentModel.ISupportInitialize)(form.Toolbar)).BeginInit();

            //
            //ButtonTool
            //
            foreach (SysFunction bfun in list)
            {
                string     btnkey   = bfun.Key;
                ButtonTool toolItem = new ButtonTool(btnkey);

                toolItem.SharedProps.Caption = bfun.FunctionName;
                //toolItem.SharedProps.Enabled = sb.Enable;
                toolItem.SharedProps.DisplayStyle = ToolDisplayStyle.ImageAndText;
                if (!String.IsNullOrEmpty(bfun.Image) && File.Exists("./resource/image/button/" + bfun.Image + ".png"))
                {
                    toolItem.CustomizedImage = Image.FromFile("./resource/image/button/" + bfun.Image + ".png");
                }
                //toolItem.InstanceProps.IsFirstInGroup = true;
                ultraToolbar.Tools.Add(toolItem);
            }

            //
            //UltraToolbar
            //
            ultraToolbar.DockedColumn            = 0;
            ultraToolbar.DockedRow               = 0;
            ultraToolbar.Text                    = "ultraToolbar";
            ultraToolbar.Settings.FillEntireRow  = Infragistics.Win.DefaultableBoolean.True;
            ultraToolbar.Settings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
            ultraToolbar.Settings.AllowFloating  = Infragistics.Win.DefaultableBoolean.False;
            ultraToolbar.Settings.AllowHiding    = Infragistics.Win.DefaultableBoolean.False;
            //ultraToolbar.Settings.Appearance.BackColor = Color.LightBlue;
            //
            //UltraToolbarsManager
            //
            form.Toolbar.ToolClick += new ToolClickEventHandler(form.ToolClick);
            form.Toolbar.ShowQuickCustomizeButton = false;
            //ultraToolbarsManager.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] { ultraToolbar1 });
            form.Toolbar.Toolbars.Add(ultraToolbar);
            form.Toolbar.DockWithinContainer = toolbarPanel;
            //form.Toolbar.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2007;
            form.Toolbar.Appearance.BackColor        = Color.FromArgb(171, 206, 228);
            form.Toolbar.UseFlatMode                 = Infragistics.Win.DefaultableBoolean.True;
            form.Toolbar.LockToolbars                = true;
            form.Toolbar.RuntimeCustomizationOptions = RuntimeCustomizationOptions.None;
            //
            // _FrmBase_Toolbars_Dock_Area_Left
            //
            _FrmBase_Toolbars_Dock_Area_Left.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
            _FrmBase_Toolbars_Dock_Area_Left.BackColor       = System.Drawing.SystemColors.Control;
            _FrmBase_Toolbars_Dock_Area_Left.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
            _FrmBase_Toolbars_Dock_Area_Left.ForeColor       = System.Drawing.SystemColors.ControlText;
            _FrmBase_Toolbars_Dock_Area_Left.Location        = new System.Drawing.Point(0, 25);
            _FrmBase_Toolbars_Dock_Area_Left.Name            = "_BipForm_Toolbars_Dock_Area_Left";
            _FrmBase_Toolbars_Dock_Area_Left.Size            = new System.Drawing.Size(0, 237);
            _FrmBase_Toolbars_Dock_Area_Left.ToolbarsManager = form.Toolbar;
            //
            // _FrmBase_Toolbars_Dock_Area_Right
            //
            _FrmBase_Toolbars_Dock_Area_Right.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
            _FrmBase_Toolbars_Dock_Area_Right.BackColor       = System.Drawing.SystemColors.Control;
            _FrmBase_Toolbars_Dock_Area_Right.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
            _FrmBase_Toolbars_Dock_Area_Right.ForeColor       = System.Drawing.SystemColors.ControlText;
            _FrmBase_Toolbars_Dock_Area_Right.Location        = new System.Drawing.Point(446, 25);
            _FrmBase_Toolbars_Dock_Area_Right.Name            = "_BipForm_Toolbars_Dock_Area_Right";
            _FrmBase_Toolbars_Dock_Area_Right.Size            = new System.Drawing.Size(0, 237);
            _FrmBase_Toolbars_Dock_Area_Right.ToolbarsManager = form.Toolbar;
            //
            // _FrmBase_Toolbars_Dock_Area_Top
            //
            _FrmBase_Toolbars_Dock_Area_Top.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
            _FrmBase_Toolbars_Dock_Area_Top.BackColor       = System.Drawing.SystemColors.Control;
            _FrmBase_Toolbars_Dock_Area_Top.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
            _FrmBase_Toolbars_Dock_Area_Top.ForeColor       = System.Drawing.SystemColors.ControlText;
            _FrmBase_Toolbars_Dock_Area_Top.Location        = new System.Drawing.Point(0, 0);
            _FrmBase_Toolbars_Dock_Area_Top.Name            = "_BipForm_Toolbars_Dock_Area_Top";
            _FrmBase_Toolbars_Dock_Area_Top.Size            = new System.Drawing.Size(446, 25);
            _FrmBase_Toolbars_Dock_Area_Top.ToolbarsManager = form.Toolbar;
            //
            // _FrmBase_Toolbars_Dock_Area_Bottom
            //
            _FrmBase_Toolbars_Dock_Area_Bottom.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
            _FrmBase_Toolbars_Dock_Area_Bottom.BackColor       = System.Drawing.SystemColors.Control;
            _FrmBase_Toolbars_Dock_Area_Bottom.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
            _FrmBase_Toolbars_Dock_Area_Bottom.ForeColor       = System.Drawing.SystemColors.ControlText;
            _FrmBase_Toolbars_Dock_Area_Bottom.Location        = new System.Drawing.Point(0, 262);
            _FrmBase_Toolbars_Dock_Area_Bottom.Name            = "_BipForm_Toolbars_Dock_Area_Bottom";
            _FrmBase_Toolbars_Dock_Area_Bottom.Size            = new System.Drawing.Size(446, 0);
            _FrmBase_Toolbars_Dock_Area_Bottom.ToolbarsManager = form.Toolbar;

            //
            // toolbarPanel
            //
            toolbarPanel.Controls.Add(_FrmBase_Toolbars_Dock_Area_Left);
            toolbarPanel.Controls.Add(_FrmBase_Toolbars_Dock_Area_Right);
            toolbarPanel.Controls.Add(_FrmBase_Toolbars_Dock_Area_Top);
            toolbarPanel.Controls.Add(_FrmBase_Toolbars_Dock_Area_Bottom);
            toolbarPanel.Cursor   = System.Windows.Forms.Cursors.Default;
            toolbarPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
            toolbarPanel.Location = new System.Drawing.Point(0, 0);
            toolbarPanel.Name     = "toolbarPanel";
            toolbarPanel.Size     = new System.Drawing.Size(284, 262);
            toolbarPanel.TabIndex = 0;


            form.Controls.Add(_FrmBase_Toolbars_Dock_Area_Bottom);
            form.Controls.Add(_FrmBase_Toolbars_Dock_Area_Left);
            form.Controls.Add(_FrmBase_Toolbars_Dock_Area_Right);
            form.Controls.Add(_FrmBase_Toolbars_Dock_Area_Top);

            form.ToolbarButtonList = list;

            ((System.ComponentModel.ISupportInitialize)(form.Toolbar)).EndInit();
        }