├── sample_1_17
├── Properties
│ ├── licenses.licx
│ ├── Settings.settings
│ ├── DataSources
│ │ └── Thing.datasource
│ ├── Settings.Designer.cs
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── ListItem.cs
├── Program.cs
├── Form1.cs
├── ChangeableBase.cs
├── App.config
├── sample_1_17.csproj
├── Form1.resx
└── Form1.Designer.cs
├── sample_1_17.sln
├── .gitattributes
└── .gitignore
/sample_1_17/Properties/licenses.licx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/sample_1_17/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/sample_1_17/ListItem.cs:
--------------------------------------------------------------------------------
1 | namespace sample_1_17 {
2 | public class ListItem : ChangeableBase {
3 | string name;
4 | public string Name { get => name; set => SetProperty(ref name, value); }
5 | string category;
6 | public string Category { get => category; set => SetProperty(ref category, value); }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/sample_1_17/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_1_17 {
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 | Application.Run(new Form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/sample_1_17/Properties/DataSources/Thing.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | sample_1_17.Thing, sample_1_17, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/sample_1_17/Form1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ComponentModel;
3 | using System.Data;
4 | using System.Drawing;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Windows.Forms;
8 |
9 | namespace sample_1_17 {
10 | public partial class Form1 : DevExpress.XtraEditors.XtraForm {
11 | public Form1() {
12 | InitializeComponent();
13 | }
14 |
15 | private void Form1_Load(object sender, EventArgs e) {
16 | leftGridSource.DataSource = new BindingList {
17 | new ListItem{Name="One", Category="Great"},
18 | new ListItem{Name="Two", Category="Enormous"},
19 | new ListItem{Name="Three", Category="Big"}
20 | };
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/sample_1_17/ChangeableBase.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.ComponentModel;
3 | using System.Runtime.CompilerServices;
4 |
5 | namespace sample_1_17 {
6 | public abstract class ChangeableBase : INotifyPropertyChanged {
7 | public event PropertyChangedEventHandler PropertyChanged;
8 |
9 | protected void OnPropertyChanged(string propertyName) =>
10 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
11 |
12 | protected void SetProperty(ref T field, T value, [CallerMemberName] string propertyName = null,
13 | IList extraProps = null) {
14 | if (EqualityComparer.Default.Equals(field, value)) return;
15 | field = value;
16 | OnPropertyChanged(propertyName);
17 | if (extraProps != null)
18 | foreach (var p in extraProps)
19 | OnPropertyChanged(p);
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/sample_1_17/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_1_17.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_1_17.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_1_17", "sample_1_17\sample_1_17.csproj", "{E49BBF50-B3AE-4D93-A8DB-D95FB59B546B}"
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 | {E49BBF50-B3AE-4D93-A8DB-D95FB59B546B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {E49BBF50-B3AE-4D93-A8DB-D95FB59B546B}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {E49BBF50-B3AE-4D93-A8DB-D95FB59B546B}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {E49BBF50-B3AE-4D93-A8DB-D95FB59B546B}.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 = {94128AD6-4264-4391-B16F-8C0978796CFF}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/sample_1_17/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_1_17")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("sample_1_17")]
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_1_17/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | System
12 |
13 |
14 | True
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/.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_1_17/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_1_17.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_1_17.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_1_17/sample_1_17.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | x86
6 | 8.0.30703
7 | 2.0
8 | {E49BBF50-B3AE-4D93-A8DB-D95FB59B546B}
9 | WinExe
10 | Properties
11 | sample_1_17
12 | sample_1_17
13 | v4.8
14 | 512
15 |
16 |
17 |
18 | AnyCPU
19 | true
20 | full
21 | false
22 | bin\Debug\
23 | DEBUG;TRACE
24 | prompt
25 | 4
26 |
27 |
28 | AnyCPU
29 | pdbonly
30 | true
31 | bin\Release\
32 | TRACE
33 | prompt
34 | 4
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 | Form
64 |
65 |
66 | Form1.cs
67 |
68 |
69 |
70 |
71 |
72 | Form1.cs
73 |
74 |
75 |
76 | ResXFileCodeGenerator
77 | Resources.Designer.cs
78 | Designer
79 |
80 |
81 | True
82 | Resources.resx
83 | True
84 |
85 |
86 |
87 |
88 | SettingsSingleFileGenerator
89 | Settings.Designer.cs
90 |
91 |
92 | True
93 | Settings.settings
94 | True
95 |
96 |
97 |
98 |
105 |
--------------------------------------------------------------------------------
/sample_1_17/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_1_17/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 | 540, 23
122 |
123 |
124 | 285, 23
125 |
126 |
127 | 402, 23
128 |
129 |
130 | 107
131 |
132 |
--------------------------------------------------------------------------------
/.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_1_17/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_1_17 {
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.Utils.Drawing.StubGlyphOptions stubGlyphOptions1 = new DevExpress.Utils.Drawing.StubGlyphOptions();
28 | DevExpress.Utils.Behaviors.Common.TimeFormatOptions timeFormatOptions1 = new DevExpress.Utils.Behaviors.Common.TimeFormatOptions();
29 | DevExpress.Utils.Behaviors.Common.DateFormatOptions dateFormatOptions1 = new DevExpress.Utils.Behaviors.Common.DateFormatOptions();
30 | DevExpress.Utils.Behaviors.Common.TimeFormatOptions timeFormatOptions2 = new DevExpress.Utils.Behaviors.Common.TimeFormatOptions();
31 | DevExpress.Utils.Behaviors.Common.DateFormatOptions dateFormatOptions2 = new DevExpress.Utils.Behaviors.Common.DateFormatOptions();
32 | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
33 | DevExpress.Utils.Drawing.StubGlyphOptions stubGlyphOptions2 = new DevExpress.Utils.Drawing.StubGlyphOptions();
34 | this.xtraTabControl = new DevExpress.XtraTab.XtraTabControl();
35 | this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
36 | this.fileInfoLabel = new DevExpress.XtraEditors.LabelControl();
37 | this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
38 | this.keyboardLabel = new DevExpress.XtraEditors.LabelControl();
39 | this.clockLabel = new DevExpress.XtraEditors.LabelControl();
40 | this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
41 | this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
42 | this.buttonEdit1 = new DevExpress.XtraEditors.ButtonEdit();
43 | this.gaugeControl1 = new DevExpress.XtraGauges.Win.GaugeControl();
44 | this.digitalGauge9 = new DevExpress.XtraGauges.Win.Gauges.Digital.DigitalGauge();
45 | this.digitalBackgroundLayerComponent1 = new DevExpress.XtraGauges.Win.Gauges.Digital.DigitalBackgroundLayerComponent();
46 | this.colorEdit1 = new DevExpress.XtraEditors.ColorEdit();
47 | this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
48 | this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
49 | this.leftGrid = new DevExpress.XtraGrid.GridControl();
50 | this.leftGridSource = new System.Windows.Forms.BindingSource(this.components);
51 | this.leftGridView = new DevExpress.XtraGrid.Views.Grid.GridView();
52 | this.colName = new DevExpress.XtraGrid.Columns.GridColumn();
53 | this.colCategory = new DevExpress.XtraGrid.Columns.GridColumn();
54 | this.leftList = new DevExpress.XtraEditors.ListBoxControl();
55 | this.rightGrid = new DevExpress.XtraGrid.GridControl();
56 | this.rightGridSource = new System.Windows.Forms.BindingSource(this.components);
57 | this.rightGridView = new DevExpress.XtraGrid.Views.Grid.GridView();
58 | this.colName1 = new DevExpress.XtraGrid.Columns.GridColumn();
59 | this.colCategory1 = new DevExpress.XtraGrid.Columns.GridColumn();
60 | this.rightList = new DevExpress.XtraEditors.ListBoxControl();
61 | this.behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(this.components);
62 | this.dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(this.components);
63 | this.dragDropEvents2 = new DevExpress.Utils.DragDrop.DragDropEvents(this.components);
64 | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl)).BeginInit();
65 | this.xtraTabControl.SuspendLayout();
66 | this.xtraTabPage1.SuspendLayout();
67 | ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).BeginInit();
68 | ((System.ComponentModel.ISupportInitialize)(this.digitalGauge9)).BeginInit();
69 | ((System.ComponentModel.ISupportInitialize)(this.digitalBackgroundLayerComponent1)).BeginInit();
70 | ((System.ComponentModel.ISupportInitialize)(this.colorEdit1.Properties)).BeginInit();
71 | this.xtraTabPage2.SuspendLayout();
72 | ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
73 | this.splitContainerControl1.SuspendLayout();
74 | ((System.ComponentModel.ISupportInitialize)(this.leftGrid)).BeginInit();
75 | ((System.ComponentModel.ISupportInitialize)(this.leftGridSource)).BeginInit();
76 | ((System.ComponentModel.ISupportInitialize)(this.leftGridView)).BeginInit();
77 | ((System.ComponentModel.ISupportInitialize)(this.leftList)).BeginInit();
78 | ((System.ComponentModel.ISupportInitialize)(this.rightGrid)).BeginInit();
79 | ((System.ComponentModel.ISupportInitialize)(this.rightGridSource)).BeginInit();
80 | ((System.ComponentModel.ISupportInitialize)(this.rightGridView)).BeginInit();
81 | ((System.ComponentModel.ISupportInitialize)(this.rightList)).BeginInit();
82 | ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit();
83 | this.SuspendLayout();
84 | //
85 | // xtraTabControl
86 | //
87 | this.behaviorManager1.SetBehaviors(this.xtraTabControl, new DevExpress.Utils.Behaviors.Behavior[] {
88 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.Utils.Behaviors.Common.StubGlyphBehavior.Create(typeof(DevExpress.XtraTab.Behaviors.StubGlyphBehaviorSourceForXtraTabControl), stubGlyphOptions1, new System.Drawing.Size(16, 16))))});
89 | this.xtraTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
90 | this.xtraTabControl.Location = new System.Drawing.Point(0, 0);
91 | this.xtraTabControl.Name = "xtraTabControl";
92 | this.xtraTabControl.SelectedTabPage = this.xtraTabPage1;
93 | this.xtraTabControl.Size = new System.Drawing.Size(633, 318);
94 | this.xtraTabControl.TabIndex = 0;
95 | this.xtraTabControl.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
96 | this.xtraTabPage1,
97 | this.xtraTabPage2});
98 | //
99 | // xtraTabPage1
100 | //
101 | this.xtraTabPage1.Controls.Add(this.fileInfoLabel);
102 | this.xtraTabPage1.Controls.Add(this.labelControl3);
103 | this.xtraTabPage1.Controls.Add(this.keyboardLabel);
104 | this.xtraTabPage1.Controls.Add(this.clockLabel);
105 | this.xtraTabPage1.Controls.Add(this.labelControl2);
106 | this.xtraTabPage1.Controls.Add(this.labelControl1);
107 | this.xtraTabPage1.Controls.Add(this.buttonEdit1);
108 | this.xtraTabPage1.Controls.Add(this.gaugeControl1);
109 | this.xtraTabPage1.Controls.Add(this.colorEdit1);
110 | this.xtraTabPage1.Name = "xtraTabPage1";
111 | this.xtraTabPage1.Size = new System.Drawing.Size(631, 293);
112 | this.xtraTabPage1.Text = "Editors && Labels";
113 | //
114 | // fileInfoLabel
115 | //
116 | this.behaviorManager1.SetBehaviors(this.fileInfoLabel, new DevExpress.Utils.Behaviors.Behavior[] {
117 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.Utils.Behaviors.Common.FileIconBehavior.Create(typeof(DevExpress.XtraEditors.Behaviors.FileIconBehaviorSourceForLabelControl), DevExpress.Utils.Behaviors.Common.FileIconSize.Small, null, null)))});
118 | this.fileInfoLabel.Location = new System.Drawing.Point(95, 93);
119 | this.fileInfoLabel.Name = "fileInfoLabel";
120 | this.fileInfoLabel.Size = new System.Drawing.Size(118, 13);
121 | this.fileInfoLabel.TabIndex = 8;
122 | this.fileInfoLabel.Text = "C:\\Windows\\regedit.exe";
123 | //
124 | // labelControl3
125 | //
126 | this.labelControl3.Location = new System.Drawing.Point(11, 93);
127 | this.labelControl3.Name = "labelControl3";
128 | this.labelControl3.Size = new System.Drawing.Size(41, 13);
129 | this.labelControl3.TabIndex = 7;
130 | this.labelControl3.Text = "File info:";
131 | //
132 | // keyboardLabel
133 | //
134 | this.behaviorManager1.SetBehaviors(this.keyboardLabel, new DevExpress.Utils.Behaviors.Behavior[] {
135 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.Utils.Behaviors.Common.KeyboardIndicatorBehavior.Create(typeof(DevExpress.XtraEditors.Behaviors.KeyboardIndicatorBehaviorSourceForLabelControl), DevExpress.Utils.Behaviors.Common.LockedKey.CapsLock, null, null)))});
136 | this.keyboardLabel.Location = new System.Drawing.Point(206, 135);
137 | this.keyboardLabel.Name = "keyboardLabel";
138 | this.keyboardLabel.Size = new System.Drawing.Size(70, 13);
139 | this.keyboardLabel.TabIndex = 6;
140 | this.keyboardLabel.Text = "keyboardLabel";
141 | //
142 | // clockLabel
143 | //
144 | dateFormatOptions1.Color = System.Drawing.Color.Red;
145 | dateFormatOptions1.FontSizeDelta = 5;
146 | this.behaviorManager1.SetBehaviors(this.clockLabel, new DevExpress.Utils.Behaviors.Behavior[] {
147 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.Utils.Behaviors.Common.ClockBehavior.Create(typeof(DevExpress.XtraEditors.Behaviors.ClockBehaviorSourceForLabelControl), timeFormatOptions1, dateFormatOptions1, System.TimeSpan.Parse("00:00:00"), DevExpress.Utils.Behaviors.Common.DateTimeShowMode.Default)))});
148 | this.clockLabel.Location = new System.Drawing.Point(11, 135);
149 | this.clockLabel.Name = "clockLabel";
150 | this.clockLabel.Size = new System.Drawing.Size(48, 13);
151 | this.clockLabel.TabIndex = 5;
152 | this.clockLabel.Text = "clockLabel";
153 | //
154 | // labelControl2
155 | //
156 | this.labelControl2.Location = new System.Drawing.Point(11, 62);
157 | this.labelControl2.Name = "labelControl2";
158 | this.labelControl2.Size = new System.Drawing.Size(61, 13);
159 | this.labelControl2.TabIndex = 4;
160 | this.labelControl2.Text = "File selector:";
161 | //
162 | // labelControl1
163 | //
164 | this.labelControl1.Location = new System.Drawing.Point(11, 18);
165 | this.labelControl1.Name = "labelControl1";
166 | this.labelControl1.Size = new System.Drawing.Size(60, 13);
167 | this.labelControl1.TabIndex = 3;
168 | this.labelControl1.Text = "Color picker:";
169 | //
170 | // buttonEdit1
171 | //
172 | this.behaviorManager1.SetBehaviors(this.buttonEdit1, new DevExpress.Utils.Behaviors.Behavior[] {
173 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.Utils.Behaviors.Common.OpenFileBehavior.Create(typeof(DevExpress.XtraEditors.Behaviors.OpenFileBehaviorSourceForButtonEdit), true, DevExpress.Utils.Behaviors.Common.FileIconSize.Small, null, null, DevExpress.Utils.Behaviors.Common.CompletionMode.FilesAndDirectories, null, null, DevExpress.Utils.CommonDialogs.FileBrowserStyle.Default)))});
174 | this.buttonEdit1.Location = new System.Drawing.Point(95, 59);
175 | this.buttonEdit1.Name = "buttonEdit1";
176 | this.buttonEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
177 | new DevExpress.XtraEditors.Controls.EditorButton()});
178 | this.buttonEdit1.Size = new System.Drawing.Size(524, 20);
179 | this.buttonEdit1.TabIndex = 2;
180 | //
181 | // gaugeControl1
182 | //
183 | this.gaugeControl1.Gauges.AddRange(new DevExpress.XtraGauges.Base.IGauge[] {
184 | this.digitalGauge9});
185 | this.gaugeControl1.Location = new System.Drawing.Point(11, 206);
186 | this.gaugeControl1.Name = "gaugeControl1";
187 | this.gaugeControl1.Size = new System.Drawing.Size(608, 60);
188 | this.gaugeControl1.TabIndex = 1;
189 | //
190 | // digitalGauge9
191 | //
192 | this.digitalGauge9.AppearanceOff.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#F3B030");
193 | this.digitalGauge9.AppearanceOn.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#343A49");
194 | this.digitalGauge9.BackgroundLayers.AddRange(new DevExpress.XtraGauges.Win.Gauges.Digital.DigitalBackgroundLayerComponent[] {
195 | this.digitalBackgroundLayerComponent1});
196 | this.behaviorManager1.SetBehaviors(this.digitalGauge9, new DevExpress.Utils.Behaviors.Behavior[] {
197 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.Utils.Behaviors.Common.ClockBehavior.Create(typeof(DevExpress.XtraGauges.Win.Gauges.Behaviors.ClockBehaviorSourceForDigitalGauge), timeFormatOptions2, dateFormatOptions2, System.TimeSpan.Parse("00:00:00"), DevExpress.Utils.Behaviors.Common.DateTimeShowMode.DateAndTimeInline)))});
198 | this.digitalGauge9.Bounds = new System.Drawing.Rectangle(6, 6, 596, 48);
199 | this.digitalGauge9.DigitCount = 40;
200 | this.digitalGauge9.Name = "digitalGauge9";
201 | this.digitalGauge9.Padding = new DevExpress.XtraGauges.Core.Base.TextSpacing(26, 20, 26, 20);
202 | this.digitalGauge9.Text = "00,000";
203 | //
204 | // digitalBackgroundLayerComponent1
205 | //
206 | this.digitalBackgroundLayerComponent1.BottomRight = new DevExpress.XtraGauges.Core.Base.PointF2D(1944.501F, 99.9625F);
207 | this.digitalBackgroundLayerComponent1.Name = "digitalBackgroundLayerComponent1";
208 | this.digitalBackgroundLayerComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.DigitalBackgroundShapeSetType.Style24;
209 | this.digitalBackgroundLayerComponent1.TopLeft = new DevExpress.XtraGauges.Core.Base.PointF2D(26F, 0F);
210 | this.digitalBackgroundLayerComponent1.ZOrder = 1000;
211 | //
212 | // colorEdit1
213 | //
214 | this.behaviorManager1.SetBehaviors(this.colorEdit1, new DevExpress.Utils.Behaviors.Behavior[] {
215 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.XtraEditors.Behaviors.MagnifierBehavior.Create(typeof(DevExpress.XtraEditors.Behaviors.MagnifierBehaviorSourceForColorEdit), editorButtonImageOptions1, 2F, true, false, DevExpress.Utils.ColorFormat.RGB, false)))});
216 | this.colorEdit1.EditValue = System.Drawing.Color.Empty;
217 | this.colorEdit1.Location = new System.Drawing.Point(95, 15);
218 | this.colorEdit1.Name = "colorEdit1";
219 | this.colorEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
220 | new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
221 | this.colorEdit1.Size = new System.Drawing.Size(100, 20);
222 | this.colorEdit1.TabIndex = 0;
223 | //
224 | // xtraTabPage2
225 | //
226 | this.xtraTabPage2.Controls.Add(this.splitContainerControl1);
227 | this.xtraTabPage2.Name = "xtraTabPage2";
228 | this.xtraTabPage2.Size = new System.Drawing.Size(631, 293);
229 | this.xtraTabPage2.Text = "Grid";
230 | //
231 | // splitContainerControl1
232 | //
233 | this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
234 | this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.None;
235 | this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
236 | this.splitContainerControl1.Name = "splitContainerControl1";
237 | this.splitContainerControl1.Panel1.Controls.Add(this.leftGrid);
238 | this.splitContainerControl1.Panel1.Controls.Add(this.leftList);
239 | this.splitContainerControl1.Panel1.Text = "Panel1";
240 | this.splitContainerControl1.Panel2.Controls.Add(this.rightGrid);
241 | this.splitContainerControl1.Panel2.Controls.Add(this.rightList);
242 | this.splitContainerControl1.Panel2.Text = "Panel2";
243 | this.splitContainerControl1.Size = new System.Drawing.Size(631, 293);
244 | this.splitContainerControl1.SplitterPosition = 315;
245 | this.splitContainerControl1.TabIndex = 0;
246 | this.splitContainerControl1.Text = "splitContainerControl1";
247 | //
248 | // leftGrid
249 | //
250 | this.leftGrid.DataSource = this.leftGridSource;
251 | this.leftGrid.Dock = System.Windows.Forms.DockStyle.Fill;
252 | this.leftGrid.Location = new System.Drawing.Point(0, 0);
253 | this.leftGrid.MainView = this.leftGridView;
254 | this.leftGrid.Name = "leftGrid";
255 | this.leftGrid.Size = new System.Drawing.Size(315, 198);
256 | this.leftGrid.TabIndex = 0;
257 | this.leftGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
258 | this.leftGridView});
259 | //
260 | // leftGridSource
261 | //
262 | this.leftGridSource.DataSource = typeof(sample_1_17.ListItem);
263 | //
264 | // leftGridView
265 | //
266 | this.behaviorManager1.SetBehaviors(this.leftGridView, new DevExpress.Utils.Behaviors.Behavior[] {
267 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraGrid.Extensions.ColumnViewDragDropSource), true, true, true, true, this.dragDropEvents1)))});
268 | this.leftGridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
269 | this.colName,
270 | this.colCategory});
271 | this.leftGridView.GridControl = this.leftGrid;
272 | this.leftGridView.Name = "leftGridView";
273 | //
274 | // colName
275 | //
276 | this.colName.FieldName = "Name";
277 | this.colName.Name = "colName";
278 | this.colName.Visible = true;
279 | this.colName.VisibleIndex = 0;
280 | //
281 | // colCategory
282 | //
283 | this.behaviorManager1.SetBehaviors(this.colCategory, new DevExpress.Utils.Behaviors.Behavior[] {
284 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.Utils.Behaviors.Common.StubGlyphBehavior.Create(typeof(DevExpress.XtraGrid.Views.Grid.BehaviorSource.StubGlyphBehaviorSourceForGridColumn), stubGlyphOptions2, new System.Drawing.Size(16, 16))))});
285 | this.colCategory.FieldName = "Category";
286 | this.colCategory.Name = "colCategory";
287 | this.colCategory.Visible = true;
288 | this.colCategory.VisibleIndex = 1;
289 | //
290 | // leftList
291 | //
292 | this.leftList.DataSource = this.leftGridSource;
293 | this.leftList.DisplayMember = "Name";
294 | this.leftList.Dock = System.Windows.Forms.DockStyle.Bottom;
295 | this.leftList.Location = new System.Drawing.Point(0, 198);
296 | this.leftList.Name = "leftList";
297 | this.leftList.Size = new System.Drawing.Size(315, 95);
298 | this.leftList.TabIndex = 1;
299 | //
300 | // rightGrid
301 | //
302 | this.rightGrid.DataSource = this.rightGridSource;
303 | this.rightGrid.Dock = System.Windows.Forms.DockStyle.Fill;
304 | this.rightGrid.Location = new System.Drawing.Point(0, 0);
305 | this.rightGrid.MainView = this.rightGridView;
306 | this.rightGrid.Name = "rightGrid";
307 | this.rightGrid.Size = new System.Drawing.Size(306, 198);
308 | this.rightGrid.TabIndex = 1;
309 | this.rightGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
310 | this.rightGridView});
311 | //
312 | // rightGridSource
313 | //
314 | this.rightGridSource.DataSource = typeof(sample_1_17.ListItem);
315 | //
316 | // rightGridView
317 | //
318 | this.behaviorManager1.SetBehaviors(this.rightGridView, new DevExpress.Utils.Behaviors.Behavior[] {
319 | ((DevExpress.Utils.Behaviors.Behavior)(DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraGrid.Extensions.ColumnViewDragDropSource), true, true, true, true, this.dragDropEvents2)))});
320 | this.rightGridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
321 | this.colName1,
322 | this.colCategory1});
323 | this.rightGridView.GridControl = this.rightGrid;
324 | this.rightGridView.Name = "rightGridView";
325 | //
326 | // colName1
327 | //
328 | this.colName1.FieldName = "Name";
329 | this.colName1.Name = "colName1";
330 | this.colName1.Visible = true;
331 | this.colName1.VisibleIndex = 0;
332 | //
333 | // colCategory1
334 | //
335 | this.colCategory1.FieldName = "Category";
336 | this.colCategory1.Name = "colCategory1";
337 | this.colCategory1.Visible = true;
338 | this.colCategory1.VisibleIndex = 1;
339 | //
340 | // rightList
341 | //
342 | this.rightList.DataSource = this.rightGridSource;
343 | this.rightList.DisplayMember = "Name";
344 | this.rightList.Dock = System.Windows.Forms.DockStyle.Bottom;
345 | this.rightList.Location = new System.Drawing.Point(0, 198);
346 | this.rightList.Name = "rightList";
347 | this.rightList.Size = new System.Drawing.Size(306, 95);
348 | this.rightList.TabIndex = 2;
349 | //
350 | // Form1
351 | //
352 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
353 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
354 | this.ClientSize = new System.Drawing.Size(633, 318);
355 | this.Controls.Add(this.xtraTabControl);
356 | this.Name = "Form1";
357 | this.Text = "Behaviors";
358 | this.Load += new System.EventHandler(this.Form1_Load);
359 | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl)).EndInit();
360 | this.xtraTabControl.ResumeLayout(false);
361 | this.xtraTabPage1.ResumeLayout(false);
362 | this.xtraTabPage1.PerformLayout();
363 | ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).EndInit();
364 | ((System.ComponentModel.ISupportInitialize)(this.digitalGauge9)).EndInit();
365 | ((System.ComponentModel.ISupportInitialize)(this.digitalBackgroundLayerComponent1)).EndInit();
366 | ((System.ComponentModel.ISupportInitialize)(this.colorEdit1.Properties)).EndInit();
367 | this.xtraTabPage2.ResumeLayout(false);
368 | ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
369 | this.splitContainerControl1.ResumeLayout(false);
370 | ((System.ComponentModel.ISupportInitialize)(this.leftGrid)).EndInit();
371 | ((System.ComponentModel.ISupportInitialize)(this.leftGridSource)).EndInit();
372 | ((System.ComponentModel.ISupportInitialize)(this.leftGridView)).EndInit();
373 | ((System.ComponentModel.ISupportInitialize)(this.leftList)).EndInit();
374 | ((System.ComponentModel.ISupportInitialize)(this.rightGrid)).EndInit();
375 | ((System.ComponentModel.ISupportInitialize)(this.rightGridSource)).EndInit();
376 | ((System.ComponentModel.ISupportInitialize)(this.rightGridView)).EndInit();
377 | ((System.ComponentModel.ISupportInitialize)(this.rightList)).EndInit();
378 | ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit();
379 | this.ResumeLayout(false);
380 |
381 | }
382 |
383 | #endregion
384 |
385 | private DevExpress.XtraTab.XtraTabControl xtraTabControl;
386 | private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
387 | private DevExpress.XtraGauges.Win.GaugeControl gaugeControl1;
388 | private DevExpress.XtraGauges.Win.Gauges.Digital.DigitalGauge digitalGauge9;
389 | private DevExpress.XtraGauges.Win.Gauges.Digital.DigitalBackgroundLayerComponent digitalBackgroundLayerComponent1;
390 | private DevExpress.XtraEditors.ColorEdit colorEdit1;
391 | private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
392 | private DevExpress.XtraEditors.LabelControl keyboardLabel;
393 | private DevExpress.XtraEditors.LabelControl clockLabel;
394 | private DevExpress.XtraEditors.LabelControl labelControl2;
395 | private DevExpress.XtraEditors.LabelControl labelControl1;
396 | private DevExpress.XtraEditors.ButtonEdit buttonEdit1;
397 | private DevExpress.XtraEditors.LabelControl fileInfoLabel;
398 | private DevExpress.XtraEditors.LabelControl labelControl3;
399 | private DevExpress.XtraEditors.SplitContainerControl splitContainerControl1;
400 | private DevExpress.XtraGrid.GridControl leftGrid;
401 | private DevExpress.XtraGrid.Views.Grid.GridView leftGridView;
402 | private System.Windows.Forms.BindingSource leftGridSource;
403 | private DevExpress.XtraGrid.Columns.GridColumn colName;
404 | private DevExpress.XtraGrid.Columns.GridColumn colCategory;
405 | private DevExpress.XtraGrid.GridControl rightGrid;
406 | private DevExpress.XtraGrid.Views.Grid.GridView rightGridView;
407 | private System.Windows.Forms.BindingSource rightGridSource;
408 | private DevExpress.XtraGrid.Columns.GridColumn colName1;
409 | private DevExpress.XtraGrid.Columns.GridColumn colCategory1;
410 | private DevExpress.XtraEditors.ListBoxControl leftList;
411 | private DevExpress.XtraEditors.ListBoxControl rightList;
412 | private DevExpress.Utils.Behaviors.BehaviorManager behaviorManager1;
413 | private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents1;
414 | private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents2;
415 | }
416 | }
417 |
418 |
--------------------------------------------------------------------------------