private void MdiContainer_Load(object sender, EventArgs e) { // Create the NotifyIcon. this.mNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); // The Icon property sets the icon that will appear // in the systray for this application. mNotifyIcon.Icon = global::InkNote.Properties.Resources.Icon1; // The ContextMenu property sets the menu that will // appear when the systray icon is right clicked. mNotifyIcon.ContextMenuStrip = this.contextMenuStrip1; // The Text property sets the text that will be displayed, // in a tooltip, when the mouse hovers over the systray icon. mNotifyIcon.Text = "InkNote"; mNotifyIcon.Visible = true; mNotifyIcon.MouseClick += new MouseEventHandler(NotifyIcon_MouseClick); this.TransparencyKey = Color.FromArgb(255, 220, 33, 55); MdiClient Client = new MdiClient(); Client.Click += new EventHandler(Client_Click); this.Controls.Add(Client); Client.BackColor = Color.FromArgb(255, 220, 33, 55); mFormPalette = new Palette(); mFormPalette.MdiParent = this; mFormPalette.Show(); }
public static void SetMDIBorderStyle(MdiClient mdiClient, BorderStyle value) { // Get styles using Win32 calls int style = GetWindowLong(mdiClient.Handle, GWL_STYLE); int exStyle = GetWindowLong(mdiClient.Handle, GWL_EXSTYLE); // Add or remove style flags as necessary. switch (value) { case BorderStyle.Fixed3D: exStyle |= WS_EX_CLIENTEDGE; style &= ~WS_BORDER; break; case BorderStyle.FixedSingle: exStyle &= ~WS_EX_CLIENTEDGE; style |= WS_BORDER; break; case BorderStyle.None: style &= ~WS_BORDER; exStyle &= ~WS_EX_CLIENTEDGE; break; } // Set the styles using Win32 calls SetWindowLong(mdiClient.Handle, GWL_STYLE, style); SetWindowLong(mdiClient.Handle, GWL_EXSTYLE, exStyle); // Update the non-client area. SetWindowPos(mdiClient.Handle, IntPtr.Zero, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_FRAMECHANGED); }
/// <summary> /// Attach this form to the given ObjectListView /// </summary> public void Bind(Form owner) { if (owner == null) return; this.mdiClient = null; this.mdiOwner = null; //Control parent = this.objectListView.Parent; //while (parent != null) //{ // parent.ParentChanged += new EventHandler(objectListView_ParentChanged); // TabControl tabControl = parent as TabControl; // if (tabControl != null) // { // tabControl.Selected += new TabControlEventHandler(tabControl_Selected); // } // parent = parent.Parent; //} this.Owner = owner; this.myOwner = this.Owner; if (this.Owner != null) { this.Owner.LocationChanged += new EventHandler(Owner_LocationChanged); this.Owner.SizeChanged += new EventHandler(Owner_SizeChanged); this.Owner.ResizeBegin += new EventHandler(Owner_ResizeBegin); this.Owner.ResizeEnd += new EventHandler(Owner_ResizeEnd); if (this.Owner.TopMost) { // We can't do this.TopMost = true; since that will activate the panel, // taking focus away from the owner of the listview NativeMethods.MakeTopMost(this); } // We need special code to handle MDI this.mdiOwner = this.Owner.MdiParent; if (this.mdiOwner != null) { this.mdiOwner.LocationChanged += new EventHandler(Owner_LocationChanged); this.mdiOwner.SizeChanged += new EventHandler(Owner_SizeChanged); this.mdiOwner.ResizeBegin += new EventHandler(Owner_ResizeBegin); this.mdiOwner.ResizeEnd += new EventHandler(Owner_ResizeEnd); // Find the MDIClient control, which houses all MDI children foreach (Control c in this.mdiOwner.Controls) { this.mdiClient = c as MdiClient; if (this.mdiClient != null) { break; } } if (this.mdiClient != null) { this.mdiClient.ClientSizeChanged += new EventHandler(myMdiClient_ClientSizeChanged); } } } this.UpdateTransparency(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.TabIndex = 0; // // button1 // this.button1.Location = new System.Drawing.Point(16, 16); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(80, 24); this.button1.TabIndex = 1; this.button1.Text = "button1"; this.button1.Click += new System.EventHandler(this.button1_Click); // // Form1 // this.ClientSize = new System.Drawing.Size(568, 368); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.button1, this.mdiClient1 }); this.IsMdiContainer = true; this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
public FMain() { // // Windows 窗体设计器支持所必需的 // InitializeComponent(); foreach (Control item in this.Controls) { if (item.GetType().ToString().Equals("System.Windows.Forms.MdiClient")) { this.m_MdiClient = item as MdiClient; break; } } this.m_MdiClient.BackColor = Color.FromArgb(244, 244, 244); ApplicationService.Current().MainWindows = this; Infragistics.Win.UltraWinToolbars.UltraToolbar mainMenuBar = ultraToolbarsManager.Toolbars["MainMenuBar"]; ApplicationService.Current().MenuService.MergeUltraWinMainMenu(mainMenuBar); FLogin login = new FLogin(this); login.Show(); this.Visible = false; this.InitPageLanguage(); }
private void MDI_Set() { foreach (System.Windows.Forms.Control myControl in this.Controls) { if (myControl.GetType().ToString() == "System.Windows.Forms.MdiClient") { bgMDIClient = (System.Windows.Forms.MdiClient)myControl; break; } } if (bgMDIClient.ClientSize.Width > 0 && bgMDIClient.ClientSize.Height > 0) { //Assembly asm = Assembly.GetExecutingAssembly(); //Stream imgStream = asm.GetManifestResourceStream("ams.Resources.Logo.jpg"); Bitmap MDIbg_Image = new Bitmap(Properties.Resources.ground);//new Bitmap("logo.jpg"); System.Drawing.Bitmap myImg = new Bitmap(bgMDIClient.ClientSize.Width, bgMDIClient.ClientSize.Height); System.Drawing.Graphics myGraphics = System.Drawing.Graphics.FromImage(myImg); myGraphics.Clear(this.BackColor); //标志 myGraphics.Clear(this.BackColor); //定位 int myX, myY; myX = (myImg.Width - MDIbg_Image.Width) / 2; myY = (myImg.Height - MDIbg_Image.Height) / 2; myGraphics.DrawImage(MDIbg_Image, myX, myY, MDIbg_Image.Width, MDIbg_Image.Height); bgMDIClient.BackgroundImage = myImg; myGraphics.Dispose(); } }
public MdiWindowManager(System.Windows.Forms.Form parent) { if (parent == null) throw new ArgumentNullException("parent"); Parent = parent; foreach (var control in parent.Controls) { _client = control as MdiClient; if (_client != null) break; } if (_client == null) throw new ArgumentException("parent is not an MDI container"); _client.MouseClick += _client_MouseClick; _client.ControlAdded += (s, e) => AddControl(e.Control); _client.ControlRemoved += (s, e) => RemoveControl(e.Control); foreach (Control control in _client.Controls) { AddControl(control); } Parent.Disposed += (s, e) => _flashTimer.Dispose(); _flashTimer.Interval = 5 * SystemInformation.CaretBlinkTime; _flashTimer.Tick += _flashTimer_Tick; }
public MainWindow() { InitializeComponent(); mdi_client = this.Controls.OfType<MdiClient>().FirstOrDefault(); mdi_client.AllowDrop = true; mdi_client.DragEnter += MainWindow_DragEnter; mdi_client.DragDrop += MainWindow_DragDrop; this.MdiChildActivate += MainWindow_MdiChildActivate; }
private void Form1_Load(object sender, EventArgs e) { foreach (Control c in this.Controls) { if (c.GetType().ToString() == "system.windows.forms.mdiclient") { mclient = c as MdiClient; } c.MouseClick += c_MouseDoubleClick; } mclient.BackColor = Color.Yellow; }
public F_Parent() { InitializeComponent(); int iCnt = this.Controls.Count; for (int i = 0; i < this.Controls.Count; i++) {//遍历控件列表,找到MdiClient,也就是MDI客户区 if (this.Controls[i].GetType().ToString() == "System.Windows.Forms.MdiClient") {//获取窗体客户区实例 this.mdiClient = (System.Windows.Forms.MdiClient)this.Controls[i]; break; } } }
public F_Parent() { InitializeComponent(); int iCnt = this.Controls.Count; for (int i = 0; i < this.Controls.Count; i++) { //遍历控件列表,找到MdiClient,也就是MDI客户区 if (this.Controls[i].GetType().ToString() == "System.Windows.Forms.MdiClient") { //获取窗体客户区实例 this.mdiClient = (System.Windows.Forms.MdiClient) this.Controls[i]; break; } } }
public MdiWindowManager(Form form, MdiClient mdi_container) : base(form) { this.mdi_container = mdi_container; if (form.WindowState == FormWindowState.Normal) { NormalBounds = form.Bounds; } form_closed_handler = new EventHandler(FormClosed); form.Closed += form_closed_handler; form.TextChanged += new EventHandler(FormTextChangedHandler); form.SizeChanged += new EventHandler(FormSizeChangedHandler); form.LocationChanged += new EventHandler(FormLocationChangedHandler); form.VisibleChanged += new EventHandler(FormVisibleChangedHandler); draw_maximized_buttons = new PaintEventHandler(DrawMaximizedButtons); CreateIconMenus(); }
/// <summary> /// Initializes a new instance of the <see cref="Slusser.Components.MdiClientController"/> class /// for the given MDI form. /// </summary> /// <param name="parentForm">The MDI form.</param> public MdiClientController(Form parentForm) { // Initialize the variables. this.site = null; this.parentForm = null; this.mdiClient = null; this.backColor = SystemColors.AppWorkspace; this.borderStyle = BorderStyle.Fixed3D; this.autoScroll = true; this.image = null; this.imageAlign = ContentAlignment.MiddleCenter; this.stretchImage = false; // Set the ParentForm property. this.ParentForm = parentForm; }
public void SetMdiBackColor() { MdiClient ctlMDI = new MdiClient(); int i = 0; for (i = 0; i <= this.Controls.Count; i++) { try { ctlMDI = (MdiClient)this.Controls[i]; ctlMDI.BackColor = this.BackColor; } catch (Exception error) { } } }
public MainView() { InitializeComponent(); TranslateControls(); _mainViewModel.MainView = this; this.DoubleBuffered = true; foreach (System.Windows.Forms.Control c in this.Controls) { if (c is System.Windows.Forms.MdiClient) { System.Windows.Forms.MdiClient ctl = (System.Windows.Forms.MdiClient)c; ctl.Paint += this.DrawBackground; ctl.Click += this.ClickBackground; } } }
protected void Login() { this.Hide(); FormLogin form = new FormLogin(); if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK) { if (Bean.Variable.User != null) { this.tSSLUser.Text = Bean.Variable.User.realname + "(" + Bean.Variable.User.username + ")"; } this.Location = new Point(0, 0); this.WindowState = FormWindowState.Maximized; this.Show(); this.BringToFront(); for (int i = 0; i < this.Controls.Count; i++) { MdiClient client = this.Controls[i] as MdiClient; if (client == null) continue; _mdiClient = client; _mdiClient.BackColor = Color.White; break; } setRole(); //GetUserRoles(); //LoadTreeMenu(); //ShowMenuByRoles(); //tSSLUser.Text = FishEntity.Variable.User == null ? string.Empty : FishEntity.Variable.User.realname + "(" + FishEntity.Variable.User.roletype + ")"; DrawMdiClientBackground(); //ShowPushMessageForm(); //StartBackThread(); } else { this.Close(); } }
public static Point GetNextStackedFormLocation(CreateParams cp) { if (cp.control == null) { return(Point.Empty); } MdiClient parent = cp.control.Parent as MdiClient; if (parent != null) { return(parent.GetNextStackedFormLocation(cp)); } int X = cp.X; int Y = cp.Y; Point previous, next; Rectangle within; previous = Hwnd.previous_main_startup_location; within = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea; if (previous.X == int.MinValue || previous.Y == int.MinValue) { next = Point.Empty; } else { next = new Point(previous.X + 22, previous.Y + 22); } if (!within.Contains(next.X * 3, next.Y * 3)) { next = Point.Empty; } if (next == Point.Empty && cp.Parent == IntPtr.Zero) { next = new Point(22, 22); } Hwnd.previous_main_startup_location = next; return(next); }
private void frmMain_Load(object sender, EventArgs e) { if (Database.SQLConnection != null && Database.SQLConnection.State == ConnectionState.Open) { this.stripStatusDatabase.Text = Properties.Settings.Database.Host + '(' + Properties.Settings.Database.Database + ')'; } else { this.stripStatusDatabase.Text = "数据库断开"; } #if false System.Windows.Forms.MdiClient mc = GetMdiClient(this); mc.Paint += new PaintEventHandler(frmMain_Paint); mc.BackColor = this.BackColor; #endif TreeNode tNode = AddView(new frmMobile(), 32); AddView(new frmProvision(), tNode, 29); }
private void cambiarColorMdi() { foreach (Control ctl in this.Controls) { try { // Attempt to cast the control to type MdiClient. ctlMDI = (MdiClient)ctl; // Set the BackColor of the MdiClient control. ctlMDI.BackColor = Color.LightSkyBlue; } catch (InvalidCastException) { // Catch and ignore the error if casting failed. } } }
public ControlCollection(MdiClient owner) : base(owner) { throw null; }
// Dispose of this control. protected override void Dispose(bool disposing) { acceptButton = null; defaultButton = null; cancelButton = null; mdiClient = null; if( null != owner ) { this.RemoveOwnedForm(owner); owner = null; } if( null != ownedForms ) { int iCount = ownedForms.Length; for( int i = iCount-1; i >= 0; i-- ) { if( null != ownedForms[i] ) { ownedForms[i].Dispose(); } } } if( null != menu ) { menu.ownerForm = null; menu = null; } if( null != mergedMenu ) { if( mergedMenu.ownerForm == this || mergedMenu.ownerForm == null ) { mergedMenu.Dispose(); } mergedMenu = null; } if( activeForm == this ) activeForm = null; base.Dispose(disposing); }
private void SetMdiClientLocation(MdiClient mdi) { mdi.BackColor = Color.White; //mdi.Margin = new Padding(10); //mdi.Dock = DockStyle.None; //mdi.Location = new Point(30, 40); //mdi.Size = new Size(400, 260); }
private void PopulateWindowMenu() { if (mdilist) { if (mdilist_items == null) { mdilist_items = new Hashtable(); mdilist_forms = new Hashtable(); } do { MainMenu main = GetMainMenu(); if (main == null || main.GetForm() == null) { break; } Form form = main.GetForm(); mdicontainer = form.MdiContainer; if (mdicontainer == null) { break; } // Remove closed forms MenuItem[] items = new MenuItem[mdilist_items.Count]; mdilist_items.Keys.CopyTo(items, 0); foreach (MenuItem item in items) { Form mdichild = (Form)mdilist_items [item]; if (!mdicontainer.mdi_child_list.Contains(mdichild)) { mdilist_items.Remove(item); mdilist_forms.Remove(mdichild); MenuItems.Remove(item); } } // Add new forms and update state for existing forms. for (int i = 0; i < mdicontainer.mdi_child_list.Count; i++) { Form mdichild = (Form)mdicontainer.mdi_child_list[i]; MenuItem item; if (mdilist_forms.Contains(mdichild)) { item = (MenuItem)mdilist_forms [mdichild]; } else { item = new MenuItem(); item.is_window_menu_item = true; item.Click += new EventHandler(MdiWindowClickHandler); mdilist_items [item] = mdichild; mdilist_forms [mdichild] = item; MenuItems.AddNoEvents(item); } item.Visible = mdichild.Visible; item.Text = "&" + (i + 1).ToString() + " " + mdichild.Text; item.Checked = form.ActiveMdiChild == mdichild; } } while (false); } else { // Remove all forms if (mdilist_items != null) { foreach (MenuItem item in mdilist_items.Values) { MenuItems.Remove(item); } mdilist_forms.Clear(); mdilist_items.Clear(); } } }
/// <devdoc> /// Cleans up form state after a control has been removed. /// Package scope for Control /// </devdoc> /// <internalonly/> internal override void AfterControlRemoved(Control control, Control oldParent) { base.AfterControlRemoved(control, oldParent); if (control == AcceptButton) { this.AcceptButton = null; } if (control == CancelButton) { this.CancelButton = null; } if (control == ctlClient) { ctlClient = null; UpdateMenuHandles(); } }
private void UpdateMdiStyles(MdiClient mdi) { // To show style changes, the non-client area must be repainted. Using the // control's Invalidate method does not affect the non-client area. // Instead use a Win32 call to signal the style has changed. WinAPI.SetWindowPos(mdi.Handle, IntPtr.Zero, 0, 0, 0, 0, (uint)WinAPI.SWPPara.SWP_NOACTIVATE | (uint)WinAPI.SWPPara.SWP_NOMOVE | (uint)WinAPI.SWPPara.SWP_NOSIZE | (uint)WinAPI.SWPPara.SWP_NOZORDER | (uint)WinAPI.SWPPara.SWP_NOOWNERZORDER | (uint)WinAPI.SWPPara.SWP_FRAMECHANGED); }
// Constructor. public ControlCollection(MdiClient owner) : base(owner) { this.mdiClient = owner; }
/// <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(MainForm)); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer(); this.listBox1 = new System.Windows.Forms.ListBox(); this.barManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "MainMenu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.openBarItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.closeBarItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.toolbarListBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ToolbarListBarItem(); this.mdiListBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MdiListBarItem(); this.parentBarItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.bar2 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "Standard"); this.dropDownBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem(); this.popupControlContainer2 = new Syncfusion.Windows.Forms.PopupControlContainer(); this.colorPickerUIAdv1 = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv(); this.largeImageList = new System.Windows.Forms.ImageList(this.components); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.barItem12 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem11 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem10 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.dropDownBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem(); this.popupMenu2 = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenu(this.components); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.popupControlContainer2.SuspendLayout(); this.SuspendLayout(); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 0; this.barItem8.ID = "Test4"; this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "Test4"; // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 0; this.barItem9.ID = "Test5"; this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "Test5"; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); this.imageList1.Images.SetKeyName(8, ""); this.imageList1.Images.SetKeyName(9, ""); this.imageList1.Images.SetKeyName(10, ""); this.imageList1.Images.SetKeyName(11, ""); this.imageList1.Images.SetKeyName(12, ""); this.imageList1.Images.SetKeyName(13, ""); this.imageList1.Images.SetKeyName(14, ""); this.imageList1.Images.SetKeyName(15, "architecture_info_16.png"); this.imageList1.Images.SetKeyName(16, "ballon_fav_16.png"); // // popupControlContainer1 // this.popupControlContainer1.Location = new System.Drawing.Point(384, 80); this.popupControlContainer1.Name = "popupControlContainer1"; this.popupControlContainer1.Size = new System.Drawing.Size(96, 96); this.popupControlContainer1.TabIndex = 5; this.popupControlContainer1.Visible = false; // // listBox1 // this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.listBox1.Location = new System.Drawing.Point(0, 0); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(96, 95); this.listBox1.TabIndex = 0; // // barManager1 // this.barManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("barManager1.BarPositionInfo"))); this.barManager1.ThemeName = "Office2019Colorful"; this.barManager1.Bars.Add(this.bar1); //this.barManager1.Bars.Add(this.bar2); this.barManager1.Categories.Add("File"); this.barManager1.Categories.Add("View"); this.barManager1.Categories.Add("Window"); this.barManager1.Categories.Add("&Help"); this.barManager1.Categories.Add("StatusBar"); this.barManager1.EnableMenuMerge = true; this.barManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); //this.barManager1.Form = this; this.barManager1.ImageList = this.imageList1; this.barManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.openBarItem, this.closeBarItem, this.parentBarItem4, this.mdiListBarItem1, this.toolbarListBarItem1, this.dropDownBarItem2, this.parentBarItem6 }); this.barManager1.LargeImageList = this.largeImageList; this.barManager1.ResetCustomization = false; this.barManager1.UseBackwardCompatiblity = false; // // bar1 // this.bar1.BarName = "MainMenu"; this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu) | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.RotateWhenVertical) | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible))); this.bar1.Caption = "MainMenu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem4, this.parentBarItem6 }); this.bar1.Manager = this.barManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.parentBarItem1.ID = "&File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.openBarItem, this.closeBarItem }); this.parentBarItem1.MergeOrder = 1; this.parentBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem1.SeparatorIndices.AddRange(new int[] { 2, 3 }); this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem1.Text = "&File"; this.parentBarItem1.WrapLength = 20; // // openBarItem // this.openBarItem.BarName = "openBarItem"; this.openBarItem.CategoryIndex = 0; this.openBarItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.openBarItem.ID = "&Open"; this.openBarItem.ImageIndex = 0; this.openBarItem.MergeOrder = 1; this.openBarItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.openBarItem.ShowToolTipInPopUp = false; this.openBarItem.SizeToFit = true; this.openBarItem.Text = "&Open"; this.openBarItem.Click += new System.EventHandler(this.openBarItem_Click); // // closeBarItem // this.closeBarItem.BarName = "closeBarItem"; this.closeBarItem.CategoryIndex = 0; this.closeBarItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.closeBarItem.ID = "&Close"; this.closeBarItem.ImageIndex = 4; this.closeBarItem.MergeOrder = 3; this.closeBarItem.Shortcut = System.Windows.Forms.Shortcut.CtrlShiftO; this.closeBarItem.ShowToolTipInPopUp = false; this.closeBarItem.SizeToFit = true; this.closeBarItem.Text = "&Close"; this.closeBarItem.Click += new System.EventHandler(this.closeBarItem_Click); // // parentBarItem4 // this.parentBarItem4.BarName = "parentBarItem4"; this.parentBarItem4.CategoryIndex = 1; this.parentBarItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.parentBarItem4.ID = "&View"; this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.toolbarListBarItem1 }); this.parentBarItem4.MergeOrder = 5; this.parentBarItem4.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem4.ShowToolTipInPopUp = false; this.parentBarItem4.SizeToFit = true; this.parentBarItem4.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem4.Text = "&View"; this.parentBarItem4.WrapLength = 20; // // toolbarListBarItem1 // this.toolbarListBarItem1.BarName = "toolbarListBarItem1"; this.toolbarListBarItem1.CategoryIndex = 1; this.toolbarListBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolbarListBarItem1.ID = "&Toolbars"; this.toolbarListBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.toolbarListBarItem1.ShowToolTipInPopUp = false; this.toolbarListBarItem1.SizeToFit = true; this.toolbarListBarItem1.Text = "&Toolbars"; this.toolbarListBarItem1.WrapLength = 20; // // mdiListBarItem1 // this.mdiListBarItem1.BarName = "mdiListBarItem1"; this.mdiListBarItem1.CategoryIndex = 2; this.mdiListBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mdiListBarItem1.ID = "Window List"; this.mdiListBarItem1.ShowToolTipInPopUp = false; this.mdiListBarItem1.SizeToFit = true; // // parentBarItem6 // this.parentBarItem6.BarName = "parentBarItem6"; this.parentBarItem6.CategoryIndex = 5; this.parentBarItem6.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.parentBarItem6.ID = "&Help"; this.parentBarItem6.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { }); this.parentBarItem6.MergeOrder = 21; this.parentBarItem6.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem6.ShowToolTipInPopUp = false; this.parentBarItem6.SizeToFit = true; this.parentBarItem6.Text = "&Help"; this.parentBarItem6.WrapLength = 20; // // dropDownBarItem2 // this.dropDownBarItem2.BarName = "dropDownBarItem2"; this.dropDownBarItem2.CategoryIndex = 0; this.dropDownBarItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dropDownBarItem2.ID = "Custom Colors"; this.dropDownBarItem2.PopupControlContainer = this.popupControlContainer2; this.dropDownBarItem2.ShowToolTipInPopUp = false; this.dropDownBarItem2.SizeToFit = true; this.dropDownBarItem2.Text = "Custom Colors"; // // popupControlContainer2 // this.popupControlContainer2.Controls.Add(this.colorPickerUIAdv1); this.popupControlContainer2.Location = new System.Drawing.Point(277, 241); this.popupControlContainer2.Name = "popupControlContainer2"; this.popupControlContainer2.Size = new System.Drawing.Size(275, 294); this.popupControlContainer2.TabIndex = 10002; this.popupControlContainer2.Visible = false; // // colorPickerUIAdv1.RecentGroup // this.colorPickerUIAdv1.RecentGroup.HeaderHeight = 23; this.colorPickerUIAdv1.RecentGroup.Name = "Recent Colors"; this.colorPickerUIAdv1.RecentGroup.Visible = false; // // colorPickerUIAdv1.StandardGroup // this.colorPickerUIAdv1.StandardGroup.HeaderHeight = 23; this.colorPickerUIAdv1.StandardGroup.Name = "Standard Colors"; // // colorPickerUIAdv1.ThemeGroup // this.colorPickerUIAdv1.ThemeGroup.HeaderHeight = 23; this.colorPickerUIAdv1.ThemeGroup.IsSubItemsVisible = true; this.colorPickerUIAdv1.ThemeGroup.Name = "Theme Colors"; // // colorPickerUIAdv1 // this.colorPickerUIAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.colorPickerUIAdv1.ButtonsHeight = 31; this.colorPickerUIAdv1.ColorItemSize = new System.Drawing.Size(21, 21); this.colorPickerUIAdv1.Dock = System.Windows.Forms.DockStyle.Fill; this.colorPickerUIAdv1.Location = new System.Drawing.Point(0, 0); this.colorPickerUIAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.colorPickerUIAdv1.MinimumSize = new System.Drawing.Size(136, 217); this.colorPickerUIAdv1.Name = "colorPickerUIAdv1"; this.colorPickerUIAdv1.Size = new System.Drawing.Size(275, 294); this.colorPickerUIAdv1.ThemeName = "Office2019Colorful"; this.colorPickerUIAdv1.TabIndex = 10003; this.colorPickerUIAdv1.Text = "colorPickerUIAdv1"; this.colorPickerUIAdv1.VerticalItemsSpacing = 1; // // largeImageList // this.largeImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("largeImageList.ImageStream"))); this.largeImageList.TransparentColor = System.Drawing.Color.Transparent; this.largeImageList.Images.SetKeyName(0, ""); this.largeImageList.Images.SetKeyName(1, ""); this.largeImageList.Images.SetKeyName(2, ""); this.largeImageList.Images.SetKeyName(3, ""); this.largeImageList.Images.SetKeyName(4, ""); this.largeImageList.Images.SetKeyName(5, ""); this.largeImageList.Images.SetKeyName(6, ""); // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Location = new System.Drawing.Point(0, 50); this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.Size = new System.Drawing.Size(0, 0); this.mdiClient1.TabIndex = 4; // // barItem12 // this.barItem12.BarName = "barItem12"; this.barItem12.CategoryIndex = 0; this.barItem12.ID = "dummy"; this.barItem12.ShowToolTipInPopUp = false; this.barItem12.SizeToFit = true; this.barItem12.Text = "dummy"; // // barItem11 // this.barItem11.BarName = "barItem11"; this.barItem11.CategoryIndex = 2; this.barItem11.ID = "Tseting"; this.barItem11.ShowToolTipInPopUp = false; this.barItem11.SizeToFit = true; this.barItem11.Text = "Tseting"; // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 0; this.barItem10.ID = "Test"; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "Test"; // // dropDownBarItem1 // this.dropDownBarItem1.BarName = "dropDownBarItem1"; this.dropDownBarItem1.CategoryIndex = 1; this.dropDownBarItem1.ID = "DropDown"; this.dropDownBarItem1.ShowToolTipInPopUp = false; this.dropDownBarItem1.SizeToFit = true; this.dropDownBarItem1.Text = "DropDown"; // // popupMenu2 // this.popupMenu2.ParentBarItem = this.parentBarItem1; // // openFileDialog1 // this.openFileDialog1.Filter = "txt files (*.txt)|*.txt|Image Files (*.bmp; *.ico)|*.bmp;*.ico"; this.openFileDialog1.FilterIndex = 0; this.openFileDialog1.Title = "Text or Image File Selection Dialog"; // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem4.ID = "Custom Colors"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "Custom Colors"; // // MainForm // this.AccessibleName = ""; this.AutoScaleBaseSize = new System.Drawing.Size(4, 19); this.ClientSize = new System.Drawing.Size(600, 600); this.WindowState = FormWindowState.Normal; this.Controls.Add(this.popupControlContainer2); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = new System.Drawing.Icon(GetIconFile(@"..\\..\\\logo.ico")); this.IsMdiContainer = true; this.Name = "MainForm"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "MDI Merge"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.popupControlContainer2.ResumeLayout(false); this.ResumeLayout(false); }
/// <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(frmMain)); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.bar1 = new DevComponents.DotNetBar.Bar(); this.itemContainer9 = new DevComponents.DotNetBar.ItemContainer(); this.btnText = new DevComponents.DotNetBar.ButtonItem(); this.btnNavigation = new DevComponents.DotNetBar.ButtonItem(); this.labelStatus = new DevComponents.DotNetBar.LabelItem(); this.progressBarItem1 = new DevComponents.DotNetBar.ProgressBarItem(); this.itemContainer13 = new DevComponents.DotNetBar.ItemContainer(); this.labelPosition = new DevComponents.DotNetBar.LabelItem(); this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl(); this.ribPnlContext = new DevComponents.DotNetBar.RibbonPanel(); this.ribGrpMainLoop = new DevComponents.DotNetBar.RibbonBar(); this.btnParamIn4MainLoop = new DevComponents.DotNetBar.ButtonItem(); this.btnCalc4MainLoop = new DevComponents.DotNetBar.ButtonItem(); this.btnProcess4MainLoop = new DevComponents.DotNetBar.ButtonItem(); this.ribPnlWrite = new DevComponents.DotNetBar.RibbonPanel(); this.ribTagParagraph = new DevComponents.DotNetBar.RibbonBar(); this.itemContainerParagrapg1 = new DevComponents.DotNetBar.ItemContainer(); this.itemContainerParagrapg2 = new DevComponents.DotNetBar.ItemContainer(); this.buttonAlignLeft = new DevComponents.DotNetBar.ButtonItem(); this.buttonAlignCenter = new DevComponents.DotNetBar.ButtonItem(); this.buttonAlignRight = new DevComponents.DotNetBar.ButtonItem(); this.buttonAlignJustify = new DevComponents.DotNetBar.ButtonItem(); this.itemContainerParagrapg4 = new DevComponents.DotNetBar.ItemContainer(); this.btnSeqNumber = new DevComponents.DotNetBar.ButtonItem(); this.btnGrade = new DevComponents.DotNetBar.ButtonItem(); this.btnToRigth = new DevComponents.DotNetBar.ButtonItem(); this.btnToLeft = new DevComponents.DotNetBar.ButtonItem(); this.itemContainerParagrapg3 = new DevComponents.DotNetBar.ItemContainer(); this.btnBorders = new DevComponents.DotNetBar.ButtonItem(); this.btnShading = new DevComponents.DotNetBar.ButtonItem(); this.ribTagFont = new DevComponents.DotNetBar.RibbonBar(); this.itemContainerFont1 = new DevComponents.DotNetBar.ItemContainer(); this.comboFont = new DevComponents.DotNetBar.ComboBoxItem(); this.comboFontSize = new DevComponents.DotNetBar.ComboBoxItem(); this.comboItem1 = new DevComponents.Editors.ComboItem(); this.comboItem2 = new DevComponents.Editors.ComboItem(); this.comboItem3 = new DevComponents.Editors.ComboItem(); this.comboItem4 = new DevComponents.Editors.ComboItem(); this.comboItem5 = new DevComponents.Editors.ComboItem(); this.itemContainerFont2 = new DevComponents.DotNetBar.ItemContainer(); this.buttonFontBold = new DevComponents.DotNetBar.ButtonItem(); this.buttonFontItalic = new DevComponents.DotNetBar.ButtonItem(); this.buttonFontUnderline = new DevComponents.DotNetBar.ButtonItem(); this.buttonFontStrike = new DevComponents.DotNetBar.ButtonItem(); this.buttonTextColor = new DevComponents.DotNetBar.ColorPickerDropDown(); this.ribTagClipboard = new DevComponents.DotNetBar.RibbonBar(); this.buttonPaste = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem53 = new DevComponents.DotNetBar.ButtonItem(); this.btnPasteSpecial = new DevComponents.DotNetBar.ButtonItem(); this.itemContainerClipboard = new DevComponents.DotNetBar.ItemContainer(); this.buttonCut = new DevComponents.DotNetBar.ButtonItem(); this.btnFormat = new DevComponents.DotNetBar.ButtonItem(); this.ribPnlLayout = new DevComponents.DotNetBar.RibbonPanel(); this.ribBarOptions = new DevComponents.DotNetBar.RibbonBar(); this.itemContainerOptions1 = new DevComponents.DotNetBar.ItemContainer(); this.checkBoxItem1 = new DevComponents.DotNetBar.CheckBoxItem(); this.checkBoxItem3 = new DevComponents.DotNetBar.CheckBoxItem(); this.itemContainer1Options2 = new DevComponents.DotNetBar.ItemContainer(); this.checkBoxItem4 = new DevComponents.DotNetBar.CheckBoxItem(); this.checkBoxItem6 = new DevComponents.DotNetBar.CheckBoxItem(); this.ribBarFind = new DevComponents.DotNetBar.RibbonBar(); this.buttonFind = new DevComponents.DotNetBar.ButtonItem(); this.itemContainerFind = new DevComponents.DotNetBar.ItemContainer(); this.buttonReplace = new DevComponents.DotNetBar.ButtonItem(); this.buttonGoto = new DevComponents.DotNetBar.ButtonItem(); this.ribTagPageSetup = new DevComponents.DotNetBar.RibbonBar(); this.buttonMargins = new DevComponents.DotNetBar.ButtonItem(); this.btnOrientation = new DevComponents.DotNetBar.ButtonItem(); this.btnAuto = new DevComponents.DotNetBar.ButtonItem(); this.btnHorizontal = new DevComponents.DotNetBar.ButtonItem(); this.btnVertical = new DevComponents.DotNetBar.ButtonItem(); this.btnSize = new DevComponents.DotNetBar.ButtonItem(); this.btnPrintArea = new DevComponents.DotNetBar.ButtonItem(); this.ribTabPrjManage = new DevComponents.DotNetBar.RibbonTabItem(); this.ribTabMainDevice = new DevComponents.DotNetBar.RibbonTabItem(); this.ribTagMainLoop = new DevComponents.DotNetBar.RibbonTabItem(); this.buttonChangeStyle = new DevComponents.DotNetBar.ButtonItem(); this.buttonStyleOffice2007Blue = new DevComponents.DotNetBar.ButtonItem(); this.AppCommandTheme = new DevComponents.DotNetBar.Command(this.components); this.buttonStyleOffice2007Silver = new DevComponents.DotNetBar.ButtonItem(); this.buttonFile = new DevComponents.DotNetBar.Office2007StartButton(); this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl(); this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panelEx2 = new DevComponents.DotNetBar.PanelEx(); this.recentPlacesItemsPanel = new DevComponents.DotNetBar.ItemPanel(); this.labelX2 = new DevComponents.DotNetBar.LabelX(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.recentDocsItemPane = new DevComponents.DotNetBar.ItemPanel(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.superTabItem1 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.itemPanel1 = new DevComponents.DotNetBar.ItemPanel(); this.buttonItem67 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem68 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem69 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem70 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem71 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem72 = new DevComponents.DotNetBar.ButtonItem(); this.labelX3 = new DevComponents.DotNetBar.LabelX(); this.superTabItem2 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panelEx3 = new DevComponents.DotNetBar.PanelEx(); this.labelX5 = new DevComponents.DotNetBar.LabelX(); this.integerInput1 = new DevComponents.Editors.IntegerInput(); this.labelX4 = new DevComponents.DotNetBar.LabelX(); this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); this.superTabItem3 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.itemPanel2 = new DevComponents.DotNetBar.ItemPanel(); this.buttonItem77 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem73 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem74 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem(); this.labelX6 = new DevComponents.DotNetBar.LabelX(); this.superTabItem4 = new DevComponents.DotNetBar.SuperTabItem(); this.buttonItem61 = new DevComponents.DotNetBar.ButtonItem(); this.AppCommandSave = new DevComponents.DotNetBar.Command(this.components); this.buttonItem63 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem64 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem65 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem66 = new DevComponents.DotNetBar.ButtonItem(); this.buttonSave = new DevComponents.DotNetBar.ButtonItem(); this.buttonUndo = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem47 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem48 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem49 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem17 = new DevComponents.DotNetBar.ButtonItem(); this.buttonStyleMetro = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem62 = new DevComponents.DotNetBar.ButtonItem(); this.buttonStyleOffice2007Black = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem60 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem16 = new DevComponents.DotNetBar.ButtonItem(); this.buttonStyleCustom = new DevComponents.DotNetBar.ColorPickerDropDown(); this.RibbonStateCommand = new DevComponents.DotNetBar.Command(this.components); this.menuFileContainer = new DevComponents.DotNetBar.ItemContainer(); this.menuFileTwoColumnContainer = new DevComponents.DotNetBar.ItemContainer(); this.menuFileItems = new DevComponents.DotNetBar.ItemContainer(); this.buttonItem20 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem21 = new DevComponents.DotNetBar.ButtonItem(); this.buttonFileSaveAs = new DevComponents.DotNetBar.ButtonItem(); this.itemContainer12 = new DevComponents.DotNetBar.ItemContainer(); this.labelItem1 = new DevComponents.DotNetBar.LabelItem(); this.buttonItem56 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem57 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem58 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem59 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem23 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem24 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem25 = new DevComponents.DotNetBar.ButtonItem(); this.menuFileMRU = new DevComponents.DotNetBar.ItemContainer(); this.labelItem8 = new DevComponents.DotNetBar.LabelItem(); this.buttonItem26 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem28 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem29 = new DevComponents.DotNetBar.ButtonItem(); this.menuFileBottomContainer = new DevComponents.DotNetBar.ItemContainer(); this.buttonOptions = new DevComponents.DotNetBar.ButtonItem(); this.buttonExit = new DevComponents.DotNetBar.ButtonItem(); this.progressBarTimer = new System.Windows.Forms.Timer(this.components); this.styleManager = new DevComponents.DotNetBar.StyleManager(this.components); this.grpBoxTree = new System.Windows.Forms.GroupBox(); this.treeView1 = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit(); this.ribbonControl1.SuspendLayout(); this.ribPnlContext.SuspendLayout(); this.ribPnlWrite.SuspendLayout(); this.ribPnlLayout.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit(); this.superTabControl1.SuspendLayout(); this.superTabControlPanel1.SuspendLayout(); this.panelEx2.SuspendLayout(); this.panelEx1.SuspendLayout(); this.superTabControlPanel2.SuspendLayout(); this.superTabControlPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).BeginInit(); this.superTabControlPanel4.SuspendLayout(); this.grpBoxTree.SuspendLayout(); this.SuspendLayout(); // // mdiClient1 // this.mdiClient1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mdiClient1.Location = new System.Drawing.Point(5, 148); this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.Size = new System.Drawing.Size(958, 452); this.mdiClient1.TabIndex = 5; // // bar1 // this.bar1.AccessibleDescription = "DotNetBar Bar (bar1)"; this.bar1.AccessibleName = "DotNetBar Bar"; this.bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.StatusBar; this.bar1.AntiAlias = true; this.bar1.BarType = DevComponents.DotNetBar.eBarType.StatusBar; this.bar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.bar1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.bar1.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.ResizeHandle; this.bar1.IsMaximized = false; this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainer9, this.labelStatus, this.progressBarItem1, this.itemContainer13}); this.bar1.ItemSpacing = 2; this.bar1.Location = new System.Drawing.Point(5, 600); this.bar1.Name = "bar1"; this.bar1.PaddingBottom = 0; this.bar1.PaddingTop = 0; this.bar1.Size = new System.Drawing.Size(958, 28); this.bar1.Stretch = true; this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.bar1.TabIndex = 7; this.bar1.TabStop = false; this.bar1.Text = "barStatus"; // // itemContainer9 // // // // this.itemContainer9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer9.BeginGroup = true; this.itemContainer9.Name = "itemContainer9"; this.itemContainer9.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnText, this.btnNavigation}); // // // this.itemContainer9.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // btnText // this.btnText.Enabled = false; this.btnText.EnableMarkup = false; this.btnText.FontBold = true; this.btnText.ForeColor = System.Drawing.Color.Black; this.btnText.ImagePaddingVertical = 9; this.btnText.Name = "btnText"; this.btnText.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None; this.btnText.RibbonWordWrap = false; this.btnText.ShowSubItems = false; this.btnText.StopPulseOnMouseOver = false; this.btnText.SymbolSize = 10F; this.btnText.Text = "当前位置:"; // // btnNavigation // this.btnNavigation.Enabled = false; this.btnNavigation.FontBold = true; this.btnNavigation.ImagePaddingVertical = 9; this.btnNavigation.Name = "btnNavigation"; this.btnNavigation.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None; this.btnNavigation.SymbolSize = 10F; this.btnNavigation.Tooltip = "Comments"; // // labelStatus // this.labelStatus.Name = "labelStatus"; this.labelStatus.PaddingLeft = 2; this.labelStatus.PaddingRight = 2; this.labelStatus.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.labelStatus.Stretch = true; // // progressBarItem1 // // // // this.progressBarItem1.BackStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.progressBarItem1.ChunkGradientAngle = 0F; this.progressBarItem1.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleAlways; this.progressBarItem1.Name = "progressBarItem1"; this.progressBarItem1.RecentlyUsed = false; // // itemContainer13 // // // // this.itemContainer13.BackgroundStyle.Class = "Office2007StatusBarBackground2"; this.itemContainer13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer13.Name = "itemContainer13"; this.itemContainer13.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelPosition}); // // // this.itemContainer13.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // labelPosition // this.labelPosition.Name = "labelPosition"; this.labelPosition.PaddingLeft = 2; this.labelPosition.PaddingRight = 2; this.labelPosition.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.labelPosition.Width = 100; // // ribbonControl1 // this.ribbonControl1.BackColor = System.Drawing.SystemColors.Control; this.ribbonControl1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ribbonControl1.BackgroundImage"))); // // // this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonControl1.CaptionVisible = true; this.ribbonControl1.Controls.Add(this.ribPnlContext); this.ribbonControl1.Controls.Add(this.ribPnlWrite); this.ribbonControl1.Controls.Add(this.ribPnlLayout); this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top; this.ribbonControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ribbonControl1.ForeColor = System.Drawing.Color.Black; this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ribTabPrjManage, this.ribTabMainDevice, this.ribTagMainLoop, this.buttonChangeStyle}); this.ribbonControl1.KeyTipsFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ribbonControl1.Location = new System.Drawing.Point(5, 1); this.ribbonControl1.Name = "ribbonControl1"; this.ribbonControl1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 3); this.ribbonControl1.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonFile, this.buttonSave, this.buttonUndo}); this.ribbonControl1.RibbonStripFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ribbonControl1.Size = new System.Drawing.Size(958, 147); this.ribbonControl1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonControl1.SystemText.MaximizeRibbonText = "&Maximize the Ribbon"; this.ribbonControl1.SystemText.MinimizeRibbonText = "Mi&nimize the Ribbon"; this.ribbonControl1.SystemText.QatAddItemText = "&Add to Quick Access Toolbar"; this.ribbonControl1.SystemText.QatCustomizeMenuLabel = "<b>Customize Quick Access Toolbar</b>"; this.ribbonControl1.SystemText.QatCustomizeText = "&Customize Quick Access Toolbar..."; this.ribbonControl1.SystemText.QatDialogAddButton = "&Add >>"; this.ribbonControl1.SystemText.QatDialogCancelButton = "Cancel"; this.ribbonControl1.SystemText.QatDialogCaption = "Customize Quick Access Toolbar"; this.ribbonControl1.SystemText.QatDialogCategoriesLabel = "&Choose commands from:"; this.ribbonControl1.SystemText.QatDialogOkButton = "OK"; this.ribbonControl1.SystemText.QatDialogPlacementCheckbox = "&Place Quick Access Toolbar below the Ribbon"; this.ribbonControl1.SystemText.QatDialogRemoveButton = "&Remove"; this.ribbonControl1.SystemText.QatPlaceAboveRibbonText = "&Place Quick Access Toolbar above the Ribbon"; this.ribbonControl1.SystemText.QatPlaceBelowRibbonText = "&Place Quick Access Toolbar below the Ribbon"; this.ribbonControl1.SystemText.QatRemoveItemText = "&Remove from Quick Access Toolbar"; this.ribbonControl1.TabGroupHeight = 14; this.ribbonControl1.TabIndex = 8; // // ribPnlContext // this.ribPnlContext.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribPnlContext.Controls.Add(this.ribGrpMainLoop); this.ribPnlContext.Dock = System.Windows.Forms.DockStyle.Fill; this.ribPnlContext.Location = new System.Drawing.Point(0, 58); this.ribPnlContext.Name = "ribPnlContext"; this.ribPnlContext.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); this.ribPnlContext.Size = new System.Drawing.Size(958, 86); // // // this.ribPnlContext.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribPnlContext.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribPnlContext.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribPnlContext.TabIndex = 4; // // ribGrpMainLoop // this.ribGrpMainLoop.AutoOverflowEnabled = true; // // // this.ribGrpMainLoop.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribGrpMainLoop.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribGrpMainLoop.ContainerControlProcessDialogKey = true; this.ribGrpMainLoop.DragDropSupport = true; this.ribGrpMainLoop.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ribGrpMainLoop.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnParamIn4MainLoop, this.btnCalc4MainLoop, this.btnProcess4MainLoop}); this.ribGrpMainLoop.Location = new System.Drawing.Point(3, 0); this.ribGrpMainLoop.Name = "ribGrpMainLoop"; this.ribGrpMainLoop.Size = new System.Drawing.Size(189, 89); this.ribGrpMainLoop.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribGrpMainLoop.TabIndex = 0; this.ribGrpMainLoop.Text = "主回路状态计算"; // // // this.ribGrpMainLoop.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribGrpMainLoop.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // btnParamIn4MainLoop // this.btnParamIn4MainLoop.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnParamIn4MainLoop.Image = ((System.Drawing.Image)(resources.GetObject("btnParamIn4MainLoop.Image"))); this.btnParamIn4MainLoop.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnParamIn4MainLoop.Name = "btnParamIn4MainLoop"; this.btnParamIn4MainLoop.RibbonWordWrap = false; this.btnParamIn4MainLoop.Text = "参数录入"; // // btnCalc4MainLoop // this.btnCalc4MainLoop.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnCalc4MainLoop.Image = ((System.Drawing.Image)(resources.GetObject("btnCalc4MainLoop.Image"))); this.btnCalc4MainLoop.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnCalc4MainLoop.Name = "btnCalc4MainLoop"; this.btnCalc4MainLoop.RibbonWordWrap = false; this.btnCalc4MainLoop.Text = "工况计算"; // // btnProcess4MainLoop // this.btnProcess4MainLoop.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnProcess4MainLoop.Image = ((System.Drawing.Image)(resources.GetObject("btnProcess4MainLoop.Image"))); this.btnProcess4MainLoop.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnProcess4MainLoop.Name = "btnProcess4MainLoop"; this.btnProcess4MainLoop.RibbonWordWrap = false; this.btnProcess4MainLoop.Text = "结果处理"; // // ribPnlWrite // this.ribPnlWrite.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribPnlWrite.Controls.Add(this.ribTagParagraph); this.ribPnlWrite.Controls.Add(this.ribTagFont); this.ribPnlWrite.Controls.Add(this.ribTagClipboard); this.ribPnlWrite.Dock = System.Windows.Forms.DockStyle.Fill; this.ribPnlWrite.Location = new System.Drawing.Point(0, 58); this.ribPnlWrite.Name = "ribPnlWrite"; this.ribPnlWrite.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); this.ribPnlWrite.Size = new System.Drawing.Size(958, 86); // // // this.ribPnlWrite.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribPnlWrite.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribPnlWrite.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribPnlWrite.TabIndex = 1; this.ribPnlWrite.Visible = false; // // ribTagParagraph // this.ribTagParagraph.AutoOverflowEnabled = true; // // // this.ribTagParagraph.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribTagParagraph.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribTagParagraph.ContainerControlProcessDialogKey = true; this.ribTagParagraph.DialogLauncherVisible = true; this.ribTagParagraph.Dock = System.Windows.Forms.DockStyle.Left; this.ribTagParagraph.DragDropSupport = true; this.ribTagParagraph.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainerParagrapg1, this.itemContainerParagrapg3}); this.ribTagParagraph.Location = new System.Drawing.Point(242, 0); this.ribTagParagraph.Name = "ribTagParagraph"; this.ribTagParagraph.Size = new System.Drawing.Size(203, 83); this.ribTagParagraph.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribTagParagraph.TabIndex = 2; this.ribTagParagraph.Text = "&Paragraph"; // // // this.ribTagParagraph.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribTagParagraph.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribTagParagraph.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; this.ribTagParagraph.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog); // // itemContainerParagrapg1 // // // // this.itemContainerParagrapg1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerParagrapg1.ItemSpacing = 3; this.itemContainerParagrapg1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainerParagrapg1.Name = "itemContainerParagrapg1"; this.itemContainerParagrapg1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainerParagrapg2, this.itemContainerParagrapg4}); // // // this.itemContainerParagrapg1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerParagrapg1.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; // // itemContainerParagrapg2 // // // // this.itemContainerParagrapg2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerParagrapg2.BeginGroup = true; this.itemContainerParagrapg2.Name = "itemContainerParagrapg2"; this.itemContainerParagrapg2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonAlignLeft, this.buttonAlignCenter, this.buttonAlignRight, this.buttonAlignJustify}); // // // this.itemContainerParagrapg2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // buttonAlignLeft // this.buttonAlignLeft.Enabled = false; this.buttonAlignLeft.Image = ((System.Drawing.Image)(resources.GetObject("buttonAlignLeft.Image"))); this.buttonAlignLeft.Name = "buttonAlignLeft"; this.buttonAlignLeft.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlL); this.buttonAlignLeft.Text = "Align &Left"; // // buttonAlignCenter // this.buttonAlignCenter.Enabled = false; this.buttonAlignCenter.Image = ((System.Drawing.Image)(resources.GetObject("buttonAlignCenter.Image"))); this.buttonAlignCenter.Name = "buttonAlignCenter"; this.buttonAlignCenter.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlE); this.buttonAlignCenter.Text = "Align &Center"; // // buttonAlignRight // this.buttonAlignRight.Enabled = false; this.buttonAlignRight.Image = ((System.Drawing.Image)(resources.GetObject("buttonAlignRight.Image"))); this.buttonAlignRight.Name = "buttonAlignRight"; this.buttonAlignRight.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlR); this.buttonAlignRight.Text = "Align &Right"; // // buttonAlignJustify // this.buttonAlignJustify.Enabled = false; this.buttonAlignJustify.Image = ((System.Drawing.Image)(resources.GetObject("buttonAlignJustify.Image"))); this.buttonAlignJustify.Name = "buttonAlignJustify"; this.buttonAlignJustify.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlJ); this.buttonAlignJustify.Text = "&Justify"; // // itemContainerParagrapg4 // // // // this.itemContainerParagrapg4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerParagrapg4.BeginGroup = true; this.itemContainerParagrapg4.Name = "itemContainerParagrapg4"; this.itemContainerParagrapg4.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnSeqNumber, this.btnGrade, this.btnToRigth, this.btnToLeft}); // // // this.itemContainerParagrapg4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // btnSeqNumber // this.btnSeqNumber.Image = ((System.Drawing.Image)(resources.GetObject("btnSeqNumber.Image"))); this.btnSeqNumber.Name = "btnSeqNumber"; this.btnSeqNumber.Text = "&Numbered Bullets"; // // btnGrade // this.btnGrade.Image = ((System.Drawing.Image)(resources.GetObject("btnGrade.Image"))); this.btnGrade.Name = "btnGrade"; this.btnGrade.Text = "&Bullets"; // // btnToRigth // this.btnToRigth.Image = ((System.Drawing.Image)(resources.GetObject("btnToRigth.Image"))); this.btnToRigth.Name = "btnToRigth"; this.btnToRigth.Text = "&Indent"; // // btnToLeft // this.btnToLeft.Image = ((System.Drawing.Image)(resources.GetObject("btnToLeft.Image"))); this.btnToLeft.Name = "btnToLeft"; this.btnToLeft.Text = "&Outdent"; // // itemContainerParagrapg3 // // // // this.itemContainerParagrapg3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerParagrapg3.ItemSpacing = 3; this.itemContainerParagrapg3.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainerParagrapg3.Name = "itemContainerParagrapg3"; this.itemContainerParagrapg3.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnBorders, this.btnShading}); // // // this.itemContainerParagrapg3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerParagrapg3.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; // // btnBorders // this.btnBorders.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnBorders.Image = ((System.Drawing.Image)(resources.GetObject("btnBorders.Image"))); this.btnBorders.Name = "btnBorders"; this.btnBorders.NotificationMarkText = "4"; this.btnBorders.Text = "&Borders"; this.btnBorders.Click += new System.EventHandler(this.buttonItem6_Click); // // btnShading // this.btnShading.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnShading.Image = ((System.Drawing.Image)(resources.GetObject("btnShading.Image"))); this.btnShading.Name = "btnShading"; this.btnShading.Text = "&Shading"; // // ribTagFont // this.ribTagFont.AutoOverflowEnabled = true; // // // this.ribTagFont.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribTagFont.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribTagFont.ContainerControlProcessDialogKey = true; this.ribTagFont.DialogLauncherVisible = true; this.ribTagFont.Dock = System.Windows.Forms.DockStyle.Left; this.ribTagFont.DragDropSupport = true; this.ribTagFont.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainerFont1, this.itemContainerFont2}); this.ribTagFont.ItemSpacing = 5; this.ribTagFont.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.ribTagFont.Location = new System.Drawing.Point(76, 0); this.ribTagFont.Name = "ribTagFont"; this.ribTagFont.ResizeItemsToFit = false; this.ribTagFont.Size = new System.Drawing.Size(166, 83); this.ribTagFont.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribTagFont.TabIndex = 1; this.ribTagFont.Text = "F&ont"; // // // this.ribTagFont.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribTagFont.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribTagFont.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; this.ribTagFont.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog); // // itemContainerFont1 // // // // this.itemContainerFont1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerFont1.Name = "itemContainerFont1"; this.itemContainerFont1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.comboFont, this.comboFontSize}); // // // this.itemContainerFont1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // comboFont // this.comboFont.ComboWidth = 96; this.comboFont.DropDownHeight = 106; this.comboFont.DropDownWidth = 242; this.comboFont.Enabled = false; this.comboFont.FontCombo = true; this.comboFont.ItemHeight = 14; this.comboFont.Name = "comboFont"; // // comboFontSize // this.comboFontSize.ComboWidth = 40; this.comboFontSize.DropDownHeight = 106; this.comboFontSize.ItemHeight = 16; this.comboFontSize.Items.AddRange(new object[] { this.comboItem1, this.comboItem2, this.comboItem3, this.comboItem4, this.comboItem5}); this.comboFontSize.Name = "comboFontSize"; // // comboItem1 // this.comboItem1.Text = "6"; // // comboItem2 // this.comboItem2.Text = "7"; // // comboItem3 // this.comboItem3.Text = "8"; // // comboItem4 // this.comboItem4.Text = "9"; // // comboItem5 // this.comboItem5.Text = "10"; // // itemContainerFont2 // // // // this.itemContainerFont2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerFont2.BeginGroup = true; this.itemContainerFont2.Name = "itemContainerFont2"; this.itemContainerFont2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonFontBold, this.buttonFontItalic, this.buttonFontUnderline, this.buttonFontStrike, this.buttonTextColor}); // // // this.itemContainerFont2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // buttonFontBold // this.buttonFontBold.Enabled = false; this.buttonFontBold.Image = ((System.Drawing.Image)(resources.GetObject("buttonFontBold.Image"))); this.buttonFontBold.Name = "buttonFontBold"; this.buttonFontBold.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlB); this.buttonFontBold.Text = "&Bold"; // // buttonFontItalic // this.buttonFontItalic.Enabled = false; this.buttonFontItalic.Image = ((System.Drawing.Image)(resources.GetObject("buttonFontItalic.Image"))); this.buttonFontItalic.Name = "buttonFontItalic"; this.buttonFontItalic.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlI); this.buttonFontItalic.Text = "&Italic"; // // buttonFontUnderline // this.buttonFontUnderline.Enabled = false; this.buttonFontUnderline.Image = ((System.Drawing.Image)(resources.GetObject("buttonFontUnderline.Image"))); this.buttonFontUnderline.Name = "buttonFontUnderline"; this.buttonFontUnderline.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlU); this.buttonFontUnderline.Text = "&Underline"; // // buttonFontStrike // this.buttonFontStrike.Enabled = false; this.buttonFontStrike.Image = ((System.Drawing.Image)(resources.GetObject("buttonFontStrike.Image"))); this.buttonFontStrike.Name = "buttonFontStrike"; this.buttonFontStrike.Text = "&Strike"; // // buttonTextColor // this.buttonTextColor.Enabled = false; this.buttonTextColor.Image = ((System.Drawing.Image)(resources.GetObject("buttonTextColor.Image"))); this.buttonTextColor.Name = "buttonTextColor"; this.buttonTextColor.SelectedColorImageRectangle = new System.Drawing.Rectangle(0, 13, 16, 3); this.buttonTextColor.Text = "Text &Color"; // // ribTagClipboard // this.ribTagClipboard.AutoOverflowEnabled = true; // // // this.ribTagClipboard.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribTagClipboard.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribTagClipboard.ContainerControlProcessDialogKey = true; this.ribTagClipboard.DialogLauncherVisible = true; this.ribTagClipboard.Dock = System.Windows.Forms.DockStyle.Left; this.ribTagClipboard.DragDropSupport = true; this.ribTagClipboard.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonPaste, this.itemContainerClipboard}); this.ribTagClipboard.Location = new System.Drawing.Point(3, 0); this.ribTagClipboard.Name = "ribTagClipboard"; this.ribTagClipboard.Size = new System.Drawing.Size(73, 83); this.ribTagClipboard.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribTagClipboard.TabIndex = 0; this.ribTagClipboard.Text = "&Clipboard"; // // // this.ribTagClipboard.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribTagClipboard.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribTagClipboard.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog); // // buttonPaste // this.buttonPaste.Image = ((System.Drawing.Image)(resources.GetObject("buttonPaste.Image"))); this.buttonPaste.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonPaste.Name = "buttonPaste"; this.buttonPaste.SplitButton = true; this.buttonPaste.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem53, this.btnPasteSpecial}); this.buttonPaste.Text = "&Paste"; // // buttonItem53 // this.buttonItem53.Enabled = false; this.buttonItem53.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem53.Image"))); this.buttonItem53.Name = "buttonItem53"; this.buttonItem53.Text = "&Paste"; // // btnPasteSpecial // this.btnPasteSpecial.Image = ((System.Drawing.Image)(resources.GetObject("btnPasteSpecial.Image"))); this.btnPasteSpecial.Name = "btnPasteSpecial"; this.btnPasteSpecial.Text = "Paste &Special..."; // // itemContainerClipboard // // // // this.itemContainerClipboard.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerClipboard.ItemSpacing = 0; this.itemContainerClipboard.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainerClipboard.Name = "itemContainerClipboard"; this.itemContainerClipboard.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonCut, this.btnFormat}); // // // this.itemContainerClipboard.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // buttonCut // this.buttonCut.Enabled = false; this.buttonCut.Image = ((System.Drawing.Image)(resources.GetObject("buttonCut.Image"))); this.buttonCut.Name = "buttonCut"; this.buttonCut.Text = "Cu&t"; // // btnFormat // this.btnFormat.Image = ((System.Drawing.Image)(resources.GetObject("btnFormat.Image"))); this.btnFormat.Name = "btnFormat"; this.btnFormat.Text = "Format Painter"; // // ribPnlLayout // this.ribPnlLayout.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribPnlLayout.Controls.Add(this.ribBarOptions); this.ribPnlLayout.Controls.Add(this.ribBarFind); this.ribPnlLayout.Controls.Add(this.ribTagPageSetup); this.ribPnlLayout.Dock = System.Windows.Forms.DockStyle.Fill; this.ribPnlLayout.Location = new System.Drawing.Point(0, 58); this.ribPnlLayout.Name = "ribPnlLayout"; this.ribPnlLayout.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); this.ribPnlLayout.Size = new System.Drawing.Size(958, 86); // // // this.ribPnlLayout.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribPnlLayout.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribPnlLayout.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribPnlLayout.TabIndex = 3; this.ribPnlLayout.Visible = false; // // ribBarOptions // this.ribBarOptions.AutoOverflowEnabled = true; // // // this.ribBarOptions.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribBarOptions.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribBarOptions.ContainerControlProcessDialogKey = true; this.ribBarOptions.Dock = System.Windows.Forms.DockStyle.Left; this.ribBarOptions.DragDropSupport = true; this.ribBarOptions.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainerOptions1, this.itemContainer1Options2}); this.ribBarOptions.ItemSpacing = 4; this.ribBarOptions.Location = new System.Drawing.Point(375, 0); this.ribBarOptions.Name = "ribBarOptions"; this.ribBarOptions.Size = new System.Drawing.Size(200, 83); this.ribBarOptions.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribBarOptions.TabIndex = 4; this.ribBarOptions.Text = "Options"; // // // this.ribBarOptions.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribBarOptions.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // itemContainerOptions1 // // // // this.itemContainerOptions1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerOptions1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainerOptions1.Name = "itemContainerOptions1"; this.itemContainerOptions1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.checkBoxItem1, this.checkBoxItem3}); // // // this.itemContainerOptions1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // checkBoxItem1 // this.checkBoxItem1.Checked = true; this.checkBoxItem1.CheckState = System.Windows.Forms.CheckState.Indeterminate; this.checkBoxItem1.Name = "checkBoxItem1"; this.checkBoxItem1.Text = "Header"; this.checkBoxItem1.ThreeState = true; // // checkBoxItem3 // this.checkBoxItem3.Checked = true; this.checkBoxItem3.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxItem3.Name = "checkBoxItem3"; this.checkBoxItem3.Text = "Margins"; // // itemContainer1Options2 // // // // this.itemContainer1Options2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer1Options2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainer1Options2.Name = "itemContainer1Options2"; this.itemContainer1Options2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.checkBoxItem4, this.checkBoxItem6}); // // // this.itemContainer1Options2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // checkBoxItem4 // this.checkBoxItem4.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton; this.checkBoxItem4.Name = "checkBoxItem4"; this.checkBoxItem4.Text = "Horizontal Layout"; // // checkBoxItem6 // this.checkBoxItem6.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton; this.checkBoxItem6.Checked = true; this.checkBoxItem6.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxItem6.Name = "checkBoxItem6"; this.checkBoxItem6.Text = "Automatic Layout"; // // ribBarFind // this.ribBarFind.AutoOverflowEnabled = true; // // // this.ribBarFind.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribBarFind.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribBarFind.ContainerControlProcessDialogKey = true; this.ribBarFind.DialogLauncherVisible = true; this.ribBarFind.Dock = System.Windows.Forms.DockStyle.Left; this.ribBarFind.DragDropSupport = true; this.ribBarFind.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonFind, this.itemContainerFind}); this.ribBarFind.Location = new System.Drawing.Point(231, 0); this.ribBarFind.Name = "ribBarFind"; this.ribBarFind.Size = new System.Drawing.Size(144, 83); this.ribBarFind.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribBarFind.TabIndex = 3; this.ribBarFind.Text = "Fi&nd"; // // // this.ribBarFind.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribBarFind.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribBarFind.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog); // // buttonFind // this.buttonFind.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonFind.Enabled = false; this.buttonFind.Image = ((System.Drawing.Image)(resources.GetObject("buttonFind.Image"))); this.buttonFind.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonFind.Name = "buttonFind"; this.buttonFind.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlF); this.buttonFind.Text = "&Find"; // // itemContainerFind // // // // this.itemContainerFind.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainerFind.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainerFind.Name = "itemContainerFind"; this.itemContainerFind.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonReplace, this.buttonGoto}); // // // this.itemContainerFind.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // buttonReplace // this.buttonReplace.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonReplace.Enabled = false; this.buttonReplace.Image = ((System.Drawing.Image)(resources.GetObject("buttonReplace.Image"))); this.buttonReplace.Name = "buttonReplace"; this.buttonReplace.Text = "&Replace"; // // buttonGoto // this.buttonGoto.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonGoto.Enabled = false; this.buttonGoto.Image = ((System.Drawing.Image)(resources.GetObject("buttonGoto.Image"))); this.buttonGoto.Name = "buttonGoto"; this.buttonGoto.Text = "&Goto"; // // ribTagPageSetup // this.ribTagPageSetup.AutoOverflowEnabled = true; // // // this.ribTagPageSetup.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribTagPageSetup.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribTagPageSetup.ContainerControlProcessDialogKey = true; this.ribTagPageSetup.DialogLauncherVisible = true; this.ribTagPageSetup.Dock = System.Windows.Forms.DockStyle.Left; this.ribTagPageSetup.DragDropSupport = true; this.ribTagPageSetup.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonMargins, this.btnOrientation, this.btnSize, this.btnPrintArea}); this.ribTagPageSetup.Location = new System.Drawing.Point(3, 0); this.ribTagPageSetup.Name = "ribTagPageSetup"; this.ribTagPageSetup.Size = new System.Drawing.Size(228, 83); this.ribTagPageSetup.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribTagPageSetup.TabIndex = 1; this.ribTagPageSetup.Text = "Page Setup"; // // // this.ribTagPageSetup.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribTagPageSetup.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribTagPageSetup.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog); // // buttonMargins // this.buttonMargins.Image = ((System.Drawing.Image)(resources.GetObject("buttonMargins.Image"))); this.buttonMargins.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonMargins.Name = "buttonMargins"; this.buttonMargins.Text = "Margins"; // // btnOrientation // this.btnOrientation.AutoExpandOnClick = true; this.btnOrientation.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnOrientation.Image = ((System.Drawing.Image)(resources.GetObject("btnOrientation.Image"))); this.btnOrientation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnOrientation.Name = "btnOrientation"; this.btnOrientation.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnAuto, this.btnHorizontal, this.btnVertical}); this.btnOrientation.Text = "Orientation <expand/>"; // // btnAuto // this.btnAuto.Checked = true; this.btnAuto.Name = "btnAuto"; this.btnAuto.OptionGroup = "orientation"; this.btnAuto.Text = "Auto"; // // btnHorizontal // this.btnHorizontal.Name = "btnHorizontal"; this.btnHorizontal.OptionGroup = "orientation"; this.btnHorizontal.Text = "Horizontal"; // // btnVertical // this.btnVertical.Name = "btnVertical"; this.btnVertical.OptionGroup = "orientation"; this.btnVertical.Text = "Vertical"; // // btnSize // this.btnSize.Image = ((System.Drawing.Image)(resources.GetObject("btnSize.Image"))); this.btnSize.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnSize.Name = "btnSize"; this.btnSize.Text = "Size"; // // btnPrintArea // this.btnPrintArea.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnPrintArea.Image = ((System.Drawing.Image)(resources.GetObject("btnPrintArea.Image"))); this.btnPrintArea.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnPrintArea.Name = "btnPrintArea"; this.btnPrintArea.Text = "Print Area"; // // ribTabPrjManage // this.ribTabPrjManage.Name = "ribTabPrjManage"; this.ribTabPrjManage.Panel = this.ribPnlWrite; this.ribTabPrjManage.Text = "工程管理"; // // ribTabMainDevice // this.ribTabMainDevice.Name = "ribTabMainDevice"; this.ribTabMainDevice.Panel = this.ribPnlLayout; this.ribTabMainDevice.Text = "主设备参数选择"; // // ribTagMainLoop // this.ribTagMainLoop.Checked = true; this.ribTagMainLoop.ColorTable = DevComponents.DotNetBar.eRibbonTabColor.Orange; this.ribTagMainLoop.Name = "ribTagMainLoop"; this.ribTagMainLoop.Panel = this.ribPnlContext; this.ribTagMainLoop.Text = "主回路状态计算"; // // buttonChangeStyle // this.buttonChangeStyle.AutoExpandOnClick = true; this.buttonChangeStyle.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far; this.buttonChangeStyle.Name = "buttonChangeStyle"; this.buttonChangeStyle.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonStyleOffice2007Blue, this.buttonStyleOffice2007Silver}); this.buttonChangeStyle.Text = "Style"; // // buttonStyleOffice2007Blue // this.buttonStyleOffice2007Blue.Command = this.AppCommandTheme; this.buttonStyleOffice2007Blue.CommandParameter = "Office2007Blue"; this.buttonStyleOffice2007Blue.Name = "buttonStyleOffice2007Blue"; this.buttonStyleOffice2007Blue.OptionGroup = "style"; this.buttonStyleOffice2007Blue.Text = "Office 2007 <font color=\"Blue\"><b>Blue</b></font>"; // // AppCommandTheme // this.AppCommandTheme.Name = "AppCommandTheme"; this.AppCommandTheme.Executed += new System.EventHandler(this.AppCommandTheme_Executed); // // buttonStyleOffice2007Silver // this.buttonStyleOffice2007Silver.Command = this.AppCommandTheme; this.buttonStyleOffice2007Silver.CommandParameter = "Office2007Silver"; this.buttonStyleOffice2007Silver.Name = "buttonStyleOffice2007Silver"; this.buttonStyleOffice2007Silver.OptionGroup = "style"; this.buttonStyleOffice2007Silver.Text = "Office 2007 <font color=\"Silver\"><b>Silver</b></font>"; // // buttonFile // this.buttonFile.BackstageTab = this.superTabControl1; this.buttonFile.CanCustomize = false; this.buttonFile.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.Image; this.buttonFile.Image = ((System.Drawing.Image)(resources.GetObject("buttonFile.Image"))); this.buttonFile.ImagePaddingHorizontal = 2; this.buttonFile.ImagePaddingVertical = 2; this.buttonFile.Name = "buttonFile"; this.buttonFile.ShowSubItems = false; this.buttonFile.Text = "&FILE"; // // superTabControl1 // this.superTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.superTabControl1.BackColor = System.Drawing.Color.White; // // // // // // this.superTabControl1.ControlBox.CloseBox.Name = ""; // // // this.superTabControl1.ControlBox.MenuBox.Name = ""; this.superTabControl1.ControlBox.Name = ""; this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.superTabControl1.ControlBox.MenuBox, this.superTabControl1.ControlBox.CloseBox}); this.superTabControl1.ControlBox.Visible = false; this.superTabControl1.Controls.Add(this.superTabControlPanel1); this.superTabControl1.Controls.Add(this.superTabControlPanel2); this.superTabControl1.Controls.Add(this.superTabControlPanel3); this.superTabControl1.Controls.Add(this.superTabControlPanel4); this.superTabControl1.ForeColor = System.Drawing.Color.Black; this.superTabControl1.ItemPadding.Left = 6; this.superTabControl1.ItemPadding.Right = 4; this.superTabControl1.ItemPadding.Top = 4; this.superTabControl1.Location = new System.Drawing.Point(6, 47); this.superTabControl1.Name = "superTabControl1"; this.superTabControl1.ReorderTabsEnabled = false; this.superTabControl1.SelectedTabFont = new System.Drawing.Font("Segoe UI", 9.75F); this.superTabControl1.SelectedTabIndex = 0; this.superTabControl1.Size = new System.Drawing.Size(958, 578); this.superTabControl1.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Left; this.superTabControl1.TabFont = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.superTabControl1.TabHorizontalSpacing = 16; this.superTabControl1.TabIndex = 14; this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem61, this.buttonItem63, this.buttonItem64, this.superTabItem1, this.superTabItem2, this.superTabItem3, this.superTabItem4, this.buttonItem65, this.buttonItem66}); this.superTabControl1.TabVerticalSpacing = 8; // // superTabControlPanel1 // this.superTabControlPanel1.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight; this.superTabControlPanel1.Controls.Add(this.panelEx2); this.superTabControlPanel1.Controls.Add(this.panelEx1); this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel1.Location = new System.Drawing.Point(236, 0); this.superTabControlPanel1.Name = "superTabControlPanel1"; this.superTabControlPanel1.Size = new System.Drawing.Size(722, 578); this.superTabControlPanel1.TabIndex = 1; this.superTabControlPanel1.TabItem = this.superTabItem1; // // panelEx2 // this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx2.Controls.Add(this.recentPlacesItemsPanel); this.panelEx2.Controls.Add(this.labelX2); this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty; this.panelEx2.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx2.Location = new System.Drawing.Point(314, 0); this.panelEx2.Name = "panelEx2"; this.panelEx2.Padding = new System.Windows.Forms.Padding(12); this.panelEx2.Size = new System.Drawing.Size(408, 578); this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.Transparent; this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx2.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Right; this.panelEx2.Style.GradientAngle = 90; this.panelEx2.TabIndex = 1; this.panelEx2.Text = "panelEx2"; // // recentPlacesItemsPanel // this.recentPlacesItemsPanel.AutoScroll = true; // // // this.recentPlacesItemsPanel.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.recentPlacesItemsPanel.ContainerControlProcessDialogKey = true; this.recentPlacesItemsPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.recentPlacesItemsPanel.DragDropSupport = true; this.recentPlacesItemsPanel.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.recentPlacesItemsPanel.Location = new System.Drawing.Point(12, 35); this.recentPlacesItemsPanel.Name = "recentPlacesItemsPanel"; this.recentPlacesItemsPanel.Size = new System.Drawing.Size(384, 531); this.recentPlacesItemsPanel.TabIndex = 2; // // labelX2 // // // // this.labelX2.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX2.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX2.BackgroundStyle.BorderBottomWidth = 1; this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX2.Dock = System.Windows.Forms.DockStyle.Top; this.labelX2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX2.ForeColor = System.Drawing.Color.DimGray; this.labelX2.Location = new System.Drawing.Point(12, 12); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(384, 23); this.labelX2.TabIndex = 0; this.labelX2.Text = "Recent Places"; // // panelEx1 // this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx1.Controls.Add(this.recentDocsItemPane); this.panelEx1.Controls.Add(this.labelX1); this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty; this.panelEx1.Dock = System.Windows.Forms.DockStyle.Left; this.panelEx1.Location = new System.Drawing.Point(0, 0); this.panelEx1.Name = "panelEx1"; this.panelEx1.Padding = new System.Windows.Forms.Padding(12); this.panelEx1.Size = new System.Drawing.Size(314, 578); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.Transparent; this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx1.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Right; this.panelEx1.Style.GradientAngle = 90; this.panelEx1.TabIndex = 0; this.panelEx1.Text = "panelEx1"; // // recentDocsItemPane // this.recentDocsItemPane.AutoScroll = true; // // // this.recentDocsItemPane.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.recentDocsItemPane.ContainerControlProcessDialogKey = true; this.recentDocsItemPane.Dock = System.Windows.Forms.DockStyle.Fill; this.recentDocsItemPane.DragDropSupport = true; this.recentDocsItemPane.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.recentDocsItemPane.Location = new System.Drawing.Point(12, 35); this.recentDocsItemPane.Name = "recentDocsItemPane"; this.recentDocsItemPane.Size = new System.Drawing.Size(290, 531); this.recentDocsItemPane.TabIndex = 1; // // labelX1 // // // // this.labelX1.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX1.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX1.BackgroundStyle.BorderBottomWidth = 1; this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX1.Dock = System.Windows.Forms.DockStyle.Top; this.labelX1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX1.ForeColor = System.Drawing.Color.DimGray; this.labelX1.Location = new System.Drawing.Point(12, 12); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(290, 23); this.labelX1.TabIndex = 0; this.labelX1.Text = "Recent Documents"; // // superTabItem1 // this.superTabItem1.AttachedControl = this.superTabControlPanel1; this.superTabItem1.GlobalItem = false; this.superTabItem1.KeyTips = "R"; this.superTabItem1.Name = "superTabItem1"; this.superTabItem1.Text = "Recent"; // // superTabControlPanel2 // this.superTabControlPanel2.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight; this.superTabControlPanel2.Controls.Add(this.itemPanel1); this.superTabControlPanel2.Controls.Add(this.labelX3); this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel2.Location = new System.Drawing.Point(236, 0); this.superTabControlPanel2.Name = "superTabControlPanel2"; this.superTabControlPanel2.Padding = new System.Windows.Forms.Padding(12); this.superTabControlPanel2.Size = new System.Drawing.Size(722, 578); this.superTabControlPanel2.TabIndex = 2; this.superTabControlPanel2.TabItem = this.superTabItem2; // // itemPanel1 // this.itemPanel1.AutoScroll = true; this.itemPanel1.BackColor = System.Drawing.Color.Transparent; // // // this.itemPanel1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemPanel1.ContainerControlProcessDialogKey = true; this.itemPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.itemPanel1.DragDropSupport = true; this.itemPanel1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem67, this.buttonItem68, this.buttonItem69, this.buttonItem70, this.buttonItem71, this.buttonItem72}); this.itemPanel1.Location = new System.Drawing.Point(12, 35); this.itemPanel1.MultiLine = true; this.itemPanel1.Name = "itemPanel1"; this.itemPanel1.Size = new System.Drawing.Size(698, 531); this.itemPanel1.TabIndex = 3; // // buttonItem67 // this.buttonItem67.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem67.ForeColor = System.Drawing.Color.Black; this.buttonItem67.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem67.Image"))); this.buttonItem67.ImagePaddingVertical = 12; this.buttonItem67.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem67.Name = "buttonItem67"; this.buttonItem67.Text = "<span align=\"center\">Blank<br/>document</span>"; // // buttonItem68 // this.buttonItem68.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem68.ForeColor = System.Drawing.Color.Black; this.buttonItem68.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem68.Image"))); this.buttonItem68.ImagePaddingVertical = 12; this.buttonItem68.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem68.Name = "buttonItem68"; this.buttonItem68.Text = "Blog post"; // // buttonItem69 // this.buttonItem69.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem69.ForeColor = System.Drawing.Color.Black; this.buttonItem69.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem69.Image"))); this.buttonItem69.ImagePaddingHorizontal = 12; this.buttonItem69.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem69.Name = "buttonItem69"; this.buttonItem69.Text = "<span align=\"center\">Recent<br/>templates</span>"; // // buttonItem70 // this.buttonItem70.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem70.ForeColor = System.Drawing.Color.Black; this.buttonItem70.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem70.Image"))); this.buttonItem70.ImagePaddingHorizontal = 12; this.buttonItem70.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem70.Name = "buttonItem70"; this.buttonItem70.Text = "<span align=\"center\">Sample<br/>templates</span>"; // // buttonItem71 // this.buttonItem71.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem71.ForeColor = System.Drawing.Color.Black; this.buttonItem71.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem71.Image"))); this.buttonItem71.ImagePaddingHorizontal = 12; this.buttonItem71.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem71.Name = "buttonItem71"; this.buttonItem71.Text = "My templates"; // // buttonItem72 // this.buttonItem72.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem72.ForeColor = System.Drawing.Color.Black; this.buttonItem72.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem72.Image"))); this.buttonItem72.ImagePaddingHorizontal = 12; this.buttonItem72.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem72.Name = "buttonItem72"; this.buttonItem72.Text = "<span align=\"center\">New from<br/>existing</span>"; // // labelX3 // this.labelX3.BackColor = System.Drawing.Color.Transparent; // // // this.labelX3.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX3.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX3.BackgroundStyle.BorderBottomWidth = 1; this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX3.Dock = System.Windows.Forms.DockStyle.Top; this.labelX3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX3.ForeColor = System.Drawing.Color.DimGray; this.labelX3.Location = new System.Drawing.Point(12, 12); this.labelX3.Name = "labelX3"; this.labelX3.Size = new System.Drawing.Size(698, 23); this.labelX3.TabIndex = 1; this.labelX3.Text = "Available Templates"; // // superTabItem2 // this.superTabItem2.AttachedControl = this.superTabControlPanel2; this.superTabItem2.GlobalItem = false; this.superTabItem2.KeyTips = "N"; this.superTabItem2.Name = "superTabItem2"; this.superTabItem2.Text = "New"; // // superTabControlPanel3 // this.superTabControlPanel3.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight; this.superTabControlPanel3.Controls.Add(this.panelEx3); this.superTabControlPanel3.Controls.Add(this.labelX5); this.superTabControlPanel3.Controls.Add(this.integerInput1); this.superTabControlPanel3.Controls.Add(this.labelX4); this.superTabControlPanel3.Controls.Add(this.buttonX1); this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel3.Location = new System.Drawing.Point(236, 0); this.superTabControlPanel3.Name = "superTabControlPanel3"; this.superTabControlPanel3.Size = new System.Drawing.Size(722, 578); this.superTabControlPanel3.TabIndex = 3; this.superTabControlPanel3.TabItem = this.superTabItem3; // // panelEx3 // this.panelEx3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty; this.panelEx3.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.panelEx3.Location = new System.Drawing.Point(292, 4); this.panelEx3.Name = "panelEx3"; this.panelEx3.Size = new System.Drawing.Size(427, 571); this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx3.Style.BackColor1.Color = System.Drawing.Color.White; this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx3.Style.BorderColor.Color = System.Drawing.Color.Silver; this.panelEx3.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; this.panelEx3.Style.ForeColor.Color = System.Drawing.Color.Gray; this.panelEx3.Style.GradientAngle = 90; this.panelEx3.TabIndex = 5; this.panelEx3.Text = "Print Preview Goes Here..."; // // labelX5 // this.labelX5.BackColor = System.Drawing.Color.Transparent; // // // this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX5.ForeColor = System.Drawing.Color.Black; this.labelX5.Location = new System.Drawing.Point(143, 54); this.labelX5.Name = "labelX5"; this.labelX5.Size = new System.Drawing.Size(48, 19); this.labelX5.TabIndex = 4; this.labelX5.Text = "Copies:"; // // integerInput1 // // // // this.integerInput1.BackgroundStyle.Class = "DateTimeInputBackground"; this.integerInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.integerInput1.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2; this.integerInput1.Location = new System.Drawing.Point(198, 53); this.integerInput1.Name = "integerInput1"; this.integerInput1.ShowUpDown = true; this.integerInput1.Size = new System.Drawing.Size(66, 22); this.integerInput1.TabIndex = 3; this.integerInput1.Value = 1; // // labelX4 // this.labelX4.BackColor = System.Drawing.Color.Transparent; // // // this.labelX4.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX4.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX4.BackgroundStyle.BorderBottomWidth = 1; this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX4.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX4.ForeColor = System.Drawing.Color.DimGray; this.labelX4.Location = new System.Drawing.Point(144, 16); this.labelX4.Name = "labelX4"; this.labelX4.Size = new System.Drawing.Size(120, 23); this.labelX4.TabIndex = 2; this.labelX4.Text = "Print"; // // buttonX1 // this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; this.buttonX1.Image = ((System.Drawing.Image)(resources.GetObject("buttonX1.Image"))); this.buttonX1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonX1.Location = new System.Drawing.Point(21, 21); this.buttonX1.Name = "buttonX1"; this.buttonX1.Size = new System.Drawing.Size(109, 101); this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX1.TabIndex = 0; this.buttonX1.Text = "Print"; // // superTabItem3 // this.superTabItem3.AttachedControl = this.superTabControlPanel3; this.superTabItem3.GlobalItem = false; this.superTabItem3.KeyTips = "P"; this.superTabItem3.Name = "superTabItem3"; this.superTabItem3.Text = "Print"; // // superTabControlPanel4 // this.superTabControlPanel4.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight; this.superTabControlPanel4.Controls.Add(this.itemPanel2); this.superTabControlPanel4.Controls.Add(this.labelX6); this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel4.Location = new System.Drawing.Point(236, 0); this.superTabControlPanel4.Name = "superTabControlPanel4"; this.superTabControlPanel4.Padding = new System.Windows.Forms.Padding(12); this.superTabControlPanel4.Size = new System.Drawing.Size(722, 578); this.superTabControlPanel4.TabIndex = 4; this.superTabControlPanel4.TabItem = this.superTabItem4; // // itemPanel2 // this.itemPanel2.AutoScroll = true; this.itemPanel2.BackColor = System.Drawing.Color.Transparent; // // // this.itemPanel2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemPanel2.ContainerControlProcessDialogKey = true; this.itemPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.itemPanel2.DragDropSupport = true; this.itemPanel2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem77, this.buttonItem73, this.buttonItem74, this.buttonItem75, this.buttonItem76}); this.itemPanel2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemPanel2.Location = new System.Drawing.Point(12, 35); this.itemPanel2.Name = "itemPanel2"; this.itemPanel2.Size = new System.Drawing.Size(698, 531); this.itemPanel2.TabIndex = 3; // // buttonItem77 // this.buttonItem77.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem77.CommandParameter = "http://www.devcomponents.com/kb/questions.php?questionid=127"; this.buttonItem77.ForeColor = System.Drawing.Color.Black; this.buttonItem77.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem77.Image"))); this.buttonItem77.Name = "buttonItem77"; this.buttonItem77.Text = "Backstage<br/>\r\n<font color=\"Gray\">How to build Office 2010 style Backstage with " + "DotNetBar</font>"; // // buttonItem73 // this.buttonItem73.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem73.CommandParameter = "http://www.devcomponents.com/kb/"; this.buttonItem73.ForeColor = System.Drawing.Color.Black; this.buttonItem73.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem73.Image"))); this.buttonItem73.Name = "buttonItem73"; this.buttonItem73.Text = "DotNetBar Knowledge Base<br/>\r\n<font color=\"Gray\">Browse our online Knowledge Bas" + "e.</font>"; // // buttonItem74 // this.buttonItem74.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem74.CommandParameter = "http://www.devcomponents.com/dotnetbar/movies.aspx"; this.buttonItem74.ForeColor = System.Drawing.Color.Black; this.buttonItem74.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem74.Image"))); this.buttonItem74.Name = "buttonItem74"; this.buttonItem74.Text = "Movie Tutorials<br/>\r\n<font color=\"Gray\">Watch getting started online movie tutor" + "ials</font>"; // // buttonItem75 // this.buttonItem75.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem75.CommandParameter = "http://www.devcomponents.com/support.aspx"; this.buttonItem75.ForeColor = System.Drawing.Color.Black; this.buttonItem75.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem75.Image"))); this.buttonItem75.Name = "buttonItem75"; this.buttonItem75.Text = "Contact Us<br/>\r\n<font color=\"Gray\">Let us know if you need help or how we can ma" + "ke DotNetBar even better.</font>"; // // buttonItem76 // this.buttonItem76.BeginGroup = true; this.buttonItem76.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem76.CommandParameter = "http://www.devcomponents.com/dotnetbar/applicationgallery/"; this.buttonItem76.ForeColor = System.Drawing.Color.Black; this.buttonItem76.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem76.Image"))); this.buttonItem76.Name = "buttonItem76"; this.buttonItem76.Text = "Application Gallery<br/>\r\n<font color=\"Gray\">See how other developers are using D" + "otNetBar in our application gallery</font>"; // // labelX6 // this.labelX6.BackColor = System.Drawing.Color.Transparent; // // // this.labelX6.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX6.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX6.BackgroundStyle.BorderBottomWidth = 1; this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX6.Dock = System.Windows.Forms.DockStyle.Top; this.labelX6.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX6.ForeColor = System.Drawing.Color.DimGray; this.labelX6.Location = new System.Drawing.Point(12, 12); this.labelX6.Name = "labelX6"; this.labelX6.Size = new System.Drawing.Size(698, 23); this.labelX6.TabIndex = 2; this.labelX6.Text = "Support"; // // superTabItem4 // this.superTabItem4.AttachedControl = this.superTabControlPanel4; this.superTabItem4.GlobalItem = false; this.superTabItem4.KeyTips = "H"; this.superTabItem4.Name = "superTabItem4"; this.superTabItem4.Text = "Help"; // // buttonItem61 // this.buttonItem61.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem61.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem61.Command = this.AppCommandSave; this.buttonItem61.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem61.Image"))); this.buttonItem61.ImagePaddingHorizontal = 18; this.buttonItem61.ImagePaddingVertical = 10; this.buttonItem61.KeyTips = "S"; this.buttonItem61.Name = "buttonItem61"; this.buttonItem61.Stretch = true; this.buttonItem61.Text = "Save"; // // AppCommandSave // this.AppCommandSave.Name = "AppCommandSave"; // // buttonItem63 // this.buttonItem63.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem63.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem63.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem63.Image"))); this.buttonItem63.ImagePaddingHorizontal = 18; this.buttonItem63.ImagePaddingVertical = 10; this.buttonItem63.KeyTips = "O"; this.buttonItem63.Name = "buttonItem63"; this.buttonItem63.Stretch = true; this.buttonItem63.Text = "Open"; // // buttonItem64 // this.buttonItem64.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem64.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem64.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem64.Image"))); this.buttonItem64.ImagePaddingHorizontal = 18; this.buttonItem64.ImagePaddingVertical = 10; this.buttonItem64.KeyTips = "C"; this.buttonItem64.Name = "buttonItem64"; this.buttonItem64.Stretch = true; this.buttonItem64.Text = "Close"; // // buttonItem65 // this.buttonItem65.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem65.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem65.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem65.Image"))); this.buttonItem65.ImagePaddingHorizontal = 18; this.buttonItem65.ImagePaddingVertical = 10; this.buttonItem65.KeyTips = "T"; this.buttonItem65.Name = "buttonItem65"; this.buttonItem65.Stretch = true; this.buttonItem65.Text = "Options"; // // buttonItem66 // this.buttonItem66.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem66.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem66.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem66.Image"))); this.buttonItem66.ImagePaddingHorizontal = 18; this.buttonItem66.ImagePaddingVertical = 10; this.buttonItem66.KeyTips = "X"; this.buttonItem66.Name = "buttonItem66"; this.buttonItem66.Stretch = true; this.buttonItem66.Text = "Exit"; // // buttonSave // this.buttonSave.Command = this.AppCommandSave; this.buttonSave.Enabled = false; this.buttonSave.Image = ((System.Drawing.Image)(resources.GetObject("buttonSave.Image"))); this.buttonSave.Name = "buttonSave"; this.buttonSave.Text = "buttonItem2"; // // buttonUndo // this.buttonUndo.Enabled = false; this.buttonUndo.Name = "buttonUndo"; this.buttonUndo.Text = "Undo"; // // buttonItem47 // this.buttonItem47.BeginGroup = true; this.buttonItem47.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem47.Image"))); this.buttonItem47.Name = "buttonItem47"; this.buttonItem47.Text = "Search for Templates Online..."; // // buttonItem48 // this.buttonItem48.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem48.Image"))); this.buttonItem48.Name = "buttonItem48"; this.buttonItem48.Text = "Browse for Templates..."; // // buttonItem49 // this.buttonItem49.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem49.Image"))); this.buttonItem49.Name = "buttonItem49"; this.buttonItem49.Text = "Save Current Template..."; // // buttonItem17 // this.buttonItem17.Name = "buttonItem17"; // // buttonStyleMetro // this.buttonStyleMetro.Name = "buttonStyleMetro"; // // buttonItem62 // this.buttonItem62.Name = "buttonItem62"; // // buttonStyleOffice2007Black // this.buttonStyleOffice2007Black.Command = this.AppCommandTheme; this.buttonStyleOffice2007Black.CommandParameter = "Office2007Black"; this.buttonStyleOffice2007Black.Name = "buttonStyleOffice2007Black"; this.buttonStyleOffice2007Black.OptionGroup = "style"; this.buttonStyleOffice2007Black.Text = "Office 2007 <font color=\"black\"><b>Black</b></font>"; // // buttonItem60 // this.buttonItem60.Name = "buttonItem60"; // // buttonItem16 // this.buttonItem16.Name = "buttonItem16"; // // buttonStyleCustom // this.buttonStyleCustom.BeginGroup = true; this.buttonStyleCustom.Command = this.AppCommandTheme; this.buttonStyleCustom.Name = "buttonStyleCustom"; this.buttonStyleCustom.Text = "Custom scheme"; this.buttonStyleCustom.Tooltip = "Custom color scheme is created based on currently selected color table. Try selec" + "ting Silver or Blue color table and then creating custom color scheme."; this.buttonStyleCustom.SelectedColorChanged += new System.EventHandler(this.buttonStyleCustom_SelectedColorChanged); this.buttonStyleCustom.ColorPreview += new DevComponents.DotNetBar.ColorPreviewEventHandler(this.buttonStyleCustom_ColorPreview); this.buttonStyleCustom.ExpandChange += new System.EventHandler(this.buttonStyleCustom_ExpandChange); // // RibbonStateCommand // this.RibbonStateCommand.Name = "RibbonStateCommand"; this.RibbonStateCommand.Executed += new System.EventHandler(this.RibbonStateCommand_Executed); // // menuFileContainer // // // // this.menuFileContainer.BackgroundStyle.Class = "RibbonFileMenuContainer"; this.menuFileContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileContainer.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.menuFileContainer.Name = "menuFileContainer"; this.menuFileContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.menuFileTwoColumnContainer, this.menuFileBottomContainer}); // // // this.menuFileContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // menuFileTwoColumnContainer // // // // this.menuFileTwoColumnContainer.BackgroundStyle.Class = "RibbonFileMenuTwoColumnContainer"; this.menuFileTwoColumnContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileTwoColumnContainer.BackgroundStyle.PaddingBottom = 2; this.menuFileTwoColumnContainer.BackgroundStyle.PaddingLeft = 2; this.menuFileTwoColumnContainer.BackgroundStyle.PaddingRight = 2; this.menuFileTwoColumnContainer.BackgroundStyle.PaddingTop = 2; this.menuFileTwoColumnContainer.ItemSpacing = 0; this.menuFileTwoColumnContainer.Name = "menuFileTwoColumnContainer"; this.menuFileTwoColumnContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.menuFileItems, this.menuFileMRU}); // // // this.menuFileTwoColumnContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // menuFileItems // // // // this.menuFileItems.BackgroundStyle.Class = "RibbonFileMenuColumnOneContainer"; this.menuFileItems.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileItems.ItemSpacing = 5; this.menuFileItems.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.menuFileItems.MinimumSize = new System.Drawing.Size(120, 0); this.menuFileItems.Name = "menuFileItems"; this.menuFileItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem20, this.buttonItem21, this.buttonFileSaveAs, this.buttonItem23, this.buttonItem24, this.buttonItem25}); // // // this.menuFileItems.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // buttonItem20 // this.buttonItem20.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem20.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem20.Image"))); this.buttonItem20.ImageSmall = ((System.Drawing.Image)(resources.GetObject("buttonItem20.ImageSmall"))); this.buttonItem20.Name = "buttonItem20"; this.buttonItem20.SubItemsExpandWidth = 24; this.buttonItem20.Text = "&New"; // // buttonItem21 // this.buttonItem21.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem21.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem21.Image"))); this.buttonItem21.Name = "buttonItem21"; this.buttonItem21.SubItemsExpandWidth = 24; this.buttonItem21.Text = "&Open..."; // // buttonFileSaveAs // this.buttonFileSaveAs.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonFileSaveAs.Image = ((System.Drawing.Image)(resources.GetObject("buttonFileSaveAs.Image"))); this.buttonFileSaveAs.ImageSmall = ((System.Drawing.Image)(resources.GetObject("buttonFileSaveAs.ImageSmall"))); this.buttonFileSaveAs.Name = "buttonFileSaveAs"; this.buttonFileSaveAs.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainer12}); this.buttonFileSaveAs.SubItemsExpandWidth = 24; this.buttonFileSaveAs.Text = "&Save As..."; // // itemContainer12 // // // // this.itemContainer12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer12.ItemSpacing = 4; this.itemContainer12.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainer12.MinimumSize = new System.Drawing.Size(210, 256); this.itemContainer12.Name = "itemContainer12"; this.itemContainer12.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelItem1, this.buttonItem56, this.buttonItem57, this.buttonItem58, this.buttonItem59}); // // // this.itemContainer12.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // labelItem1 // this.labelItem1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.labelItem1.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom; this.labelItem1.BorderType = DevComponents.DotNetBar.eBorderType.Etched; this.labelItem1.Name = "labelItem1"; this.labelItem1.PaddingBottom = 5; this.labelItem1.PaddingLeft = 5; this.labelItem1.PaddingRight = 5; this.labelItem1.PaddingTop = 5; this.labelItem1.Text = "<b>Save a copy of the document</b>"; // // buttonItem56 // this.buttonItem56.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem56.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem56.Image"))); this.buttonItem56.Name = "buttonItem56"; this.buttonItem56.Text = "<b>&Rich Text Document</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Save the document " + "in the default file format.</div>"; // // buttonItem57 // this.buttonItem57.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem57.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem57.Image"))); this.buttonItem57.Name = "buttonItem57"; this.buttonItem57.Text = "<b>Document &Template</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Save as a template " + "that can be used to format future documents.</div>"; // // buttonItem58 // this.buttonItem58.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem58.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem58.Image"))); this.buttonItem58.Name = "buttonItem58"; this.buttonItem58.Text = "<b>&Find add-ins for other formats</b>\r\n<div padding=\"0,0,4,0\" width=\"180\">Learn " + "about add-ins to save to other formats such as PDF or XPS.</div>"; // // buttonItem59 // this.buttonItem59.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem59.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem59.Image"))); this.buttonItem59.Name = "buttonItem59"; this.buttonItem59.Text = "<b>&Other Formats</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Open the Save As dialog" + " box to select from all possible file types.</div>"; // // buttonItem23 // this.buttonItem23.BeginGroup = true; this.buttonItem23.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem23.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem23.Image"))); this.buttonItem23.Name = "buttonItem23"; this.buttonItem23.SubItemsExpandWidth = 24; this.buttonItem23.Text = "S&hare..."; // // buttonItem24 // this.buttonItem24.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem24.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem24.Image"))); this.buttonItem24.Name = "buttonItem24"; this.buttonItem24.SubItemsExpandWidth = 24; this.buttonItem24.Text = "&Print..."; // // buttonItem25 // this.buttonItem25.BeginGroup = true; this.buttonItem25.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem25.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem25.Image"))); this.buttonItem25.Name = "buttonItem25"; this.buttonItem25.SubItemsExpandWidth = 24; this.buttonItem25.Text = "&Close"; // // menuFileMRU // // // // this.menuFileMRU.BackgroundStyle.Class = "RibbonFileMenuColumnTwoContainer"; this.menuFileMRU.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileMRU.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.menuFileMRU.MinimumSize = new System.Drawing.Size(225, 0); this.menuFileMRU.Name = "menuFileMRU"; this.menuFileMRU.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelItem8, this.buttonItem26, this.buttonItem27, this.buttonItem28, this.buttonItem29}); // // // this.menuFileMRU.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // labelItem8 // this.labelItem8.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom; this.labelItem8.BorderType = DevComponents.DotNetBar.eBorderType.Etched; this.labelItem8.Name = "labelItem8"; this.labelItem8.PaddingBottom = 2; this.labelItem8.PaddingTop = 2; this.labelItem8.Stretch = true; this.labelItem8.Text = "Recent Documents"; // // buttonItem26 // this.buttonItem26.Name = "buttonItem26"; this.buttonItem26.Text = "&1. Short News 5-7.rtf"; // // buttonItem27 // this.buttonItem27.Name = "buttonItem27"; this.buttonItem27.Text = "&2. Prospect Email.rtf"; // // buttonItem28 // this.buttonItem28.Name = "buttonItem28"; this.buttonItem28.Text = "&3. Customer Email.rtf"; // // buttonItem29 // this.buttonItem29.Name = "buttonItem29"; this.buttonItem29.Text = "&4. example.rtf"; // // menuFileBottomContainer // // // // this.menuFileBottomContainer.BackgroundStyle.Class = "RibbonFileMenuBottomContainer"; this.menuFileBottomContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileBottomContainer.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Right; this.menuFileBottomContainer.Name = "menuFileBottomContainer"; this.menuFileBottomContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonOptions, this.buttonExit}); // // // this.menuFileBottomContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // buttonOptions // this.buttonOptions.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonOptions.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonOptions.Image = ((System.Drawing.Image)(resources.GetObject("buttonOptions.Image"))); this.buttonOptions.Name = "buttonOptions"; this.buttonOptions.SubItemsExpandWidth = 24; this.buttonOptions.Text = "RibbonPad Opt&ions"; // // buttonExit // this.buttonExit.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonExit.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonExit.Image = ((System.Drawing.Image)(resources.GetObject("buttonExit.Image"))); this.buttonExit.Name = "buttonExit"; this.buttonExit.SubItemsExpandWidth = 24; this.buttonExit.Text = "E&xit RibbonPad"; // // progressBarTimer // this.progressBarTimer.Enabled = true; this.progressBarTimer.Interval = 800; this.progressBarTimer.Tick += new System.EventHandler(this.progressBarTimer_Tick); // // styleManager // this.styleManager.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2007Silver; this.styleManager.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))), System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(115)))), ((int)(((byte)(199)))))); // // grpBoxTree // this.grpBoxTree.Controls.Add(this.treeView1); this.grpBoxTree.Location = new System.Drawing.Point(8, 154); this.grpBoxTree.Name = "grpBoxTree"; this.grpBoxTree.Size = new System.Drawing.Size(210, 443); this.grpBoxTree.TabIndex = 15; this.grpBoxTree.TabStop = false; // // treeView1 // this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.treeView1.Font = new System.Drawing.Font("Segoe UI", 7.9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.treeView1.ImageIndex = 0; this.treeView1.ImageList = this.imageList; this.treeView1.Indent = 23; this.treeView1.ItemHeight = 18; this.treeView1.Location = new System.Drawing.Point(3, 18); this.treeView1.Name = "treeView1"; this.treeView1.SelectedImageIndex = 0; this.treeView1.Size = new System.Drawing.Size(204, 422); this.treeView1.TabIndex = 0; this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, "node.png"); this.imageList.Images.SetKeyName(1, "leaf.png"); // // frmMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; this.ClientSize = new System.Drawing.Size(968, 630); this.Controls.Add(this.grpBoxTree); this.Controls.Add(this.superTabControl1); this.Controls.Add(this.ribbonControl1); this.Controls.Add(this.bar1); this.Controls.Add(this.mdiClient1); this.EnableGlass = false; this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.HelpButton = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "frmMain"; this.Text = "DPCP SOFTWAVE"; this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing); this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit(); this.ribbonControl1.ResumeLayout(false); this.ribbonControl1.PerformLayout(); this.ribPnlContext.ResumeLayout(false); this.ribPnlWrite.ResumeLayout(false); this.ribPnlLayout.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit(); this.superTabControl1.ResumeLayout(false); this.superTabControlPanel1.ResumeLayout(false); this.panelEx2.ResumeLayout(false); this.panelEx1.ResumeLayout(false); this.superTabControlPanel2.ResumeLayout(false); this.superTabControlPanel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).EndInit(); this.superTabControlPanel4.ResumeLayout(false); this.grpBoxTree.ResumeLayout(false); this.ResumeLayout(false); }
/// <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(frmMain)); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.tabStrip1 = new DevComponents.DotNetBar.TabStrip(); this.bar1 = new DevComponents.DotNetBar.Bar(); this.labelStatus = new DevComponents.DotNetBar.LabelItem(); this.progressBarItem1 = new DevComponents.DotNetBar.ProgressBarItem(); this.itemContainer13 = new DevComponents.DotNetBar.ItemContainer(); this.labelPosition = new DevComponents.DotNetBar.LabelItem(); this.mainRibbonControl = new DevComponents.DotNetBar.RibbonControl(); this.contextMenuBar = new DevComponents.DotNetBar.ContextMenuBar(); this.bEditPopup = new DevComponents.DotNetBar.ButtonItem(); this.bCut = new DevComponents.DotNetBar.ButtonItem(); this.bCopy = new DevComponents.DotNetBar.ButtonItem(); this.bPaste = new DevComponents.DotNetBar.ButtonItem(); this.bSelectAll = new DevComponents.DotNetBar.ButtonItem(); this.switchButtonItem1 = new DevComponents.DotNetBar.SwitchButtonItem(); this.RibbonStateCommand = new DevComponents.DotNetBar.Command(this.components); this.buttonFile = new DevComponents.DotNetBar.Office2007StartButton(); this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl(); this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panelEx2 = new DevComponents.DotNetBar.PanelEx(); this.recentPlacesItemsPanel = new DevComponents.DotNetBar.ItemPanel(); this.labelX2 = new DevComponents.DotNetBar.LabelX(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.recentDocsItemPane = new DevComponents.DotNetBar.ItemPanel(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.superTabItem1 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.itemPanel1 = new DevComponents.DotNetBar.ItemPanel(); this.buttonItem67 = new DevComponents.DotNetBar.ButtonItem(); this.AppCommandNew = new DevComponents.DotNetBar.Command(this.components); this.buttonItem68 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem69 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem70 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem71 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem72 = new DevComponents.DotNetBar.ButtonItem(); this.labelX3 = new DevComponents.DotNetBar.LabelX(); this.superTabItem2 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.itemPanel2 = new DevComponents.DotNetBar.ItemPanel(); this.buttonItem77 = new DevComponents.DotNetBar.ButtonItem(); this.AppCommandGoToUrl = new DevComponents.DotNetBar.Command(this.components); this.buttonItem73 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem74 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem(); this.labelX6 = new DevComponents.DotNetBar.LabelX(); this.superTabItem4 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panelEx3 = new DevComponents.DotNetBar.PanelEx(); this.labelX5 = new DevComponents.DotNetBar.LabelX(); this.integerInput1 = new DevComponents.Editors.IntegerInput(); this.labelX4 = new DevComponents.DotNetBar.LabelX(); this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); this.superTabItem3 = new DevComponents.DotNetBar.SuperTabItem(); this.buttonItem61 = new DevComponents.DotNetBar.ButtonItem(); this.AppCommandSave = new DevComponents.DotNetBar.Command(this.components); this.buttonItem63 = new DevComponents.DotNetBar.ButtonItem(); this.AppCommandOpen = new DevComponents.DotNetBar.Command(this.components); this.buttonItem64 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem65 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem66 = new DevComponents.DotNetBar.ButtonItem(); this.AppCommandExit = new DevComponents.DotNetBar.Command(this.components); this.menuFileContainer = new DevComponents.DotNetBar.ItemContainer(); this.menuFileTwoColumnContainer = new DevComponents.DotNetBar.ItemContainer(); this.menuFileItems = new DevComponents.DotNetBar.ItemContainer(); this.buttonItem20 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem21 = new DevComponents.DotNetBar.ButtonItem(); this.buttonFileSaveAs = new DevComponents.DotNetBar.ButtonItem(); this.AppCommandSaveAs = new DevComponents.DotNetBar.Command(this.components); this.itemContainer12 = new DevComponents.DotNetBar.ItemContainer(); this.labelItem1 = new DevComponents.DotNetBar.LabelItem(); this.buttonItem56 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem57 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem58 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem59 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem23 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem24 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem25 = new DevComponents.DotNetBar.ButtonItem(); this.menuFileMRU = new DevComponents.DotNetBar.ItemContainer(); this.labelItem8 = new DevComponents.DotNetBar.LabelItem(); this.buttonItem26 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem28 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem29 = new DevComponents.DotNetBar.ButtonItem(); this.menuFileBottomContainer = new DevComponents.DotNetBar.ItemContainer(); this.buttonOptions = new DevComponents.DotNetBar.ButtonItem(); this.buttonExit = new DevComponents.DotNetBar.ButtonItem(); this.buttonNew = new DevComponents.DotNetBar.ButtonItem(); this.buttonSave = new DevComponents.DotNetBar.ButtonItem(); this.buttonUndo = new DevComponents.DotNetBar.ButtonItem(); this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem(); this.ribbonTabItemGroup1 = new DevComponents.DotNetBar.RibbonTabItemGroup(); this.buttonStyleMetro = new DevComponents.DotNetBar.ButtonItem(); this.AppCommandTheme = new DevComponents.DotNetBar.Command(this.components); this.buttonItem47 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem48 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem49 = new DevComponents.DotNetBar.ButtonItem(); this.comboItem1 = new DevComponents.Editors.ComboItem(); this.comboItem2 = new DevComponents.Editors.ComboItem(); this.comboItem3 = new DevComponents.Editors.ComboItem(); this.comboItem4 = new DevComponents.Editors.ComboItem(); this.comboItem5 = new DevComponents.Editors.ComboItem(); this.comboItem6 = new DevComponents.Editors.ComboItem(); this.comboItem7 = new DevComponents.Editors.ComboItem(); this.comboItem8 = new DevComponents.Editors.ComboItem(); this.comboItem9 = new DevComponents.Editors.ComboItem(); this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); this.progressBarTimer = new System.Windows.Forms.Timer(this.components); this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components); this.imageList1 = new System.Windows.Forms.ImageList(this.components); ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit(); this.superTabControl1.SuspendLayout(); this.superTabControlPanel1.SuspendLayout(); this.panelEx2.SuspendLayout(); this.panelEx1.SuspendLayout(); this.superTabControlPanel2.SuspendLayout(); this.superTabControlPanel4.SuspendLayout(); this.superTabControlPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).BeginInit(); this.SuspendLayout(); // // openFileDialog1 // this.openFileDialog1.DefaultExt = "*.rtf"; this.openFileDialog1.Filter = "Text Files (*.txt)|*.txt|RTF Files (*.rtf)|*.rtf|All Files(*.*)|*.*"; this.openFileDialog1.FilterIndex = 2; this.openFileDialog1.Title = "Open File"; // // mdiClient1 // this.mdiClient1.BackColor = System.Drawing.Color.White; this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mdiClient1.Location = new System.Drawing.Point(5, 178); this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.Size = new System.Drawing.Size(766, 301); this.mdiClient1.TabIndex = 5; // // saveFileDialog1 // this.saveFileDialog1.DefaultExt = "*.rtf"; this.saveFileDialog1.FileName = "doc1"; this.saveFileDialog1.Filter = "Text Files (*.txt)|*.txt|RTF Files (*.rtf)|*.rtf|All Files(*.*)|*.*"; this.saveFileDialog1.FilterIndex = 2; this.saveFileDialog1.Title = "Save File"; // // tabStrip1 // this.tabStrip1.AutoSelectAttachedControl = true; this.tabStrip1.CanReorderTabs = true; this.tabStrip1.CloseButtonOnTabsVisible = true; this.tabStrip1.CloseButtonVisible = false; this.tabStrip1.Dock = System.Windows.Forms.DockStyle.Top; this.tabStrip1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabStrip1.ForeColor = System.Drawing.Color.Black; this.tabStrip1.Location = new System.Drawing.Point(5, 152); this.tabStrip1.MdiForm = this; this.tabStrip1.MdiTabbedDocuments = true; this.tabStrip1.Name = "tabStrip1"; this.tabStrip1.SelectedTab = null; this.tabStrip1.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabStrip1.Size = new System.Drawing.Size(766, 26); this.tabStrip1.Style = DevComponents.DotNetBar.eTabStripStyle.Metro; this.tabStrip1.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Top; this.tabStrip1.TabIndex = 6; this.tabStrip1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabStrip1.Text = "tabStrip1"; // // bar1 // this.bar1.AccessibleDescription = "DotNetBar Bar (bar1)"; this.bar1.AccessibleName = "DotNetBar Bar"; this.bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.StatusBar; this.bar1.AntiAlias = true; this.bar1.BarType = DevComponents.DotNetBar.eBarType.StatusBar; this.bar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.bar1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.bar1.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.ResizeHandle; this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelStatus, this.progressBarItem1, this.itemContainer13}); this.bar1.ItemSpacing = 2; this.bar1.Location = new System.Drawing.Point(5, 479); this.bar1.Name = "bar1"; this.bar1.PaddingBottom = 0; this.bar1.PaddingTop = 0; this.bar1.Size = new System.Drawing.Size(766, 19); this.bar1.Stretch = true; this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.bar1.TabIndex = 7; this.bar1.TabStop = false; this.bar1.Text = "barStatus"; // // labelStatus // this.labelStatus.Name = "labelStatus"; this.labelStatus.PaddingLeft = 2; this.labelStatus.PaddingRight = 2; this.labelStatus.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.labelStatus.Stretch = true; // // progressBarItem1 // // // // this.progressBarItem1.BackStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.progressBarItem1.ChunkGradientAngle = 0F; this.progressBarItem1.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleAlways; this.progressBarItem1.Name = "progressBarItem1"; this.progressBarItem1.RecentlyUsed = false; // // itemContainer13 // // // // this.itemContainer13.BackgroundStyle.Class = "Office2007StatusBarBackground2"; this.itemContainer13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer13.Name = "itemContainer13"; this.itemContainer13.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelPosition}); // // // this.itemContainer13.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // labelPosition // this.labelPosition.Name = "labelPosition"; this.labelPosition.PaddingLeft = 2; this.labelPosition.PaddingRight = 2; this.labelPosition.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.labelPosition.Stretch = true; this.labelPosition.Text = "����˹̹�Ƽ�����˾ ��Ȩ����"; this.labelPosition.Width = 180; // // mainRibbonControl // this.mainRibbonControl.BackColor = System.Drawing.SystemColors.Control; // // // this.mainRibbonControl.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.mainRibbonControl.CaptionVisible = true; this.mainRibbonControl.Dock = System.Windows.Forms.DockStyle.Top; this.mainRibbonControl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainRibbonControl.ForeColor = System.Drawing.Color.Black; this.mainRibbonControl.GlobalContextMenuBar = this.contextMenuBar; this.mainRibbonControl.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.switchButtonItem1}); this.mainRibbonControl.KeyTipsFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainRibbonControl.Location = new System.Drawing.Point(5, 1); this.mainRibbonControl.MdiSystemItemVisible = false; this.mainRibbonControl.Name = "mainRibbonControl"; this.mainRibbonControl.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2); this.mainRibbonControl.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonFile, this.buttonNew, this.buttonSave, this.buttonUndo, this.qatCustomizeItem1}); this.mainRibbonControl.RibbonStripFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainRibbonControl.Size = new System.Drawing.Size(766, 151); this.mainRibbonControl.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.mainRibbonControl.SystemText.MaximizeRibbonText = "&Maximize the Ribbon"; this.mainRibbonControl.SystemText.MinimizeRibbonText = "Mi&nimize the Ribbon"; this.mainRibbonControl.SystemText.QatAddItemText = "&Add to Quick Access Toolbar"; this.mainRibbonControl.SystemText.QatCustomizeMenuLabel = "<b>Customize Quick Access Toolbar</b>"; this.mainRibbonControl.SystemText.QatCustomizeText = "&Customize Quick Access Toolbar..."; this.mainRibbonControl.SystemText.QatDialogAddButton = "&Add >>"; this.mainRibbonControl.SystemText.QatDialogCancelButton = "Cancel"; this.mainRibbonControl.SystemText.QatDialogCaption = "Customize Quick Access Toolbar"; this.mainRibbonControl.SystemText.QatDialogCategoriesLabel = "&Choose commands from:"; this.mainRibbonControl.SystemText.QatDialogOkButton = "OK"; this.mainRibbonControl.SystemText.QatDialogPlacementCheckbox = "&Place Quick Access Toolbar below the Ribbon"; this.mainRibbonControl.SystemText.QatDialogRemoveButton = "&Remove"; this.mainRibbonControl.SystemText.QatPlaceAboveRibbonText = "&Place Quick Access Toolbar above the Ribbon"; this.mainRibbonControl.SystemText.QatPlaceBelowRibbonText = "&Place Quick Access Toolbar below the Ribbon"; this.mainRibbonControl.SystemText.QatRemoveItemText = "&Remove from Quick Access Toolbar"; this.mainRibbonControl.TabGroupHeight = 14; this.mainRibbonControl.TabGroups.AddRange(new DevComponents.DotNetBar.RibbonTabItemGroup[] { this.ribbonTabItemGroup1}); this.mainRibbonControl.TabGroupsVisible = true; this.mainRibbonControl.TabIndex = 8; this.mainRibbonControl.BeforeRibbonPanelPopupClose += new DevComponents.DotNetBar.RibbonPopupCloseEventHandler(this.ribbonControl1_BeforeRibbonPanelPopupClose); // // contextMenuBar // this.contextMenuBar.AntiAlias = true; this.contextMenuBar.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.contextMenuBar.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.bEditPopup}); this.contextMenuBar.Location = new System.Drawing.Point(352, 309); this.contextMenuBar.Name = "contextMenuBar"; this.contextMenuBar.Size = new System.Drawing.Size(150, 25); this.contextMenuBar.Stretch = true; this.contextMenuBar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.contextMenuBar.TabIndex = 13; this.contextMenuBar.TabStop = false; // // bEditPopup // this.bEditPopup.AutoExpandOnClick = true; this.bEditPopup.GlobalName = "bEditPopup"; this.bEditPopup.Name = "bEditPopup"; this.bEditPopup.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bEditPopup.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.bCut, this.bCopy, this.bPaste, this.bSelectAll}); this.bEditPopup.Text = "bEditPopup"; // // bCut // this.bCut.BeginGroup = true; this.bCut.GlobalName = "bCut"; this.bCut.ImageIndex = 5; this.bCut.Name = "bCut"; this.bCut.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bCut.Text = "Cu&t"; // // bCopy // this.bCopy.GlobalName = "bCopy"; this.bCopy.ImageIndex = 4; this.bCopy.Name = "bCopy"; this.bCopy.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bCopy.Text = "&Copy"; // // bPaste // this.bPaste.GlobalName = "bPaste"; this.bPaste.ImageIndex = 12; this.bPaste.Name = "bPaste"; this.bPaste.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bPaste.Text = "&Paste"; // // bSelectAll // this.bSelectAll.BeginGroup = true; this.bSelectAll.GlobalName = "bSelectAll"; this.bSelectAll.Name = "bSelectAll"; this.bSelectAll.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bSelectAll.Text = "Select &All"; // // switchButtonItem1 // this.switchButtonItem1.ButtonHeight = 20; this.switchButtonItem1.ButtonWidth = 62; this.switchButtonItem1.Command = this.RibbonStateCommand; this.switchButtonItem1.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far; this.switchButtonItem1.Margin.Bottom = 2; this.switchButtonItem1.Margin.Left = 4; this.switchButtonItem1.Name = "switchButtonItem1"; this.switchButtonItem1.OffText = "MAX"; this.switchButtonItem1.OnText = "MIN"; this.switchButtonItem1.Tooltip = "Minimizes/Maximizes the Ribbon"; // // RibbonStateCommand // this.RibbonStateCommand.Name = "RibbonStateCommand"; this.RibbonStateCommand.Executed += new System.EventHandler(this.RibbonStateCommand_Executed); // // buttonFile // this.buttonFile.AutoExpandOnClick = true; this.buttonFile.BackstageTab = this.superTabControl1; this.buttonFile.CanCustomize = false; this.buttonFile.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.Image; this.buttonFile.Image = ((System.Drawing.Image)(resources.GetObject("buttonFile.Image"))); this.buttonFile.ImagePaddingHorizontal = 2; this.buttonFile.ImagePaddingVertical = 2; this.buttonFile.Name = "buttonFile"; this.buttonFile.ShowSubItems = false; this.buttonFile.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.menuFileContainer}); this.buttonFile.Text = "&File"; // // superTabControl1 // this.superTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.superTabControl1.BackColor = System.Drawing.Color.White; // // // // // // this.superTabControl1.ControlBox.CloseBox.Name = ""; // // // this.superTabControl1.ControlBox.MenuBox.Name = ""; this.superTabControl1.ControlBox.Name = ""; this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.superTabControl1.ControlBox.MenuBox, this.superTabControl1.ControlBox.CloseBox}); this.superTabControl1.ControlBox.Visible = false; this.superTabControl1.Controls.Add(this.superTabControlPanel1); this.superTabControl1.Controls.Add(this.superTabControlPanel2); this.superTabControl1.Controls.Add(this.superTabControlPanel4); this.superTabControl1.Controls.Add(this.superTabControlPanel3); this.superTabControl1.ForeColor = System.Drawing.Color.Black; this.superTabControl1.ItemPadding.Left = 6; this.superTabControl1.ItemPadding.Right = 4; this.superTabControl1.ItemPadding.Top = 4; this.superTabControl1.Location = new System.Drawing.Point(6, 47); this.superTabControl1.Name = "superTabControl1"; this.superTabControl1.ReorderTabsEnabled = false; this.superTabControl1.SelectedTabFont = new System.Drawing.Font("Segoe UI", 9.75F); this.superTabControl1.SelectedTabIndex = 0; this.superTabControl1.Size = new System.Drawing.Size(766, 448); this.superTabControl1.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Left; this.superTabControl1.TabFont = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.superTabControl1.TabHorizontalSpacing = 16; this.superTabControl1.TabIndex = 14; this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem61, this.buttonItem63, this.buttonItem64, this.superTabItem1, this.superTabItem2, this.superTabItem3, this.superTabItem4, this.buttonItem65, this.buttonItem66}); this.superTabControl1.TabStyle = DevComponents.DotNetBar.eSuperTabStyle.Office2010BackstageBlue; this.superTabControl1.TabVerticalSpacing = 8; // // superTabControlPanel1 // this.superTabControlPanel1.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight; this.superTabControlPanel1.Controls.Add(this.panelEx2); this.superTabControlPanel1.Controls.Add(this.panelEx1); this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel1.Location = new System.Drawing.Point(100, 0); this.superTabControlPanel1.Name = "superTabControlPanel1"; this.superTabControlPanel1.Size = new System.Drawing.Size(666, 448); this.superTabControlPanel1.TabIndex = 1; this.superTabControlPanel1.TabItem = this.superTabItem1; // // panelEx2 // this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx2.Controls.Add(this.recentPlacesItemsPanel); this.panelEx2.Controls.Add(this.labelX2); this.panelEx2.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx2.Location = new System.Drawing.Point(314, 0); this.panelEx2.Name = "panelEx2"; this.panelEx2.Padding = new System.Windows.Forms.Padding(12); this.panelEx2.Size = new System.Drawing.Size(352, 448); this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.Transparent; this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx2.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Right; this.panelEx2.Style.GradientAngle = 90; this.panelEx2.TabIndex = 1; this.panelEx2.Text = "panelEx2"; // // recentPlacesItemsPanel // this.recentPlacesItemsPanel.AutoScroll = true; // // // this.recentPlacesItemsPanel.BackgroundStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.recentPlacesItemsPanel.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.recentPlacesItemsPanel.ContainerControlProcessDialogKey = true; this.recentPlacesItemsPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.recentPlacesItemsPanel.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.recentPlacesItemsPanel.Location = new System.Drawing.Point(12, 35); this.recentPlacesItemsPanel.Name = "recentPlacesItemsPanel"; this.recentPlacesItemsPanel.Size = new System.Drawing.Size(328, 401); this.recentPlacesItemsPanel.TabIndex = 2; // // labelX2 // // // // this.labelX2.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX2.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX2.BackgroundStyle.BorderBottomWidth = 1; this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX2.Dock = System.Windows.Forms.DockStyle.Top; this.labelX2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX2.ForeColor = System.Drawing.Color.DimGray; this.labelX2.Location = new System.Drawing.Point(12, 12); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(328, 23); this.labelX2.TabIndex = 0; this.labelX2.Text = "Recent Places"; // // panelEx1 // this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx1.Controls.Add(this.recentDocsItemPane); this.panelEx1.Controls.Add(this.labelX1); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Left; this.panelEx1.Location = new System.Drawing.Point(0, 0); this.panelEx1.Name = "panelEx1"; this.panelEx1.Padding = new System.Windows.Forms.Padding(12); this.panelEx1.Size = new System.Drawing.Size(314, 448); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.Transparent; this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx1.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Right; this.panelEx1.Style.GradientAngle = 90; this.panelEx1.TabIndex = 0; this.panelEx1.Text = "panelEx1"; // // recentDocsItemPane // this.recentDocsItemPane.AutoScroll = true; // // // this.recentDocsItemPane.BackgroundStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.recentDocsItemPane.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.recentDocsItemPane.ContainerControlProcessDialogKey = true; this.recentDocsItemPane.Dock = System.Windows.Forms.DockStyle.Fill; this.recentDocsItemPane.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.recentDocsItemPane.Location = new System.Drawing.Point(12, 35); this.recentDocsItemPane.Name = "recentDocsItemPane"; this.recentDocsItemPane.Size = new System.Drawing.Size(290, 401); this.recentDocsItemPane.TabIndex = 1; // // labelX1 // // // // this.labelX1.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX1.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX1.BackgroundStyle.BorderBottomWidth = 1; this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX1.Dock = System.Windows.Forms.DockStyle.Top; this.labelX1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX1.ForeColor = System.Drawing.Color.DimGray; this.labelX1.Location = new System.Drawing.Point(12, 12); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(290, 23); this.labelX1.TabIndex = 0; this.labelX1.Text = "Recent Documents"; // // superTabItem1 // this.superTabItem1.AttachedControl = this.superTabControlPanel1; this.superTabItem1.GlobalItem = false; this.superTabItem1.KeyTips = "R"; this.superTabItem1.Name = "superTabItem1"; this.superTabItem1.Text = "Recent"; // // superTabControlPanel2 // this.superTabControlPanel2.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight; this.superTabControlPanel2.Controls.Add(this.itemPanel1); this.superTabControlPanel2.Controls.Add(this.labelX3); this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel2.Location = new System.Drawing.Point(100, 0); this.superTabControlPanel2.Name = "superTabControlPanel2"; this.superTabControlPanel2.Padding = new System.Windows.Forms.Padding(12); this.superTabControlPanel2.Size = new System.Drawing.Size(666, 448); this.superTabControlPanel2.TabIndex = 2; this.superTabControlPanel2.TabItem = this.superTabItem2; // // itemPanel1 // this.itemPanel1.AutoScroll = true; this.itemPanel1.BackColor = System.Drawing.Color.Transparent; // // // this.itemPanel1.BackgroundStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.itemPanel1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemPanel1.ContainerControlProcessDialogKey = true; this.itemPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.itemPanel1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem67, this.buttonItem68, this.buttonItem69, this.buttonItem70, this.buttonItem71, this.buttonItem72}); this.itemPanel1.Location = new System.Drawing.Point(12, 35); this.itemPanel1.MultiLine = true; this.itemPanel1.Name = "itemPanel1"; this.itemPanel1.Size = new System.Drawing.Size(642, 401); this.itemPanel1.TabIndex = 3; // // buttonItem67 // this.buttonItem67.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem67.Command = this.AppCommandNew; this.buttonItem67.ForeColor = System.Drawing.Color.Black; this.buttonItem67.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem67.Image"))); this.buttonItem67.ImagePaddingVertical = 12; this.buttonItem67.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem67.Name = "buttonItem67"; this.buttonItem67.Text = "<span align=\"center\">Blank<br/>document</span>"; // // AppCommandNew // this.AppCommandNew.Name = "AppCommandNew"; this.AppCommandNew.Executed += new System.EventHandler(this.AppCommandNew_Executed); // // buttonItem68 // this.buttonItem68.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem68.ForeColor = System.Drawing.Color.Black; this.buttonItem68.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem68.Image"))); this.buttonItem68.ImagePaddingVertical = 12; this.buttonItem68.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem68.Name = "buttonItem68"; this.buttonItem68.Text = "Blog post"; // // buttonItem69 // this.buttonItem69.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem69.ForeColor = System.Drawing.Color.Black; this.buttonItem69.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem69.Image"))); this.buttonItem69.ImagePaddingHorizontal = 12; this.buttonItem69.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem69.Name = "buttonItem69"; this.buttonItem69.Text = "<span align=\"center\">Recent<br/>templates</span>"; // // buttonItem70 // this.buttonItem70.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem70.ForeColor = System.Drawing.Color.Black; this.buttonItem70.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem70.Image"))); this.buttonItem70.ImagePaddingHorizontal = 12; this.buttonItem70.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem70.Name = "buttonItem70"; this.buttonItem70.Text = "<span align=\"center\">Sample<br/>templates</span>"; // // buttonItem71 // this.buttonItem71.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem71.ForeColor = System.Drawing.Color.Black; this.buttonItem71.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem71.Image"))); this.buttonItem71.ImagePaddingHorizontal = 12; this.buttonItem71.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem71.Name = "buttonItem71"; this.buttonItem71.Text = "My templates"; // // buttonItem72 // this.buttonItem72.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem72.ForeColor = System.Drawing.Color.Black; this.buttonItem72.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem72.Image"))); this.buttonItem72.ImagePaddingHorizontal = 12; this.buttonItem72.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem72.Name = "buttonItem72"; this.buttonItem72.Text = "<span align=\"center\">New from<br/>existing</span>"; // // labelX3 // // // // this.labelX3.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX3.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX3.BackgroundStyle.BorderBottomWidth = 1; this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX3.Dock = System.Windows.Forms.DockStyle.Top; this.labelX3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX3.ForeColor = System.Drawing.Color.DimGray; this.labelX3.Location = new System.Drawing.Point(12, 12); this.labelX3.Name = "labelX3"; this.labelX3.Size = new System.Drawing.Size(642, 23); this.labelX3.TabIndex = 1; this.labelX3.Text = "Available Templates"; // // superTabItem2 // this.superTabItem2.AttachedControl = this.superTabControlPanel2; this.superTabItem2.GlobalItem = false; this.superTabItem2.KeyTips = "N"; this.superTabItem2.Name = "superTabItem2"; this.superTabItem2.Text = "New"; // // superTabControlPanel4 // this.superTabControlPanel4.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight; this.superTabControlPanel4.Controls.Add(this.itemPanel2); this.superTabControlPanel4.Controls.Add(this.labelX6); this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel4.Location = new System.Drawing.Point(100, 0); this.superTabControlPanel4.Name = "superTabControlPanel4"; this.superTabControlPanel4.Padding = new System.Windows.Forms.Padding(12); this.superTabControlPanel4.Size = new System.Drawing.Size(666, 448); this.superTabControlPanel4.TabIndex = 4; this.superTabControlPanel4.TabItem = this.superTabItem4; // // itemPanel2 // this.itemPanel2.AutoScroll = true; this.itemPanel2.BackColor = System.Drawing.Color.Transparent; // // // this.itemPanel2.BackgroundStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.itemPanel2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemPanel2.ContainerControlProcessDialogKey = true; this.itemPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.itemPanel2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem77, this.buttonItem73, this.buttonItem74, this.buttonItem75, this.buttonItem76}); this.itemPanel2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemPanel2.Location = new System.Drawing.Point(12, 35); this.itemPanel2.Name = "itemPanel2"; this.itemPanel2.Size = new System.Drawing.Size(642, 401); this.itemPanel2.TabIndex = 3; // // buttonItem77 // this.buttonItem77.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem77.Command = this.AppCommandGoToUrl; this.buttonItem77.CommandParameter = "http://www.devcomponents.com/kb/questions.php?questionid=127"; this.buttonItem77.ForeColor = System.Drawing.Color.Black; this.buttonItem77.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem77.Image"))); this.buttonItem77.Name = "buttonItem77"; this.buttonItem77.Text = "Backstage<br/>\r\n<font color=\"Gray\">How to build Office 2010 style Backstage with " + "DotNetBar</font>"; // // AppCommandGoToUrl // this.AppCommandGoToUrl.Name = "AppCommandGoToUrl"; this.AppCommandGoToUrl.Executed += new System.EventHandler(this.AppCommandGoToUrl_Executed); // // buttonItem73 // this.buttonItem73.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem73.Command = this.AppCommandGoToUrl; this.buttonItem73.CommandParameter = "http://www.devcomponents.com/kb/"; this.buttonItem73.ForeColor = System.Drawing.Color.Black; this.buttonItem73.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem73.Image"))); this.buttonItem73.Name = "buttonItem73"; this.buttonItem73.Text = "DotNetBar Knowledge Base<br/>\r\n<font color=\"Gray\">Browse our online Knowledge Bas" + "e.</font>"; // // buttonItem74 // this.buttonItem74.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem74.Command = this.AppCommandGoToUrl; this.buttonItem74.CommandParameter = "http://www.devcomponents.com/dotnetbar/movies.aspx"; this.buttonItem74.ForeColor = System.Drawing.Color.Black; this.buttonItem74.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem74.Image"))); this.buttonItem74.Name = "buttonItem74"; this.buttonItem74.Text = "Movie Tutorials<br/>\r\n<font color=\"Gray\">Watch getting started online movie tutor" + "ials</font>"; // // buttonItem75 // this.buttonItem75.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem75.Command = this.AppCommandGoToUrl; this.buttonItem75.CommandParameter = "http://www.devcomponents.com/support.aspx"; this.buttonItem75.ForeColor = System.Drawing.Color.Black; this.buttonItem75.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem75.Image"))); this.buttonItem75.Name = "buttonItem75"; this.buttonItem75.Text = "Contact Us<br/>\r\n<font color=\"Gray\">Let us know if you need help or how we can ma" + "ke DotNetBar even better.</font>"; // // buttonItem76 // this.buttonItem76.BeginGroup = true; this.buttonItem76.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem76.Command = this.AppCommandGoToUrl; this.buttonItem76.CommandParameter = "http://www.devcomponents.com/dotnetbar/applicationgallery/"; this.buttonItem76.ForeColor = System.Drawing.Color.Black; this.buttonItem76.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem76.Image"))); this.buttonItem76.Name = "buttonItem76"; this.buttonItem76.Text = "Application Gallery<br/>\r\n<font color=\"Gray\">See how other developers are using D" + "otNetBar in our application gallery</font>"; // // labelX6 // // // // this.labelX6.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX6.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX6.BackgroundStyle.BorderBottomWidth = 1; this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX6.Dock = System.Windows.Forms.DockStyle.Top; this.labelX6.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX6.ForeColor = System.Drawing.Color.DimGray; this.labelX6.Location = new System.Drawing.Point(12, 12); this.labelX6.Name = "labelX6"; this.labelX6.Size = new System.Drawing.Size(642, 23); this.labelX6.TabIndex = 2; this.labelX6.Text = "Support"; // // superTabItem4 // this.superTabItem4.AttachedControl = this.superTabControlPanel4; this.superTabItem4.GlobalItem = false; this.superTabItem4.KeyTips = "H"; this.superTabItem4.Name = "superTabItem4"; this.superTabItem4.Text = "Help"; // // superTabControlPanel3 // this.superTabControlPanel3.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight; this.superTabControlPanel3.Controls.Add(this.panelEx3); this.superTabControlPanel3.Controls.Add(this.labelX5); this.superTabControlPanel3.Controls.Add(this.integerInput1); this.superTabControlPanel3.Controls.Add(this.labelX4); this.superTabControlPanel3.Controls.Add(this.buttonX1); this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel3.Location = new System.Drawing.Point(100, 0); this.superTabControlPanel3.Name = "superTabControlPanel3"; this.superTabControlPanel3.Size = new System.Drawing.Size(666, 448); this.superTabControlPanel3.TabIndex = 3; this.superTabControlPanel3.TabItem = this.superTabItem3; // // panelEx3 // this.panelEx3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx3.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.panelEx3.Location = new System.Drawing.Point(292, 4); this.panelEx3.Name = "panelEx3"; this.panelEx3.Size = new System.Drawing.Size(371, 441); this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx3.Style.BackColor1.Color = System.Drawing.Color.White; this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx3.Style.BorderColor.Color = System.Drawing.Color.Silver; this.panelEx3.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; this.panelEx3.Style.ForeColor.Color = System.Drawing.Color.Gray; this.panelEx3.Style.GradientAngle = 90; this.panelEx3.TabIndex = 5; this.panelEx3.Text = "Print Preview Goes Here..."; // // labelX5 // // // // this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX5.ForeColor = System.Drawing.Color.Black; this.labelX5.Location = new System.Drawing.Point(143, 54); this.labelX5.Name = "labelX5"; this.labelX5.Size = new System.Drawing.Size(48, 19); this.labelX5.TabIndex = 4; this.labelX5.Text = "Copies:"; // // integerInput1 // // // // this.integerInput1.BackgroundStyle.Class = "DateTimeInputBackground"; this.integerInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.integerInput1.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2; this.integerInput1.Location = new System.Drawing.Point(198, 53); this.integerInput1.Name = "integerInput1"; this.integerInput1.ShowUpDown = true; this.integerInput1.Size = new System.Drawing.Size(66, 22); this.integerInput1.TabIndex = 3; this.integerInput1.Value = 1; // // labelX4 // // // // this.labelX4.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash; this.labelX4.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray; this.labelX4.BackgroundStyle.BorderBottomWidth = 1; this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX4.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX4.ForeColor = System.Drawing.Color.DimGray; this.labelX4.Location = new System.Drawing.Point(144, 16); this.labelX4.Name = "labelX4"; this.labelX4.Size = new System.Drawing.Size(120, 23); this.labelX4.TabIndex = 2; this.labelX4.Text = "Print"; // // buttonX1 // this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; this.buttonX1.Image = ((System.Drawing.Image)(resources.GetObject("buttonX1.Image"))); this.buttonX1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonX1.Location = new System.Drawing.Point(21, 21); this.buttonX1.Name = "buttonX1"; this.buttonX1.Size = new System.Drawing.Size(109, 101); this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX1.TabIndex = 0; this.buttonX1.Text = "Print"; // // superTabItem3 // this.superTabItem3.AttachedControl = this.superTabControlPanel3; this.superTabItem3.GlobalItem = false; this.superTabItem3.KeyTips = "P"; this.superTabItem3.Name = "superTabItem3"; this.superTabItem3.Text = "Print"; // // buttonItem61 // this.buttonItem61.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem61.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem61.Command = this.AppCommandSave; this.buttonItem61.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem61.Image"))); this.buttonItem61.ImagePaddingHorizontal = 18; this.buttonItem61.ImagePaddingVertical = 10; this.buttonItem61.KeyTips = "S"; this.buttonItem61.Name = "buttonItem61"; this.buttonItem61.Stretch = true; this.buttonItem61.Text = "Save"; // // AppCommandSave // this.AppCommandSave.Name = "AppCommandSave"; this.AppCommandSave.Executed += new System.EventHandler(this.AppCommandSave_Executed); // // buttonItem63 // this.buttonItem63.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem63.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem63.Command = this.AppCommandOpen; this.buttonItem63.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem63.Image"))); this.buttonItem63.ImagePaddingHorizontal = 18; this.buttonItem63.ImagePaddingVertical = 10; this.buttonItem63.KeyTips = "O"; this.buttonItem63.Name = "buttonItem63"; this.buttonItem63.Stretch = true; this.buttonItem63.Text = "Open"; // // AppCommandOpen // this.AppCommandOpen.Name = "AppCommandOpen"; this.AppCommandOpen.Executed += new System.EventHandler(this.AppCommandOpen_Executed); // // buttonItem64 // this.buttonItem64.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem64.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem64.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem64.Image"))); this.buttonItem64.ImagePaddingHorizontal = 18; this.buttonItem64.ImagePaddingVertical = 10; this.buttonItem64.KeyTips = "C"; this.buttonItem64.Name = "buttonItem64"; this.buttonItem64.Stretch = true; this.buttonItem64.Text = "Close"; // // buttonItem65 // this.buttonItem65.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem65.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem65.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem65.Image"))); this.buttonItem65.ImagePaddingHorizontal = 18; this.buttonItem65.ImagePaddingVertical = 10; this.buttonItem65.KeyTips = "T"; this.buttonItem65.Name = "buttonItem65"; this.buttonItem65.Stretch = true; this.buttonItem65.Text = "Options"; // // buttonItem66 // this.buttonItem66.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem66.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItem66.Command = this.AppCommandExit; this.buttonItem66.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem66.Image"))); this.buttonItem66.ImagePaddingHorizontal = 18; this.buttonItem66.ImagePaddingVertical = 10; this.buttonItem66.KeyTips = "X"; this.buttonItem66.Name = "buttonItem66"; this.buttonItem66.Stretch = true; this.buttonItem66.Text = "Exit"; // // AppCommandExit // this.AppCommandExit.Name = "AppCommandExit"; this.AppCommandExit.Executed += new System.EventHandler(this.AppCommandExit_Executed); // // menuFileContainer // // // // this.menuFileContainer.BackgroundStyle.Class = "RibbonFileMenuContainer"; this.menuFileContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileContainer.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.menuFileContainer.Name = "menuFileContainer"; this.menuFileContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.menuFileTwoColumnContainer, this.menuFileBottomContainer}); // // // this.menuFileContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // menuFileTwoColumnContainer // // // // this.menuFileTwoColumnContainer.BackgroundStyle.Class = "RibbonFileMenuTwoColumnContainer"; this.menuFileTwoColumnContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileTwoColumnContainer.BackgroundStyle.PaddingBottom = 2; this.menuFileTwoColumnContainer.BackgroundStyle.PaddingLeft = 2; this.menuFileTwoColumnContainer.BackgroundStyle.PaddingRight = 2; this.menuFileTwoColumnContainer.BackgroundStyle.PaddingTop = 2; this.menuFileTwoColumnContainer.ItemSpacing = 0; this.menuFileTwoColumnContainer.Name = "menuFileTwoColumnContainer"; this.menuFileTwoColumnContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.menuFileItems, this.menuFileMRU}); // // // this.menuFileTwoColumnContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // menuFileItems // // // // this.menuFileItems.BackgroundStyle.Class = "RibbonFileMenuColumnOneContainer"; this.menuFileItems.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileItems.ItemSpacing = 5; this.menuFileItems.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.menuFileItems.MinimumSize = new System.Drawing.Size(120, 0); this.menuFileItems.Name = "menuFileItems"; this.menuFileItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem20, this.buttonItem21, this.buttonFileSaveAs, this.buttonItem23, this.buttonItem24, this.buttonItem25}); // // // this.menuFileItems.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // buttonItem20 // this.buttonItem20.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem20.Command = this.AppCommandNew; this.buttonItem20.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem20.Image"))); this.buttonItem20.ImageSmall = ((System.Drawing.Image)(resources.GetObject("buttonItem20.ImageSmall"))); this.buttonItem20.Name = "buttonItem20"; this.buttonItem20.SubItemsExpandWidth = 24; this.buttonItem20.Text = "&New"; // // buttonItem21 // this.buttonItem21.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem21.Command = this.AppCommandOpen; this.buttonItem21.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem21.Image"))); this.buttonItem21.Name = "buttonItem21"; this.buttonItem21.SubItemsExpandWidth = 24; this.buttonItem21.Text = "&Open..."; // // buttonFileSaveAs // this.buttonFileSaveAs.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonFileSaveAs.Command = this.AppCommandSaveAs; this.buttonFileSaveAs.Image = ((System.Drawing.Image)(resources.GetObject("buttonFileSaveAs.Image"))); this.buttonFileSaveAs.ImageSmall = ((System.Drawing.Image)(resources.GetObject("buttonFileSaveAs.ImageSmall"))); this.buttonFileSaveAs.Name = "buttonFileSaveAs"; this.buttonFileSaveAs.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainer12}); this.buttonFileSaveAs.SubItemsExpandWidth = 24; this.buttonFileSaveAs.Text = "&Save As..."; this.buttonFileSaveAs.ExpandChange += new System.EventHandler(this.buttonFileSaveAs_ExpandChange); // // AppCommandSaveAs // this.AppCommandSaveAs.Name = "AppCommandSaveAs"; this.AppCommandSaveAs.Executed += new System.EventHandler(this.AppCommandSaveAs_Executed); // // itemContainer12 // // // // this.itemContainer12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer12.ItemSpacing = 4; this.itemContainer12.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainer12.MinimumSize = new System.Drawing.Size(210, 256); this.itemContainer12.Name = "itemContainer12"; this.itemContainer12.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelItem1, this.buttonItem56, this.buttonItem57, this.buttonItem58, this.buttonItem59}); // // // this.itemContainer12.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // labelItem1 // this.labelItem1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.labelItem1.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom; this.labelItem1.BorderType = DevComponents.DotNetBar.eBorderType.Etched; this.labelItem1.Name = "labelItem1"; this.labelItem1.PaddingBottom = 5; this.labelItem1.PaddingLeft = 5; this.labelItem1.PaddingRight = 5; this.labelItem1.PaddingTop = 5; this.labelItem1.Text = "<b>Save a copy of the document</b>"; // // buttonItem56 // this.buttonItem56.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem56.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem56.Image"))); this.buttonItem56.Name = "buttonItem56"; this.buttonItem56.Text = "<b>&Rich Text Document</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Save the document " + "in the default file format.</div>"; // // buttonItem57 // this.buttonItem57.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem57.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem57.Image"))); this.buttonItem57.Name = "buttonItem57"; this.buttonItem57.Text = "<b>Document &Template</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Save as a template " + "that can be used to format future documents.</div>"; // // buttonItem58 // this.buttonItem58.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem58.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem58.Image"))); this.buttonItem58.Name = "buttonItem58"; this.buttonItem58.Text = "<b>&Find add-ins for other formats</b>\r\n<div padding=\"0,0,4,0\" width=\"180\">Learn " + "about add-ins to save to other formats such as PDF or XPS.</div>"; // // buttonItem59 // this.buttonItem59.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem59.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem59.Image"))); this.buttonItem59.Name = "buttonItem59"; this.buttonItem59.Text = "<b>&Other Formats</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Open the Save As dialog" + " box to select from all possible file types.</div>"; // // buttonItem23 // this.buttonItem23.BeginGroup = true; this.buttonItem23.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem23.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem23.Image"))); this.buttonItem23.Name = "buttonItem23"; this.buttonItem23.SubItemsExpandWidth = 24; this.buttonItem23.Text = "S&hare..."; // // buttonItem24 // this.buttonItem24.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem24.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem24.Image"))); this.buttonItem24.Name = "buttonItem24"; this.buttonItem24.SubItemsExpandWidth = 24; this.buttonItem24.Text = "&Print..."; // // buttonItem25 // this.buttonItem25.BeginGroup = true; this.buttonItem25.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem25.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem25.Image"))); this.buttonItem25.Name = "buttonItem25"; this.buttonItem25.SubItemsExpandWidth = 24; this.buttonItem25.Text = "&Close"; // // menuFileMRU // // // // this.menuFileMRU.BackgroundStyle.Class = "RibbonFileMenuColumnTwoContainer"; this.menuFileMRU.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileMRU.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.menuFileMRU.MinimumSize = new System.Drawing.Size(225, 0); this.menuFileMRU.Name = "menuFileMRU"; this.menuFileMRU.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelItem8, this.buttonItem26, this.buttonItem27, this.buttonItem28, this.buttonItem29}); // // // this.menuFileMRU.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // labelItem8 // this.labelItem8.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom; this.labelItem8.BorderType = DevComponents.DotNetBar.eBorderType.Etched; this.labelItem8.Name = "labelItem8"; this.labelItem8.PaddingBottom = 2; this.labelItem8.PaddingTop = 2; this.labelItem8.Stretch = true; this.labelItem8.Text = "Recent Documents"; // // buttonItem26 // this.buttonItem26.Name = "buttonItem26"; this.buttonItem26.Text = "&1. Short News 5-7.rtf"; // // buttonItem27 // this.buttonItem27.Name = "buttonItem27"; this.buttonItem27.Text = "&2. Prospect Email.rtf"; // // buttonItem28 // this.buttonItem28.Name = "buttonItem28"; this.buttonItem28.Text = "&3. Customer Email.rtf"; // // buttonItem29 // this.buttonItem29.Name = "buttonItem29"; this.buttonItem29.Text = "&4. example.rtf"; // // menuFileBottomContainer // // // // this.menuFileBottomContainer.BackgroundStyle.Class = "RibbonFileMenuBottomContainer"; this.menuFileBottomContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.menuFileBottomContainer.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Right; this.menuFileBottomContainer.Name = "menuFileBottomContainer"; this.menuFileBottomContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonOptions, this.buttonExit}); // // // this.menuFileBottomContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // buttonOptions // this.buttonOptions.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonOptions.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonOptions.Image = ((System.Drawing.Image)(resources.GetObject("buttonOptions.Image"))); this.buttonOptions.Name = "buttonOptions"; this.buttonOptions.SubItemsExpandWidth = 24; this.buttonOptions.Text = "RibbonPad Opt&ions"; // // buttonExit // this.buttonExit.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonExit.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonExit.Command = this.AppCommandExit; this.buttonExit.Image = ((System.Drawing.Image)(resources.GetObject("buttonExit.Image"))); this.buttonExit.Name = "buttonExit"; this.buttonExit.SubItemsExpandWidth = 24; this.buttonExit.Text = "E&xit RibbonPad"; // // buttonNew // this.buttonNew.Command = this.AppCommandNew; this.buttonNew.Image = ((System.Drawing.Image)(resources.GetObject("buttonNew.Image"))); this.buttonNew.Name = "buttonNew"; this.buttonNew.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlN); this.buttonNew.Text = "New Document"; // // buttonSave // this.buttonSave.Command = this.AppCommandSave; this.buttonSave.Enabled = false; this.buttonSave.Image = ((System.Drawing.Image)(resources.GetObject("buttonSave.Image"))); this.buttonSave.Name = "buttonSave"; this.buttonSave.Text = "buttonItem2"; // // buttonUndo // this.buttonUndo.Enabled = false; this.buttonUndo.Image = ((System.Drawing.Image)(resources.GetObject("buttonUndo.Image"))); this.buttonUndo.Name = "buttonUndo"; this.buttonUndo.Text = "Undo"; // // qatCustomizeItem1 // this.qatCustomizeItem1.Name = "qatCustomizeItem1"; // // ribbonTabItemGroup1 // this.ribbonTabItemGroup1.Color = DevComponents.DotNetBar.eRibbonTabGroupColor.Orange; this.ribbonTabItemGroup1.GroupTitle = "Tab Group"; this.ribbonTabItemGroup1.Name = "ribbonTabItemGroup1"; // // // this.ribbonTabItemGroup1.Style.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(158)))), ((int)(((byte)(159))))); this.ribbonTabItemGroup1.Style.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(226))))); this.ribbonTabItemGroup1.Style.BackColorGradientAngle = 90; this.ribbonTabItemGroup1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.ribbonTabItemGroup1.Style.BorderBottomWidth = 1; this.ribbonTabItemGroup1.Style.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(154)))), ((int)(((byte)(58)))), ((int)(((byte)(59))))); this.ribbonTabItemGroup1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.ribbonTabItemGroup1.Style.BorderLeftWidth = 1; this.ribbonTabItemGroup1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.ribbonTabItemGroup1.Style.BorderRightWidth = 1; this.ribbonTabItemGroup1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.ribbonTabItemGroup1.Style.BorderTopWidth = 1; this.ribbonTabItemGroup1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonTabItemGroup1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; this.ribbonTabItemGroup1.Style.TextColor = System.Drawing.Color.Black; this.ribbonTabItemGroup1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; // // buttonStyleMetro // this.buttonStyleMetro.Checked = true; this.buttonStyleMetro.Command = this.AppCommandTheme; this.buttonStyleMetro.CommandParameter = "Metro"; this.buttonStyleMetro.Name = "buttonStyleMetro"; this.buttonStyleMetro.OptionGroup = "style"; this.buttonStyleMetro.Text = "Metro/Office 2013"; // // AppCommandTheme // this.AppCommandTheme.Name = "AppCommandTheme"; this.AppCommandTheme.Executed += new System.EventHandler(this.AppCommandTheme_Executed); // // buttonItem47 // this.buttonItem47.BeginGroup = true; this.buttonItem47.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem47.Image"))); this.buttonItem47.Name = "buttonItem47"; this.buttonItem47.Text = "Search for Templates Online..."; // // buttonItem48 // this.buttonItem48.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem48.Image"))); this.buttonItem48.Name = "buttonItem48"; this.buttonItem48.Text = "Browse for Templates..."; // // buttonItem49 // this.buttonItem49.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem49.Image"))); this.buttonItem49.Name = "buttonItem49"; this.buttonItem49.Text = "Save Current Template..."; // // comboItem1 // this.comboItem1.Text = "6"; // // comboItem2 // this.comboItem2.Text = "7"; // // comboItem3 // this.comboItem3.Text = "8"; // // comboItem4 // this.comboItem4.Text = "9"; // // comboItem5 // this.comboItem5.Text = "10"; // // comboItem6 // this.comboItem6.Text = "11"; // // comboItem7 // this.comboItem7.Text = "12"; // // comboItem8 // this.comboItem8.Text = "13"; // // comboItem9 // this.comboItem9.Text = "14"; // // superTooltip1 // this.superTooltip1.DefaultFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.superTooltip1.MinimumTooltipSize = new System.Drawing.Size(150, 50); // // progressBarTimer // this.progressBarTimer.Enabled = true; this.progressBarTimer.Interval = 800; this.progressBarTimer.Tick += new System.EventHandler(this.progressBarTimer_Tick); // // styleManager1 // this.styleManager1.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2007Blue; this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(87)))), ((int)(((byte)(154)))))); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "OpenExistingPlace.png"); // // frmMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.ClientSize = new System.Drawing.Size(776, 500); this.Controls.Add(this.superTabControl1); this.Controls.Add(this.contextMenuBar); this.Controls.Add(this.tabStrip1); this.Controls.Add(this.mainRibbonControl); this.Controls.Add(this.bar1); this.Controls.Add(this.mdiClient1); this.EnableGlass = false; this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "frmMain"; this.Text = "����˹̹ƽ̨"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing); this.Load += new System.EventHandler(this.frmMain_Load); this.MdiChildActivate += new System.EventHandler(this.MdiChildActivated); this.Move += new System.EventHandler(this.frmMain_Move); ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit(); this.superTabControl1.ResumeLayout(false); this.superTabControlPanel1.ResumeLayout(false); this.panelEx2.ResumeLayout(false); this.panelEx1.ResumeLayout(false); this.superTabControlPanel2.ResumeLayout(false); this.superTabControlPanel4.ResumeLayout(false); this.superTabControlPanel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).EndInit(); this.ResumeLayout(false); }
private void InitLightForm() { MdiClient Client = new MdiClient(); Controls.Add(Client); this.lightForm = new LightForm(); this.lightForm.Size = new Size(100, 100); //Child.FormBorderStyle = FormBorderStyle.SizableToolWindow; this.lightForm.StartPosition = FormStartPosition.CenterParent; this.lightForm.MaximizeBox = false; this.lightForm.MinimizeBox = false; this.lightForm.MdiParent = this; pictureBox1.Controls.Add(this.lightForm); this.lightForm.Show(); }
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmMain)); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.barLeftDockSite = new DevComponents.DotNetBar.DockSite(); this.barTopDockSite = new DevComponents.DotNetBar.DockSite(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.dotNetBarManager1 = new DevComponents.DotNetBar.DotNetBarManager(this.components); this.barBottomDockSite = new DevComponents.DotNetBar.DockSite(); this.barRightDockSite = new DevComponents.DotNetBar.DockSite(); this.tabStrip1 = new DevComponents.DotNetBar.TabStrip(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.timerInfoBallon = new System.Windows.Forms.Timer(this.components); this.SuspendLayout(); // // openFileDialog1 // this.openFileDialog1.DefaultExt = "*.rtf"; this.openFileDialog1.Filter = "Text Files (*.txt)|*.txt|RTF Files (*.rtf)|*.rtf|All Files(*.*)|*.*"; this.openFileDialog1.FilterIndex = 2; this.openFileDialog1.Title = "Open File"; // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Location = new System.Drawing.Point(0, 100); this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.TabIndex = 5; // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Magenta; // // barLeftDockSite // this.barLeftDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barLeftDockSite.BackgroundImageAlpha = ((System.Byte)(255)); this.barLeftDockSite.Dock = System.Windows.Forms.DockStyle.Left; this.barLeftDockSite.Location = new System.Drawing.Point(0, 74); this.barLeftDockSite.Name = "barLeftDockSite"; this.barLeftDockSite.Size = new System.Drawing.Size(0, 278); this.barLeftDockSite.TabIndex = 3; this.barLeftDockSite.TabStop = false; // // barTopDockSite // this.barTopDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barTopDockSite.BackgroundImageAlpha = ((System.Byte)(255)); this.barTopDockSite.Dock = System.Windows.Forms.DockStyle.Top; this.barTopDockSite.Name = "barTopDockSite"; this.barTopDockSite.Size = new System.Drawing.Size(683, 74); this.barTopDockSite.TabIndex = 1; this.barTopDockSite.TabStop = false; // // saveFileDialog1 // this.saveFileDialog1.DefaultExt = "*.rtf"; this.saveFileDialog1.FileName = "doc1"; this.saveFileDialog1.Filter = "Text Files (*.txt)|*.txt|RTF Files (*.rtf)|*.rtf|All Files(*.*)|*.*"; this.saveFileDialog1.FilterIndex = 2; this.saveFileDialog1.Title = "Save File"; // // dotNetBarManager1 // this.dotNetBarManager1.BottomDockSite = this.barBottomDockSite; this.dotNetBarManager1.DefinitionName = "frmMain.dotNetBarManager1.xml"; this.dotNetBarManager1.Images = this.imageList1; this.dotNetBarManager1.LeftDockSite = this.barLeftDockSite; this.dotNetBarManager1.MdiSystemItemVisible = false; this.dotNetBarManager1.ParentForm = this; this.dotNetBarManager1.RightDockSite = this.barRightDockSite; this.dotNetBarManager1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.dotNetBarManager1.TopDockSite = this.barTopDockSite; this.dotNetBarManager1.PopupContainerLoad += new System.EventHandler(this.LoadPopup); this.dotNetBarManager1.MouseLeave += new System.EventHandler(this.dotNetBarManager1_MouseLeave); this.dotNetBarManager1.ContainerLoadControl += new System.EventHandler(this.ContainerLoadControl); this.dotNetBarManager1.ItemClick += new System.EventHandler(this.BarItemClick); this.dotNetBarManager1.DockTabChange += new DevComponents.DotNetBar.DotNetBarManager.DockTabChangeEventHandler(this.dotNetBarManager1_DockTabChange); this.dotNetBarManager1.MouseEnter += new System.EventHandler(this.dotNetBarManager1_MouseEnter); this.dotNetBarManager1.DefinitionLoaded += new System.EventHandler(this.ManagerDefinitionLoaded); this.dotNetBarManager1.PopupOpen += new DevComponents.DotNetBar.DotNetBarManager.PopupOpenEventHandler(this.dotNetBarManager1_PopupOpen); this.dotNetBarManager1.PopupContainerUnload += new System.EventHandler(this.UnloadPopup); // // barBottomDockSite // this.barBottomDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barBottomDockSite.BackgroundImageAlpha = ((System.Byte)(255)); this.barBottomDockSite.Dock = System.Windows.Forms.DockStyle.Bottom; this.barBottomDockSite.Location = new System.Drawing.Point(0, 352); this.barBottomDockSite.Name = "barBottomDockSite"; this.barBottomDockSite.Size = new System.Drawing.Size(683, 128); this.barBottomDockSite.TabIndex = 2; this.barBottomDockSite.TabStop = false; // // barRightDockSite // this.barRightDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barRightDockSite.BackgroundImageAlpha = ((System.Byte)(255)); this.barRightDockSite.Dock = System.Windows.Forms.DockStyle.Right; this.barRightDockSite.Location = new System.Drawing.Point(519, 74); this.barRightDockSite.Name = "barRightDockSite"; this.barRightDockSite.Size = new System.Drawing.Size(164, 278); this.barRightDockSite.TabIndex = 4; this.barRightDockSite.TabStop = false; // // tabStrip1 // this.tabStrip1.CanReorderTabs = true; this.tabStrip1.CloseButtonVisible = true; this.dotNetBarManager1.SetContextMenuEx(this.tabStrip1, "bTabContext"); this.tabStrip1.Dock = System.Windows.Forms.DockStyle.Top; this.tabStrip1.Location = new System.Drawing.Point(0, 74); this.tabStrip1.MdiTabbedDocuments = true; this.tabStrip1.Name = "tabStrip1"; this.tabStrip1.SelectedTab = null; this.tabStrip1.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.tabStrip1.Size = new System.Drawing.Size(519, 26); this.tabStrip1.Style = DevComponents.DotNetBar.eTabStripStyle.OneNote; this.tabStrip1.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Top; this.tabStrip1.TabIndex = 6; this.tabStrip1.Text = "tabStrip1"; this.tabStrip1.VariableTabWidth = false; // // timer1 // this.timer1.Interval = 1000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // timerInfoBallon // this.timerInfoBallon.Enabled = true; this.timerInfoBallon.Interval = 3000; this.timerInfoBallon.Tick += new System.EventHandler(this.timerInfoBallon_Tick); // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(683, 480); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.tabStrip1, this.barLeftDockSite, this.barRightDockSite, this.barTopDockSite, this.barBottomDockSite, this.mdiClient1 }); this.IsMdiContainer = true; this.Name = "frmMain"; this.Text = "DotNetBar Notepad Sample"; this.MdiChildActivate += new System.EventHandler(this.MdiChildActivated); this.Load += new System.EventHandler(this.frmMain_Load); this.Move += new System.EventHandler(this.frmMain_Move); this.ResumeLayout(false); }
public CustomMdiClientSubclasser(System.Windows.Forms.MdiClient client, CustomMdiClientSubclasserOwner owner) : base(client, owner) { }
internal void RefreshMdiItems() { if (this.mdi_window_list_item == null) { return; } Form parent_form = this.FindForm(); if (parent_form == null || parent_form.MainMenuStrip != this) { return; } MdiClient mdi = parent_form.MdiContainer; // If there isn't a MdiContainer, we don't need to worry about MdiItems :) if (mdi == null) { return; } // Make a copy so we can delete from the real one ToolStripItem[] loopitems = new ToolStripItem[this.mdi_window_list_item.DropDownItems.Count]; this.mdi_window_list_item.DropDownItems.CopyTo(loopitems, 0); // If the mdi child has been removed, remove our menu item foreach (ToolStripItem tsi in loopitems) { if (tsi is ToolStripMenuItem && (tsi as ToolStripMenuItem).IsMdiWindowListEntry) { if (!mdi.mdi_child_list.Contains((tsi as ToolStripMenuItem).MdiClientForm) || !(tsi as ToolStripMenuItem).MdiClientForm.Visible) { this.mdi_window_list_item.DropDownItems.Remove(tsi); } } } // Add the new forms and update state for (int i = 0; i < mdi.mdi_child_list.Count; i++) { Form mdichild = (Form)mdi.mdi_child_list[i]; ToolStripMenuItem tsi; if (!mdichild.Visible) { continue; } if ((tsi = FindMdiMenuItemOfForm(mdichild)) == null) { if (CountMdiMenuItems() == 0 && this.mdi_window_list_item.DropDownItems.Count > 0 && !(this.mdi_window_list_item.DropDownItems[this.mdi_window_list_item.DropDownItems.Count - 1] is ToolStripSeparator)) { this.mdi_window_list_item.DropDownItems.Add(new ToolStripSeparator()); } tsi = new ToolStripMenuItem(); tsi.MdiClientForm = mdichild; this.mdi_window_list_item.DropDownItems.Add(tsi); } tsi.Text = string.Format("&{0} {1}", i + 1, mdichild.Text); tsi.Checked = parent_form.ActiveMdiChild == mdichild; } // Check that everything is in the correct order if (NeedToReorderMdi()) { ReorderMdiMenu(); } }
public MdiWindowManager (Form form, MdiClient mdi_container) : base (form) { this.mdi_container = mdi_container; if (form.WindowState == FormWindowState.Normal) { NormalBounds = form.Bounds; } form_closed_handler = new EventHandler (FormClosed); form.Closed += form_closed_handler; form.TextChanged += new EventHandler (FormTextChangedHandler); form.SizeChanged += new EventHandler (FormSizeChangedHandler); form.LocationChanged += new EventHandler (FormLocationChangedHandler); form.VisibleChanged += new EventHandler (FormVisibleChangedHandler); draw_maximized_buttons = new PaintEventHandler (DrawMaximizedButtons); CreateIconMenus (); }
/// <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(frmMain)); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "!", "Description of the task number 1"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)))); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] { "", "Task number 2 "}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)))); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.barLeftDockSite = new DevComponents.DotNetBar.DockSite(); this.barTopDockSite = new DevComponents.DotNetBar.DockSite(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.dotNetBarManager1 = new DevComponents.DotNetBar.DotNetBarManager(this.components); this.barBottomDockSite = new DevComponents.DotNetBar.DockSite(); this.barTaskList = new DevComponents.DotNetBar.Bar(); this.panelDockContainer1 = new DevComponents.DotNetBar.PanelDockContainer(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.panelDockContainer2 = new DevComponents.DotNetBar.PanelDockContainer(); this.textBox1 = new System.Windows.Forms.TextBox(); this.dockTaskList = new DevComponents.DotNetBar.DockContainerItem(); this.dockSearchResults = new DevComponents.DotNetBar.DockContainerItem(); this.barRightDockSite = new DevComponents.DotNetBar.DockSite(); this.barTaskPane = new DevComponents.DotNetBar.Bar(); this.panelDockContainer4 = new DevComponents.DotNetBar.PanelDockContainer(); this.explorerBar1 = new DevComponents.DotNetBar.ExplorerBar(); this.explorerBarGroupItem1 = new DevComponents.DotNetBar.ExplorerBarGroupItem(); this.buttonItem32 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem31 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem26 = new DevComponents.DotNetBar.ButtonItem(); this.explorerBarGroupItem2 = new DevComponents.DotNetBar.ExplorerBarGroupItem(); this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem28 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem29 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem30 = new DevComponents.DotNetBar.ButtonItem(); this.panelDockContainer3 = new DevComponents.DotNetBar.PanelDockContainer(); this.listBox1 = new System.Windows.Forms.ListBox(); this.label2 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.TaskPane1 = new DevComponents.DotNetBar.DockContainerItem(); this.TaskPane2 = new DevComponents.DotNetBar.DockContainerItem(); this.dockSite4 = new DevComponents.DotNetBar.DockSite(); this.windowlist = new DevComponents.DotNetBar.Bar(); this.item_162 = new DevComponents.DotNetBar.MdiWindowListItem(); this.dockSite1 = new DevComponents.DotNetBar.DockSite(); this.dockSite2 = new DevComponents.DotNetBar.DockSite(); this.dockSite3 = new DevComponents.DotNetBar.DockSite(); this.mainmenu = new DevComponents.DotNetBar.Bar(); this.bFile = new DevComponents.DotNetBar.ButtonItem(); this.NewDocument = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); this.cmdCloseDocument = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem(); this.cmdSaveDocumentAs = new DevComponents.DotNetBar.ButtonItem(); this.cmdPageSetup = new DevComponents.DotNetBar.ButtonItem(); this.PrintPreview = new DevComponents.DotNetBar.ButtonItem(); this.Print = new DevComponents.DotNetBar.ButtonItem(); this.ExitApplication = new DevComponents.DotNetBar.ButtonItem(); this.bEdit = new DevComponents.DotNetBar.ButtonItem(); this.bUndo = new DevComponents.DotNetBar.ButtonItem(); this.bCut = new DevComponents.DotNetBar.ButtonItem(); this.bCopy = new DevComponents.DotNetBar.ButtonItem(); this.bPaste = new DevComponents.DotNetBar.ButtonItem(); this.bDelete = new DevComponents.DotNetBar.ButtonItem(); this.bSelectAll = new DevComponents.DotNetBar.ButtonItem(); this.Find = new DevComponents.DotNetBar.ButtonItem(); this.bFindNext = new DevComponents.DotNetBar.ButtonItem(); this.bReplace = new DevComponents.DotNetBar.ButtonItem(); this.bFormat = new DevComponents.DotNetBar.ButtonItem(); this.bBold = new DevComponents.DotNetBar.ButtonItem(); this.bItalic = new DevComponents.DotNetBar.ButtonItem(); this.bUnderline = new DevComponents.DotNetBar.ButtonItem(); this.bStrikethrough = new DevComponents.DotNetBar.ButtonItem(); this.bAlignLeft = new DevComponents.DotNetBar.ButtonItem(); this.bAlignCenter = new DevComponents.DotNetBar.ButtonItem(); this.bAlignRight = new DevComponents.DotNetBar.ButtonItem(); this.bTextColor = new DevComponents.DotNetBar.ColorPickerDropDown(); this.bWindow = new DevComponents.DotNetBar.ButtonItem(); this.WindowNew = new DevComponents.DotNetBar.ButtonItem(); this.WindowArrangeAll = new DevComponents.DotNetBar.ButtonItem(); this.item_236 = new DevComponents.DotNetBar.MdiWindowListItem(); this.bHelp = new DevComponents.DotNetBar.ButtonItem(); this.bAbout = new DevComponents.DotNetBar.ButtonItem(); this.bChangeStyle = new DevComponents.DotNetBar.ButtonItem(); this.cmdStyleOffice2003 = new DevComponents.DotNetBar.ButtonItem(); this.cmdStyleVS2005 = new DevComponents.DotNetBar.ButtonItem(); this.cmdStyleOfficeXP = new DevComponents.DotNetBar.ButtonItem(); this.cmdStyleOffice2007Blue = new DevComponents.DotNetBar.ButtonItem(); this.barStandard = new DevComponents.DotNetBar.Bar(); this.cmdNewDocument = new DevComponents.DotNetBar.ButtonItem(); this.cmdOpenDocument = new DevComponents.DotNetBar.ButtonItem(); this.cmdSaveDocument = new DevComponents.DotNetBar.ButtonItem(); this.cmdPrintPreview = new DevComponents.DotNetBar.ButtonItem(); this.cmdPrint = new DevComponents.DotNetBar.ButtonItem(); this.bThemes = new DevComponents.DotNetBar.ButtonItem(); this.cmdTabbedMdi = new DevComponents.DotNetBar.ButtonItem(); this.item_139 = new DevComponents.DotNetBar.CustomizeItem(); this.barEdit = new DevComponents.DotNetBar.Bar(); this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem10 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem11 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem12 = new DevComponents.DotNetBar.ButtonItem(); this.bFind = new DevComponents.DotNetBar.ButtonItem(); this.item_140 = new DevComponents.DotNetBar.CustomizeItem(); this.barFormat = new DevComponents.DotNetBar.Bar(); this.buttonItem14 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem15 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem16 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem17 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem18 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem19 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem20 = new DevComponents.DotNetBar.ButtonItem(); this.colorPickerDropDown1 = new DevComponents.DotNetBar.ColorPickerDropDown(); this.item_141 = new DevComponents.DotNetBar.CustomizeItem(); this.tabStrip1 = new DevComponents.DotNetBar.TabStrip(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.timerInfoBallon = new System.Windows.Forms.Timer(this.components); this.bar1 = new DevComponents.DotNetBar.Bar(); this.labelStatus = new DevComponents.DotNetBar.LabelItem(); this.labelPosition = new DevComponents.DotNetBar.LabelItem(); this.itemProgressBar = new DevComponents.DotNetBar.ProgressBarItem(); this.contextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); this.bDockContext = new DevComponents.DotNetBar.ButtonItem(); this.bTabContext = new DevComponents.DotNetBar.ButtonItem(); this.cmdContextSave = new DevComponents.DotNetBar.ButtonItem(); this.cmdContextClose = new DevComponents.DotNetBar.ButtonItem(); this.bTabColor = new DevComponents.DotNetBar.ButtonItem(); this.bEditPopup = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem22 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem23 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem24 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem25 = new DevComponents.DotNetBar.ButtonItem(); this.bTaskListMenu = new DevComponents.DotNetBar.ButtonItem(); this.item_477 = new DevComponents.DotNetBar.ButtonItem(); this.item_504 = new DevComponents.DotNetBar.ButtonItem(); this.item_531 = new DevComponents.DotNetBar.ButtonItem(); this.barBottomDockSite.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.barTaskList)).BeginInit(); this.barTaskList.SuspendLayout(); this.panelDockContainer1.SuspendLayout(); this.panelDockContainer2.SuspendLayout(); this.barRightDockSite.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.barTaskPane)).BeginInit(); this.barTaskPane.SuspendLayout(); this.panelDockContainer4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.explorerBar1)).BeginInit(); this.panelDockContainer3.SuspendLayout(); this.dockSite4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.windowlist)).BeginInit(); this.dockSite3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mainmenu)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barStandard)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barFormat)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).BeginInit(); this.SuspendLayout(); // // openFileDialog1 // this.openFileDialog1.DefaultExt = "*.rtf"; this.openFileDialog1.Filter = "Text Files (*.txt)|*.txt|RTF Files (*.rtf)|*.rtf|All Files(*.*)|*.*"; this.openFileDialog1.FilterIndex = 2; this.openFileDialog1.Title = "Open File"; // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Location = new System.Drawing.Point(0, 108); this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.Size = new System.Drawing.Size(473, 244); this.mdiClient1.TabIndex = 5; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Magenta; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); this.imageList1.Images.SetKeyName(8, ""); this.imageList1.Images.SetKeyName(9, ""); this.imageList1.Images.SetKeyName(10, ""); this.imageList1.Images.SetKeyName(11, ""); this.imageList1.Images.SetKeyName(12, ""); this.imageList1.Images.SetKeyName(13, ""); this.imageList1.Images.SetKeyName(14, ""); this.imageList1.Images.SetKeyName(15, ""); this.imageList1.Images.SetKeyName(16, ""); this.imageList1.Images.SetKeyName(17, ""); this.imageList1.Images.SetKeyName(18, ""); this.imageList1.Images.SetKeyName(19, ""); this.imageList1.Images.SetKeyName(20, ""); this.imageList1.Images.SetKeyName(21, ""); this.imageList1.Images.SetKeyName(22, ""); this.imageList1.Images.SetKeyName(23, ""); // // barLeftDockSite // this.barLeftDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barLeftDockSite.Dock = System.Windows.Forms.DockStyle.Left; this.barLeftDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.barLeftDockSite.Location = new System.Drawing.Point(0, 80); this.barLeftDockSite.Name = "barLeftDockSite"; this.barLeftDockSite.Size = new System.Drawing.Size(0, 272); this.barLeftDockSite.TabIndex = 3; this.barLeftDockSite.TabStop = false; // // barTopDockSite // this.barTopDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barTopDockSite.Dock = System.Windows.Forms.DockStyle.Top; this.barTopDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.barTopDockSite.Location = new System.Drawing.Point(0, 80); this.barTopDockSite.Name = "barTopDockSite"; this.barTopDockSite.Size = new System.Drawing.Size(704, 0); this.barTopDockSite.TabIndex = 1; this.barTopDockSite.TabStop = false; // // saveFileDialog1 // this.saveFileDialog1.DefaultExt = "*.rtf"; this.saveFileDialog1.FileName = "doc1"; this.saveFileDialog1.Filter = "Text Files (*.txt)|*.txt|RTF Files (*.rtf)|*.rtf|All Files(*.*)|*.*"; this.saveFileDialog1.FilterIndex = 2; this.saveFileDialog1.Title = "Save File"; // // dotNetBarManager1 // this.dotNetBarManager1.BottomDockSite = this.barBottomDockSite; this.dotNetBarManager1.DefinitionName = ""; this.dotNetBarManager1.Images = this.imageList1; this.dotNetBarManager1.LeftDockSite = this.barLeftDockSite; this.dotNetBarManager1.MdiSystemItemVisible = false; this.dotNetBarManager1.ParentForm = this; this.dotNetBarManager1.RightDockSite = this.barRightDockSite; this.dotNetBarManager1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.dotNetBarManager1.ToolbarBottomDockSite = this.dockSite4; this.dotNetBarManager1.ToolbarLeftDockSite = this.dockSite1; this.dotNetBarManager1.ToolbarRightDockSite = this.dockSite2; this.dotNetBarManager1.ToolbarTopDockSite = this.dockSite3; this.dotNetBarManager1.TopDockSite = this.barTopDockSite; this.dotNetBarManager1.BarClosing += new DevComponents.DotNetBar.DotNetBarManager.BarClosingEventHandler(this.dotNetBarManager1_BarClosing); this.dotNetBarManager1.ItemClick += new System.EventHandler(this.BarItemClick); this.dotNetBarManager1.PopupContainerLoad += new System.EventHandler(this.LoadPopup); this.dotNetBarManager1.MouseLeave += new System.EventHandler(this.dotNetBarManager1_MouseLeave); this.dotNetBarManager1.MouseEnter += new System.EventHandler(this.dotNetBarManager1_MouseEnter); this.dotNetBarManager1.PopupContainerUnload += new System.EventHandler(this.UnloadPopup); this.dotNetBarManager1.DockTabChange += new DevComponents.DotNetBar.DotNetBarManager.DockTabChangeEventHandler(this.dotNetBarManager1_DockTabChange); // // barBottomDockSite // this.barBottomDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barBottomDockSite.Controls.Add(this.barTaskList); this.barBottomDockSite.Dock = System.Windows.Forms.DockStyle.Bottom; this.barBottomDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] { ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.barTaskList, 704, 128)))}, DevComponents.DotNetBar.eOrientation.Vertical); this.barBottomDockSite.Location = new System.Drawing.Point(0, 352); this.barBottomDockSite.Name = "barBottomDockSite"; this.barBottomDockSite.Size = new System.Drawing.Size(704, 131); this.barBottomDockSite.TabIndex = 2; this.barBottomDockSite.TabStop = false; // // barTaskList // this.barTaskList.AccessibleDescription = "DotNetBar Bar (barTaskList)"; this.barTaskList.AccessibleName = "DotNetBar Bar"; this.barTaskList.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.barTaskList.CanCustomize = false; this.barTaskList.CanHide = true; this.contextMenuBar1.SetContextMenuEx(this.barTaskList, this.bDockContext); this.barTaskList.Controls.Add(this.panelDockContainer1); this.barTaskList.Controls.Add(this.panelDockContainer2); this.barTaskList.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.Caption; this.barTaskList.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.dockTaskList, this.dockSearchResults}); this.barTaskList.LayoutType = DevComponents.DotNetBar.eLayoutType.DockContainer; this.barTaskList.Location = new System.Drawing.Point(0, 3); this.barTaskList.Name = "barTaskList"; this.barTaskList.SelectedDockTab = 0; this.barTaskList.Size = new System.Drawing.Size(704, 128); this.barTaskList.Stretch = true; this.barTaskList.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.barTaskList.TabIndex = 0; this.barTaskList.TabNavigation = true; this.barTaskList.TabStop = false; this.barTaskList.Text = "Dockable Window"; // // panelDockContainer1 // this.panelDockContainer1.Controls.Add(this.listView1); this.panelDockContainer1.Location = new System.Drawing.Point(3, 23); this.panelDockContainer1.Name = "panelDockContainer1"; this.panelDockContainer1.Size = new System.Drawing.Size(698, 77); this.panelDockContainer1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelDockContainer1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.panelDockContainer1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.panelDockContainer1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; this.panelDockContainer1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.panelDockContainer1.Style.GradientAngle = 90; this.panelDockContainer1.TabIndex = 1; // // listView1 // this.listView1.BackColor = System.Drawing.SystemColors.Window; this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2}); this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; this.listView1.FullRowSelect = true; this.listView1.GridLines = true; this.listView1.HideSelection = false; this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2}); this.listView1.Location = new System.Drawing.Point(0, 0); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(698, 77); this.listView1.TabIndex = 2; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "!"; this.columnHeader1.Width = 18; // // columnHeader2 // this.columnHeader2.Text = "Description"; this.columnHeader2.Width = 110; // // panelDockContainer2 // this.panelDockContainer2.Controls.Add(this.textBox1); this.panelDockContainer2.Location = new System.Drawing.Point(3, 23); this.panelDockContainer2.Name = "panelDockContainer2"; this.panelDockContainer2.Size = new System.Drawing.Size(698, 77); this.panelDockContainer2.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelDockContainer2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.panelDockContainer2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.panelDockContainer2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; this.panelDockContainer2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.panelDockContainer2.Style.GradientAngle = 90; this.panelDockContainer2.TabIndex = 2; // // textBox1 // this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox1.Location = new System.Drawing.Point(0, 0); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(698, 16); this.textBox1.TabIndex = 0; // // dockTaskList // this.dockTaskList.Control = this.panelDockContainer1; this.dockTaskList.DefaultFloatingSize = new System.Drawing.Size(256, 196); this.dockTaskList.GlobalItem = true; this.dockTaskList.GlobalName = "dockTaskList"; this.dockTaskList.Image = ((System.Drawing.Image)(resources.GetObject("dockTaskList.Image"))); this.dockTaskList.Name = "dockTaskList"; this.dockTaskList.Text = "Task ListView"; // // dockSearchResults // this.dockSearchResults.Control = this.panelDockContainer2; this.dockSearchResults.DefaultFloatingSize = new System.Drawing.Size(256, 196); this.dockSearchResults.GlobalItem = true; this.dockSearchResults.GlobalName = "dockSearchResults"; this.dockSearchResults.Image = ((System.Drawing.Image)(resources.GetObject("dockSearchResults.Image"))); this.dockSearchResults.Name = "dockSearchResults"; this.dockSearchResults.Text = "Search Results"; // // barRightDockSite // this.barRightDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barRightDockSite.Controls.Add(this.barTaskPane); this.barRightDockSite.Dock = System.Windows.Forms.DockStyle.Right; this.barRightDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] { ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.barTaskPane, 228, 272)))}, DevComponents.DotNetBar.eOrientation.Horizontal); this.barRightDockSite.Location = new System.Drawing.Point(473, 80); this.barRightDockSite.Name = "barRightDockSite"; this.barRightDockSite.Size = new System.Drawing.Size(231, 272); this.barRightDockSite.TabIndex = 4; this.barRightDockSite.TabStop = false; // // barTaskPane // this.barTaskPane.AccessibleDescription = "DotNetBar Bar (barTaskPane)"; this.barTaskPane.AccessibleName = "DotNetBar Bar"; this.barTaskPane.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.barTaskPane.AutoSyncBarCaption = true; this.barTaskPane.Controls.Add(this.panelDockContainer4); this.barTaskPane.Controls.Add(this.panelDockContainer3); this.barTaskPane.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.CaptionTaskPane; this.barTaskPane.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.TaskPane1, this.TaskPane2}); this.barTaskPane.LayoutType = DevComponents.DotNetBar.eLayoutType.DockContainer; this.barTaskPane.Location = new System.Drawing.Point(3, 0); this.barTaskPane.Name = "barTaskPane"; this.barTaskPane.SelectedDockTab = 0; this.barTaskPane.Size = new System.Drawing.Size(228, 272); this.barTaskPane.Stretch = true; this.barTaskPane.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.barTaskPane.TabIndex = 0; this.barTaskPane.TabStop = false; this.barTaskPane.Text = "Getting Started"; // // panelDockContainer4 // this.panelDockContainer4.Controls.Add(this.explorerBar1); this.panelDockContainer4.Location = new System.Drawing.Point(3, 26); this.panelDockContainer4.Name = "panelDockContainer4"; this.panelDockContainer4.Size = new System.Drawing.Size(222, 243); this.panelDockContainer4.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelDockContainer4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.panelDockContainer4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.panelDockContainer4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; this.panelDockContainer4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.panelDockContainer4.Style.GradientAngle = 90; this.panelDockContainer4.TabIndex = 2; // // explorerBar1 // this.explorerBar1.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.explorerBar1.BackColor = System.Drawing.SystemColors.Control; // // // this.explorerBar1.BackStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.explorerBar1.BackStyle.BackColorGradientAngle = 90; this.explorerBar1.BackStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.explorerBar1.Dock = System.Windows.Forms.DockStyle.Fill; this.explorerBar1.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.explorerBar1.GroupImages = null; this.explorerBar1.Groups.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.explorerBarGroupItem1, this.explorerBarGroupItem2}); this.explorerBar1.Images = null; this.explorerBar1.Location = new System.Drawing.Point(0, 0); this.explorerBar1.Name = "explorerBar1"; this.explorerBar1.Size = new System.Drawing.Size(222, 243); this.explorerBar1.TabIndex = 4; this.explorerBar1.Text = "explorerBar1"; // // explorerBarGroupItem1 // // // // this.explorerBarGroupItem1.BackStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.explorerBarGroupItem1.BackStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.explorerBarGroupItem1.BackStyle.BorderColor = System.Drawing.Color.White; this.explorerBarGroupItem1.BackStyle.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.explorerBarGroupItem1.BackStyle.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.explorerBarGroupItem1.BackStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.explorerBarGroupItem1.ExpandBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(174)))), ((int)(((byte)(182)))), ((int)(((byte)(216))))); this.explorerBarGroupItem1.ExpandButtonVisible = false; this.explorerBarGroupItem1.Expanded = true; this.explorerBarGroupItem1.ExpandForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(60)))), ((int)(((byte)(165))))); this.explorerBarGroupItem1.ExpandHotBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(174)))), ((int)(((byte)(182)))), ((int)(((byte)(216))))); this.explorerBarGroupItem1.ExpandHotForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); this.explorerBarGroupItem1.HeaderExpands = false; this.explorerBarGroupItem1.Name = "explorerBarGroupItem1"; this.explorerBarGroupItem1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem32, this.buttonItem31, this.buttonItem26}); this.explorerBarGroupItem1.Text = "Assistance"; // // // this.explorerBarGroupItem1.TitleHotStyle.BackColor = System.Drawing.Color.White; this.explorerBarGroupItem1.TitleHotStyle.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(199)))), ((int)(((byte)(211)))), ((int)(((byte)(247))))); this.explorerBarGroupItem1.TitleHotStyle.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World); this.explorerBarGroupItem1.TitleHotStyle.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); // // // this.explorerBarGroupItem1.TitleStyle.BackColor = System.Drawing.Color.White; this.explorerBarGroupItem1.TitleStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.explorerBarGroupItem1.TitleStyle.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World); this.explorerBarGroupItem1.TitleStyle.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(93)))), ((int)(((byte)(198))))); // // buttonItem32 // this.buttonItem32.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(93)))), ((int)(((byte)(198))))); this.buttonItem32.HotFontUnderline = true; this.buttonItem32.HotForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); this.buttonItem32.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.None; this.buttonItem32.Name = "buttonItem32"; this.buttonItem32.PopupSide = DevComponents.DotNetBar.ePopupSide.Left; this.buttonItem32.Text = " Connect to DevComponents Online"; // // buttonItem31 // this.buttonItem31.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(93)))), ((int)(((byte)(198))))); this.buttonItem31.HotFontUnderline = true; this.buttonItem31.HotForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); this.buttonItem31.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.None; this.buttonItem31.Name = "buttonItem31"; this.buttonItem31.PopupSide = DevComponents.DotNetBar.ePopupSide.Left; this.buttonItem31.Text = " Get latest news about using this product"; // // buttonItem26 // this.buttonItem26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(93)))), ((int)(((byte)(198))))); this.buttonItem26.HotFontUnderline = true; this.buttonItem26.HotForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); this.buttonItem26.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.None; this.buttonItem26.Name = "buttonItem26"; this.buttonItem26.PopupSide = DevComponents.DotNetBar.ePopupSide.Left; this.buttonItem26.Text = " Automatically update this list from web"; // // explorerBarGroupItem2 // // // // this.explorerBarGroupItem2.BackStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.explorerBarGroupItem2.BackStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.explorerBarGroupItem2.BackStyle.BorderColor = System.Drawing.Color.White; this.explorerBarGroupItem2.BackStyle.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.explorerBarGroupItem2.BackStyle.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.explorerBarGroupItem2.BackStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.explorerBarGroupItem2.ExpandBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(174)))), ((int)(((byte)(182)))), ((int)(((byte)(216))))); this.explorerBarGroupItem2.ExpandButtonVisible = false; this.explorerBarGroupItem2.Expanded = true; this.explorerBarGroupItem2.ExpandForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(60)))), ((int)(((byte)(165))))); this.explorerBarGroupItem2.ExpandHotBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(174)))), ((int)(((byte)(182)))), ((int)(((byte)(216))))); this.explorerBarGroupItem2.ExpandHotForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); this.explorerBarGroupItem2.HeaderExpands = false; this.explorerBarGroupItem2.Name = "explorerBarGroupItem2"; this.explorerBarGroupItem2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem27, this.buttonItem28, this.buttonItem29, this.buttonItem30}); this.explorerBarGroupItem2.Text = "Open"; // // // this.explorerBarGroupItem2.TitleHotStyle.BackColor = System.Drawing.Color.White; this.explorerBarGroupItem2.TitleHotStyle.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(199)))), ((int)(((byte)(211)))), ((int)(((byte)(247))))); this.explorerBarGroupItem2.TitleHotStyle.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World); this.explorerBarGroupItem2.TitleHotStyle.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); // // // this.explorerBarGroupItem2.TitleStyle.BackColor = System.Drawing.Color.White; this.explorerBarGroupItem2.TitleStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.explorerBarGroupItem2.TitleStyle.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World); this.explorerBarGroupItem2.TitleStyle.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(93)))), ((int)(((byte)(198))))); // // buttonItem27 // this.buttonItem27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(93)))), ((int)(((byte)(198))))); this.buttonItem27.HotFontUnderline = true; this.buttonItem27.HotForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); this.buttonItem27.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.None; this.buttonItem27.Name = "buttonItem27"; this.buttonItem27.PopupSide = DevComponents.DotNetBar.ePopupSide.Left; this.buttonItem27.Text = "Document1.doc"; // // buttonItem28 // this.buttonItem28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(93)))), ((int)(((byte)(198))))); this.buttonItem28.HotFontUnderline = true; this.buttonItem28.HotForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); this.buttonItem28.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.None; this.buttonItem28.Name = "buttonItem28"; this.buttonItem28.PopupSide = DevComponents.DotNetBar.ePopupSide.Left; this.buttonItem28.Text = "My Document 2.doc"; // // buttonItem29 // this.buttonItem29.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(93)))), ((int)(((byte)(198))))); this.buttonItem29.HotFontUnderline = true; this.buttonItem29.HotForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); this.buttonItem29.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.None; this.buttonItem29.Name = "buttonItem29"; this.buttonItem29.PopupSide = DevComponents.DotNetBar.ePopupSide.Left; this.buttonItem29.Text = "Report.doc"; // // buttonItem30 // this.buttonItem30.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(93)))), ((int)(((byte)(198))))); this.buttonItem30.HotFontUnderline = true; this.buttonItem30.HotForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(142)))), ((int)(((byte)(255))))); this.buttonItem30.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.None; this.buttonItem30.Name = "buttonItem30"; this.buttonItem30.PopupSide = DevComponents.DotNetBar.ePopupSide.Left; this.buttonItem30.Text = "End of year account.doc"; // // panelDockContainer3 // this.panelDockContainer3.Controls.Add(this.listBox1); this.panelDockContainer3.Controls.Add(this.label2); this.panelDockContainer3.Controls.Add(this.button1); this.panelDockContainer3.Controls.Add(this.textBox2); this.panelDockContainer3.Controls.Add(this.label1); this.panelDockContainer3.Location = new System.Drawing.Point(3, 26); this.panelDockContainer3.Name = "panelDockContainer3"; this.panelDockContainer3.Size = new System.Drawing.Size(222, 243); this.panelDockContainer3.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelDockContainer3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.panelDockContainer3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.panelDockContainer3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; this.panelDockContainer3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.panelDockContainer3.Style.GradientAngle = 90; this.panelDockContainer3.TabIndex = 1; // // listBox1 // this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.listBox1.IntegralHeight = false; this.listBox1.ItemHeight = 17; this.listBox1.Location = new System.Drawing.Point(8, 78); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(205, 163); this.listBox1.TabIndex = 9; // // label2 // this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Location = new System.Drawing.Point(8, 60); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(96, 18); this.label2.TabIndex = 8; this.label2.Text = "Search results:"; // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button1.BackColor = System.Drawing.Color.Transparent; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.ForeColor = System.Drawing.Color.Transparent; this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); this.button1.Location = new System.Drawing.Point(184, 26); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(25, 22); this.button1.TabIndex = 7; this.button1.UseVisualStyleBackColor = false; // // textBox2 // this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textBox2.Location = new System.Drawing.Point(8, 26); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(169, 23); this.textBox2.TabIndex = 6; // // label1 // this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Location = new System.Drawing.Point(8, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(96, 17); this.label1.TabIndex = 5; this.label1.Text = "Search for:"; // // TaskPane1 // this.TaskPane1.Control = this.panelDockContainer4; this.TaskPane1.DefaultFloatingSize = new System.Drawing.Size(193, 290); this.TaskPane1.GlobalItem = true; this.TaskPane1.GlobalName = "TaskPane1"; this.TaskPane1.Name = "TaskPane1"; this.TaskPane1.Text = "Getting Started"; // // TaskPane2 // this.TaskPane2.Control = this.panelDockContainer3; this.TaskPane2.DefaultFloatingSize = new System.Drawing.Size(193, 290); this.TaskPane2.GlobalItem = true; this.TaskPane2.GlobalName = "TaskPane2"; this.TaskPane2.Name = "TaskPane2"; this.TaskPane2.Text = "Research"; // // dockSite4 // this.dockSite4.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite4.Controls.Add(this.windowlist); this.dockSite4.Dock = System.Windows.Forms.DockStyle.Bottom; this.dockSite4.Location = new System.Drawing.Point(0, 483); this.dockSite4.Name = "dockSite4"; this.dockSite4.Size = new System.Drawing.Size(704, 28); this.dockSite4.TabIndex = 11; this.dockSite4.TabStop = false; // // windowlist // this.windowlist.AccessibleDescription = "Open Windows (windowlist)"; this.windowlist.AccessibleName = "Open Windows"; this.windowlist.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.windowlist.CanDockLeft = false; this.windowlist.CanDockRight = false; this.windowlist.CanDockTop = false; this.windowlist.DockSide = DevComponents.DotNetBar.eDockSide.Bottom; this.windowlist.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.item_162}); this.windowlist.Location = new System.Drawing.Point(0, 0); this.windowlist.Name = "windowlist"; this.windowlist.Size = new System.Drawing.Size(704, 27); this.windowlist.Stretch = true; this.windowlist.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.windowlist.TabIndex = 0; this.windowlist.TabStop = false; this.windowlist.Text = "Open Windows"; this.windowlist.Visible = false; // // item_162 // this.item_162.GlobalName = "item_162"; this.item_162.Name = "item_162"; this.item_162.ShowWindowIcons = true; this.item_162.Text = "MDI Window List"; // // dockSite1 // this.dockSite1.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite1.Dock = System.Windows.Forms.DockStyle.Left; this.dockSite1.Location = new System.Drawing.Point(0, 80); this.dockSite1.Name = "dockSite1"; this.dockSite1.Size = new System.Drawing.Size(0, 403); this.dockSite1.TabIndex = 8; this.dockSite1.TabStop = false; // // dockSite2 // this.dockSite2.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite2.Dock = System.Windows.Forms.DockStyle.Right; this.dockSite2.Location = new System.Drawing.Point(704, 80); this.dockSite2.Name = "dockSite2"; this.dockSite2.Size = new System.Drawing.Size(0, 403); this.dockSite2.TabIndex = 9; this.dockSite2.TabStop = false; // // dockSite3 // this.dockSite3.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite3.Controls.Add(this.mainmenu); this.dockSite3.Controls.Add(this.barStandard); this.dockSite3.Controls.Add(this.barEdit); this.dockSite3.Controls.Add(this.barFormat); this.dockSite3.Dock = System.Windows.Forms.DockStyle.Top; this.dockSite3.Location = new System.Drawing.Point(0, 0); this.dockSite3.Name = "dockSite3"; this.dockSite3.Size = new System.Drawing.Size(704, 80); this.dockSite3.TabIndex = 10; this.dockSite3.TabStop = false; // // mainmenu // this.mainmenu.AccessibleDescription = "DotNetBar Bar (mainmenu)"; this.mainmenu.AccessibleName = "DotNetBar Bar"; this.mainmenu.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar; this.mainmenu.DockSide = DevComponents.DotNetBar.eDockSide.Top; this.mainmenu.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.bFile, this.bEdit, this.bFormat, this.bWindow, this.bHelp, this.bChangeStyle}); this.mainmenu.Location = new System.Drawing.Point(0, 0); this.mainmenu.LockDockPosition = true; this.mainmenu.MenuBar = true; this.mainmenu.Name = "mainmenu"; this.mainmenu.Size = new System.Drawing.Size(704, 26); this.mainmenu.Stretch = true; this.mainmenu.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.mainmenu.TabIndex = 0; this.mainmenu.TabStop = false; this.mainmenu.Text = "Main Menu"; // // bFile // this.bFile.Category = "Main Menu"; this.bFile.GlobalName = "bFile"; this.bFile.Name = "bFile"; this.bFile.PersonalizedMenus = DevComponents.DotNetBar.ePersonalizedMenus.Both; this.bFile.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.NewDocument, this.buttonItem1, this.cmdCloseDocument, this.buttonItem2, this.cmdSaveDocumentAs, this.cmdPageSetup, this.PrintPreview, this.Print, this.ExitApplication}); this.bFile.Text = "&File"; // // NewDocument // this.NewDocument.Category = "File"; this.NewDocument.GlobalName = "NewDocument"; this.NewDocument.ImageIndex = 10; this.NewDocument.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.NewDocument.Name = "NewDocument"; this.NewDocument.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.NewDocument.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlN); this.NewDocument.Text = "&New"; this.NewDocument.Tooltip = "Create new document"; this.NewDocument.Click += new System.EventHandler(this.cmdNewDocument_Click); // // buttonItem1 // this.buttonItem1.Category = "File"; this.buttonItem1.GlobalName = "OpenDocument"; this.buttonItem1.ImageIndex = 11; this.buttonItem1.Name = "buttonItem1"; this.buttonItem1.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem1.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlO); this.buttonItem1.Text = "&Open"; this.buttonItem1.Tooltip = "Open existing document"; this.buttonItem1.Click += new System.EventHandler(this.cmdOpenDocument_Click); // // cmdCloseDocument // this.cmdCloseDocument.Category = "File"; this.cmdCloseDocument.Enabled = false; this.cmdCloseDocument.GlobalName = "CloseDocument"; this.cmdCloseDocument.ImageIndex = 3; this.cmdCloseDocument.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.cmdCloseDocument.Name = "cmdCloseDocument"; this.cmdCloseDocument.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.cmdCloseDocument.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlC); this.cmdCloseDocument.Text = "&Close"; this.cmdCloseDocument.Tooltip = "Close active document"; this.cmdCloseDocument.Click += new System.EventHandler(this.cmdCloseDocument_Click); // // buttonItem2 // this.buttonItem2.BeginGroup = true; this.buttonItem2.Category = "File"; this.buttonItem2.GlobalName = "SaveDocument"; this.buttonItem2.ImageIndex = 17; this.buttonItem2.Name = "buttonItem2"; this.buttonItem2.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem2.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlS); this.buttonItem2.Text = "&Save"; this.buttonItem2.Tooltip = "Save active document"; this.buttonItem2.Click += new System.EventHandler(this.cmdSaveDocument_Click); // // cmdSaveDocumentAs // this.cmdSaveDocumentAs.Category = "File"; this.cmdSaveDocumentAs.GlobalName = "SaveDocumentAs"; this.cmdSaveDocumentAs.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.cmdSaveDocumentAs.Name = "cmdSaveDocumentAs"; this.cmdSaveDocumentAs.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.cmdSaveDocumentAs.Text = "Save &As..."; this.cmdSaveDocumentAs.Click += new System.EventHandler(this.cmdSaveDocumentAs_Click); // // cmdPageSetup // this.cmdPageSetup.BeginGroup = true; this.cmdPageSetup.Category = "File"; this.cmdPageSetup.GlobalName = "PageSetup"; this.cmdPageSetup.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.cmdPageSetup.Name = "cmdPageSetup"; this.cmdPageSetup.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.cmdPageSetup.Text = "Page &Setup..."; this.cmdPageSetup.Click += new System.EventHandler(this.cmdPageSetup_Click); // // PrintPreview // this.PrintPreview.Category = "File"; this.PrintPreview.GlobalName = "PrintPreview"; this.PrintPreview.ImageIndex = 14; this.PrintPreview.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.PrintPreview.Name = "PrintPreview"; this.PrintPreview.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.PrintPreview.Text = "Print Pre&view"; this.PrintPreview.Click += new System.EventHandler(this.cmdPrintPreview_Click); // // Print // this.Print.Category = "File"; this.Print.GlobalName = "Print"; this.Print.ImageIndex = 13; this.Print.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.Print.Name = "Print"; this.Print.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.Print.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlP); this.Print.Text = "&Print"; this.Print.Click += new System.EventHandler(this.cmdPrint_Click); // // ExitApplication // this.ExitApplication.BeginGroup = true; this.ExitApplication.Category = "File"; this.ExitApplication.GlobalName = "ExitApplication"; this.ExitApplication.Name = "ExitApplication"; this.ExitApplication.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.ExitApplication.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlX); this.ExitApplication.Text = "E&xit"; this.ExitApplication.Click += new System.EventHandler(this.cmdExitApplication_Click); // // bEdit // this.bEdit.Category = "Main Menu"; this.bEdit.GlobalName = "bEdit"; this.bEdit.Name = "bEdit"; this.bEdit.PersonalizedMenus = DevComponents.DotNetBar.ePersonalizedMenus.Both; this.bEdit.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.bUndo, this.bCut, this.bCopy, this.bPaste, this.bDelete, this.bSelectAll, this.Find, this.bFindNext, this.bReplace}); this.bEdit.Text = "&Edit"; // // bUndo // this.bUndo.Category = "Edit"; this.bUndo.Enabled = false; this.bUndo.GlobalName = "bUndo"; this.bUndo.ImageIndex = 19; this.bUndo.Name = "bUndo"; this.bUndo.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bUndo.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlZ); this.bUndo.Text = "&Undo"; // // bCut // this.bCut.BeginGroup = true; this.bCut.Category = "Edit"; this.bCut.Enabled = false; this.bCut.GlobalName = "bCut"; this.bCut.ImageIndex = 5; this.bCut.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bCut.Name = "bCut"; this.bCut.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bCut.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlX); this.bCut.Text = "Cu&t"; // // bCopy // this.bCopy.Category = "Edit"; this.bCopy.Enabled = false; this.bCopy.GlobalName = "bCopy"; this.bCopy.ImageIndex = 4; this.bCopy.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bCopy.Name = "bCopy"; this.bCopy.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bCopy.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlC); this.bCopy.Text = "&Copy"; // // bPaste // this.bPaste.Category = "Edit"; this.bPaste.Enabled = false; this.bPaste.GlobalName = "bPaste"; this.bPaste.ImageIndex = 12; this.bPaste.Name = "bPaste"; this.bPaste.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bPaste.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlV); this.bPaste.Text = "&Paste"; // // bDelete // this.bDelete.Category = "Edit"; this.bDelete.Enabled = false; this.bDelete.GlobalName = "bDelete"; this.bDelete.ImageIndex = 2; this.bDelete.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bDelete.Name = "bDelete"; this.bDelete.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bDelete.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlD); this.bDelete.Text = "&Delete"; // // bSelectAll // this.bSelectAll.BeginGroup = true; this.bSelectAll.Category = "Edit"; this.bSelectAll.Enabled = false; this.bSelectAll.GlobalName = "bSelectAll"; this.bSelectAll.Name = "bSelectAll"; this.bSelectAll.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bSelectAll.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlA); this.bSelectAll.Text = "Select &All"; // // Find // this.Find.BeginGroup = true; this.Find.Category = "Edit"; this.Find.Enabled = false; this.Find.GlobalName = "Find"; this.Find.ImageIndex = 7; this.Find.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.Find.Name = "Find"; this.Find.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.Find.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlF); this.Find.Text = "&Find..."; // // bFindNext // this.bFindNext.Category = "Edit"; this.bFindNext.Enabled = false; this.bFindNext.GlobalName = "bFindNext"; this.bFindNext.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bFindNext.Name = "bFindNext"; this.bFindNext.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bFindNext.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.F3); this.bFindNext.Text = "Find &Next"; // // bReplace // this.bReplace.Category = "Edit"; this.bReplace.Enabled = false; this.bReplace.GlobalName = "bReplace"; this.bReplace.ImageIndex = 15; this.bReplace.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bReplace.Name = "bReplace"; this.bReplace.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bReplace.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlH); this.bReplace.Text = "&Replace..."; // // bFormat // this.bFormat.Category = "Main Menu"; this.bFormat.GlobalName = "bFormat"; this.bFormat.Name = "bFormat"; this.bFormat.PersonalizedMenus = DevComponents.DotNetBar.ePersonalizedMenus.Both; this.bFormat.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.bBold, this.bItalic, this.bUnderline, this.bStrikethrough, this.bAlignLeft, this.bAlignCenter, this.bAlignRight, this.bTextColor}); this.bFormat.Text = "F&ormat"; // // bBold // this.bBold.Category = "Format"; this.bBold.Enabled = false; this.bBold.GlobalName = "bBold"; this.bBold.ImageIndex = 0; this.bBold.Name = "bBold"; this.bBold.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bBold.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlB); this.bBold.Text = "&Bold"; // // bItalic // this.bItalic.Category = "Format"; this.bItalic.Enabled = false; this.bItalic.GlobalName = "bItalic"; this.bItalic.ImageIndex = 8; this.bItalic.Name = "bItalic"; this.bItalic.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bItalic.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlI); this.bItalic.Text = "&Italic"; // // bUnderline // this.bUnderline.Category = "Format"; this.bUnderline.Enabled = false; this.bUnderline.GlobalName = "bUnderline"; this.bUnderline.ImageIndex = 18; this.bUnderline.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bUnderline.Name = "bUnderline"; this.bUnderline.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bUnderline.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlU); this.bUnderline.Text = "&Underline"; // // bStrikethrough // this.bStrikethrough.Category = "Format"; this.bStrikethrough.Enabled = false; this.bStrikethrough.GlobalName = "bStrikethrough"; this.bStrikethrough.ImageIndex = 20; this.bStrikethrough.Name = "bStrikethrough"; this.bStrikethrough.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bStrikethrough.Text = "&Strikethrough"; // // bAlignLeft // this.bAlignLeft.BeginGroup = true; this.bAlignLeft.Category = "Format"; this.bAlignLeft.Enabled = false; this.bAlignLeft.GlobalName = "bAlignLeft"; this.bAlignLeft.ImageIndex = 9; this.bAlignLeft.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bAlignLeft.Name = "bAlignLeft"; this.bAlignLeft.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bAlignLeft.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlL); this.bAlignLeft.Text = "Align &Left"; // // bAlignCenter // this.bAlignCenter.Category = "Format"; this.bAlignCenter.Enabled = false; this.bAlignCenter.GlobalName = "bAlignCenter"; this.bAlignCenter.ImageIndex = 1; this.bAlignCenter.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bAlignCenter.Name = "bAlignCenter"; this.bAlignCenter.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bAlignCenter.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlM); this.bAlignCenter.Text = "Align &Center"; // // bAlignRight // this.bAlignRight.Category = "Format"; this.bAlignRight.Enabled = false; this.bAlignRight.GlobalName = "bAlignRight"; this.bAlignRight.ImageIndex = 16; this.bAlignRight.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bAlignRight.Name = "bAlignRight"; this.bAlignRight.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bAlignRight.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlR); this.bAlignRight.Text = "Align &Right"; // // bTextColor // this.bTextColor.Enabled = false; this.bTextColor.GlobalName = "bTextColor"; this.bTextColor.ImageIndex = 21; this.bTextColor.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.bTextColor.Name = "bTextColor"; this.bTextColor.Text = "&Text Color"; // // bWindow // this.bWindow.Category = "Main Menu"; this.bWindow.GlobalName = "bWindow"; this.bWindow.Name = "bWindow"; this.bWindow.PersonalizedMenus = DevComponents.DotNetBar.ePersonalizedMenus.Both; this.bWindow.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.WindowNew, this.WindowArrangeAll, this.item_236}); this.bWindow.Text = "&Window"; // // WindowNew // this.WindowNew.Category = "Window"; this.WindowNew.GlobalName = "WindowNew"; this.WindowNew.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.WindowNew.Name = "WindowNew"; this.WindowNew.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.WindowNew.Text = "&New Window"; this.WindowNew.Click += new System.EventHandler(this.cmdNewDocument_Click); // // WindowArrangeAll // this.WindowArrangeAll.Category = "Window"; this.WindowArrangeAll.GlobalName = "WindowArrangeAll"; this.WindowArrangeAll.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.WindowArrangeAll.Name = "WindowArrangeAll"; this.WindowArrangeAll.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.WindowArrangeAll.Text = "&Arrange All"; this.WindowArrangeAll.Click += new System.EventHandler(this.cmdWindowArrangeAll_Click); // // item_236 // this.item_236.BeginGroup = true; this.item_236.GlobalName = "item_236"; this.item_236.Name = "item_236"; this.item_236.ShowWindowIcons = true; this.item_236.Text = "MDI Window List"; // // bHelp // this.bHelp.Category = "Main Menu"; this.bHelp.GlobalName = "bHelp"; this.bHelp.Name = "bHelp"; this.bHelp.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.bAbout}); this.bHelp.Text = "&Help"; // // bAbout // this.bAbout.Category = "Help"; this.bAbout.GlobalName = "bAbout"; this.bAbout.Name = "bAbout"; this.bAbout.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bAbout.Text = "&About..."; // // bChangeStyle // this.bChangeStyle.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.bChangeStyle.GlobalName = "bChangeStyle"; this.bChangeStyle.Image = ((System.Drawing.Image)(resources.GetObject("bChangeStyle.Image"))); this.bChangeStyle.ImagePosition = DevComponents.DotNetBar.eImagePosition.Right; this.bChangeStyle.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far; this.bChangeStyle.Name = "bChangeStyle"; this.bChangeStyle.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.cmdStyleOffice2003, this.cmdStyleVS2005, this.cmdStyleOfficeXP, this.cmdStyleOffice2007Blue}); this.bChangeStyle.Text = "Style"; // // cmdStyleOffice2003 // this.cmdStyleOffice2003.GlobalName = "StyleOffice2003"; this.cmdStyleOffice2003.Name = "cmdStyleOffice2003"; this.cmdStyleOffice2003.Text = "Office 2003"; this.cmdStyleOffice2003.Click += new System.EventHandler(this.cmdStyleOffice2003_Click); // // cmdStyleVS2005 // this.cmdStyleVS2005.GlobalName = "StyleVS2005"; this.cmdStyleVS2005.Name = "cmdStyleVS2005"; this.cmdStyleVS2005.Text = "VS 2005"; this.cmdStyleVS2005.Click += new System.EventHandler(this.cmdStyleVS2005_Click); // // cmdStyleOfficeXP // this.cmdStyleOfficeXP.GlobalName = "StyleOfficeXP"; this.cmdStyleOfficeXP.Name = "cmdStyleOfficeXP"; this.cmdStyleOfficeXP.Text = "Office XP"; this.cmdStyleOfficeXP.Click += new System.EventHandler(this.cmdStyleOfficeXP_Click); // // cmdStyleOffice2007Blue // this.cmdStyleOffice2007Blue.GlobalName = "StyleOffice2007Blue"; this.cmdStyleOffice2007Blue.Name = "cmdStyleOffice2007Blue"; this.cmdStyleOffice2007Blue.Text = "Office 2007 <font color=\"Blue\"><b>Blue</b></font>"; this.cmdStyleOffice2007Blue.Click += new System.EventHandler(this.cmdStyleOffice2007Blue_Click); // // barStandard // this.barStandard.AccessibleDescription = "DotNetBar Bar (barStandard)"; this.barStandard.AccessibleName = "DotNetBar Bar"; this.barStandard.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.barStandard.CanHide = true; this.barStandard.DockLine = 1; this.barStandard.DockSide = DevComponents.DotNetBar.eDockSide.Top; this.barStandard.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.Office2003; this.barStandard.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.cmdNewDocument, this.cmdOpenDocument, this.cmdSaveDocument, this.cmdPrintPreview, this.cmdPrint, this.bThemes, this.cmdTabbedMdi, this.item_139}); this.barStandard.Location = new System.Drawing.Point(0, 27); this.barStandard.Name = "barStandard"; this.barStandard.Size = new System.Drawing.Size(365, 27); this.barStandard.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.barStandard.TabIndex = 1; this.barStandard.TabStop = false; this.barStandard.Text = "Standard"; // // cmdNewDocument // this.cmdNewDocument.GlobalName = "NewDocument"; this.cmdNewDocument.ImageIndex = 10; this.cmdNewDocument.Name = "cmdNewDocument"; this.cmdNewDocument.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.cmdNewDocument.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlN); this.cmdNewDocument.Text = "&New"; this.cmdNewDocument.Tooltip = "Create new document"; this.cmdNewDocument.Click += new System.EventHandler(this.cmdNewDocument_Click); // // cmdOpenDocument // this.cmdOpenDocument.GlobalName = "OpenDocument"; this.cmdOpenDocument.ImageIndex = 11; this.cmdOpenDocument.Name = "cmdOpenDocument"; this.cmdOpenDocument.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.cmdOpenDocument.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlO); this.cmdOpenDocument.Text = "&Open"; this.cmdOpenDocument.Tooltip = "Open existing document"; this.cmdOpenDocument.Click += new System.EventHandler(this.cmdOpenDocument_Click); // // cmdSaveDocument // this.cmdSaveDocument.GlobalName = "SaveDocument"; this.cmdSaveDocument.ImageIndex = 17; this.cmdSaveDocument.Name = "cmdSaveDocument"; this.cmdSaveDocument.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.cmdSaveDocument.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlS); this.cmdSaveDocument.Text = "&Save"; this.cmdSaveDocument.Tooltip = "Save active document"; this.cmdSaveDocument.Click += new System.EventHandler(this.cmdSaveDocument_Click); // // cmdPrintPreview // this.cmdPrintPreview.BeginGroup = true; this.cmdPrintPreview.GlobalName = "PrintPreview"; this.cmdPrintPreview.ImageIndex = 14; this.cmdPrintPreview.Name = "cmdPrintPreview"; this.cmdPrintPreview.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.cmdPrintPreview.Text = "Print Pre&view"; this.cmdPrintPreview.Tooltip = "Display print preview"; this.cmdPrintPreview.Click += new System.EventHandler(this.cmdPrintPreview_Click); // // cmdPrint // this.cmdPrint.GlobalName = "Print"; this.cmdPrint.ImageIndex = 13; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.cmdPrint.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlP); this.cmdPrint.Text = "&Print"; this.cmdPrint.Tooltip = "Print active document"; this.cmdPrint.Click += new System.EventHandler(this.cmdPrint_Click); // // bThemes // this.bThemes.BeginGroup = true; this.bThemes.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.bThemes.Category = "Commands"; this.bThemes.GlobalName = "bThemes"; this.bThemes.Image = ((System.Drawing.Image)(resources.GetObject("bThemes.Image"))); this.bThemes.Name = "bThemes"; this.bThemes.Text = "Enable Themes"; this.bThemes.Tooltip = "Enable DotNetBar Theme Support"; // // cmdTabbedMdi // this.cmdTabbedMdi.BeginGroup = true; this.cmdTabbedMdi.Category = "Commands"; this.cmdTabbedMdi.Checked = true; this.cmdTabbedMdi.GlobalName = "TabbedMdi"; this.cmdTabbedMdi.Name = "cmdTabbedMdi"; this.cmdTabbedMdi.Text = "Tabbed Mdi"; this.cmdTabbedMdi.Click += new System.EventHandler(this.cmdTabbedMdi_Click); // // item_139 // this.item_139.AutoCollapseOnClick = true; this.item_139.CanCustomize = true; this.item_139.GlobalName = "item_139"; this.item_139.Name = "item_139"; this.item_139.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.item_139.Text = "&Add or Remove Buttons"; this.item_139.Tooltip = "Bar Options"; // // barEdit // this.barEdit.AccessibleDescription = "DotNetBar Bar (barEdit)"; this.barEdit.AccessibleName = "DotNetBar Bar"; this.barEdit.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.barEdit.CanHide = true; this.barEdit.DockLine = 1; this.barEdit.DockOffset = 224; this.barEdit.DockSide = DevComponents.DotNetBar.eDockSide.Top; this.barEdit.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.Office2003; this.barEdit.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem9, this.buttonItem10, this.buttonItem11, this.buttonItem12, this.bFind, this.item_140}); this.barEdit.Location = new System.Drawing.Point(367, 27); this.barEdit.Name = "barEdit"; this.barEdit.Size = new System.Drawing.Size(159, 25); this.barEdit.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.barEdit.TabIndex = 2; this.barEdit.TabStop = false; this.barEdit.Text = "Edit"; // // buttonItem9 // this.buttonItem9.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem9.DisabledImage"))); this.buttonItem9.Enabled = false; this.buttonItem9.GlobalName = "bUndo"; this.buttonItem9.ImageIndex = 19; this.buttonItem9.Name = "buttonItem9"; this.buttonItem9.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem9.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlZ); this.buttonItem9.Text = "&Undo"; this.buttonItem9.Tooltip = "Undo last action"; // // buttonItem10 // this.buttonItem10.BeginGroup = true; this.buttonItem10.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem10.DisabledImage"))); this.buttonItem10.Enabled = false; this.buttonItem10.GlobalName = "bCut"; this.buttonItem10.ImageIndex = 5; this.buttonItem10.Name = "buttonItem10"; this.buttonItem10.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem10.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlX); this.buttonItem10.Text = "Cu&t"; this.buttonItem10.Tooltip = "Cut selected text"; // // buttonItem11 // this.buttonItem11.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem11.DisabledImage"))); this.buttonItem11.Enabled = false; this.buttonItem11.GlobalName = "bCopy"; this.buttonItem11.ImageIndex = 4; this.buttonItem11.Name = "buttonItem11"; this.buttonItem11.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem11.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlC); this.buttonItem11.Text = "&Copy"; this.buttonItem11.Tooltip = "Copy selected text"; // // buttonItem12 // this.buttonItem12.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem12.DisabledImage"))); this.buttonItem12.Enabled = false; this.buttonItem12.GlobalName = "bPaste"; this.buttonItem12.ImageIndex = 12; this.buttonItem12.Name = "buttonItem12"; this.buttonItem12.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem12.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlV); this.buttonItem12.Text = "&Paste"; this.buttonItem12.Tooltip = "Paste text from clipboard"; // // bFind // this.bFind.BeginGroup = true; this.bFind.DisabledImage = ((System.Drawing.Image)(resources.GetObject("bFind.DisabledImage"))); this.bFind.Enabled = false; this.bFind.GlobalName = "Find"; this.bFind.ImageIndex = 7; this.bFind.Name = "bFind"; this.bFind.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bFind.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlF); this.bFind.Text = "&Find..."; this.bFind.Tooltip = "Find text in active document"; // // item_140 // this.item_140.AutoCollapseOnClick = true; this.item_140.CanCustomize = true; this.item_140.GlobalName = "item_140"; this.item_140.Name = "item_140"; this.item_140.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.item_140.Text = "&Add or Remove Buttons"; this.item_140.Tooltip = "Bar Options"; // // barFormat // this.barFormat.AccessibleDescription = "DotNetBar Bar (barFormat)"; this.barFormat.AccessibleName = "DotNetBar Bar"; this.barFormat.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.barFormat.CanHide = true; this.barFormat.DockLine = 2; this.barFormat.DockSide = DevComponents.DotNetBar.eDockSide.Top; this.barFormat.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.Office2003; this.barFormat.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem14, this.buttonItem15, this.buttonItem16, this.buttonItem17, this.buttonItem18, this.buttonItem19, this.buttonItem20, this.colorPickerDropDown1, this.item_141}); this.barFormat.Location = new System.Drawing.Point(0, 55); this.barFormat.Name = "barFormat"; this.barFormat.Size = new System.Drawing.Size(247, 25); this.barFormat.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.barFormat.TabIndex = 3; this.barFormat.TabStop = false; this.barFormat.Text = "Format"; // // buttonItem14 // this.buttonItem14.Category = "Format"; this.buttonItem14.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem14.DisabledImage"))); this.buttonItem14.Enabled = false; this.buttonItem14.GlobalName = "bBold"; this.buttonItem14.ImageIndex = 0; this.buttonItem14.Name = "buttonItem14"; this.buttonItem14.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem14.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlB); this.buttonItem14.Text = "&Bold"; this.buttonItem14.Tooltip = "Bold"; // // buttonItem15 // this.buttonItem15.Category = "Format"; this.buttonItem15.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem15.DisabledImage"))); this.buttonItem15.Enabled = false; this.buttonItem15.GlobalName = "bItalic"; this.buttonItem15.ImageIndex = 8; this.buttonItem15.Name = "buttonItem15"; this.buttonItem15.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem15.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlI); this.buttonItem15.Text = "&Italic"; this.buttonItem15.Tooltip = "Italic"; // // buttonItem16 // this.buttonItem16.Category = "Format"; this.buttonItem16.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem16.DisabledImage"))); this.buttonItem16.Enabled = false; this.buttonItem16.GlobalName = "bUnderline"; this.buttonItem16.ImageIndex = 18; this.buttonItem16.Name = "buttonItem16"; this.buttonItem16.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem16.Text = "&Underline"; this.buttonItem16.Tooltip = "Underline"; // // buttonItem17 // this.buttonItem17.Category = "Format"; this.buttonItem17.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem17.DisabledImage"))); this.buttonItem17.Enabled = false; this.buttonItem17.GlobalName = "bStrikethrough"; this.buttonItem17.ImageIndex = 20; this.buttonItem17.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleIfRecentlyUsed; this.buttonItem17.Name = "buttonItem17"; this.buttonItem17.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem17.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlT); this.buttonItem17.Text = "&Strikethrough"; // // buttonItem18 // this.buttonItem18.BeginGroup = true; this.buttonItem18.Category = "Format"; this.buttonItem18.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem18.DisabledImage"))); this.buttonItem18.Enabled = false; this.buttonItem18.GlobalName = "bAlignLeft"; this.buttonItem18.ImageIndex = 9; this.buttonItem18.Name = "buttonItem18"; this.buttonItem18.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem18.Text = "Align &Left"; this.buttonItem18.Tooltip = "Align Left"; // // buttonItem19 // this.buttonItem19.Category = "Format"; this.buttonItem19.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem19.DisabledImage"))); this.buttonItem19.Enabled = false; this.buttonItem19.GlobalName = "bAlignCenter"; this.buttonItem19.ImageIndex = 1; this.buttonItem19.Name = "buttonItem19"; this.buttonItem19.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem19.Text = "Align &Center"; this.buttonItem19.Tooltip = "Align Center"; // // buttonItem20 // this.buttonItem20.Category = "Format"; this.buttonItem20.DisabledImage = ((System.Drawing.Image)(resources.GetObject("buttonItem20.DisabledImage"))); this.buttonItem20.Enabled = false; this.buttonItem20.GlobalName = "bAlignRight"; this.buttonItem20.ImageIndex = 16; this.buttonItem20.Name = "buttonItem20"; this.buttonItem20.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem20.Text = "Align &Right"; this.buttonItem20.Tooltip = "Align Right"; // // colorPickerDropDown1 // this.colorPickerDropDown1.Enabled = false; this.colorPickerDropDown1.GlobalName = "bTextColor"; this.colorPickerDropDown1.ImageIndex = 21; this.colorPickerDropDown1.Name = "colorPickerDropDown1"; this.colorPickerDropDown1.Text = "colorPickerDropDown1"; // // item_141 // this.item_141.AutoCollapseOnClick = true; this.item_141.CanCustomize = true; this.item_141.GlobalName = "item_141"; this.item_141.Name = "item_141"; this.item_141.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.item_141.Text = "&Add or Remove Buttons"; this.item_141.Tooltip = "Bar Options"; // // tabStrip1 // this.tabStrip1.AutoSelectAttachedControl = true; this.tabStrip1.CanReorderTabs = true; this.tabStrip1.CloseButtonOnTabsVisible = true; this.tabStrip1.CloseButtonVisible = false; this.contextMenuBar1.SetContextMenuEx(this.tabStrip1, this.bTabContext); this.tabStrip1.Dock = System.Windows.Forms.DockStyle.Top; this.tabStrip1.Location = new System.Drawing.Point(0, 80); this.tabStrip1.MdiTabbedDocuments = true; this.tabStrip1.Name = "tabStrip1"; this.tabStrip1.SelectedTab = null; this.tabStrip1.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabStrip1.Size = new System.Drawing.Size(473, 28); this.tabStrip1.Style = DevComponents.DotNetBar.eTabStripStyle.OneNote; this.tabStrip1.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Top; this.tabStrip1.TabIndex = 6; this.tabStrip1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabStrip1.Text = "tabStrip1"; // // timer1 // this.timer1.Interval = 1000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // timerInfoBallon // this.timerInfoBallon.Interval = 3000; this.timerInfoBallon.Tick += new System.EventHandler(this.timerInfoBallon_Tick); // // bar1 // this.bar1.AccessibleDescription = "DotNetBar Bar (bar1)"; this.bar1.AccessibleName = "DotNetBar Bar"; this.bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.StatusBar; this.bar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.bar1.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.ResizeHandle; this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelStatus, this.labelPosition, this.itemProgressBar}); this.bar1.ItemSpacing = 2; this.bar1.Location = new System.Drawing.Point(0, 511); this.bar1.Name = "bar1"; this.bar1.Size = new System.Drawing.Size(704, 23); this.bar1.Stretch = true; this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.bar1.TabIndex = 7; this.bar1.TabStop = false; this.bar1.Text = "barStatus"; // // labelStatus // this.labelStatus.BorderType = DevComponents.DotNetBar.eBorderType.SingleLine; this.labelStatus.Name = "labelStatus"; this.labelStatus.PaddingLeft = 2; this.labelStatus.PaddingRight = 2; this.labelStatus.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.labelStatus.Stretch = true; // // labelPosition // this.labelPosition.BorderType = DevComponents.DotNetBar.eBorderType.SingleLine; this.labelPosition.Name = "labelPosition"; this.labelPosition.PaddingLeft = 2; this.labelPosition.PaddingRight = 2; this.labelPosition.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.labelPosition.Width = 100; // // itemProgressBar // this.itemProgressBar.ChunkColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(142)))), ((int)(((byte)(75))))); this.itemProgressBar.ChunkColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(139))))); this.itemProgressBar.ChunkGradientAngle = 90F; this.itemProgressBar.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleAlways; this.itemProgressBar.Name = "itemProgressBar"; this.itemProgressBar.RecentlyUsed = false; this.itemProgressBar.Text = "progressBarItem1"; // // contextMenuBar1 // this.contextMenuBar1.Images = this.imageList1; this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.bEditPopup, this.bTaskListMenu, this.bTabContext, this.bDockContext}); this.contextMenuBar1.Location = new System.Drawing.Point(211, 129); this.contextMenuBar1.Name = "contextMenuBar1"; this.contextMenuBar1.Size = new System.Drawing.Size(394, 51); this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.contextMenuBar1.TabIndex = 12; this.contextMenuBar1.TabStop = false; this.contextMenuBar1.PopupOpen += new DevComponents.DotNetBar.DotNetBarManager.PopupOpenEventHandler(this.contextMenuBar1_PopupOpen); this.contextMenuBar1.PopupContainerUnload += new System.EventHandler(this.UnloadPopup); this.contextMenuBar1.PopupContainerLoad += new System.EventHandler(this.LoadPopup); // // bDockContext // this.bDockContext.AutoExpandOnClick = true; this.bDockContext.GlobalName = "bDockContext"; this.bDockContext.Name = "bDockContext"; this.bDockContext.Text = "bDockContext"; // // bTabContext // this.bTabContext.AutoExpandOnClick = true; this.bTabContext.GlobalName = "bTabContext"; this.bTabContext.Name = "bTabContext"; this.bTabContext.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.cmdContextSave, this.cmdContextClose, this.bTabColor}); this.bTabContext.Text = "bTabContext"; // // cmdContextSave // this.cmdContextSave.GlobalItem = false; this.cmdContextSave.ImageIndex = 17; this.cmdContextSave.Name = "cmdContextSave"; this.cmdContextSave.Text = "Save"; this.cmdContextSave.Tooltip = "Save active document"; this.cmdContextSave.Click += new System.EventHandler(this.cmdSaveDocument_Click); // // cmdContextClose // this.cmdContextClose.Enabled = false; this.cmdContextClose.GlobalItem = false; this.cmdContextClose.Name = "cmdContextClose"; this.cmdContextClose.Text = "Close"; this.cmdContextClose.Tooltip = "Close active document"; this.cmdContextClose.Click += new System.EventHandler(this.cmdCloseDocument_Click); // // bTabColor // this.bTabColor.BeginGroup = true; this.bTabColor.GlobalName = "bTabColor"; this.bTabColor.Name = "bTabColor"; this.bTabColor.PopupType = DevComponents.DotNetBar.ePopupType.Container; this.bTabColor.Text = "Change Tab Color"; // // bEditPopup // this.bEditPopup.AutoExpandOnClick = true; this.bEditPopup.GlobalName = "bEditPopup"; this.bEditPopup.Name = "bEditPopup"; this.bEditPopup.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.bEditPopup.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem22, this.buttonItem23, this.buttonItem24, this.buttonItem25}); this.bEditPopup.Text = "bEditPopup"; // // buttonItem22 // this.buttonItem22.BeginGroup = true; this.buttonItem22.GlobalName = "bCut"; this.buttonItem22.ImageIndex = 5; this.buttonItem22.Name = "buttonItem22"; this.buttonItem22.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem22.Text = "Cu&t"; this.buttonItem22.Click += new System.EventHandler(this.DocumentContextMenuCommand); // // buttonItem23 // this.buttonItem23.GlobalName = "bCopy"; this.buttonItem23.ImageIndex = 4; this.buttonItem23.Name = "buttonItem23"; this.buttonItem23.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem23.Text = "&Copy"; this.buttonItem23.Click += new System.EventHandler(this.DocumentContextMenuCommand); // // buttonItem24 // this.buttonItem24.GlobalName = "bPaste"; this.buttonItem24.ImageIndex = 12; this.buttonItem24.Name = "buttonItem24"; this.buttonItem24.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem24.Text = "&Paste"; this.buttonItem24.Click += new System.EventHandler(this.DocumentContextMenuCommand); // // buttonItem25 // this.buttonItem25.BeginGroup = true; this.buttonItem25.GlobalName = "bSelectAll"; this.buttonItem25.Name = "buttonItem25"; this.buttonItem25.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.buttonItem25.Text = "Select &All"; this.buttonItem25.Click += new System.EventHandler(this.DocumentContextMenuCommand); // // bTaskListMenu // this.bTaskListMenu.AutoExpandOnClick = true; this.bTaskListMenu.GlobalName = "bTaskListMenu"; this.bTaskListMenu.Name = "bTaskListMenu"; this.bTaskListMenu.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.item_477, this.item_504, this.item_531}); this.bTaskListMenu.Text = "bTaskListMenu"; // // item_477 // this.item_477.GlobalName = "item_477"; this.item_477.Name = "item_477"; this.item_477.Text = "Show All Tasks"; // // item_504 // this.item_504.GlobalName = "item_504"; this.item_504.Name = "item_504"; this.item_504.Text = "Show High Importance only"; // // item_531 // this.item_531.BeginGroup = true; this.item_531.GlobalName = "item_531"; this.item_531.Name = "item_531"; this.item_531.Text = "Hide"; // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(704, 534); this.Controls.Add(this.contextMenuBar1); this.Controls.Add(this.tabStrip1); this.Controls.Add(this.barLeftDockSite); this.Controls.Add(this.barRightDockSite); this.Controls.Add(this.barTopDockSite); this.Controls.Add(this.barBottomDockSite); this.Controls.Add(this.dockSite1); this.Controls.Add(this.dockSite2); this.Controls.Add(this.dockSite3); this.Controls.Add(this.dockSite4); this.Controls.Add(this.bar1); this.Controls.Add(this.mdiClient1); this.IsMdiContainer = true; this.Name = "frmMain"; this.Text = "DotNetBar Notepad Sample"; this.MdiChildActivate += new System.EventHandler(this.MdiChildActivated); this.Move += new System.EventHandler(this.frmMain_Move); this.Load += new System.EventHandler(this.frmMain_Load); this.barBottomDockSite.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.barTaskList)).EndInit(); this.barTaskList.ResumeLayout(false); this.panelDockContainer1.ResumeLayout(false); this.panelDockContainer2.ResumeLayout(false); this.panelDockContainer2.PerformLayout(); this.barRightDockSite.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.barTaskPane)).EndInit(); this.barTaskPane.ResumeLayout(false); this.panelDockContainer4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.explorerBar1)).EndInit(); this.panelDockContainer3.ResumeLayout(false); this.panelDockContainer3.PerformLayout(); this.dockSite4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.windowlist)).EndInit(); this.dockSite3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mainmenu)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barStandard)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barFormat)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).EndInit(); this.ResumeLayout(false); }
private void SetMdiStyles(MdiClient mdi) { // remove the border int style = WinAPI.GetWindowLong(mdi.Handle, (int)WinAPI.GWLPara.GWL_STYLE); int exStyle = WinAPI.GetWindowLong(mdi.Handle, (int)WinAPI.GWLPara.GWL_EXSTYLE); style &= ~(int)WinAPI.WindowStyle.WS_BORDER; exStyle &= ~(int)WinAPI.WindowStyleEx.WS_EX_CLIENTEDGE; WinAPI.SetWindowLong(mdi.Handle, (int)WinAPI.GWLPara.GWL_STYLE, style); WinAPI.SetWindowLong(mdi.Handle, (int)WinAPI.GWLPara.GWL_EXSTYLE, exStyle); WinAPI.ShowScrollBar(mdi.Handle, (int)WinAPI.ScrollBar.SB_BOTH, 0 /*false*/); }
public void TestBindingToMdiClient() { MdiClient control = new MdiClient(); IBusinessObject obj = new BusinessObject(); using(BindingScope scope = new BindingScope()) { IBusinessObject bindableSource = scope.CreateSource(obj); if(control is Control) ((Control)control).CreateControl(); control.BindingContext = new BindingContext(); MdiClient bindableTarget = scope.CreateTarget(control); int dataBindingsBeforeAccessibleDefaultActionDescription = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleDefaultActionDescription); Assert.AreEqual(dataBindingsBeforeAccessibleDefaultActionDescription + 1, control.DataBindings.Count); Assert.AreEqual(control.AccessibleDefaultActionDescription, obj.Name); obj.ChangeName(); Assert.AreEqual(control.AccessibleDefaultActionDescription, obj.Name); int dataBindingsBeforeAccessibleDescription = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleDescription); Assert.AreEqual(dataBindingsBeforeAccessibleDescription + 1, control.DataBindings.Count); Assert.AreEqual(control.AccessibleDescription, obj.Name); obj.ChangeName(); Assert.AreEqual(control.AccessibleDescription, obj.Name); int dataBindingsBeforeAccessibleName = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleName); Assert.AreEqual(dataBindingsBeforeAccessibleName + 1, control.DataBindings.Count); Assert.AreEqual(control.AccessibleName, obj.Name); obj.ChangeName(); Assert.AreEqual(control.AccessibleName, obj.Name); int dataBindingsBeforeHeight = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Height); Assert.AreEqual(dataBindingsBeforeHeight + 1, control.DataBindings.Count); Assert.AreEqual(control.Height, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Height, obj.IntValue); int dataBindingsBeforeLeft = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Left); Assert.AreEqual(dataBindingsBeforeLeft + 1, control.DataBindings.Count); Assert.AreEqual(control.Left, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Left, obj.IntValue); int dataBindingsBeforeName = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.Name); Assert.AreEqual(dataBindingsBeforeName + 1, control.DataBindings.Count); Assert.AreEqual(control.Name, obj.Name); obj.ChangeName(); Assert.AreEqual(control.Name, obj.Name); int dataBindingsBeforeTabIndex = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.TabIndex); Assert.AreEqual(dataBindingsBeforeTabIndex + 1, control.DataBindings.Count); Assert.AreEqual(control.TabIndex, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.TabIndex, obj.IntValue); int dataBindingsBeforeText = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.Text); Assert.AreEqual(dataBindingsBeforeText + 1, control.DataBindings.Count); Assert.AreEqual(control.Text, obj.Name); obj.ChangeName(); Assert.AreEqual(control.Text, obj.Name); int dataBindingsBeforeTop = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Top); Assert.AreEqual(dataBindingsBeforeTop + 1, control.DataBindings.Count); Assert.AreEqual(control.Top, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Top, obj.IntValue); int dataBindingsBeforeWidth = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Width); Assert.AreEqual(dataBindingsBeforeWidth + 1, control.DataBindings.Count); Assert.AreEqual(control.Width, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Width, obj.IntValue); } }
private void GetMdiClient(Form form) { MdiClient curClient = null; for (int i = 0; i < form.Controls.Count; i++) { curClient = form.Controls[i] as MdiClient; if (curClient != null) { mdiClient = curClient; } } }
/// <summary> /// Invokes the default window procedure associated with this window. /// </summary> /// <param name="m">A <see cref="System.Windows.Forms.Message" /> that is associated with the current Windows message. </param> protected override void WndProc(ref Message m) { switch (m.Msg) { //Do all painting in WM_PAINT to reduce flicker. case (int)WindowsMessage.WM_ERASEBKGND: return; case (int)WindowsMessage.WM_PAINT: // This code is influenced by Steve McMahon's article: // "Painting in the MDI Client Area". // http://vbaccelerator.com/article.asp?id=4306 // Use Win32 to get a Graphics object. var paintStruct = new PAINTSTRUCT(); var screenHdc = NativeMethods.BeginPaint(m.HWnd, ref paintStruct); using (var screenGraphics = Graphics.FromHdc(screenHdc)) { // Get the area to be updated. var clipRect = new Rectangle( paintStruct.rcPaint.Left, paintStruct.rcPaint.Top, paintStruct.rcPaint.Right - paintStruct.rcPaint.Left, paintStruct.rcPaint.Bottom - paintStruct.rcPaint.Top); // Double-buffer by painting everything to an image and // then drawing the image. var width = (MdiClient.ClientRectangle.Width > 0 ? MdiClient.ClientRectangle.Width : 0); var height = (MdiClient.ClientRectangle.Height > 0 ? MdiClient.ClientRectangle.Height : 0); using (Image i = new Bitmap(width, height)) { using (var g = Graphics.FromImage(i)) { // This code comes from J Young's article: // "Generating missing Paint event for TreeView and ListView". // http://www.codeproject.com/cs/miscctrl/genmissingpaintevent.asp // Draw base graphics and raise the base Paint event. var hdc = g.GetHdc(); var printClientMessage = Message.Create(m.HWnd, (int)WindowsMessage.WM_PRINTCLIENT, hdc, IntPtr.Zero); DefWndProc(ref printClientMessage); g.ReleaseHdc(hdc); // Draw the image here. if (image != null) { DrawImage(g, clipRect); } // Call our OnPaint here to draw graphics over the // original and raise our Paint event. OnPaint(new PaintEventArgs(g, clipRect)); } // Now draw all the graphics at once. screenGraphics.DrawImage(i, MdiClient.ClientRectangle); } } NativeMethods.EndPaint(m.HWnd, ref paintStruct); return; case (int)WindowsMessage.WM_SIZE: // Repaint on every resize. MdiClient.Invalidate(); break; case (int)WindowsMessage.WM_NCCALCSIZE: // If AutoScroll is set to false, hide the scrollbars when the control // calculates its non-client area. if (!autoScroll) { ShowScrollBar(m.HWnd, SB.SB_BOTH, 0 /*false*/); } break; } base.WndProc(ref m); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.menuMainFile = new System.Windows.Forms.MenuItem(); this.menuItemSelSrc = new System.Windows.Forms.MenuItem(); this.menuItemScan = new System.Windows.Forms.MenuItem(); this.menuItemSepr = new System.Windows.Forms.MenuItem(); this.menuItemExit = new System.Windows.Forms.MenuItem(); this.mainFrameMenu = new System.Windows.Forms.MainMenu(); this.menuMainWindow = new System.Windows.Forms.MenuItem(); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.SuspendLayout(); // // menuMainFile // this.menuMainFile.Index = 0; this.menuMainFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemSelSrc, this.menuItemScan, this.menuItemSepr, this.menuItemExit }); this.menuMainFile.MergeType = System.Windows.Forms.MenuMerge.MergeItems; this.menuMainFile.Text = "&File"; // // menuItemSelSrc // this.menuItemSelSrc.Index = 0; this.menuItemSelSrc.MergeOrder = 11; this.menuItemSelSrc.Text = "&Select Source..."; this.menuItemSelSrc.Click += new System.EventHandler(this.menuItemSelSrc_Click); // // menuItemScan // this.menuItemScan.Index = 1; this.menuItemScan.MergeOrder = 12; this.menuItemScan.Text = "&Acquire..."; this.menuItemScan.Click += new System.EventHandler(this.menuItemScan_Click); // // menuItemSepr // this.menuItemSepr.Index = 2; this.menuItemSepr.MergeOrder = 19; this.menuItemSepr.Text = "-"; // // menuItemExit // this.menuItemExit.Index = 3; this.menuItemExit.MergeOrder = 21; this.menuItemExit.Text = "&Exit"; this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click); // // mainFrameMenu // this.mainFrameMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuMainFile, this.menuMainWindow }); // // menuMainWindow // this.menuMainWindow.Index = 1; this.menuMainWindow.MdiList = true; this.menuMainWindow.Text = "&Window"; // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.TabIndex = 0; // // MainFrame // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(600, 345); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.mdiClient1 }); this.IsMdiContainer = true; this.Menu = this.mainFrameMenu; this.Name = "MainFrame"; this.Text = "TWAIN GUI"; this.ResumeLayout(false); }
/// <include file='doc\Form.uex' path='docs/doc[@for="Form.Dispose"]/*' /> /// <devdoc> /// <para>Releases all the system resources associated with the Form. If a subclass /// overrides this function, it must call the base implementation.</para> /// </devdoc> protected override void Dispose(bool disposing) { if (disposing) { CalledOnLoad = false; CalledMakeVisible = false; CalledCreateControl = false; if (Properties.ContainsObject(PropAcceptButton)) Properties.SetObject(PropAcceptButton, null); if (Properties.ContainsObject(PropCancelButton)) Properties.SetObject(PropCancelButton, null); if (Properties.ContainsObject(PropDefaultButton)) Properties.SetObject(PropDefaultButton, null); if (Properties.ContainsObject(PropActiveMdiChild)) Properties.SetObject(PropActiveMdiChild, null); if (MdiWindowListStrip != null){ MdiWindowListStrip.Dispose(); MdiWindowListStrip = null; } if (MdiControlStrip != null){ MdiControlStrip.Dispose(); MdiControlStrip = null; } if (MainMenuStrip != null) { // should NOT call dispose on MainMenuStrip - it's likely NOT to be in the form's control collection. MainMenuStrip = null; } Form owner = (Form)Properties.GetObject(PropOwner); if (owner != null) { owner.RemoveOwnedForm(this); Properties.SetObject(PropOwner, null); } Form[] ownedForms = (Form[])Properties.GetObject(PropOwnedForms); int ownedFormsCount = Properties.GetInteger(PropOwnedFormsCount); for (int i = ownedFormsCount-1 ; i >= 0; i--) { if (ownedForms[i] != null) { // it calls remove and removes itself. ownedForms[i].Dispose(); } } if (smallIcon != null) { smallIcon.Dispose(); smallIcon = null; } ResetSecurityTip(false /* modalOnly */); base.Dispose(disposing); ctlClient = null; MainMenu mainMenu = Menu; // VSWhidbey 93518, 93544, 93547, 93563, and 93568: We should only dispose this form's menus! if (mainMenu != null && mainMenu.ownerForm == this) { mainMenu.Dispose(); Properties.SetObject(PropMainMenu, null); } if (Properties.GetObject(PropCurMenu) != null) { Properties.SetObject(PropCurMenu, null); } MenuChanged(Windows.Forms.Menu.CHANGE_ITEMS, null); MainMenu dummyMenu = (MainMenu)Properties.GetObject(PropDummyMenu); if (dummyMenu != null) { dummyMenu.Dispose(); Properties.SetObject(PropDummyMenu, null); } MainMenu mergedMenu = (MainMenu)Properties.GetObject(PropMergedMenu); if (mergedMenu != null) { if (mergedMenu.ownerForm == this || mergedMenu.form == null) { mergedMenu.Dispose(); } Properties.SetObject(PropMergedMenu, null); } } else { base.Dispose(disposing); } }
private void InitializeMdiClient() { // If the mdiClient has previously been set, unwire events connected // to the old MDI. if(mdiClient != null) mdiClient.HandleDestroyed -= new EventHandler(MdiClientHandleDestroyed); if(parentForm == null) return; // Get the MdiClient from the parent form. for(int i = 0; i < parentForm.Controls.Count; i++) { // If the form is an MDI container, it will contain an MdiClient control // just as it would any other control. mdiClient = parentForm.Controls[i] as MdiClient; if(mdiClient != null) { // Assign the MdiClient Handle to the NativeWindow. ReleaseHandle(); AssignHandle(mdiClient.Handle); // Raise the HandleAssigned event. OnHandleAssigned(EventArgs.Empty); // Monitor the MdiClient for when its handle is destroyed. mdiClient.HandleDestroyed += new EventHandler(MdiClientHandleDestroyed); } } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.miTileVertical = new System.Windows.Forms.MenuItem(); this.miTileHorizontal = new System.Windows.Forms.MenuItem(); this.miWindow = new System.Windows.Forms.MenuItem(); this.miCascade = new System.Windows.Forms.MenuItem(); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.miNew = new System.Windows.Forms.MenuItem(); this.miExit = new System.Windows.Forms.MenuItem(); this.miFile = new System.Windows.Forms.MenuItem(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.SuspendLayout(); // // miTileVertical // this.miTileVertical.Index = 0; this.miTileVertical.Text = "Tile Vertical"; this.miTileVertical.Click += new System.EventHandler(this.miTileVertical_Click); // // miTileHorizontal // this.miTileHorizontal.Index = 1; this.miTileHorizontal.Text = "Tile Horizontal"; this.miTileHorizontal.Click += new System.EventHandler(this.miTileHorizontal_Click); // // miWindow // this.miWindow.Index = 1; this.miWindow.MdiList = true; this.miWindow.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miTileVertical, this.miTileHorizontal, this.miCascade }); this.miWindow.MergeOrder = 20; this.miWindow.Text = "&Window"; // // miCascade // this.miCascade.Index = 2; this.miCascade.Text = "Cascade"; this.miCascade.Click += new System.EventHandler(this.miCascade_Click); // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.TabIndex = 0; // // miNew // this.miNew.Index = 0; this.miNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN; this.miNew.Text = "&New"; this.miNew.Click += new System.EventHandler(this.miNew_Click); // // miExit // this.miExit.Index = 1; this.miExit.Text = "E&xit"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // miFile // this.miFile.Index = 0; this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miNew, this.miExit }); this.miFile.Text = "&File"; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miFile, this.miWindow }); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(448, 351); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.mdiClient1 }); this.IsMdiContainer = true; this.Menu = this.mainMenu1; this.Name = "MainForm"; this.Text = "Simple Editor"; this.ResumeLayout(false); }
private void InitializeMdiClient() { // If the mdiClient has previously been set, unwire events connected // to the old MDI. if (MdiClient != null) { MdiClient.HandleDestroyed -= new EventHandler(MdiClientHandleDestroyed); MdiClient.Layout -= new LayoutEventHandler(MdiClientLayout); } if (ParentForm == null) return; // Get the MdiClient from the parent form. foreach (Control control in ParentForm.Controls) { // If the form is an MDI container, it will contain an MdiClient control // just as it would any other control. m_mdiClient = control as MdiClient; if (m_mdiClient == null) continue; // Assign the MdiClient Handle to the NativeWindow. ReleaseHandle(); AssignHandle(MdiClient.Handle); // Raise the HandleAssigned event. OnHandleAssigned(EventArgs.Empty); // Monitor the MdiClient for when its handle is destroyed. MdiClient.HandleDestroyed += new EventHandler(MdiClientHandleDestroyed); MdiClient.Layout += new LayoutEventHandler(MdiClientLayout); break; } }
private void DrawBackground(object sender, System.Windows.Forms.PaintEventArgs e) { Color LowColor = Color.Black; Color HightColor = Color.LightGreen; float angel = 90.0f; System.Windows.Forms.MdiClient ctl = (System.Windows.Forms.MdiClient)sender; MethodInfo mi = typeof(MdiClient).GetMethod("SetStyle", BindingFlags.Instance | BindingFlags.NonPublic); mi.Invoke(ctl, new object[] { ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true }); Graphics g = e.Graphics; Bitmap img = (Bitmap)(Properties.Resources.Logo); int ImH = 150; int ImW = 420; Point center = new Point(Convert.ToInt32(((this.Width) / 2) - (ImW / 2)), Convert.ToInt32(((this.Height) / 2) - ImH)); Color col = img.GetPixel(10, 10); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.DoubleBuffer, true); img.MakeTransparent(Color.Red); //g.Clear(Color.Black); g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; LinearGradientBrush Lbrush = new LinearGradientBrush(new Rectangle(0, 0, this.Width, this.Height), HightColor, LowColor, angel, true); g.FillRectangle(Lbrush, new Rectangle(0, 0, this.Width, this.Height)); g.DrawImage(img, new Rectangle(center, new Size(ImW, ImH))); angel += 5; if (angel >= 360) { angel = 0; } if (System.DateTime.Now.Hour >= 2 && System.DateTime.Now.Hour <= 3) { LowColor = Color.Black; HightColor = Color.White; } else if (System.DateTime.Now.Hour >= 4 && System.DateTime.Now.Hour <= 7) { LowColor = Color.Black; HightColor = Color.LightYellow; } else if (System.DateTime.Now.Hour >= 8 && DateTime.Now.Hour <= 11) { LowColor = Color.GreenYellow; HightColor = Color.LightYellow; } else if (System.DateTime.Now.Hour >= 12 && DateTime.Now.Hour <= 15) { LowColor = Color.OrangeRed; HightColor = Color.LightYellow; } else if (System.DateTime.Now.Hour >= 16 && DateTime.Now.Hour <= 17) { LowColor = Color.RosyBrown; HightColor = Color.DarkOrange; } else if (System.DateTime.Now.Hour >= 18 && DateTime.Now.Hour <= 19) { LowColor = Color.Black; HightColor = Color.Brown; } else if (System.DateTime.Now.Hour >= 20 && DateTime.Now.Hour <= 23) { LowColor = Color.Black; HightColor = Color.Black; } //g.Dispose(); img.Dispose(); GC.Collect(); //ctl.Dispose(); }
/*C#r: protected*/ /// <include file='doc\MDIClient.uex' path='docs/doc[@for="MdiClient.ControlCollection.ControlCollection"]/*' /> public ControlCollection(MdiClient owner) : base(owner) { this.owner = owner; }
/// <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(MainFrame)); this.menuMainFile = new System.Windows.Forms.MenuItem(); this.menuItemSelSrc = new System.Windows.Forms.MenuItem(); this.menuItemScan = new System.Windows.Forms.MenuItem(); this.menuItemID = new System.Windows.Forms.MenuItem(); this.menuItemSepr = new System.Windows.Forms.MenuItem(); this.menuItemExit = new System.Windows.Forms.MenuItem(); this.mainFrameMenu = new System.Windows.Forms.MainMenu(this.components); this.menuMainWindow = new System.Windows.Forms.MenuItem(); this.menuItemLanguage = new System.Windows.Forms.MenuItem(); this.menuItemEnglish = new System.Windows.Forms.MenuItem(); this.menuItemHebrew = new System.Windows.Forms.MenuItem(); this.menuItemOptions = new System.Windows.Forms.MenuItem(); this.menuItemAutoScanNext = new System.Windows.Forms.MenuItem(); this.menuItemCheckData = new System.Windows.Forms.MenuItem(); this.menuItemHelp = new System.Windows.Forms.MenuItem(); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripButtonID = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButtonSearch = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonSave = new System.Windows.Forms.ToolStripButton(); this.TofesOutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.TofesInToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripButtonInsuranceScan = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripButtonInsuranceReNew = new System.Windows.Forms.ToolStripMenuItem(); this.picPreview = new System.Windows.Forms.PictureBox(); this.picOCR = new System.Windows.Forms.PictureBox(); this.picNoImage = new System.Windows.Forms.PictureBox(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.picPreview)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picOCR)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picNoImage)).BeginInit(); this.SuspendLayout(); // // menuMainFile // this.menuMainFile.Index = 0; this.menuMainFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemSelSrc, this.menuItemScan, this.menuItemSepr, this.menuItemExit }); this.menuMainFile.MergeType = System.Windows.Forms.MenuMerge.MergeItems; this.menuMainFile.Text = "&File"; // // menuItemSelSrc // this.menuItemSelSrc.Index = 0; this.menuItemSelSrc.MergeOrder = 11; this.menuItemSelSrc.Text = "&Select Source..."; this.menuItemSelSrc.Click += new System.EventHandler(this.menuItemSelSrc_Click); // // menuItemScan // this.menuItemScan.Index = 1; this.menuItemScan.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemID }); this.menuItemScan.MergeOrder = 12; this.menuItemScan.Text = "&Acquire..."; this.menuItemScan.Click += new System.EventHandler(this.menuItemScan_Click); // // menuItemID // this.menuItemID.Index = 0; this.menuItemID.Text = "I&D"; this.menuItemID.Click += new System.EventHandler(this.menuItemID_Click); // // menuItemSepr // this.menuItemSepr.Index = 2; this.menuItemSepr.MergeOrder = 19; this.menuItemSepr.Text = "-"; // // menuItemExit // this.menuItemExit.Index = 3; this.menuItemExit.MergeOrder = 21; this.menuItemExit.Text = "&Exit"; this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click); // // mainFrameMenu // this.mainFrameMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuMainFile, this.menuMainWindow, this.menuItemLanguage, this.menuItemOptions, this.menuItemHelp }); // // menuMainWindow // this.menuMainWindow.Index = 1; this.menuMainWindow.MdiList = true; this.menuMainWindow.Text = "&Window"; // // menuItemLanguage // this.menuItemLanguage.Index = 2; this.menuItemLanguage.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemEnglish, this.menuItemHebrew }); this.menuItemLanguage.Text = "&Language"; // // menuItemEnglish // this.menuItemEnglish.Checked = true; this.menuItemEnglish.Index = 0; this.menuItemEnglish.Text = "&English"; this.menuItemEnglish.Click += new System.EventHandler(this.menuItemEnglish_Click); // // menuItemHebrew // this.menuItemHebrew.Index = 1; this.menuItemHebrew.Text = "&Hebrew"; this.menuItemHebrew.Click += new System.EventHandler(this.menuItemHebrew_Click); // // menuItemOptions // this.menuItemOptions.Index = 3; this.menuItemOptions.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemAutoScanNext, this.menuItemCheckData }); this.menuItemOptions.Text = "&Options"; // // menuItemAutoScanNext // this.menuItemAutoScanNext.Index = 0; this.menuItemAutoScanNext.Text = "&Auto Scan Next"; this.menuItemAutoScanNext.Click += new System.EventHandler(this.menuItemAutoScanNext_Click); // // menuItemCheckData // this.menuItemCheckData.Index = 1; this.menuItemCheckData.Text = "&Check Data"; this.menuItemCheckData.Click += new System.EventHandler(this.menuItemCheckData_Click); // // menuItemHelp // this.menuItemHelp.Index = 4; this.menuItemHelp.Text = "&Help"; // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Location = new System.Drawing.Point(0, 68); this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.Size = new System.Drawing.Size(632, 357); this.mdiClient1.TabIndex = 0; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButtonID, this.toolStripSeparator1, this.toolStripButtonSearch, this.toolStripButtonSave }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(632, 68); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // toolStripButtonID // this.toolStripButtonID.Image = global::Pulsar.Properties.Resources.scanner2; this.toolStripButtonID.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.toolStripButtonID.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.toolStripButtonID.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonID.Name = "toolStripButtonID"; this.toolStripButtonID.Size = new System.Drawing.Size(72, 65); this.toolStripButtonID.Text = "סרוק מסמך"; this.toolStripButtonID.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.toolStripButtonID.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButtonID.ToolTipText = "תעודת זהות"; this.toolStripButtonID.Click += new System.EventHandler(this.toolStripButtonID_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 68); // // toolStripButtonSearch // this.toolStripButtonSearch.Image = global::Pulsar.Properties.Resources.SearchSmall; this.toolStripButtonSearch.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.toolStripButtonSearch.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.toolStripButtonSearch.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonSearch.Name = "toolStripButtonSearch"; this.toolStripButtonSearch.Size = new System.Drawing.Size(52, 65); this.toolStripButtonSearch.Text = "חיפוש"; this.toolStripButtonSearch.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButtonSearch.ToolTipText = "תעודת זהות"; // // toolStripButtonSave // this.toolStripButtonSave.Enabled = false; this.toolStripButtonSave.Image = global::Pulsar.Properties.Resources.SaveOn; this.toolStripButtonSave.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.toolStripButtonSave.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.toolStripButtonSave.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonSave.Name = "toolStripButtonSave"; this.toolStripButtonSave.Size = new System.Drawing.Size(52, 65); this.toolStripButtonSave.Text = "שמור"; this.toolStripButtonSave.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButtonSave.Click += new System.EventHandler(this.toolStripButtonSave_Click); // // TofesOutToolStripMenuItem // this.TofesOutToolStripMenuItem.Name = "TofesOutToolStripMenuItem"; this.TofesOutToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // TofesInToolStripMenuItem // this.TofesInToolStripMenuItem.Name = "TofesInToolStripMenuItem"; this.TofesInToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // toolStripButtonInsuranceScan // this.toolStripButtonInsuranceScan.Name = "toolStripButtonInsuranceScan"; this.toolStripButtonInsuranceScan.Size = new System.Drawing.Size(32, 19); // // toolStripButtonInsuranceReNew // this.toolStripButtonInsuranceReNew.Name = "toolStripButtonInsuranceReNew"; this.toolStripButtonInsuranceReNew.Size = new System.Drawing.Size(32, 19); // // picPreview // this.picPreview.Location = new System.Drawing.Point(12, 81); this.picPreview.Name = "picPreview"; this.picPreview.Size = new System.Drawing.Size(100, 50); this.picPreview.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.picPreview.TabIndex = 2; this.picPreview.TabStop = false; this.picPreview.Visible = false; // // picOCR // this.picOCR.Location = new System.Drawing.Point(160, 81); this.picOCR.Name = "picOCR"; this.picOCR.Size = new System.Drawing.Size(200, 50); this.picOCR.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.picOCR.TabIndex = 3; this.picOCR.TabStop = false; this.picOCR.Visible = false; // // picNoImage // this.picNoImage.Image = global::Pulsar.Properties.Resources.scannerNormal; this.picNoImage.Location = new System.Drawing.Point(402, 81); this.picNoImage.Name = "picNoImage"; this.picNoImage.Size = new System.Drawing.Size(128, 128); this.picNoImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.picNoImage.TabIndex = 4; this.picNoImage.TabStop = false; this.picNoImage.Visible = false; // // MainFrame // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 425); this.Controls.Add(this.picNoImage); this.Controls.Add(this.picOCR); this.Controls.Add(this.picPreview); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.mdiClient1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Menu = this.mainFrameMenu; this.Name = "MainFrame"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Scanning Control Center System Ver 4"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFrame_FormClosing); this.Load += new System.EventHandler(this.MainFrame_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.picPreview)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picOCR)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picNoImage)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void Frm_Sis_Principal_Load(object sender, EventArgs e) { this.KeyPreview = true; tabPrincipal.Dock = DockStyle.Fill; lblVersion.Text = " Versión : 1.0" ; lblUsuario.Text = " Usuario : " + BE_Helper.oBE_Sis_Usuario.IdUsuario + " - " + BE_Helper.oBE_Sis_Usuario.Nombre; DataTable Dt = new DataTable(); Dt = oBL_Sis_Cliente.Listar("A"); System.Object[] ItemObject = new System.Object[Dt.Rows.Count]; for (int i = 0; i <= Dt.Rows.Count - 1; i++) { ItemObject[i] = Dt.Rows[i][0].ToString(); } cboCliente.Items.AddRange(ItemObject); cboCliente.Text = BE_Helper.oBE_Sis_Cliente.IdCliente; Dt.Dispose(); CambiarLogo(); foreach (Control Ctl in this.Controls) { try { CtlMDI = (MdiClient)Ctl; //CtlMDI.BackgroundImage = global::SisCtd.Properties.Resources.; } catch (InvalidCastException) { } } try { TreOpc.Nodes.Clear(); Helper.Cargar_menu(oBL_Sis_Sistema.Listar_Menu(BE_Helper.oBE_Sis_Usuario.IdPerfil, ""), "", null, TreOpc, true); } catch (Exception ex) { MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void MdiClientHandleDestroyed(object sender, EventArgs e) { // If the MdiClient handle has been released, drop the reference and // release the handle. if (m_mdiClient != null) { m_mdiClient.HandleDestroyed -= new EventHandler(MdiClientHandleDestroyed); m_mdiClient = null; } ReleaseHandle(); }
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm)); this.mainMenu = new System.Windows.Forms.MainMenu(); this.miFile = new System.Windows.Forms.MenuItem(); this.miConnect = new System.Windows.Forms.MenuItem(); this.miDisconnect = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.miNew = new System.Windows.Forms.MenuItem(); this.miOpen = new System.Windows.Forms.MenuItem(); this.miSave = new System.Windows.Forms.MenuItem(); this.miSaveAs = new System.Windows.Forms.MenuItem(); this.menuItem11 = new System.Windows.Forms.MenuItem(); this.miSaveResults = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.miExit = new System.Windows.Forms.MenuItem(); this.miEdit = new System.Windows.Forms.MenuItem(); this.miUndo = new System.Windows.Forms.MenuItem(); this.menuItem16 = new System.Windows.Forms.MenuItem(); this.miCut = new System.Windows.Forms.MenuItem(); this.miCopy = new System.Windows.Forms.MenuItem(); this.miPaste = new System.Windows.Forms.MenuItem(); this.miQuery = new System.Windows.Forms.MenuItem(); this.miExecute = new System.Windows.Forms.MenuItem(); this.miCancel = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.miResultsText = new System.Windows.Forms.MenuItem(); this.miResultsGrid = new System.Windows.Forms.MenuItem(); this.miWindow = new System.Windows.Forms.MenuItem(); this.miNextPane = new System.Windows.Forms.MenuItem(); this.miPrevPane = new System.Windows.Forms.MenuItem(); this.miHideResults = new System.Windows.Forms.MenuItem(); this.miHideBrowser = new System.Windows.Forms.MenuItem(); this.miHelp = new System.Windows.Forms.MenuItem(); this.miAbout = new System.Windows.Forms.MenuItem(); this.sep5 = new System.Windows.Forms.ToolBarButton(); this.tbOpen = new System.Windows.Forms.ToolBarButton(); this.sep3 = new System.Windows.Forms.ToolBarButton(); this.tbHideBrowser = new System.Windows.Forms.ToolBarButton(); this.tbSave = new System.Windows.Forms.ToolBarButton(); this.sep1 = new System.Windows.Forms.ToolBarButton(); this.tbConnect = new System.Windows.Forms.ToolBarButton(); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.tbExecute = new System.Windows.Forms.ToolBarButton(); this.tbResultsGrid = new System.Windows.Forms.ToolBarButton(); this.tbNew = new System.Windows.Forms.ToolBarButton(); this.tbResultsText = new System.Windows.Forms.ToolBarButton(); this.sep4 = new System.Windows.Forms.ToolBarButton(); this.sep2 = new System.Windows.Forms.ToolBarButton(); this.tbDisconnect = new System.Windows.Forms.ToolBarButton(); this.toolBar = new System.Windows.Forms.ToolBar(); this.tbCancel = new System.Windows.Forms.ToolBarButton(); this.tbHideResults = new System.Windows.Forms.ToolBarButton(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.editManager = new QueryExpress.EditManager(this.components); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.miSelectAll = new System.Windows.Forms.MenuItem(); this.SuspendLayout(); // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miFile, this.miEdit, this.miQuery, this.miWindow, this.miHelp }); // // miFile // this.miFile.Index = 0; this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miConnect, this.miDisconnect, this.menuItem7, this.miNew, this.miOpen, this.miSave, this.miSaveAs, this.menuItem11, this.miSaveResults, this.menuItem2, this.miExit }); this.miFile.Text = "&File"; // // miConnect // this.miConnect.Index = 0; this.miConnect.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.miConnect.Text = "&Connect..."; this.miConnect.Click += new System.EventHandler(this.miConnect_Click); // // miDisconnect // this.miDisconnect.Index = 1; this.miDisconnect.Text = "&Disconnect"; this.miDisconnect.Click += new System.EventHandler(this.miDisconnect_Click); // // menuItem7 // this.menuItem7.Index = 2; this.menuItem7.Text = "-"; // // miNew // this.miNew.Index = 3; this.miNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN; this.miNew.Text = "&New"; this.miNew.Click += new System.EventHandler(this.miNew_Click); // // miOpen // this.miOpen.Index = 4; this.miOpen.Text = "&Open..."; this.miOpen.Click += new System.EventHandler(this.miOpen_Click); // // miSave // this.miSave.Index = 5; this.miSave.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.miSave.Text = "&Save"; this.miSave.Click += new System.EventHandler(this.miSave_Click); // // miSaveAs // this.miSaveAs.Index = 6; this.miSaveAs.Text = "Save &As..."; this.miSaveAs.Click += new System.EventHandler(this.miSaveAs_Click); // // menuItem11 // this.menuItem11.Index = 7; this.menuItem11.Text = "-"; // // miSaveResults // this.miSaveResults.Index = 8; this.miSaveResults.Text = "Save &Query Results..."; this.miSaveResults.Click += new System.EventHandler(this.miSaveResults_Click); // // menuItem2 // this.menuItem2.Index = 9; this.menuItem2.Text = "-"; // // miExit // this.miExit.Index = 10; this.miExit.Text = "E&xit"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // miEdit // this.miEdit.Index = 1; this.miEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miUndo, this.menuItem16, this.miCut, this.miCopy, this.miPaste, this.menuItem3, this.miSelectAll }); this.miEdit.Text = "&Edit"; // // miUndo // this.miUndo.Index = 0; this.miUndo.Shortcut = System.Windows.Forms.Shortcut.CtrlZ; this.miUndo.Text = "&Undo"; // // menuItem16 // this.menuItem16.Index = 1; this.menuItem16.Text = "-"; // // miCut // this.miCut.Index = 2; this.miCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX; this.miCut.Text = "Cu&t"; // // miCopy // this.miCopy.Index = 3; this.miCopy.Shortcut = System.Windows.Forms.Shortcut.CtrlC; this.miCopy.Text = "&Copy"; // // miPaste // this.miPaste.Index = 4; this.miPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.miPaste.Text = "&Paste"; // // miQuery // this.miQuery.Index = 2; this.miQuery.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miExecute, this.miCancel, this.menuItem1, this.miResultsText, this.miResultsGrid }); this.miQuery.Text = "&Query"; // // miExecute // this.miExecute.Index = 0; this.miExecute.Shortcut = System.Windows.Forms.Shortcut.F5; this.miExecute.Text = "&Execute"; this.miExecute.Click += new System.EventHandler(this.miExecute_Click); // // miCancel // this.miCancel.Index = 1; this.miCancel.Shortcut = System.Windows.Forms.Shortcut.ShiftF5; this.miCancel.Text = "&Cancel Executing Query Alt+Break or"; this.miCancel.Click += new System.EventHandler(this.miCancel_Click); // // menuItem1 // this.menuItem1.Index = 2; this.menuItem1.Text = "-"; // // miResultsText // this.miResultsText.Index = 3; this.miResultsText.Shortcut = System.Windows.Forms.Shortcut.CtrlT; this.miResultsText.Text = "Results in &Text"; this.miResultsText.Click += new System.EventHandler(this.miResultsText_Click); // // miResultsGrid // this.miResultsGrid.Checked = true; this.miResultsGrid.Index = 4; this.miResultsGrid.Shortcut = System.Windows.Forms.Shortcut.CtrlD; this.miResultsGrid.Text = "Results in &Grid"; this.miResultsGrid.Click += new System.EventHandler(this.miResultsGrid_Click); // // miWindow // this.miWindow.Index = 3; this.miWindow.MdiList = true; this.miWindow.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miNextPane, this.miPrevPane, this.miHideResults, this.miHideBrowser }); this.miWindow.Text = "&Window"; // // miNextPane // this.miNextPane.Index = 0; this.miNextPane.Shortcut = System.Windows.Forms.Shortcut.F6; this.miNextPane.Text = "Switch to &Next Pane"; this.miNextPane.Click += new System.EventHandler(this.miNextPane_Click); // // miPrevPane // this.miPrevPane.Index = 1; this.miPrevPane.Shortcut = System.Windows.Forms.Shortcut.ShiftF6; this.miPrevPane.Text = "Switch to &Previous Pane"; this.miPrevPane.Click += new System.EventHandler(this.miPrevPane_Click); // // miHideResults // this.miHideResults.Checked = true; this.miHideResults.Index = 2; this.miHideResults.Shortcut = System.Windows.Forms.Shortcut.CtrlR; this.miHideResults.Text = "Hide &Results Pane"; this.miHideResults.Click += new System.EventHandler(this.miHideResults_Click); // // miHideBrowser // this.miHideBrowser.Index = 3; this.miHideBrowser.Shortcut = System.Windows.Forms.Shortcut.F8; this.miHideBrowser.Text = "Hide &Object Browser"; this.miHideBrowser.Click += new System.EventHandler(this.miHideBrowser_Click); // // miHelp // this.miHelp.Index = 4; this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miAbout }); this.miHelp.Text = "&Help"; // // miAbout // this.miAbout.Index = 0; this.miAbout.Text = "&About..."; this.miAbout.Click += new System.EventHandler(this.miAbout_Click); // // sep5 // this.sep5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbOpen // this.tbOpen.ImageIndex = 3; this.tbOpen.ToolTipText = "Open Existing Query"; // // sep3 // this.sep3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbHideBrowser // this.tbHideBrowser.ImageIndex = 10; this.tbHideBrowser.ToolTipText = "Show/Hide Browser"; // // tbSave // this.tbSave.ImageIndex = 4; this.tbSave.ToolTipText = "Save Query"; // // sep1 // this.sep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbConnect // this.tbConnect.ImageIndex = 0; this.tbConnect.ToolTipText = "Connect"; // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Location = new System.Drawing.Point(0, 30); this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.TabIndex = 0; // // tbExecute // this.tbExecute.ImageIndex = 5; this.tbExecute.ToolTipText = "Execute Query"; // // tbResultsGrid // this.tbResultsGrid.ImageIndex = 8; this.tbResultsGrid.ToolTipText = "Results in Grid"; // // tbNew // this.tbNew.ImageIndex = 2; this.tbNew.ToolTipText = "New Query Window"; // // tbResultsText // this.tbResultsText.ImageIndex = 7; this.tbResultsText.ToolTipText = "Results in Text"; // // sep4 // this.sep4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // sep2 // this.sep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbDisconnect // this.tbDisconnect.ImageIndex = 1; this.tbDisconnect.ToolTipText = "Disconnect and Close Query"; // // toolBar // this.toolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.tbConnect, this.tbDisconnect, this.sep1, this.tbNew, this.tbOpen, this.tbSave, this.sep2, this.tbExecute, this.tbCancel, this.sep3, this.tbResultsText, this.tbResultsGrid, this.sep4, this.tbHideResults, this.tbHideBrowser, this.sep5 }); this.toolBar.DropDownArrows = true; this.toolBar.ImageList = this.imageList; this.toolBar.Name = "toolBar"; this.toolBar.ShowToolTips = true; this.toolBar.Size = new System.Drawing.Size(777, 30); this.toolBar.TabIndex = 0; this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick); // // tbCancel // this.tbCancel.ImageIndex = 6; this.tbCancel.ToolTipText = "Cancel Executing Query"; // // tbHideResults // this.tbHideResults.ImageIndex = 9; this.tbHideResults.ToolTipText = "Show/Hide Results Window"; // // imageList // this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.imageList.ImageSize = new System.Drawing.Size(23, 21); this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; // // editManager // this.editManager.MenuItemCopy = this.miCopy; this.editManager.MenuItemCut = this.miCut; this.editManager.MenuItemEdit = this.miEdit; this.editManager.MenuItemPaste = this.miPaste; this.editManager.MenuItemSelectAll = this.miSelectAll; this.editManager.MenuItemUndo = this.miUndo; // // menuItem3 // this.menuItem3.Index = 5; this.menuItem3.Text = "-"; // // miSelectAll // this.miSelectAll.Index = 6; this.miSelectAll.Shortcut = System.Windows.Forms.Shortcut.CtrlA; this.miSelectAll.Text = "Select &All"; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(777, 531); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.toolBar, this.mdiClient1 }); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Menu = this.mainMenu; this.Name = "MainForm"; this.Text = "Query Express"; this.MdiChildActivate += new System.EventHandler(this.MainForm_MdiChildActivate); this.ResumeLayout(false); }
private void PopulateWindowMenu () { if (mdilist) { if (mdilist_items == null) { mdilist_items = new Hashtable (); mdilist_forms = new Hashtable (); } do { MainMenu main = GetMainMenu (); if (main == null || main.GetForm () == null) break; Form form = main.GetForm (); mdicontainer = form.MdiContainer; if (mdicontainer == null) break; // Remove closed forms MenuItem[] items = new MenuItem[mdilist_items.Count]; mdilist_items.Keys.CopyTo (items, 0); foreach (MenuItem item in items) { Form mdichild = (Form) mdilist_items [item]; if (!mdicontainer.mdi_child_list.Contains(mdichild)) { mdilist_items.Remove (item); mdilist_forms.Remove (mdichild); MenuItems.Remove (item); } } // Add new forms and update state for existing forms. for (int i = 0; i < mdicontainer.mdi_child_list.Count; i++) { Form mdichild = (Form)mdicontainer.mdi_child_list[i]; MenuItem item; if (mdilist_forms.Contains (mdichild)) { item = (MenuItem) mdilist_forms [mdichild]; } else { item = new MenuItem (); item.is_window_menu_item = true; item.Click += new EventHandler (MdiWindowClickHandler); mdilist_items [item] = mdichild; mdilist_forms [mdichild] = item; MenuItems.AddNoEvents (item); } item.Visible = mdichild.Visible; item.Text = "&" + (i + 1).ToString () + " " + mdichild.Text; item.Checked = form.ActiveMdiChild == mdichild; } } while (false); } else { // Remove all forms if (mdilist_items != null) { foreach (MenuItem item in mdilist_items.Values) { MenuItems.Remove (item); } mdilist_forms.Clear (); mdilist_items.Clear (); } } }
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.dotNetBarManager1 = new DevComponents.DotNetBar.DotNetBarManager(this.components); this.barBottomDockSite = new DevComponents.DotNetBar.DockSite(); this.barLeftDockSite = new DevComponents.DotNetBar.DockSite(); this.barRightDockSite = new DevComponents.DotNetBar.DockSite(); this.barTopDockSite = new DevComponents.DotNetBar.DockSite(); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.dockSite1 = new DevComponents.DotNetBar.DockSite(); this.dockSite2 = new DevComponents.DotNetBar.DockSite(); this.dockSite3 = new DevComponents.DotNetBar.DockSite(); this.dockSite4 = new DevComponents.DotNetBar.DockSite(); this.mainmenu = new DevComponents.DotNetBar.Bar(); this.item_50 = new DevComponents.DotNetBar.ButtonItem(); this.mNew = new DevComponents.DotNetBar.ButtonItem(); this.mTextFile = new DevComponents.DotNetBar.ButtonItem(); this.mXMLDocument = new DevComponents.DotNetBar.ButtonItem(); this.mHTMLDocument = new DevComponents.DotNetBar.ButtonItem(); this.mOpen = new DevComponents.DotNetBar.ButtonItem(); this.mExit = new DevComponents.DotNetBar.ButtonItem(); this.item_55 = new DevComponents.DotNetBar.ButtonItem(); this.mAbout = new DevComponents.DotNetBar.ButtonItem(); this.mSwitch = new DevComponents.DotNetBar.ButtonItem(); this.dockSite3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mainmenu)).BeginInit(); this.SuspendLayout(); // // dotNetBarManager1 // this.dotNetBarManager1.BottomDockSite = this.barBottomDockSite; this.dotNetBarManager1.DefinitionName = ""; this.dotNetBarManager1.LeftDockSite = this.barLeftDockSite; this.dotNetBarManager1.ParentForm = this; this.dotNetBarManager1.RightDockSite = this.barRightDockSite; this.dotNetBarManager1.ShowCustomizeContextMenu = false; this.dotNetBarManager1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP; this.dotNetBarManager1.ToolbarBottomDockSite = this.dockSite4; this.dotNetBarManager1.ToolbarLeftDockSite = this.dockSite1; this.dotNetBarManager1.ToolbarRightDockSite = this.dockSite2; this.dotNetBarManager1.ToolbarTopDockSite = this.dockSite3; this.dotNetBarManager1.TopDockSite = this.barTopDockSite; this.dotNetBarManager1.ItemClick += new System.EventHandler(this.OnItemClick); // // barBottomDockSite // this.barBottomDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barBottomDockSite.Dock = System.Windows.Forms.DockStyle.Bottom; this.barBottomDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.barBottomDockSite.Location = new System.Drawing.Point(0, 273); this.barBottomDockSite.Name = "barBottomDockSite"; this.barBottomDockSite.Size = new System.Drawing.Size(406, 0); this.barBottomDockSite.TabIndex = 2; this.barBottomDockSite.TabStop = false; // // barLeftDockSite // this.barLeftDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barLeftDockSite.Dock = System.Windows.Forms.DockStyle.Left; this.barLeftDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.barLeftDockSite.Location = new System.Drawing.Point(0, 25); this.barLeftDockSite.Name = "barLeftDockSite"; this.barLeftDockSite.Size = new System.Drawing.Size(0, 248); this.barLeftDockSite.TabIndex = 3; this.barLeftDockSite.TabStop = false; // // barRightDockSite // this.barRightDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barRightDockSite.Dock = System.Windows.Forms.DockStyle.Right; this.barRightDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.barRightDockSite.Location = new System.Drawing.Point(406, 25); this.barRightDockSite.Name = "barRightDockSite"; this.barRightDockSite.Size = new System.Drawing.Size(0, 248); this.barRightDockSite.TabIndex = 4; this.barRightDockSite.TabStop = false; // // barTopDockSite // this.barTopDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.barTopDockSite.Dock = System.Windows.Forms.DockStyle.Top; this.barTopDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.barTopDockSite.Location = new System.Drawing.Point(0, 25); this.barTopDockSite.Name = "barTopDockSite"; this.barTopDockSite.Size = new System.Drawing.Size(406, 0); this.barTopDockSite.TabIndex = 1; this.barTopDockSite.TabStop = false; // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Location = new System.Drawing.Point(0, 25); this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.TabIndex = 5; // // dockSite1 // this.dockSite1.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite1.Dock = System.Windows.Forms.DockStyle.Left; this.dockSite1.Location = new System.Drawing.Point(0, 25); this.dockSite1.Name = "dockSite1"; this.dockSite1.Size = new System.Drawing.Size(0, 248); this.dockSite1.TabIndex = 6; this.dockSite1.TabStop = false; // // dockSite2 // this.dockSite2.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite2.Dock = System.Windows.Forms.DockStyle.Right; this.dockSite2.Location = new System.Drawing.Point(406, 25); this.dockSite2.Name = "dockSite2"; this.dockSite2.Size = new System.Drawing.Size(0, 248); this.dockSite2.TabIndex = 7; this.dockSite2.TabStop = false; // // dockSite3 // this.dockSite3.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite3.Controls.AddRange(new System.Windows.Forms.Control[] { this.mainmenu }); this.dockSite3.Dock = System.Windows.Forms.DockStyle.Top; this.dockSite3.Name = "dockSite3"; this.dockSite3.Size = new System.Drawing.Size(406, 25); this.dockSite3.TabIndex = 8; this.dockSite3.TabStop = false; // // dockSite4 // this.dockSite4.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite4.Dock = System.Windows.Forms.DockStyle.Bottom; this.dockSite4.Location = new System.Drawing.Point(0, 273); this.dockSite4.Name = "dockSite4"; this.dockSite4.Size = new System.Drawing.Size(406, 0); this.dockSite4.TabIndex = 9; this.dockSite4.TabStop = false; // // mainmenu // this.mainmenu.AccessibleDescription = "Main Menu (mainmenu)"; this.mainmenu.AccessibleName = "Main Menu"; this.mainmenu.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar; this.mainmenu.DockSide = DevComponents.DotNetBar.eDockSide.Top; this.mainmenu.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.item_50, this.item_55, this.mSwitch }); this.mainmenu.MenuBar = true; this.mainmenu.Name = "mainmenu"; this.mainmenu.Size = new System.Drawing.Size(406, 24); this.mainmenu.Stretch = true; this.mainmenu.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.mainmenu.TabIndex = 0; this.mainmenu.TabStop = false; this.mainmenu.Text = "Main Menu"; // // item_50 // this.item_50.GlobalName = "item_50"; this.item_50.Name = "item_50"; this.item_50.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.item_50.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.mNew, this.mOpen, this.mExit }); this.item_50.Text = "&File"; // // mNew // this.mNew.GlobalName = "mNew"; this.mNew.Image = ((System.Drawing.Bitmap)(resources.GetObject("mNew.Image"))); this.mNew.Name = "mNew"; this.mNew.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.mNew.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlN); this.mNew.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.mTextFile, this.mXMLDocument, this.mHTMLDocument }); this.mNew.Text = "&New"; // // mTextFile // this.mTextFile.GlobalName = "mTextFile"; this.mTextFile.Name = "mTextFile"; this.mTextFile.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.mTextFile.Text = "&Text File"; // // mXMLDocument // this.mXMLDocument.GlobalName = "mXMLDocument"; this.mXMLDocument.Name = "mXMLDocument"; this.mXMLDocument.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.mXMLDocument.Text = "&XML Document"; // // mHTMLDocument // this.mHTMLDocument.GlobalName = "mHTMLDocument"; this.mHTMLDocument.Name = "mHTMLDocument"; this.mHTMLDocument.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.mHTMLDocument.Text = "&HTML Document"; // // mOpen // this.mOpen.GlobalName = "mOpen"; this.mOpen.Image = ((System.Drawing.Bitmap)(resources.GetObject("mOpen.Image"))); this.mOpen.Name = "mOpen"; this.mOpen.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.mOpen.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlO); this.mOpen.Text = "&Open"; // // mExit // this.mExit.BeginGroup = true; this.mExit.GlobalName = "mExit"; this.mExit.Name = "mExit"; this.mExit.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.mExit.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlX); this.mExit.Text = "&Exit"; // // item_55 // this.item_55.GlobalName = "item_55"; this.item_55.Name = "item_55"; this.item_55.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.item_55.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.mAbout }); this.item_55.Text = "&Help"; // // mAbout // this.mAbout.GlobalName = "mAbout"; this.mAbout.Name = "mAbout"; this.mAbout.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.mAbout.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.F1); this.mAbout.Text = "&About"; // // mSwitch // this.mSwitch.GlobalName = "mSwitch"; this.mSwitch.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far; this.mSwitch.Name = "mSwitch"; this.mSwitch.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault; this.mSwitch.ShowSubItems = false; this.mSwitch.Text = "Switch Style"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(406, 273); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.barTopDockSite, this.barBottomDockSite, this.barLeftDockSite, this.barRightDockSite, this.dockSite1, this.dockSite2, this.dockSite3, this.dockSite4, this.mdiClient1 }); this.IsMdiContainer = true; this.Name = "Form1"; this.Text = "Form1"; this.dockSite3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mainmenu)).EndInit(); this.ResumeLayout(false); }