private void LoadToolBar() { C1.Win.C1Command.C1Command command = new C1.Win.C1Command.C1Command(); command.Text = "保存"; c1CommandHolder1.Commands.Add(command); C1.Win.C1Command.C1CommandLink link = new C1.Win.C1Command.C1CommandLink(); link.Text = "保存"; link.ButtonLook = ButtonLookFlags.TextAndImage; link.Command = command; c1ToolBar1.CommandLinks.Add(link); }
private C1CommandMenu AddMainLink(C1MainMenu mainMenu, string menuname) { C1CommandMenu commandMenu = new C1CommandMenu(); C1.Win.C1Command.C1CommandLink link = new C1.Win.C1Command.C1CommandLink(); link.Text = menuname; link.Command = commandMenu; mainMenu.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] { link }); commandHolder.Commands.Add(commandMenu); return(commandMenu); }
private C1CommandMenu AddLink(C1.Win.C1Command.C1CommandMenu cmenu, ND_MENU m) { C1CommandMenu commandMenu = new C1CommandMenu(); C1.Win.C1Command.C1CommandLink link = new C1.Win.C1Command.C1CommandLink(); link.Text = m.MENUCAPTION; link.Command = commandMenu; cmenu.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] { link }); commandMenu.Text = m.MENUCAPTION; commandMenu.UserData = m; commandHolder.Commands.Add(commandMenu); return(commandMenu); }
public void AddButton(string caption, string imgpath, bool enabled) { C1.Win.C1Command.C1Command command = new C1.Win.C1Command.C1Command(); command.Enabled = enabled; command.Text = caption; c1CommandHolder1.Commands.Add(command); C1.Win.C1Command.C1CommandLink link = new C1.Win.C1Command.C1CommandLink(); link.Text = caption; if (imgpath == "") { imgpath = DefaultImagePath(caption); } if (imgpath != "") { command.Image = System.Drawing.Image.FromFile(imgpath); link.ButtonLook = ButtonLookFlags.TextAndImage; } else { link.ButtonLook = ButtonLookFlags.Text; } link.Command = command; c1ToolBar1.CommandLinks.Add(link); }
/// <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)); System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("..."); System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("A:", 0, 4, new System.Windows.Forms.TreeNode[] { treeNode1 }); System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("..."); System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("C:", 0, 4, new System.Windows.Forms.TreeNode[] { treeNode3 }); System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("..."); System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("D:", 0, 4, new System.Windows.Forms.TreeNode[] { treeNode5 }); System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("..."); System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("E:", 0, 4, new System.Windows.Forms.TreeNode[] { treeNode7 }); System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("..."); System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("F:", 0, 4, new System.Windows.Forms.TreeNode[] { treeNode9 }); System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("..."); System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("G:", 0, 4, new System.Windows.Forms.TreeNode[] { treeNode11 }); System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("..."); System.Windows.Forms.TreeNode treeNode14 = new System.Windows.Forms.TreeNode("U:", 0, 4, new System.Windows.Forms.TreeNode[] { treeNode13 }); System.Windows.Forms.TreeNode treeNode15 = new System.Windows.Forms.TreeNode("..."); System.Windows.Forms.TreeNode treeNode16 = new System.Windows.Forms.TreeNode("W:", 0, 4, new System.Windows.Forms.TreeNode[] { treeNode15 }); System.Windows.Forms.TreeNode treeNode17 = new System.Windows.Forms.TreeNode("..."); System.Windows.Forms.TreeNode treeNode18 = new System.Windows.Forms.TreeNode("X:", 0, 4, new System.Windows.Forms.TreeNode[] { treeNode17 }); this.c1MainMenu1 = new C1.Win.C1Command.C1MainMenu(); this.c1CommandHolder1 = new C1.Win.C1Command.C1CommandHolder(); this.mnuFile = new C1.Win.C1Command.C1CommandMenu(); this.c1CommandLink8 = new C1.Win.C1Command.C1CommandLink(); this.cmdFileNew = new C1.Win.C1Command.C1Command(); this.c1CommandLink9 = new C1.Win.C1Command.C1CommandLink(); this.cmdFileOpen = new C1.Win.C1Command.C1Command(); this.c1CommandLink11 = new C1.Win.C1Command.C1CommandLink(); this.cmdFileSave = new C1.Win.C1Command.C1Command(); this.c1CommandLink3 = new C1.Win.C1Command.C1CommandLink(); this.cmdExit = new C1.Win.C1Command.C1Command(); this.mnuEdit = new C1.Win.C1Command.C1CommandMenu(); this.c1CommandLink5 = new C1.Win.C1Command.C1CommandLink(); this.mnuWindow = new C1.Win.C1Command.C1CommandMenu(); this.c1CommandLink7 = new C1.Win.C1Command.C1CommandLink(); this.cmdWindowCloseAll = new C1.Win.C1Command.C1Command(); this.c1CommandMenuOptions = new C1.Win.C1Command.C1CommandMenu(); this.c1CommandLink14 = new C1.Win.C1Command.C1CommandLink(); this.c1CommandVS2005 = new C1.Win.C1Command.C1Command(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.c1CommandLink1 = new C1.Win.C1Command.C1CommandLink(); this.c1CommandLink4 = new C1.Win.C1Command.C1CommandLink(); this.c1CommandLink13 = new C1.Win.C1Command.C1CommandLink(); this.c1CommandLink6 = new C1.Win.C1Command.C1CommandLink(); this.dockToolbar = new C1.Win.C1Command.C1CommandDock(); this.c1ToolBar1 = new C1.Win.C1Command.C1ToolBar(); this.c1CommandLink2 = new C1.Win.C1Command.C1CommandLink(); this.c1CommandLink10 = new C1.Win.C1Command.C1CommandLink(); this.c1CommandLink12 = new C1.Win.C1Command.C1CommandLink(); this.dockSidebar = new C1.Win.C1Command.C1CommandDock(); this.tabSidebar = new C1.Win.C1Command.C1DockingTab(); this.c1DockingTabPage2 = new C1.Win.C1Command.C1DockingTabPage(); this.dirView = new MdiTabs.DirView(); this.c1DockingTabPage1 = new C1.Win.C1Command.C1DockingTabPage(); this.listOpenFiles = new System.Windows.Forms.ListBox(); this.dockTray = new C1.Win.C1Command.C1CommandDock(); this.tabTray = new C1.Win.C1Command.C1DockingTab(); this.c1DockingTabPage3 = new C1.Win.C1Command.C1DockingTabPage(); this.textLog = new System.Windows.Forms.TextBox(); this.tabMain = new C1.Win.C1Command.C1DockingTab(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockToolbar)).BeginInit(); this.dockToolbar.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dockSidebar)).BeginInit(); this.dockSidebar.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabSidebar)).BeginInit(); this.tabSidebar.SuspendLayout(); this.c1DockingTabPage2.SuspendLayout(); this.c1DockingTabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dockTray)).BeginInit(); this.dockTray.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabTray)).BeginInit(); this.tabTray.SuspendLayout(); this.c1DockingTabPage3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit(); this.SuspendLayout(); // // c1MainMenu1 // this.c1MainMenu1.AccessibleName = "Menu Bar"; this.c1MainMenu1.CommandHolder = this.c1CommandHolder1; this.c1MainMenu1.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] { this.c1CommandLink1, this.c1CommandLink4, this.c1CommandLink13, this.c1CommandLink6 }); this.c1MainMenu1.Dock = System.Windows.Forms.DockStyle.Top; this.c1MainMenu1.Location = new System.Drawing.Point(0, 0); this.c1MainMenu1.Name = "c1MainMenu1"; this.c1MainMenu1.Size = new System.Drawing.Size(760, 21); this.c1MainMenu1.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP; // // c1CommandHolder1 // this.c1CommandHolder1.Commands.Add(this.mnuFile); this.c1CommandHolder1.Commands.Add(this.mnuEdit); this.c1CommandHolder1.Commands.Add(this.mnuWindow); this.c1CommandHolder1.Commands.Add(this.cmdExit); this.c1CommandHolder1.Commands.Add(this.cmdFileNew); this.c1CommandHolder1.Commands.Add(this.cmdFileOpen); this.c1CommandHolder1.Commands.Add(this.cmdFileSave); this.c1CommandHolder1.Commands.Add(this.cmdWindowCloseAll); this.c1CommandHolder1.Commands.Add(this.c1CommandMenuOptions); this.c1CommandHolder1.Commands.Add(this.c1CommandVS2005); this.c1CommandHolder1.ImageList = this.imageList1; this.c1CommandHolder1.ImageTransparentColor = System.Drawing.Color.Magenta; this.c1CommandHolder1.Owner = this; // // mnuFile // this.mnuFile.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] { this.c1CommandLink8, this.c1CommandLink9, this.c1CommandLink11, this.c1CommandLink3 }); this.mnuFile.Name = "mnuFile"; this.mnuFile.Text = "&File"; this.mnuFile.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP; // // c1CommandLink8 // this.c1CommandLink8.Command = this.cmdFileNew; // // cmdFileNew // this.cmdFileNew.ImageIndex = 1; this.cmdFileNew.Name = "cmdFileNew"; this.cmdFileNew.Text = "&New"; this.cmdFileNew.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdFileNew_Click); // // c1CommandLink9 // this.c1CommandLink9.Command = this.cmdFileOpen; // // cmdFileOpen // this.cmdFileOpen.ImageIndex = 0; this.cmdFileOpen.Name = "cmdFileOpen"; this.cmdFileOpen.Text = "&Open"; this.cmdFileOpen.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdFileOpen_Click); // // c1CommandLink11 // this.c1CommandLink11.Command = this.cmdFileSave; // // cmdFileSave // this.cmdFileSave.ImageIndex = 2; this.cmdFileSave.Name = "cmdFileSave"; this.cmdFileSave.Text = "&Save"; this.cmdFileSave.CommandStateQuery += new C1.Win.C1Command.CommandStateQueryEventHandler(this.cmdFileSave_CommandStateQuery); this.cmdFileSave.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdFileSave_Click); // // c1CommandLink3 // this.c1CommandLink3.Command = this.cmdExit; this.c1CommandLink3.Delimiter = true; // // cmdExit // this.cmdExit.Name = "cmdExit"; this.cmdExit.Text = "E&xit"; this.cmdExit.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdExit_Click); // // mnuEdit // this.mnuEdit.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] { this.c1CommandLink5 }); this.mnuEdit.HideNonRecentLinks = false; this.mnuEdit.Name = "mnuEdit"; this.mnuEdit.Text = "&Edit"; this.mnuEdit.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP; // // c1CommandLink5 // this.c1CommandLink5.Text = "[TBD]"; // // mnuWindow // this.mnuWindow.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] { this.c1CommandLink7 }); this.mnuWindow.HideNonRecentLinks = false; this.mnuWindow.Name = "mnuWindow"; this.mnuWindow.Text = "&Window"; this.mnuWindow.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP; this.mnuWindow.Popup += new System.EventHandler(this.mnuWindow_Popup); // // c1CommandLink7 // this.c1CommandLink7.Command = this.cmdWindowCloseAll; // // cmdWindowCloseAll // this.cmdWindowCloseAll.Name = "cmdWindowCloseAll"; this.cmdWindowCloseAll.Text = "Close &All"; this.cmdWindowCloseAll.CommandStateQuery += new C1.Win.C1Command.CommandStateQueryEventHandler(this.cmdWindowCloseAll_CommandStateQuery); this.cmdWindowCloseAll.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdWindowCloseAll_Click); // // c1CommandMenuOptions // this.c1CommandMenuOptions.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] { this.c1CommandLink14 }); this.c1CommandMenuOptions.HideNonRecentLinks = false; this.c1CommandMenuOptions.Name = "c1CommandMenuOptions"; this.c1CommandMenuOptions.Text = "O&ptions"; this.c1CommandMenuOptions.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP; // // c1CommandLink14 // this.c1CommandLink14.Command = this.c1CommandVS2005; // // c1CommandVS2005 // this.c1CommandVS2005.CheckAutoToggle = true; this.c1CommandVS2005.Checked = true; this.c1CommandVS2005.Name = "c1CommandVS2005"; this.c1CommandVS2005.Text = "VS2005 Docking"; this.c1CommandVS2005.CheckedChanged += new C1.Win.C1Command.CheckedChangedEventHandler(this.c1CommandVS2005_CheckedChanged); // // 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, ""); // // c1CommandLink1 // this.c1CommandLink1.Command = this.mnuFile; // // c1CommandLink4 // this.c1CommandLink4.Command = this.mnuEdit; this.c1CommandLink4.SortOrder = 1; // // c1CommandLink13 // this.c1CommandLink13.Command = this.c1CommandMenuOptions; this.c1CommandLink13.SortOrder = 2; // // c1CommandLink6 // this.c1CommandLink6.Command = this.mnuWindow; this.c1CommandLink6.SortOrder = 3; // // dockToolbar // this.dockToolbar.Controls.Add(this.c1ToolBar1); this.dockToolbar.Id = 1; this.dockToolbar.Location = new System.Drawing.Point(0, 21); this.dockToolbar.Name = "dockToolbar"; this.dockToolbar.Size = new System.Drawing.Size(760, 24); // // c1ToolBar1 // this.c1ToolBar1.CommandHolder = this.c1CommandHolder1; this.c1ToolBar1.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] { this.c1CommandLink2, this.c1CommandLink10, this.c1CommandLink12 }); this.c1ToolBar1.Location = new System.Drawing.Point(0, 0); this.c1ToolBar1.Name = "c1ToolBar1"; this.c1ToolBar1.Size = new System.Drawing.Size(77, 24); this.c1ToolBar1.Text = "c1ToolBar1"; this.c1ToolBar1.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP; // // c1CommandLink2 // this.c1CommandLink2.Command = this.cmdFileNew; // // c1CommandLink10 // this.c1CommandLink10.Command = this.cmdFileOpen; // // c1CommandLink12 // this.c1CommandLink12.Command = this.cmdFileSave; // // dockSidebar // this.dockSidebar.BackColor = System.Drawing.SystemColors.ControlDark; this.dockSidebar.Controls.Add(this.tabSidebar); this.dockSidebar.Dock = System.Windows.Forms.DockStyle.Right; this.dockSidebar.Id = 3; this.dockSidebar.Location = new System.Drawing.Point(592, 45); this.dockSidebar.Name = "dockSidebar"; this.dockSidebar.Size = new System.Drawing.Size(168, 504); // // tabSidebar // this.tabSidebar.Alignment = System.Windows.Forms.TabAlignment.Bottom; this.tabSidebar.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tabSidebar.CanAutoHide = true; this.tabSidebar.CanCloseTabs = true; this.tabSidebar.CanMoveTabs = true; this.tabSidebar.Controls.Add(this.c1DockingTabPage2); this.tabSidebar.Controls.Add(this.c1DockingTabPage1); this.tabSidebar.Location = new System.Drawing.Point(0, 0); this.tabSidebar.Name = "tabSidebar"; this.tabSidebar.ShowCaption = true; this.tabSidebar.Size = new System.Drawing.Size(168, 504); this.tabSidebar.TabIndex = 0; this.tabSidebar.TabSizeMode = C1.Win.C1Command.TabSizeModeEnum.Fit; this.tabSidebar.TabsSpacing = 0; this.tabSidebar.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP; // // c1DockingTabPage2 // this.c1DockingTabPage2.Controls.Add(this.dirView); this.c1DockingTabPage2.Location = new System.Drawing.Point(3, 0); this.c1DockingTabPage2.Name = "c1DockingTabPage2"; this.c1DockingTabPage2.Size = new System.Drawing.Size(165, 480); this.c1DockingTabPage2.TabIndex = 0; this.c1DockingTabPage2.Text = "Directory Listing"; // // dirView // this.dirView.Dock = System.Windows.Forms.DockStyle.Fill; this.dirView.Filter = new string[] { "*.rtf", "*.txt" }; this.dirView.ImageIndex = 0; this.dirView.Location = new System.Drawing.Point(0, 20); this.dirView.Name = "dirView"; treeNode1.Name = ""; treeNode1.Tag = ((object)(resources.GetObject("treeNode1.Tag"))); treeNode1.Text = "..."; treeNode2.ImageIndex = 0; treeNode2.Name = ""; treeNode2.SelectedImageIndex = 4; treeNode2.Tag = ((object)(resources.GetObject("treeNode2.Tag"))); treeNode2.Text = "A:"; treeNode3.Name = ""; treeNode3.Tag = ((object)(resources.GetObject("treeNode3.Tag"))); treeNode3.Text = "..."; treeNode4.ImageIndex = 0; treeNode4.Name = ""; treeNode4.SelectedImageIndex = 4; treeNode4.Tag = ((object)(resources.GetObject("treeNode4.Tag"))); treeNode4.Text = "C:"; treeNode5.Name = ""; treeNode5.Tag = ((object)(resources.GetObject("treeNode5.Tag"))); treeNode5.Text = "..."; treeNode6.ImageIndex = 0; treeNode6.Name = ""; treeNode6.SelectedImageIndex = 4; treeNode6.Tag = ((object)(resources.GetObject("treeNode6.Tag"))); treeNode6.Text = "D:"; treeNode7.Name = ""; treeNode7.Tag = ((object)(resources.GetObject("treeNode7.Tag"))); treeNode7.Text = "..."; treeNode8.ImageIndex = 0; treeNode8.Name = ""; treeNode8.SelectedImageIndex = 4; treeNode8.Tag = ((object)(resources.GetObject("treeNode8.Tag"))); treeNode8.Text = "E:"; treeNode9.Name = ""; treeNode9.Tag = ((object)(resources.GetObject("treeNode9.Tag"))); treeNode9.Text = "..."; treeNode10.ImageIndex = 0; treeNode10.Name = ""; treeNode10.SelectedImageIndex = 4; treeNode10.Tag = ((object)(resources.GetObject("treeNode10.Tag"))); treeNode10.Text = "F:"; treeNode11.Name = ""; treeNode11.Tag = ((object)(resources.GetObject("treeNode11.Tag"))); treeNode11.Text = "..."; treeNode12.ImageIndex = 0; treeNode12.Name = ""; treeNode12.SelectedImageIndex = 4; treeNode12.Tag = ((object)(resources.GetObject("treeNode12.Tag"))); treeNode12.Text = "G:"; treeNode13.Name = ""; treeNode13.Tag = ((object)(resources.GetObject("treeNode13.Tag"))); treeNode13.Text = "..."; treeNode14.ImageIndex = 0; treeNode14.Name = ""; treeNode14.SelectedImageIndex = 4; treeNode14.Tag = ((object)(resources.GetObject("treeNode14.Tag"))); treeNode14.Text = "U:"; treeNode15.Name = ""; treeNode15.Tag = ((object)(resources.GetObject("treeNode15.Tag"))); treeNode15.Text = "..."; treeNode16.ImageIndex = 0; treeNode16.Name = ""; treeNode16.SelectedImageIndex = 4; treeNode16.Tag = ((object)(resources.GetObject("treeNode16.Tag"))); treeNode16.Text = "W:"; treeNode17.Name = ""; treeNode17.Tag = ((object)(resources.GetObject("treeNode17.Tag"))); treeNode17.Text = "..."; treeNode18.ImageIndex = 0; treeNode18.Name = ""; treeNode18.SelectedImageIndex = 4; treeNode18.Tag = ((object)(resources.GetObject("treeNode18.Tag"))); treeNode18.Text = "X:"; this.dirView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode2, treeNode4, treeNode6, treeNode8, treeNode10, treeNode12, treeNode14, treeNode16, treeNode18 }); this.dirView.SelectedImageIndex = 0; this.dirView.Size = new System.Drawing.Size(165, 460); this.dirView.TabIndex = 0; this.dirView.EditFile += new MdiTabs.DirView.EditFileEventHandler(this.dirView_EditFile); // // c1DockingTabPage1 // this.c1DockingTabPage1.Controls.Add(this.listOpenFiles); this.c1DockingTabPage1.Location = new System.Drawing.Point(3, 0); this.c1DockingTabPage1.Name = "c1DockingTabPage1"; this.c1DockingTabPage1.Size = new System.Drawing.Size(165, 480); this.c1DockingTabPage1.TabIndex = 1; this.c1DockingTabPage1.Text = "Open Files"; // // listOpenFiles // this.listOpenFiles.Dock = System.Windows.Forms.DockStyle.Fill; this.listOpenFiles.Location = new System.Drawing.Point(0, 20); this.listOpenFiles.Name = "listOpenFiles"; this.listOpenFiles.Size = new System.Drawing.Size(165, 459); this.listOpenFiles.TabIndex = 0; this.listOpenFiles.DoubleClick += new System.EventHandler(this.listOpenFiles_DoubleClick); // // dockTray // this.dockTray.BackColor = System.Drawing.SystemColors.Window; this.dockTray.Controls.Add(this.tabTray); this.dockTray.Dock = System.Windows.Forms.DockStyle.Bottom; this.dockTray.Id = 4; this.dockTray.Location = new System.Drawing.Point(0, 421); this.dockTray.Name = "dockTray"; this.dockTray.Size = new System.Drawing.Size(592, 128); // // tabTray // this.tabTray.Alignment = System.Windows.Forms.TabAlignment.Bottom; this.tabTray.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tabTray.CanAutoHide = true; this.tabTray.CanCloseTabs = true; this.tabTray.CanMoveTabs = true; this.tabTray.Controls.Add(this.c1DockingTabPage3); this.tabTray.Location = new System.Drawing.Point(0, 0); this.tabTray.Name = "tabTray"; this.tabTray.ShowCaption = true; this.tabTray.Size = new System.Drawing.Size(592, 128); this.tabTray.TabIndex = 0; this.tabTray.TabSizeMode = C1.Win.C1Command.TabSizeModeEnum.Fit; this.tabTray.TabsSpacing = 0; this.tabTray.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP; // // c1DockingTabPage3 // this.c1DockingTabPage3.Controls.Add(this.textLog); this.c1DockingTabPage3.Location = new System.Drawing.Point(0, 3); this.c1DockingTabPage3.Name = "c1DockingTabPage3"; this.c1DockingTabPage3.Size = new System.Drawing.Size(592, 101); this.c1DockingTabPage3.TabIndex = 0; this.c1DockingTabPage3.Text = "Log"; // // textLog // this.textLog.Dock = System.Windows.Forms.DockStyle.Fill; this.textLog.Location = new System.Drawing.Point(0, 20); this.textLog.Multiline = true; this.textLog.Name = "textLog"; this.textLog.ReadOnly = true; this.textLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textLog.Size = new System.Drawing.Size(592, 81); this.textLog.TabIndex = 0; // // tabMain // this.tabMain.BackColor = System.Drawing.SystemColors.AppWorkspace; this.tabMain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tabMain.CanCloseTabs = true; this.tabMain.CanMoveTabs = true; this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tabMain.Location = new System.Drawing.Point(0, 45); this.tabMain.Name = "tabMain"; this.tabMain.Size = new System.Drawing.Size(592, 376); this.tabMain.TabIndex = 5; this.tabMain.TabsSpacing = 0; this.tabMain.VisualStyle = C1.Win.C1Command.VisualStyle.Custom; this.tabMain.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP; this.tabMain.TabPageClosed += new C1.Win.C1Command.TabPageEventHandler(this.tabMain_TabPageClosed); this.tabMain.SelectedIndexChanged += new System.EventHandler(this.tabMain_SelectedIndexChanged); this.tabMain.TabPageClosing += new C1.Win.C1Command.TabPageCancelEventHandler(this.tabMain_TabPageClosing); this.tabMain.DoubleClick += new System.EventHandler(this.tabMain_DoubleClick); // // openFileDialog1 // this.openFileDialog1.CheckFileExists = false; this.openFileDialog1.Filter = "Rich text files|*.rtf|Text files|*.txt|All files|*.*"; // // saveFileDialog1 // this.saveFileDialog1.Filter = "Rich text files|*.rtf|Text files|*.txt|All files|*.*"; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(760, 549); this.Controls.Add(this.tabMain); this.Controls.Add(this.dockTray); this.Controls.Add(this.dockSidebar); this.Controls.Add(this.dockToolbar); this.Controls.Add(this.c1MainMenu1); this.Name = "MainForm"; this.Text = "MainForm"; this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockToolbar)).EndInit(); this.dockToolbar.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dockSidebar)).EndInit(); this.dockSidebar.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabSidebar)).EndInit(); this.tabSidebar.ResumeLayout(false); this.c1DockingTabPage2.ResumeLayout(false); this.c1DockingTabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dockTray)).EndInit(); this.dockTray.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabTray)).EndInit(); this.tabTray.ResumeLayout(false); this.c1DockingTabPage3.ResumeLayout(false); this.c1DockingTabPage3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabMain)).EndInit(); this.ResumeLayout(false); }