├── sample_3_6
├── Properties
│ ├── licenses.licx
│ ├── Settings.settings
│ ├── Settings.Designer.cs
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── SecondMDIChild.cs
├── ChildForm.cs
├── Program.cs
├── App.config
├── Form1.cs
├── ChildForm.Designer.cs
├── ChildForm.resx
├── sample_3_6.csproj
├── Form1.resx
├── SecondMDIChild.resx
└── Form1.Designer.cs
├── sample_3_6.sln
├── .gitattributes
└── .gitignore
/sample_3_6/Properties/licenses.licx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/sample_3_6/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/sample_3_6/SecondMDIChild.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Linq;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 | using DevExpress.XtraEditors;
11 |
12 | namespace sample_3_6 {
13 | public partial class SecondMDIChild : DevExpress.XtraBars.Ribbon.RibbonForm {
14 | public SecondMDIChild() {
15 | InitializeComponent();
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/sample_3_6/ChildForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Linq;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 | using DevExpress.XtraEditors;
11 |
12 | namespace sample_3_6 {
13 | public partial class ChildForm : DevExpress.XtraBars.Ribbon.RibbonForm {
14 | public ChildForm() {
15 | InitializeComponent();
16 |
17 | var r = new Random((int)DateTime.Now.Ticks);
18 | panel1.BackColor =
19 | Color.FromArgb(r.Next(256), r.Next(256), r.Next(256));
20 | }
21 | }
22 | }
--------------------------------------------------------------------------------
/sample_3_6/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 | using DevExpress.UserSkins;
6 | using DevExpress.Skins;
7 | using DevExpress.LookAndFeel;
8 |
9 | namespace sample_3_6 {
10 | static class Program {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main() {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 |
19 | SkinManager.EnableMdiFormSkins();
20 | Application.Run(new Form1());
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/sample_3_6/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | System
12 |
13 |
14 | True
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/sample_3_6/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace sample_3_6.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/sample_3_6.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30204.135
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sample_3_6", "sample_3_6\sample_3_6.csproj", "{A9F53089-8D59-4A05-B1DC-93A3016EB729}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {A9F53089-8D59-4A05-B1DC-93A3016EB729}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {A9F53089-8D59-4A05-B1DC-93A3016EB729}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {A9F53089-8D59-4A05-B1DC-93A3016EB729}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {A9F53089-8D59-4A05-B1DC-93A3016EB729}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {1BF45D1E-3767-460B-B980-E36EAB792DF8}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/sample_3_6/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("sample_3_6")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("sample_3_6")]
12 | [assembly: AssemblyCopyright("Copyright © 2018")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 | // Setting ComVisible to false makes the types in this assembly not visible
16 | // to COM components. If you need to access a type in this assembly from
17 | // COM, set the ComVisible attribute to true on that type.
18 | [assembly: ComVisible(false)]
19 | // The following GUID is for the ID of the typelib if this project is exposed to COM
20 | [assembly: Guid("9006f149-aa49-4b8e-ba69-386d945fa738")]
21 | // Version information for an assembly consists of the following four values:
22 | //
23 | // Major Version
24 | // Minor Version
25 | // Build Number
26 | // Revision
27 | //
28 | // You can specify all the values or you can default the Build and Revision Numbers
29 | // by using the '*' as shown below:
30 | // [assembly: AssemblyVersion("1.0.*")]
31 | [assembly: AssemblyVersion("1.0.0.0")]
32 | [assembly: AssemblyFileVersion("1.0.0.0")]
33 |
--------------------------------------------------------------------------------
/sample_3_6/Form1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace sample_3_6 {
11 | public partial class Form1 : DevExpress.XtraBars.Ribbon.RibbonForm {
12 | public Form1() {
13 | InitializeComponent();
14 | // Handling the QueryControl event that will populate all automatically generated Documents
15 | this.tabbedView1.QueryControl += tabbedView1_QueryControl;
16 | }
17 |
18 | private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) {
19 | var child = new ChildForm();
20 | var doc = tabbedView1.AddDocument(child);
21 | doc.Caption = $"Child Form number {tabbedView1.Documents.Count}";
22 | doc.Properties.AllowClose = DevExpress.Utils.DefaultBoolean.False;
23 | }
24 |
25 | private void barManager1_Merge(object sender, DevExpress.XtraBars.BarManagerMergeEventArgs e) {
26 | /* if (e.ChildManager != null) {
27 | var mainFormChildBar = barManager1.Bars["Child Bar"];
28 | var childBar = e.ChildManager.Bars["Tools"];
29 | mainFormChildBar.Merge(childBar);
30 | childBar.Visible = false;
31 | mainFormChildBar.Visible = true;
32 | }*/
33 | }
34 |
35 | private void barManager1_UnMerge(object sender, DevExpress.XtraBars.BarManagerMergeEventArgs e) {
36 | /* var mainFormChildBar = barManager1.Bars["Child Bar"];
37 | mainFormChildBar.UnMerge();
38 | mainFormChildBar.Visible = false;*/
39 | }
40 |
41 | private void barButtonItem4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) {
42 | var child = new SecondMDIChild();
43 | child.MdiParent = this;
44 | child.Show();
45 | }
46 |
47 | // Assigning a required content for each auto generated Document
48 | void tabbedView1_QueryControl(object sender, DevExpress.XtraBars.Docking2010.Views.QueryControlEventArgs e) {
49 |
50 | if (e.Document == childFormDocument)
51 | e.Control = new sample_3_6.ChildForm();
52 | if (e.Document == secondMDIChildDocument)
53 | e.Control = new sample_3_6.SecondMDIChild();
54 | if (e.Control == null)
55 | e.Control = new System.Windows.Forms.Control();
56 | }
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/sample_3_6/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace sample_3_6.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("sample_3_6.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/sample_3_6/ChildForm.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_3_6 {
2 | partial class ChildForm {
3 | ///
4 | /// Required designer variable.
5 | ///
6 | private System.ComponentModel.IContainer components = null;
7 |
8 | ///
9 | /// Clean up any resources being used.
10 | ///
11 | /// true if managed resources should be disposed; otherwise, false.
12 | protected override void Dispose(bool disposing) {
13 | if (disposing && (components != null)) {
14 | components.Dispose();
15 | }
16 | base.Dispose(disposing);
17 | }
18 |
19 | #region Windows Form Designer generated code
20 |
21 | ///
22 | /// Required method for Designer support - do not modify
23 | /// the contents of this method with the code editor.
24 | ///
25 | private void InitializeComponent() {
26 | this.panel1 = new System.Windows.Forms.Panel();
27 | this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
28 | this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
29 | this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
30 | this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
31 | this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
32 | this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
33 | this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
34 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
35 | this.SuspendLayout();
36 | //
37 | // panel1
38 | //
39 | this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
40 | this.panel1.Location = new System.Drawing.Point(0, 158);
41 | this.panel1.Name = "panel1";
42 | this.panel1.Size = new System.Drawing.Size(507, 221);
43 | this.panel1.TabIndex = 0;
44 | //
45 | // barButtonItem2
46 | //
47 | this.barButtonItem2.Caption = "Child Form Toolbar Button";
48 | this.barButtonItem2.Id = 2;
49 | this.barButtonItem2.Name = "barButtonItem2";
50 | //
51 | // barSubItem1
52 | //
53 | this.barSubItem1.Caption = "&View";
54 | this.barSubItem1.Id = 0;
55 | this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
56 | new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)});
57 | this.barSubItem1.MergeType = DevExpress.XtraBars.BarMenuMerge.MergeItems;
58 | this.barSubItem1.Name = "barSubItem1";
59 | //
60 | // barButtonItem1
61 | //
62 | this.barButtonItem1.Caption = "Child Form View Menu Item";
63 | this.barButtonItem1.Id = 1;
64 | this.barButtonItem1.MergeOrder = 50;
65 | this.barButtonItem1.Name = "barButtonItem1";
66 | //
67 | // ribbonControl1
68 | //
69 | this.ribbonControl1.ExpandCollapseItem.Id = 0;
70 | this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
71 | this.ribbonControl1.ExpandCollapseItem,
72 | this.ribbonControl1.SearchEditItem,
73 | this.barSubItem1,
74 | this.barButtonItem1,
75 | this.barButtonItem2});
76 | this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
77 | this.ribbonControl1.MaxItemId = 1;
78 | this.ribbonControl1.Name = "ribbonControl1";
79 | this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
80 | this.ribbonPage1});
81 | this.ribbonControl1.Size = new System.Drawing.Size(507, 158);
82 | //
83 | // ribbonPage1
84 | //
85 | this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
86 | this.ribbonPageGroup1,
87 | this.ribbonPageGroup2});
88 | this.ribbonPage1.Name = "ribbonPage1";
89 | this.ribbonPage1.Text = "MainMenu";
90 | //
91 | // ribbonPageGroup1
92 | //
93 | this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1);
94 | this.ribbonPageGroup1.Name = "ribbonPageGroup1";
95 | this.ribbonPageGroup1.Text = "View";
96 | //
97 | // ribbonPageGroup2
98 | //
99 | this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem2);
100 | this.ribbonPageGroup2.Name = "ribbonPageGroup2";
101 | this.ribbonPageGroup2.Text = "Tools";
102 | //
103 | // ChildForm
104 | //
105 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
106 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
107 | this.ClientSize = new System.Drawing.Size(507, 379);
108 | this.Controls.Add(this.panel1);
109 | this.Controls.Add(this.ribbonControl1);
110 | this.Name = "ChildForm";
111 | this.Ribbon = this.ribbonControl1;
112 | this.Text = "ChildForm";
113 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
114 | this.ResumeLayout(false);
115 | this.PerformLayout();
116 |
117 | }
118 |
119 | #endregion
120 |
121 | private System.Windows.Forms.Panel panel1;
122 | private DevExpress.XtraBars.BarButtonItem barButtonItem2;
123 | private DevExpress.XtraBars.BarSubItem barSubItem1;
124 | private DevExpress.XtraBars.BarButtonItem barButtonItem1;
125 | private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1;
126 | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
127 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
128 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2;
129 | }
130 | }
--------------------------------------------------------------------------------
/sample_3_6/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/sample_3_6/ChildForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/sample_3_6/sample_3_6.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | x86
6 | 8.0.30703
7 | 2.0
8 | {A9F53089-8D59-4A05-B1DC-93A3016EB729}
9 | WinExe
10 | Properties
11 | sample_3_6
12 | sample_3_6
13 | v4.8
14 | 512
15 |
16 | publish\
17 | true
18 | Disk
19 | false
20 | Foreground
21 | 7
22 | Days
23 | false
24 | false
25 | true
26 | 0
27 | 1.0.0.%2a
28 | false
29 | false
30 | true
31 |
32 |
33 | AnyCPU
34 | true
35 | full
36 | false
37 | bin\Debug\
38 | DEBUG;TRACE
39 | prompt
40 | 4
41 |
42 |
43 | AnyCPU
44 | pdbonly
45 | true
46 | bin\Release\
47 | TRACE
48 | prompt
49 | 4
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 | Form
81 |
82 |
83 | ChildForm.cs
84 |
85 |
86 | Form
87 |
88 |
89 | Form1.cs
90 |
91 |
92 |
93 |
94 | Form
95 |
96 |
97 | SecondMDIChild.cs
98 |
99 |
100 | ChildForm.cs
101 |
102 |
103 | Form1.cs
104 |
105 |
106 |
107 | ResXFileCodeGenerator
108 | Resources.Designer.cs
109 | Designer
110 |
111 |
112 | True
113 | Resources.resx
114 | True
115 |
116 |
117 | SecondMDIChild.cs
118 |
119 |
120 |
121 | SettingsSingleFileGenerator
122 | Settings.Designer.cs
123 |
124 |
125 | True
126 | Settings.settings
127 | True
128 |
129 |
130 |
131 |
138 |
--------------------------------------------------------------------------------
/sample_3_6/Form1.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
124 | 179, 17
125 |
126 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Oo]ut/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio LightSwitch build output
298 | **/*.HTMLClient/GeneratedArtifacts
299 | **/*.DesktopClient/GeneratedArtifacts
300 | **/*.DesktopClient/ModelManifest.xml
301 | **/*.Server/GeneratedArtifacts
302 | **/*.Server/ModelManifest.xml
303 | _Pvt_Extensions
304 |
305 | # Paket dependency manager
306 | .paket/paket.exe
307 | paket-files/
308 |
309 | # FAKE - F# Make
310 | .fake/
311 |
312 | # CodeRush personal settings
313 | .cr/personal
314 |
315 | # Python Tools for Visual Studio (PTVS)
316 | __pycache__/
317 | *.pyc
318 |
319 | # Cake - Uncomment if you are using it
320 | # tools/**
321 | # !tools/packages.config
322 |
323 | # Tabs Studio
324 | *.tss
325 |
326 | # Telerik's JustMock configuration file
327 | *.jmconfig
328 |
329 | # BizTalk build output
330 | *.btp.cs
331 | *.btm.cs
332 | *.odx.cs
333 | *.xsd.cs
334 |
335 | # OpenCover UI analysis results
336 | OpenCover/
337 |
338 | # Azure Stream Analytics local run output
339 | ASALocalRun/
340 |
341 | # MSBuild Binary and Structured Log
342 | *.binlog
343 |
344 | # NVidia Nsight GPU debugger configuration file
345 | *.nvuser
346 |
347 | # MFractors (Xamarin productivity tool) working folder
348 | .mfractor/
349 |
350 | # Local History for Visual Studio
351 | .localhistory/
352 |
353 | # BeatPulse healthcheck temp database
354 | healthchecksdb
355 |
356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
357 | MigrationBackup/
358 |
359 | # Ionide (cross platform F# VS Code tools) working folder
360 | .ionide/
361 |
362 | # Fody - auto-generated XML schema
363 | FodyWeavers.xsd
--------------------------------------------------------------------------------
/sample_3_6/SecondMDIChild.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAD10RVh0VGl0
124 | bGUAQWxpZ25NaWRkbGVDZW50ZXI7QWxpZ25tZW50O01pZGRsZTtDZW50ZXI7TWlkZGxlQ2VudGVyO4zg
125 | EtsAAAJZSURBVDhPpZNnT1NxFMavFArG7adwxkGcwS/hS2MQUjWCaBUlGg2JRsWBVaMxjmBMjDOVYTU4
126 | oK0DpUAdgJQuQYYI3b10gubxnH9va9BXxpM8aXJzn99z7jmn0vnHbokqi6QiZSvKUaRWlKsojzRdET9n
127 | n5Sle+QwEwhp6QxunG1w4ky9A6dq7ajS9+LY/R4cuduNyjtdOHTrE/Zfa20hL0MlFZv+tSpuWEHeGQzI
128 | TgNiyZ+IJH4IybFJhKITCEYm4BtPwhNOYDQYx0ggBttAEOXX2xkwawogmiRzfBIyKWVOwicnhHkslDIP
129 | +6L4TADtFUsGkHPO4BKAtHlDuRkFe01Yv6cZa3e/wOqyZ8gvbRTmAW8UXf0BlF1+x4DZAsAD40q3HaBk
130 | v6y0LZLjGXO/J4LOPj9KL7YwYA4D1DxtroJ9nGrEOm0T1ux6jlU7n2LljidYvs2ApZoGLC6uw8ItD/HR
131 | 7cP2C69/A3hVXAEa2NTk1DcPUvLXsQj6Rsfh/i7jvcsLje4VA+YyILdKbxMAvzLt/JJGrKDkZZS8RFOP
132 | RUW1WFCoh2tEhvNbGB1OL4qqXzJgngAcf9AjAH9OWyTTN3/hZMVsHwqjzeFF4WlTBpB39F63APxlTred
133 | Ng+HYRsMwUKAzSeNDJgvAJW3OwXAPhQSR8J75lXxtHlgVlIHmdpJbG7t9WDTiaZMB+oDNW2mgzc/oKLG
134 | Ki5Me9Ui9lxy6S1N+w220sCKq83UtpGSm4V54+E6/i/MZMA0hpD4rvkBXxeLj4TXxOJpcxqL2+Zfflcl
135 | Uef/IUi/AA9dl6JK2BQtAAAAAElFTkSuQmCC
136 |
137 |
138 |
139 |
140 | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAC10RVh0VGl0
141 | bGUARm9udDtDb2xvcjtDaGFuZ2U7QmFycztSaWJib247U3RhbmRhcmQ7UYDYggAAAydJREFUOE9lU1lM
142 | U1EQvbxXWqpWKItsFkpLWSxQLQTQBAyRIJa27IoPCgWhFkUBEUMUEYEUi5WIYVUQAlUBcYuiiSb+GPkz
143 | MTGiEfwxwYhRo3yoH8ZxbuNS8CSTN3dmzrl35t5HVJXDRGUaIjEVgwTBxFeP5G0+PAnRxr5FUdAmYTh3
144 | loTtOksUO8+Q0NwOIsu2EgD4ayS6/AKJKh0gSmM/FeAlVI/dSqybgBjTEEj1zRwVlecgMbOdhOgtRKpt
145 | Wy6wobiHRBi6KdlFrqnyjTs49i2+5sqP2P2jINO338c4X6prI0GaFiJJbyaStBPLBSK4LscREazS0FW1
146 | obh7Vm0euhd7wA6K/M4f3rG7wzHH0ILfcEGja9bxDc2zYW82muCH5Z15HJxx3KrkrCXqfaOgNPSBf3Jt
147 | B+ZcaQGCkl2flHO9z/YaPl2WyvMdfSEYubY+MjijFdbFlya4ea732Gi6+FG1ZwjWpx575yryX0tr0Pgz
148 | XPbY/JFK+Hx7EqYkQR+IRNNMBXh4fAtO+SX6XmhiJdc5HIMCUp0FxNFcEcZW23UJ9lfVFbB09xrc1m2H
149 | PQxz0TEYhDA05/RrWaYVCadAqrVAlPE8RJWeh4iCcyDeWPJgcveWq0/2FsDSzXG4o02DIpY34UvIGkpm
150 | 5RkNKX7J9bBWsT0R1yJqvFViv0iuZzESBYoLa34+snXAl/FRuJGWAnkMe9WTkD9tEUGItmXQO878HP3V
151 | NPAbq2SaxkGTuRGmpx/BwqfvYCupAQ3jMuVBiDvmmR20yledE67I7fzspS4bwSU9Ep204Giye3pvZsCL
152 | S/l+8GZxCSpP3gefsLrrbgwf+YSZz9KSreiQwG1NEJDSCF5qM4hCswow5HYoUZQyZZR/nZs+ADNNUuhP
153 | 9wRv2UE7y/cRU7JcGEQS0ImjAgi6Kz0S7V2YJBEED+h83i7MNMCXOTv0JgnhUAz/Pebo7TCO1+eMZc8S
154 | d7ckrbnxsHUrzE5UQVeqOzSoXGFXCFuLOYFT3T+sEOBjcWGZgnenXME+NchY+45ARo9xOlw6m/+xQoAW
155 | 8dFoW/SaKJE+Y+d/wQmE/AKBDjr+l9XQfgAAAABJRU5ErkJggg==
156 |
157 |
158 |
159 |
160 | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0VGl0
161 | bGUASW5zZXJ0VGV4dEJveDtUZXh0O5b4484AAAL0SURBVDhPTdJJTBNRGAfwdzYxRoV48ODBk940JsYY
162 | PZhojBeXC9ELBxAhQgggFCh7UQq1lLVAEBFFBC5shqBBdgQsqxeNshi2thS6TJeZdqb9+820GF/mlzcv
163 | M/m+733vMWPH0lhj53fIGjpXwj6swNixrKiXvZctoa6dvFtELakh+paZSWaknw9HKBSCJEmQgkEEgyFl
164 | TU9kDiF4iL7JDK0msFqKKo+AKGF104ZzD7S49PAF3F4/vL4AfIIIA/1jeLuESlnboiIgBqF79Q2sum0B
165 | lARefwBNXeO4k9yAs7dzMbu8CpdbgJcXYbX7YLHzMMvzAQ+7S4AQCELbNAumf2NSyuTcPGIy6lBY24Mb
166 | cQaUNvTgwOGB2ydB1zoPbcs8yltMirJmE3i/hNL6KbCK5jllP9sWO87fL0Xf8DzSdF24GauBxeqCyyti
167 | Z99HvNi2+RQ2B09bk1BUMwFW1vAVoiiia2gOUZcTEH0lCWduqXH6ajJ+rG3D4QlAQ6VqGmdRYpxFsXEG
168 | xfUzVJkItX4MrKRuCrwgILGoFddjcrC+ZcH0wk+cupaC193DOHD7sWn14I+FmMPMVI1cmUr7Baywahw+
169 | nseFe1lI1bTAfODGjtWJi3fTEJtZBZvTj4LqaeTXTCGP5rzqSairppTKMp5/BsvVjShHaLZx2CU2J0+d
170 | 9mHT4iQOWJ0C1nfdWJNtc1glW1SRnSpL1QyBZZYN08UJIZ+i5hnC0WW59J5TOYFskqOnWT8O1cuwLN0Y
171 | 9l1+pBQMgqWXfoIohbBhpgw7Mi6Sya1k+73J4ZfC9c/Grgd7FCAp/yNYavEgnUIQKsqi0lH0SIbMClI+
172 | hmflo2HaUWRoR5AeYbX7kZDbD/a0cFC5lh66cRwdDUfddXkD1CRR2aed82OfC1BvBOxRQ610BywOAbt2
173 | AfHZvWBxWd3jiXkDeKIeQIK6X4kan92Pxzl9Yao+xJH4rN6IHlqTzB48SmmfZjSOkGPkeMSJiJP/iYqI
174 | /g+t2dG/75kGhYjxYqgAAAAASUVORK5CYII=
175 |
176 |
177 |
178 | 17, 17
179 |
180 |
--------------------------------------------------------------------------------
/sample_3_6/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_3_6 {
2 | partial class Form1 {
3 | ///
4 | /// Required designer variable.
5 | ///
6 | private System.ComponentModel.IContainer components = null;
7 |
8 | ///
9 | /// Clean up any resources being used.
10 | ///
11 | /// true if managed resources should be disposed; otherwise, false.
12 | protected override void Dispose(bool disposing) {
13 | if (disposing && (components != null)) {
14 | components.Dispose();
15 | }
16 | base.Dispose(disposing);
17 | }
18 |
19 | #region Windows Form Designer generated code
20 |
21 | ///
22 | /// Required method for Designer support - do not modify
23 | /// the contents of this method with the code editor.
24 | ///
25 | private void InitializeComponent() {
26 | this.components = new System.ComponentModel.Container();
27 | DevExpress.XtraBars.Docking2010.Views.Tabbed.DockingContainer dockingContainer1 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.DockingContainer();
28 | DevExpress.XtraBars.Docking2010.Views.Tabbed.DockingContainer dockingContainer2 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.DockingContainer();
29 | this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
30 | this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
31 | this.barSubItem2 = new DevExpress.XtraBars.BarSubItem();
32 | this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
33 | this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
34 | this.barSubItem3 = new DevExpress.XtraBars.BarSubItem();
35 | this.barMdiChildrenListItem1 = new DevExpress.XtraBars.BarMdiChildrenListItem();
36 | this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
37 | this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
38 | this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
39 | this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
40 | this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
41 | this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
42 | this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
43 | this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
44 | this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
45 | this.documentManager1 = new DevExpress.XtraBars.Docking2010.DocumentManager(this.components);
46 | this.tabbedView1 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView(this.components);
47 | this.childFormDocument = new DevExpress.XtraBars.Docking2010.Views.Tabbed.Document(this.components);
48 | this.documentGroup1 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.DocumentGroup(this.components);
49 | this.secondMDIChildDocument = new DevExpress.XtraBars.Docking2010.Views.Tabbed.Document(this.components);
50 | this.documentGroup2 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.DocumentGroup(this.components);
51 | this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components);
52 | this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel();
53 | this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
54 | this.dockPanel2 = new DevExpress.XtraBars.Docking.DockPanel();
55 | this.dockPanel2_Container = new DevExpress.XtraBars.Docking.ControlContainer();
56 | this.dockPanel3 = new DevExpress.XtraBars.Docking.DockPanel();
57 | this.dockPanel3_Container = new DevExpress.XtraBars.Docking.ControlContainer();
58 | this.panelContainer1 = new DevExpress.XtraBars.Docking.DockPanel();
59 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
60 | ((System.ComponentModel.ISupportInitialize)(this.documentManager1)).BeginInit();
61 | ((System.ComponentModel.ISupportInitialize)(this.tabbedView1)).BeginInit();
62 | ((System.ComponentModel.ISupportInitialize)(this.childFormDocument)).BeginInit();
63 | ((System.ComponentModel.ISupportInitialize)(this.documentGroup1)).BeginInit();
64 | ((System.ComponentModel.ISupportInitialize)(this.secondMDIChildDocument)).BeginInit();
65 | ((System.ComponentModel.ISupportInitialize)(this.documentGroup2)).BeginInit();
66 | ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit();
67 | this.dockPanel1.SuspendLayout();
68 | this.dockPanel2.SuspendLayout();
69 | this.dockPanel3.SuspendLayout();
70 | this.panelContainer1.SuspendLayout();
71 | this.SuspendLayout();
72 | //
73 | // barButtonItem1
74 | //
75 | this.barButtonItem1.Caption = "Create MDI Child";
76 | this.barButtonItem1.Id = 0;
77 | this.barButtonItem1.Name = "barButtonItem1";
78 | this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
79 | //
80 | // barSubItem1
81 | //
82 | this.barSubItem1.Caption = "&File";
83 | this.barSubItem1.Id = 1;
84 | this.barSubItem1.Name = "barSubItem1";
85 | //
86 | // barSubItem2
87 | //
88 | this.barSubItem2.Caption = "&View";
89 | this.barSubItem2.Id = 2;
90 | this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
91 | new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2),
92 | new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3, true)});
93 | this.barSubItem2.MergeType = DevExpress.XtraBars.BarMenuMerge.MergeItems;
94 | this.barSubItem2.Name = "barSubItem2";
95 | //
96 | // barButtonItem2
97 | //
98 | this.barButtonItem2.Caption = "First Main Menu Button";
99 | this.barButtonItem2.Id = 3;
100 | this.barButtonItem2.Name = "barButtonItem2";
101 | //
102 | // barButtonItem3
103 | //
104 | this.barButtonItem3.Caption = "Button At End";
105 | this.barButtonItem3.Id = 4;
106 | this.barButtonItem3.MergeOrder = 100;
107 | this.barButtonItem3.Name = "barButtonItem3";
108 | //
109 | // barSubItem3
110 | //
111 | this.barSubItem3.Caption = "Window";
112 | this.barSubItem3.Id = 5;
113 | this.barSubItem3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
114 | new DevExpress.XtraBars.LinkPersistInfo(this.barMdiChildrenListItem1)});
115 | this.barSubItem3.Name = "barSubItem3";
116 | //
117 | // barMdiChildrenListItem1
118 | //
119 | this.barMdiChildrenListItem1.Caption = "barMdiChildrenListItem1";
120 | this.barMdiChildrenListItem1.Id = 6;
121 | this.barMdiChildrenListItem1.Name = "barMdiChildrenListItem1";
122 | //
123 | // ribbonControl1
124 | //
125 | this.ribbonControl1.ExpandCollapseItem.Id = 0;
126 | this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
127 | this.ribbonControl1.ExpandCollapseItem,
128 | this.ribbonControl1.SearchEditItem,
129 | this.barButtonItem1,
130 | this.barSubItem1,
131 | this.barSubItem2,
132 | this.barButtonItem2,
133 | this.barButtonItem3,
134 | this.barSubItem3,
135 | this.barMdiChildrenListItem1,
136 | this.barButtonItem4});
137 | this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
138 | this.ribbonControl1.MaxItemId = 2;
139 | this.ribbonControl1.MdiMergeStyle = DevExpress.XtraBars.Ribbon.RibbonMdiMergeStyle.Always;
140 | this.ribbonControl1.Name = "ribbonControl1";
141 | this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
142 | this.ribbonPage1});
143 | this.ribbonControl1.Size = new System.Drawing.Size(902, 158);
144 | this.ribbonControl1.StatusBar = this.ribbonStatusBar1;
145 | //
146 | // barButtonItem4
147 | //
148 | this.barButtonItem4.Caption = "Create Second MDI Child";
149 | this.barButtonItem4.Id = 1;
150 | this.barButtonItem4.Name = "barButtonItem4";
151 | this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick);
152 | //
153 | // ribbonPage1
154 | //
155 | this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
156 | this.ribbonPageGroup1,
157 | this.ribbonPageGroup2,
158 | this.ribbonPageGroup4,
159 | this.ribbonPageGroup5,
160 | this.ribbonPageGroup3});
161 | this.ribbonPage1.Name = "ribbonPage1";
162 | this.ribbonPage1.Text = "MainMenu";
163 | //
164 | // ribbonPageGroup1
165 | //
166 | this.ribbonPageGroup1.Name = "ribbonPageGroup1";
167 | this.ribbonPageGroup1.Text = "File";
168 | //
169 | // ribbonPageGroup2
170 | //
171 | this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem2);
172 | this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem3, true);
173 | this.ribbonPageGroup2.Name = "ribbonPageGroup2";
174 | this.ribbonPageGroup2.Text = "View";
175 | //
176 | // ribbonPageGroup4
177 | //
178 | this.ribbonPageGroup4.ItemLinks.Add(this.barButtonItem1);
179 | this.ribbonPageGroup4.ItemLinks.Add(this.barButtonItem4);
180 | this.ribbonPageGroup4.Name = "ribbonPageGroup4";
181 | this.ribbonPageGroup4.Text = "Tools";
182 | //
183 | // ribbonPageGroup5
184 | //
185 | this.ribbonPageGroup5.Name = "ribbonPageGroup5";
186 | this.ribbonPageGroup5.Text = "Custom 5";
187 | //
188 | // ribbonPageGroup3
189 | //
190 | this.ribbonPageGroup3.ItemLinks.Add(this.barMdiChildrenListItem1);
191 | this.ribbonPageGroup3.Name = "ribbonPageGroup3";
192 | this.ribbonPageGroup3.Text = "Window";
193 | //
194 | // ribbonStatusBar1
195 | //
196 | this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 573);
197 | this.ribbonStatusBar1.Name = "ribbonStatusBar1";
198 | this.ribbonStatusBar1.Ribbon = this.ribbonControl1;
199 | this.ribbonStatusBar1.Size = new System.Drawing.Size(902, 24);
200 | //
201 | // documentManager1
202 | //
203 | this.documentManager1.MdiParent = this;
204 | this.documentManager1.MenuManager = this.ribbonControl1;
205 | this.documentManager1.View = this.tabbedView1;
206 | this.documentManager1.ViewCollection.AddRange(new DevExpress.XtraBars.Docking2010.Views.BaseView[] {
207 | this.tabbedView1});
208 | //
209 | // tabbedView1
210 | //
211 | this.tabbedView1.DocumentGroups.AddRange(new DevExpress.XtraBars.Docking2010.Views.Tabbed.DocumentGroup[] {
212 | this.documentGroup1,
213 | this.documentGroup2});
214 | this.tabbedView1.Documents.AddRange(new DevExpress.XtraBars.Docking2010.Views.BaseDocument[] {
215 | this.childFormDocument,
216 | this.secondMDIChildDocument});
217 | dockingContainer1.Element = this.documentGroup1;
218 | dockingContainer2.Element = this.documentGroup2;
219 | this.tabbedView1.RootContainer.Nodes.AddRange(new DevExpress.XtraBars.Docking2010.Views.Tabbed.DockingContainer[] {
220 | dockingContainer1,
221 | dockingContainer2});
222 | //
223 | // childFormDocument
224 | //
225 | this.childFormDocument.Caption = "ChildForm";
226 | this.childFormDocument.ControlName = "ChildForm";
227 | this.childFormDocument.ControlTypeName = "sample_3_6.ChildForm";
228 | //
229 | // documentGroup1
230 | //
231 | this.documentGroup1.Items.AddRange(new DevExpress.XtraBars.Docking2010.Views.Tabbed.Document[] {
232 | this.childFormDocument});
233 | //
234 | // secondMDIChildDocument
235 | //
236 | this.secondMDIChildDocument.Caption = "SecondMDIChild";
237 | this.secondMDIChildDocument.ControlName = "SecondMDIChild";
238 | this.secondMDIChildDocument.ControlTypeName = "sample_3_6.SecondMDIChild";
239 | //
240 | // documentGroup2
241 | //
242 | this.documentGroup2.Items.AddRange(new DevExpress.XtraBars.Docking2010.Views.Tabbed.Document[] {
243 | this.secondMDIChildDocument});
244 | //
245 | // dockManager1
246 | //
247 | this.dockManager1.Form = this;
248 | this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] {
249 | this.panelContainer1,
250 | this.dockPanel3});
251 | this.dockManager1.TopZIndexControls.AddRange(new string[] {
252 | "DevExpress.XtraBars.BarDockControl",
253 | "DevExpress.XtraBars.StandaloneBarDockControl",
254 | "System.Windows.Forms.MenuStrip",
255 | "System.Windows.Forms.StatusStrip",
256 | "System.Windows.Forms.StatusBar",
257 | "DevExpress.XtraBars.Ribbon.RibbonStatusBar",
258 | "DevExpress.XtraBars.Ribbon.RibbonControl",
259 | "DevExpress.XtraBars.Navigation.OfficeNavigationBar",
260 | "DevExpress.XtraBars.Navigation.TileNavPane",
261 | "DevExpress.XtraBars.TabFormControl",
262 | "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl",
263 | "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl"});
264 | //
265 | // dockPanel1
266 | //
267 | this.dockPanel1.Controls.Add(this.dockPanel1_Container);
268 | this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill;
269 | this.dockPanel1.ID = new System.Guid("60fb8b2d-07a4-4797-b1b7-e7083953c3a3");
270 | this.dockPanel1.Location = new System.Drawing.Point(3, 26);
271 | this.dockPanel1.Name = "dockPanel1";
272 | this.dockPanel1.OriginalSize = new System.Drawing.Size(200, 200);
273 | this.dockPanel1.Size = new System.Drawing.Size(193, 360);
274 | this.dockPanel1.Text = "dockPanel1";
275 | //
276 | // dockPanel1_Container
277 | //
278 | this.dockPanel1_Container.Location = new System.Drawing.Point(0, 0);
279 | this.dockPanel1_Container.Name = "dockPanel1_Container";
280 | this.dockPanel1_Container.Size = new System.Drawing.Size(193, 360);
281 | this.dockPanel1_Container.TabIndex = 0;
282 | //
283 | // dockPanel2
284 | //
285 | this.dockPanel2.Controls.Add(this.dockPanel2_Container);
286 | this.dockPanel2.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill;
287 | this.dockPanel2.ID = new System.Guid("f2cce4d8-f698-4e76-97ce-eefd4efb06c0");
288 | this.dockPanel2.Location = new System.Drawing.Point(3, 26);
289 | this.dockPanel2.Name = "dockPanel2";
290 | this.dockPanel2.OriginalSize = new System.Drawing.Size(200, 200);
291 | this.dockPanel2.Size = new System.Drawing.Size(193, 360);
292 | this.dockPanel2.Text = "dockPanel2";
293 | //
294 | // dockPanel2_Container
295 | //
296 | this.dockPanel2_Container.Location = new System.Drawing.Point(0, 0);
297 | this.dockPanel2_Container.Name = "dockPanel2_Container";
298 | this.dockPanel2_Container.Size = new System.Drawing.Size(193, 360);
299 | this.dockPanel2_Container.TabIndex = 0;
300 | //
301 | // dockPanel3
302 | //
303 | this.dockPanel3.Controls.Add(this.dockPanel3_Container);
304 | this.dockPanel3.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right;
305 | this.dockPanel3.ID = new System.Guid("443daad9-41aa-460e-a3d3-f9fc76e147bd");
306 | this.dockPanel3.Location = new System.Drawing.Point(702, 158);
307 | this.dockPanel3.Name = "dockPanel3";
308 | this.dockPanel3.OriginalSize = new System.Drawing.Size(200, 200);
309 | this.dockPanel3.Size = new System.Drawing.Size(200, 415);
310 | this.dockPanel3.Text = "dockPanel3";
311 | //
312 | // dockPanel3_Container
313 | //
314 | this.dockPanel3_Container.Location = new System.Drawing.Point(4, 26);
315 | this.dockPanel3_Container.Name = "dockPanel3_Container";
316 | this.dockPanel3_Container.Size = new System.Drawing.Size(193, 386);
317 | this.dockPanel3_Container.TabIndex = 0;
318 | //
319 | // panelContainer1
320 | //
321 | this.panelContainer1.ActiveChild = this.dockPanel2;
322 | this.panelContainer1.Controls.Add(this.dockPanel2);
323 | this.panelContainer1.Controls.Add(this.dockPanel1);
324 | this.panelContainer1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left;
325 | this.panelContainer1.ID = new System.Guid("9069d44c-0e19-4f3a-b23a-586a90cc2e8b");
326 | this.panelContainer1.Location = new System.Drawing.Point(0, 158);
327 | this.panelContainer1.Name = "panelContainer1";
328 | this.panelContainer1.OriginalSize = new System.Drawing.Size(200, 200);
329 | this.panelContainer1.Size = new System.Drawing.Size(200, 415);
330 | this.panelContainer1.Tabbed = true;
331 | this.panelContainer1.Text = "panelContainer1";
332 | //
333 | // Form1
334 | //
335 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
336 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
337 | this.ClientSize = new System.Drawing.Size(902, 597);
338 | this.Controls.Add(this.dockPanel3);
339 | this.Controls.Add(this.panelContainer1);
340 | this.Controls.Add(this.ribbonStatusBar1);
341 | this.Controls.Add(this.ribbonControl1);
342 | this.IsMdiContainer = true;
343 | this.Name = "Form1";
344 | this.Ribbon = this.ribbonControl1;
345 | this.StatusBar = this.ribbonStatusBar1;
346 | this.Text = "Form1";
347 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
348 | ((System.ComponentModel.ISupportInitialize)(this.documentManager1)).EndInit();
349 | ((System.ComponentModel.ISupportInitialize)(this.tabbedView1)).EndInit();
350 | ((System.ComponentModel.ISupportInitialize)(this.childFormDocument)).EndInit();
351 | ((System.ComponentModel.ISupportInitialize)(this.documentGroup1)).EndInit();
352 | ((System.ComponentModel.ISupportInitialize)(this.secondMDIChildDocument)).EndInit();
353 | ((System.ComponentModel.ISupportInitialize)(this.documentGroup2)).EndInit();
354 | ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit();
355 | this.dockPanel1.ResumeLayout(false);
356 | this.dockPanel2.ResumeLayout(false);
357 | this.dockPanel3.ResumeLayout(false);
358 | this.panelContainer1.ResumeLayout(false);
359 | this.ResumeLayout(false);
360 | this.PerformLayout();
361 |
362 | }
363 |
364 | #endregion
365 | private DevExpress.XtraBars.BarButtonItem barButtonItem1;
366 | private DevExpress.XtraBars.BarSubItem barSubItem1;
367 | private DevExpress.XtraBars.BarSubItem barSubItem2;
368 | private DevExpress.XtraBars.BarButtonItem barButtonItem2;
369 | private DevExpress.XtraBars.BarButtonItem barButtonItem3;
370 | private DevExpress.XtraBars.BarSubItem barSubItem3;
371 | private DevExpress.XtraBars.BarMdiChildrenListItem barMdiChildrenListItem1;
372 | private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1;
373 | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
374 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
375 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2;
376 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup3;
377 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup4;
378 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup5;
379 | private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar1;
380 | private DevExpress.XtraBars.BarButtonItem barButtonItem4;
381 | private DevExpress.XtraBars.Docking2010.DocumentManager documentManager1;
382 | private DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView tabbedView1;
383 | private DevExpress.XtraBars.Docking2010.Views.Tabbed.DocumentGroup documentGroup1;
384 | private DevExpress.XtraBars.Docking2010.Views.Tabbed.Document childFormDocument;
385 | private DevExpress.XtraBars.Docking2010.Views.Tabbed.Document secondMDIChildDocument;
386 | private DevExpress.XtraBars.Docking.DockPanel dockPanel3;
387 | private DevExpress.XtraBars.Docking.ControlContainer dockPanel3_Container;
388 | private DevExpress.XtraBars.Docking.DockPanel panelContainer1;
389 | private DevExpress.XtraBars.Docking.DockPanel dockPanel2;
390 | private DevExpress.XtraBars.Docking.ControlContainer dockPanel2_Container;
391 | private DevExpress.XtraBars.Docking.DockPanel dockPanel1;
392 | private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container;
393 | private DevExpress.XtraBars.Docking2010.Views.Tabbed.DocumentGroup documentGroup2;
394 | private DevExpress.XtraBars.Docking.DockManager dockManager1;
395 | }
396 | }
397 |
398 |
--------------------------------------------------------------------------------