├── sample_3_12 ├── Properties │ ├── licenses.licx │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── GridUserControl.cs ├── RichEditUserControl.cs ├── Program.cs ├── RichEditUserControl.Designer.cs ├── App.config ├── Form1.cs ├── sample_3_12.csproj ├── GridUserControl.resx ├── RichEditUserControl.resx ├── GridUserControl.designer.cs ├── Form1.resx └── Form1.Designer.cs ├── sample_3_12.sln ├── .gitattributes └── .gitignore /sample_3_12/Properties/licenses.licx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sample_3_12/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /sample_3_12/GridUserControl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Drawing; 5 | using System.Data; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace sample_3_12 { 12 | public partial class GridUserControl : DevExpress.XtraEditors.XtraUserControl { 13 | public GridUserControl() { 14 | InitializeComponent(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample_3_12/RichEditUserControl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Drawing; 5 | using System.Data; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace sample_3_12 { 12 | public partial class RichEditUserControl : DevExpress.XtraEditors.XtraUserControl { 13 | public RichEditUserControl() { 14 | InitializeComponent(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample_3_12/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace sample_3_12 { 8 | static class Program { 9 | /// 10 | /// The main entry point for the application. 11 | /// 12 | [STAThread] 13 | static void Main() { 14 | Application.EnableVisualStyles(); 15 | Application.SetCompatibleTextRenderingDefault(false); 16 | Application.Run(new Form1()); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /sample_3_12/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_12.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_12.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_12", "sample_3_12\sample_3_12.csproj", "{B99093E8-DF61-4A9D-84B9-B01DF8BB50A9}" 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 | {B99093E8-DF61-4A9D-84B9-B01DF8BB50A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {B99093E8-DF61-4A9D-84B9-B01DF8BB50A9}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {B99093E8-DF61-4A9D-84B9-B01DF8BB50A9}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {B99093E8-DF61-4A9D-84B9-B01DF8BB50A9}.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 = {4BECAD93-96CB-48E6-B93E-C5932530B762} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /sample_3_12/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("sample_3_12")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("sample_3_12")] 13 | [assembly: AssemblyCopyright("Copyright © 2018")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("b99093e8-df61-4a9d-84b9-b01df8bb50a9")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /sample_3_12/RichEditUserControl.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace sample_3_12 { 2 | partial class RichEditUserControl { 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 Component 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.richEditControl1 = new DevExpress.XtraRichEdit.RichEditControl(); 27 | this.SuspendLayout(); 28 | // 29 | // richEditControl1 30 | // 31 | this.richEditControl1.Dock = System.Windows.Forms.DockStyle.Fill; 32 | this.richEditControl1.Location = new System.Drawing.Point(0, 0); 33 | this.richEditControl1.Name = "richEditControl1"; 34 | this.richEditControl1.Size = new System.Drawing.Size(420, 322); 35 | this.richEditControl1.TabIndex = 0; 36 | this.richEditControl1.Text = "richEditControl1"; 37 | // 38 | // RichEditUserControl 39 | // 40 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 41 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 42 | this.Controls.Add(this.richEditControl1); 43 | this.Name = "RichEditUserControl"; 44 | this.Size = new System.Drawing.Size(420, 322); 45 | this.ResumeLayout(false); 46 | 47 | } 48 | 49 | #endregion 50 | 51 | private DevExpress.XtraRichEdit.RichEditControl richEditControl1; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /sample_3_12/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | Skin/The Bezier 12 | 13 | 14 | Twenty Gold 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | True 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | System 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /sample_3_12/Form1.cs: -------------------------------------------------------------------------------- 1 | using DevExpress.LookAndFeel; 2 | using DevExpress.XtraBars.Docking2010.Views.WindowsUI; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.ComponentModel; 6 | using System.Data; 7 | using System.Drawing; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | using System.Windows.Forms; 12 | 13 | namespace sample_3_12 { 14 | public partial class Form1 : DevExpress.XtraEditors.XtraForm { 15 | public Form1() { 16 | InitializeComponent(); 17 | // Handling the QueryControl event that will populate all automatically generated Documents 18 | this.windowsUIView1.QueryControl += windowsUIView1_QueryControl; 19 | 20 | var action = new DelegateAction( 21 | () => UserLookAndFeel.Default.ActiveSkinName == SkinStyle.Springtime, 22 | () => UserLookAndFeel.Default.SetSkinStyle(SkinStyle.Bezier, SkinSvgPalette.Bezier.TwentyGold)); 23 | var reverseAction = new DelegateAction( 24 | () => UserLookAndFeel.Default.ActiveSkinName == SkinStyle.Bezier, 25 | () => UserLookAndFeel.Default.SetSkinStyle(SkinStyle.Springtime)); 26 | 27 | action.Caption = "Bezier Skin"; 28 | action.Type = ActionType.Context; 29 | action.Edge = ActionEdge.Left; 30 | action.Behavior = ActionBehavior.Default; 31 | 32 | reverseAction.Caption = "Springtime Skin"; 33 | reverseAction.Type = ActionType.Context; 34 | reverseAction.Edge = ActionEdge.Left; 35 | reverseAction.Behavior = ActionBehavior.Default; 36 | 37 | windowsUIView1.ContentContainerActions.Add(action); 38 | windowsUIView1.ContentContainerActions.Add(reverseAction); 39 | 40 | // For a specific container: 41 | // tileContainer1.Actions.Add(action); 42 | } 43 | 44 | // Assigning a required content for each auto generated Document 45 | void windowsUIView1_QueryControl(object sender, DevExpress.XtraBars.Docking2010.Views.QueryControlEventArgs e) { 46 | 47 | if (e.Document == richEditUserControlDocument) 48 | e.Control = new sample_3_12.RichEditUserControl(); 49 | if (e.Document == gridUserControlDocument) 50 | e.Control = new sample_3_12.GridUserControl(); 51 | if (e.Control == null) 52 | e.Control = new System.Windows.Forms.Control(); 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /.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_12/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_12.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_12.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_12/sample_3_12.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {B99093E8-DF61-4A9D-84B9-B01DF8BB50A9} 8 | WinExe 9 | sample_3_12 10 | sample_3_12 11 | v4.8 12 | 512 13 | true 14 | 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | true 30 | bin\Release\ 31 | TRACE 32 | prompt 33 | 4 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | Form 66 | 67 | 68 | Form1.cs 69 | 70 | 71 | UserControl 72 | 73 | 74 | GridUserControl.cs 75 | 76 | 77 | 78 | 79 | UserControl 80 | 81 | 82 | RichEditUserControl.cs 83 | 84 | 85 | Form1.cs 86 | 87 | 88 | GridUserControl.cs 89 | 90 | 91 | 92 | ResXFileCodeGenerator 93 | Resources.Designer.cs 94 | Designer 95 | 96 | 97 | True 98 | Resources.resx 99 | True 100 | 101 | 102 | RichEditUserControl.cs 103 | 104 | 105 | SettingsSingleFileGenerator 106 | Settings.Designer.cs 107 | 108 | 109 | True 110 | Settings.settings 111 | True 112 | 113 | 114 | 115 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /sample_3_12/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_12/GridUserControl.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_12/RichEditUserControl.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_12/GridUserControl.designer.cs: -------------------------------------------------------------------------------- 1 | namespace sample_3_12 { 2 | partial class GridUserControl { 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 Component 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.gridControl1 = new DevExpress.XtraGrid.GridControl(); 27 | this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); 28 | this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); 29 | this.textEdit2 = new DevExpress.XtraEditors.TextEdit(); 30 | this.textEdit3 = new DevExpress.XtraEditors.TextEdit(); 31 | this.textEdit4 = new DevExpress.XtraEditors.TextEdit(); 32 | this.tablePanel1 = new DevExpress.Utils.Layout.TablePanel(); 33 | ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); 34 | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); 35 | ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); 36 | ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit(); 37 | ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).BeginInit(); 38 | ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).BeginInit(); 39 | ((System.ComponentModel.ISupportInitialize)(this.tablePanel1)).BeginInit(); 40 | this.tablePanel1.SuspendLayout(); 41 | this.SuspendLayout(); 42 | // 43 | // gridControl1 44 | // 45 | this.tablePanel1.SetColumn(this.gridControl1, 0); 46 | this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; 47 | this.gridControl1.Location = new System.Drawing.Point(13, 13); 48 | this.gridControl1.MainView = this.gridView1; 49 | this.gridControl1.Name = "gridControl1"; 50 | this.tablePanel1.SetRow(this.gridControl1, 0); 51 | this.tablePanel1.SetRowSpan(this.gridControl1, 5); 52 | this.gridControl1.Size = new System.Drawing.Size(373, 370); 53 | this.gridControl1.TabIndex = 0; 54 | this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { 55 | this.gridView1}); 56 | // 57 | // gridView1 58 | // 59 | this.gridView1.GridControl = this.gridControl1; 60 | this.gridView1.Name = "gridView1"; 61 | // 62 | // textEdit1 63 | // 64 | this.tablePanel1.SetColumn(this.textEdit1, 1); 65 | this.textEdit1.Location = new System.Drawing.Point(392, 91); 66 | this.textEdit1.Name = "textEdit1"; 67 | this.tablePanel1.SetRow(this.textEdit1, 3); 68 | this.textEdit1.Size = new System.Drawing.Size(194, 20); 69 | this.textEdit1.TabIndex = 1; 70 | // 71 | // textEdit2 72 | // 73 | this.tablePanel1.SetColumn(this.textEdit2, 1); 74 | this.textEdit2.Location = new System.Drawing.Point(392, 65); 75 | this.textEdit2.Name = "textEdit2"; 76 | this.tablePanel1.SetRow(this.textEdit2, 2); 77 | this.textEdit2.Size = new System.Drawing.Size(194, 20); 78 | this.textEdit2.TabIndex = 2; 79 | // 80 | // textEdit3 81 | // 82 | this.tablePanel1.SetColumn(this.textEdit3, 1); 83 | this.textEdit3.Location = new System.Drawing.Point(392, 13); 84 | this.textEdit3.Name = "textEdit3"; 85 | this.tablePanel1.SetRow(this.textEdit3, 0); 86 | this.textEdit3.Size = new System.Drawing.Size(194, 20); 87 | this.textEdit3.TabIndex = 3; 88 | // 89 | // textEdit4 90 | // 91 | this.tablePanel1.SetColumn(this.textEdit4, 1); 92 | this.textEdit4.Location = new System.Drawing.Point(392, 39); 93 | this.textEdit4.Name = "textEdit4"; 94 | this.tablePanel1.SetRow(this.textEdit4, 1); 95 | this.textEdit4.Size = new System.Drawing.Size(194, 20); 96 | this.textEdit4.TabIndex = 4; 97 | // 98 | // tablePanel1 99 | // 100 | this.tablePanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; 101 | this.tablePanel1.Columns.AddRange(new DevExpress.Utils.Layout.TablePanelColumn[] { 102 | new DevExpress.Utils.Layout.TablePanelColumn(DevExpress.Utils.Layout.TablePanelEntityStyle.Relative, 47.23F), 103 | new DevExpress.Utils.Layout.TablePanelColumn(DevExpress.Utils.Layout.TablePanelEntityStyle.Absolute, 200F)}); 104 | this.tablePanel1.Controls.Add(this.textEdit1); 105 | this.tablePanel1.Controls.Add(this.textEdit2); 106 | this.tablePanel1.Controls.Add(this.textEdit4); 107 | this.tablePanel1.Controls.Add(this.textEdit3); 108 | this.tablePanel1.Controls.Add(this.gridControl1); 109 | this.tablePanel1.Dock = System.Windows.Forms.DockStyle.Fill; 110 | this.tablePanel1.Location = new System.Drawing.Point(0, 0); 111 | this.tablePanel1.Name = "tablePanel1"; 112 | this.tablePanel1.Padding = new System.Windows.Forms.Padding(10); 113 | this.tablePanel1.Rows.AddRange(new DevExpress.Utils.Layout.TablePanelRow[] { 114 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 233F), 115 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 26F), 116 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 26F), 117 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 26F), 118 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.Absolute, 26F)}); 119 | this.tablePanel1.Size = new System.Drawing.Size(599, 396); 120 | this.tablePanel1.TabIndex = 6; 121 | // 122 | // GridUserControl 123 | // 124 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 125 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 126 | this.Controls.Add(this.tablePanel1); 127 | this.Name = "GridUserControl"; 128 | this.Size = new System.Drawing.Size(599, 396); 129 | ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); 130 | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); 131 | ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); 132 | ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit(); 133 | ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).EndInit(); 134 | ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).EndInit(); 135 | ((System.ComponentModel.ISupportInitialize)(this.tablePanel1)).EndInit(); 136 | this.tablePanel1.ResumeLayout(false); 137 | this.ResumeLayout(false); 138 | 139 | } 140 | 141 | #endregion 142 | 143 | private DevExpress.XtraGrid.GridControl gridControl1; 144 | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; 145 | private DevExpress.XtraEditors.TextEdit textEdit1; 146 | private DevExpress.XtraEditors.TextEdit textEdit2; 147 | private DevExpress.XtraEditors.TextEdit textEdit3; 148 | private DevExpress.XtraEditors.TextEdit textEdit4; 149 | private DevExpress.Utils.Layout.TablePanel tablePanel1; 150 | } 151 | } 152 | -------------------------------------------------------------------------------- /.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_12/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 | 125 | 126 | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjEsIFZlcnNpb249MjAuMS40 127 | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl 128 | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAEEGAAAC77u/ 129 | PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRG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c7fQoJLnN0NHtkaXNwbGF5OmlubGluZTtmaWxsOiM3Mjcy 172 | NzI7fQo8L3N0eWxlPg0KICA8ZyBpZD0iU2hvd0dyaWRsaW5lcyI+DQogICAgPHBhdGggZD0iTTIsMnYy 173 | NmgyNlYySDJ6IE0yMiw0aDR2NGgtNFY0eiBNMjIsMTBoNHY0aC00VjEweiBNMjIsMTZoNHY0aC00VjE2 174 | eiBNMTYsNGg0djRoLTRWNHogTTE2LDEwaDR2NGgtNFYxMHogICAgTTE2LDE2aDR2NGgtNFYxNnogTTEw 175 | LDRoNHY0aC00VjR6IE0xMCwxMGg0djRoLTRWMTB6IE0xMCwxNmg0djRoLTRWMTZ6IE00LDRoNHY0SDRW 176 | NHogTTQsMTBoNHY0SDRWMTB6IE00LDE2aDR2NEg0VjE2eiBNNCwyNnYtNCAgIGg0djRINHogTTEwLDI2 177 | di00aDR2NEgxMHogTTE2LDI2di00aDR2NEgxNnogTTIyLDI2di00aDR2NEgyMnoiIGNsYXNzPSJCbGFj 178 | ayIgLz4NCiAgPC9nPg0KPC9zdmc+Cw== 179 | 180 | 181 | -------------------------------------------------------------------------------- /sample_3_12/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace sample_3_12 { 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.XtraEditors.TileItemElement tileItemElement1 = new DevExpress.XtraEditors.TileItemElement(); 28 | DevExpress.XtraEditors.TileItemElement tileItemElement2 = new DevExpress.XtraEditors.TileItemElement(); 29 | DevExpress.XtraEditors.TileItemElement tileItemElement3 = new DevExpress.XtraEditors.TileItemElement(); 30 | DevExpress.XtraEditors.TileItemElement tileItemElement4 = new DevExpress.XtraEditors.TileItemElement(); 31 | DevExpress.XtraEditors.TileItemElement tileItemElement5 = new DevExpress.XtraEditors.TileItemElement(); 32 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 33 | DevExpress.XtraEditors.TileItemFrame tileItemFrame1 = new DevExpress.XtraEditors.TileItemFrame(); 34 | DevExpress.XtraEditors.TileItemElement tileItemElement6 = new DevExpress.XtraEditors.TileItemElement(); 35 | DevExpress.XtraEditors.TileItemFrame tileItemFrame2 = new DevExpress.XtraEditors.TileItemFrame(); 36 | DevExpress.XtraEditors.TileItemElement tileItemElement7 = new DevExpress.XtraEditors.TileItemElement(); 37 | DevExpress.XtraBars.Docking2010.WindowsUIButtonImageOptions windowsUIButtonImageOptions1 = new DevExpress.XtraBars.Docking2010.WindowsUIButtonImageOptions(); 38 | this.documentManager1 = new DevExpress.XtraBars.Docking2010.DocumentManager(this.components); 39 | this.windowsUIView1 = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.WindowsUIView(this.components); 40 | this.tileContainer1 = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.TileContainer(this.components); 41 | this.RichEditUserControlTile = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Tile(this.components); 42 | this.richEditUserControlDocument = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Document(this.components); 43 | this.GridUserControlTile = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Tile(this.components); 44 | this.gridUserControlDocument = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Document(this.components); 45 | this.page1 = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Page(this.components); 46 | this.page2 = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Page(this.components); 47 | this.pageGroup1 = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.PageGroup(this.components); 48 | this.tabbedGroup1 = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.TabbedGroup(this.components); 49 | this.tile1 = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Tile(this.components); 50 | this.tile2 = new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Tile(this.components); 51 | ((System.ComponentModel.ISupportInitialize)(this.documentManager1)).BeginInit(); 52 | ((System.ComponentModel.ISupportInitialize)(this.windowsUIView1)).BeginInit(); 53 | ((System.ComponentModel.ISupportInitialize)(this.tileContainer1)).BeginInit(); 54 | ((System.ComponentModel.ISupportInitialize)(this.RichEditUserControlTile)).BeginInit(); 55 | ((System.ComponentModel.ISupportInitialize)(this.richEditUserControlDocument)).BeginInit(); 56 | ((System.ComponentModel.ISupportInitialize)(this.GridUserControlTile)).BeginInit(); 57 | ((System.ComponentModel.ISupportInitialize)(this.gridUserControlDocument)).BeginInit(); 58 | ((System.ComponentModel.ISupportInitialize)(this.page1)).BeginInit(); 59 | ((System.ComponentModel.ISupportInitialize)(this.page2)).BeginInit(); 60 | ((System.ComponentModel.ISupportInitialize)(this.pageGroup1)).BeginInit(); 61 | ((System.ComponentModel.ISupportInitialize)(this.tabbedGroup1)).BeginInit(); 62 | ((System.ComponentModel.ISupportInitialize)(this.tile1)).BeginInit(); 63 | ((System.ComponentModel.ISupportInitialize)(this.tile2)).BeginInit(); 64 | this.SuspendLayout(); 65 | // 66 | // documentManager1 67 | // 68 | this.documentManager1.ContainerControl = this; 69 | this.documentManager1.View = this.windowsUIView1; 70 | this.documentManager1.ViewCollection.AddRange(new DevExpress.XtraBars.Docking2010.Views.BaseView[] { 71 | this.windowsUIView1}); 72 | // 73 | // windowsUIView1 74 | // 75 | this.windowsUIView1.ContentContainers.AddRange(new DevExpress.XtraBars.Docking2010.Views.WindowsUI.IContentContainer[] { 76 | this.tileContainer1, 77 | this.page1, 78 | this.page2, 79 | this.pageGroup1, 80 | this.tabbedGroup1}); 81 | this.windowsUIView1.Documents.AddRange(new DevExpress.XtraBars.Docking2010.Views.BaseDocument[] { 82 | this.richEditUserControlDocument, 83 | this.gridUserControlDocument}); 84 | this.windowsUIView1.Tiles.AddRange(new DevExpress.XtraBars.Docking2010.Views.WindowsUI.BaseTile[] { 85 | this.RichEditUserControlTile, 86 | this.GridUserControlTile, 87 | this.tile1, 88 | this.tile2}); 89 | // 90 | // tileContainer1 91 | // 92 | this.tileContainer1.Items.AddRange(new DevExpress.XtraBars.Docking2010.Views.WindowsUI.BaseTile[] { 93 | this.RichEditUserControlTile, 94 | this.GridUserControlTile, 95 | this.tile1, 96 | this.tile2}); 97 | this.tileContainer1.Name = "tileContainer1"; 98 | // 99 | // RichEditUserControlTile 100 | // 101 | this.RichEditUserControlTile.ActivationTarget = this.page1; 102 | tileItemElement1.Text = "Rich"; 103 | tileItemElement2.Text = "Edit"; 104 | tileItemElement3.Text = "User"; 105 | tileItemElement4.Text = "Control"; 106 | tileItemElement5.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; 107 | tileItemElement5.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.TileControlImageToTextAlignment.Top; 108 | tileItemElement5.ImageOptions.ImageToTextIndent = 0; 109 | tileItemElement5.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("resource.SvgImage"))); 110 | tileItemElement5.ImageOptions.SvgImageSize = new System.Drawing.Size(64, 64); 111 | tileItemElement5.Text = "Rich Edit User Control"; 112 | this.RichEditUserControlTile.Elements.Add(tileItemElement1); 113 | this.RichEditUserControlTile.Elements.Add(tileItemElement2); 114 | this.RichEditUserControlTile.Elements.Add(tileItemElement3); 115 | this.RichEditUserControlTile.Elements.Add(tileItemElement4); 116 | this.RichEditUserControlTile.Elements.Add(tileItemElement5); 117 | this.RichEditUserControlTile.Name = "RichEditUserControlTile"; 118 | // 119 | // richEditUserControlDocument 120 | // 121 | this.richEditUserControlDocument.Caption = "RichEditUserControl"; 122 | this.richEditUserControlDocument.ControlName = "RichEditUserControl"; 123 | this.richEditUserControlDocument.ControlTypeName = "sample_3_12.RichEditUserControl"; 124 | // 125 | // GridUserControlTile 126 | // 127 | this.GridUserControlTile.ActivationTarget = this.page2; 128 | tileItemElement6.Appearance.Normal.Font = new System.Drawing.Font("Tahoma", 32F, System.Drawing.FontStyle.Bold); 129 | tileItemElement6.Appearance.Normal.FontStyleDelta = System.Drawing.FontStyle.Bold; 130 | tileItemElement6.Appearance.Normal.Options.UseFont = true; 131 | tileItemElement6.Appearance.Normal.Options.UseTextOptions = true; 132 | tileItemElement6.Appearance.Normal.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; 133 | tileItemElement6.Text = "Grid User Control"; 134 | tileItemElement6.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; 135 | tileItemFrame1.Elements.Add(tileItemElement6); 136 | tileItemElement7.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; 137 | tileItemElement7.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("resource.SvgImage1"))); 138 | tileItemElement7.ImageOptions.SvgImageSize = new System.Drawing.Size(150, 150); 139 | tileItemElement7.Text = ""; 140 | tileItemFrame2.Elements.Add(tileItemElement7); 141 | this.GridUserControlTile.Frames.Add(tileItemFrame1); 142 | this.GridUserControlTile.Frames.Add(tileItemFrame2); 143 | this.tileContainer1.SetID(this.GridUserControlTile, 1); 144 | this.GridUserControlTile.Name = "GridUserControlTile"; 145 | this.GridUserControlTile.Properties.ContentAnimation = DevExpress.XtraEditors.TileItemContentAnimationType.ScrollLeft; 146 | this.GridUserControlTile.Properties.FrameAnimationInterval = 500; 147 | // 148 | // gridUserControlDocument 149 | // 150 | this.gridUserControlDocument.Caption = "GridUserControl"; 151 | this.gridUserControlDocument.ControlName = "GridUserControl"; 152 | this.gridUserControlDocument.ControlTypeName = "sample_3_12.GridUserControl"; 153 | // 154 | // page1 155 | // 156 | this.page1.Buttons.AddRange(new DevExpress.XtraEditors.ButtonPanel.IBaseButton[] { 157 | new DevExpress.XtraBars.Docking2010.WindowsUIButton(), 158 | new DevExpress.XtraBars.Docking2010.WindowsUISeparator(), 159 | new DevExpress.XtraBars.Docking2010.WindowsUIButton(), 160 | new DevExpress.XtraBars.Docking2010.WindowsUIButton("Button", true, windowsUIButtonImageOptions1, DevExpress.XtraBars.Docking2010.ButtonStyle.CheckButton, "", -1, true, null, true, false, true, null, -1, false)}); 161 | this.page1.Document = this.richEditUserControlDocument; 162 | this.page1.Name = "page1"; 163 | this.page1.Parent = this.tileContainer1; 164 | // 165 | // page2 166 | // 167 | this.page2.Document = this.gridUserControlDocument; 168 | this.page2.Name = "page2"; 169 | this.page2.Parent = this.tileContainer1; 170 | // 171 | // pageGroup1 172 | // 173 | this.pageGroup1.Items.AddRange(new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Document[] { 174 | this.richEditUserControlDocument, 175 | this.gridUserControlDocument}); 176 | this.pageGroup1.Name = "pageGroup1"; 177 | this.pageGroup1.Parent = this.tileContainer1; 178 | // 179 | // tabbedGroup1 180 | // 181 | this.tabbedGroup1.Items.AddRange(new DevExpress.XtraBars.Docking2010.Views.WindowsUI.Document[] { 182 | this.richEditUserControlDocument, 183 | this.gridUserControlDocument}); 184 | this.tabbedGroup1.Name = "tabbedGroup1"; 185 | this.tabbedGroup1.Parent = this.tileContainer1; 186 | // 187 | // tile1 188 | // 189 | this.tile1.ActivationTarget = this.pageGroup1; 190 | this.tileContainer1.SetID(this.tile1, 2); 191 | this.tile1.Name = "tile1"; 192 | // 193 | // tile2 194 | // 195 | this.tile2.ActivationTarget = this.tabbedGroup1; 196 | this.tileContainer1.SetID(this.tile2, 3); 197 | this.tile2.Name = "tile2"; 198 | // 199 | // Form1 200 | // 201 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 202 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 203 | this.ClientSize = new System.Drawing.Size(853, 543); 204 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; 205 | this.Name = "Form1"; 206 | this.Text = "Form1"; 207 | this.WindowState = System.Windows.Forms.FormWindowState.Maximized; 208 | ((System.ComponentModel.ISupportInitialize)(this.documentManager1)).EndInit(); 209 | ((System.ComponentModel.ISupportInitialize)(this.windowsUIView1)).EndInit(); 210 | ((System.ComponentModel.ISupportInitialize)(this.tileContainer1)).EndInit(); 211 | ((System.ComponentModel.ISupportInitialize)(this.RichEditUserControlTile)).EndInit(); 212 | ((System.ComponentModel.ISupportInitialize)(this.richEditUserControlDocument)).EndInit(); 213 | ((System.ComponentModel.ISupportInitialize)(this.GridUserControlTile)).EndInit(); 214 | ((System.ComponentModel.ISupportInitialize)(this.gridUserControlDocument)).EndInit(); 215 | ((System.ComponentModel.ISupportInitialize)(this.page1)).EndInit(); 216 | ((System.ComponentModel.ISupportInitialize)(this.page2)).EndInit(); 217 | ((System.ComponentModel.ISupportInitialize)(this.pageGroup1)).EndInit(); 218 | ((System.ComponentModel.ISupportInitialize)(this.tabbedGroup1)).EndInit(); 219 | ((System.ComponentModel.ISupportInitialize)(this.tile1)).EndInit(); 220 | ((System.ComponentModel.ISupportInitialize)(this.tile2)).EndInit(); 221 | this.ResumeLayout(false); 222 | 223 | } 224 | 225 | #endregion 226 | 227 | private DevExpress.XtraBars.Docking2010.DocumentManager documentManager1; 228 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.WindowsUIView windowsUIView1; 229 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.TileContainer tileContainer1; 230 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.Tile RichEditUserControlTile; 231 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.Document richEditUserControlDocument; 232 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.Tile GridUserControlTile; 233 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.Document gridUserControlDocument; 234 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.Page page1; 235 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.Page page2; 236 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.Tile tile1; 237 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.PageGroup pageGroup1; 238 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.Tile tile2; 239 | private DevExpress.XtraBars.Docking2010.Views.WindowsUI.TabbedGroup tabbedGroup1; 240 | } 241 | } 242 | 243 | --------------------------------------------------------------------------------