rdp-rautomation 0.6.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. data/.document +5 -0
  2. data/.rspec +2 -0
  3. data/.yardopts +6 -0
  4. data/History.rdoc +103 -0
  5. data/LICENSE +20 -0
  6. data/README.rdoc +114 -0
  7. data/Rakefile +43 -0
  8. data/VERSION +1 -0
  9. data/ext/AutoItX/AutoItX.chm +0 -0
  10. data/ext/AutoItX/AutoItX3.dll +0 -0
  11. data/ext/IAccessibleDLL/IAccessibleDLL.sln +20 -0
  12. data/ext/IAccessibleDLL/IAccessibleDLL.suo +0 -0
  13. data/ext/IAccessibleDLL/IAccessibleDLL/IAccessibleDLL.cpp +30 -0
  14. data/ext/IAccessibleDLL/IAccessibleDLL/IAccessibleDLL.vcxproj +102 -0
  15. data/ext/IAccessibleDLL/IAccessibleDLL/IAccessibleDLL.vcxproj.filters +42 -0
  16. data/ext/IAccessibleDLL/IAccessibleDLL/IAccessibleDLL.vcxproj.user +3 -0
  17. data/ext/IAccessibleDLL/IAccessibleDLL/ReadMe.txt +48 -0
  18. data/ext/IAccessibleDLL/IAccessibleDLL/dllmain.cpp +19 -0
  19. data/ext/IAccessibleDLL/IAccessibleDLL/stdafx.cpp +8 -0
  20. data/ext/IAccessibleDLL/IAccessibleDLL/stdafx.h +22 -0
  21. data/ext/IAccessibleDLL/IAccessibleDLL/table_support.cpp +282 -0
  22. data/ext/IAccessibleDLL/IAccessibleDLL/targetver.h +8 -0
  23. data/ext/IAccessibleDLL/Release/IAccessibleDLL.dll +0 -0
  24. data/ext/ListViewExplorer/ListViewExplorer.sln +20 -0
  25. data/ext/ListViewExplorer/ListViewExplorer.suo +0 -0
  26. data/ext/ListViewExplorer/ListViewExplorer/ListViewExplorer.cpp +174 -0
  27. data/ext/ListViewExplorer/ListViewExplorer/ListViewExplorer.vcxproj +95 -0
  28. data/ext/ListViewExplorer/ListViewExplorer/ListViewExplorer.vcxproj.filters +42 -0
  29. data/ext/ListViewExplorer/ListViewExplorer/ListViewExplorer.vcxproj.user +3 -0
  30. data/ext/ListViewExplorer/ListViewExplorer/ReadMe.txt +40 -0
  31. data/ext/ListViewExplorer/ListViewExplorer/stdafx.cpp +8 -0
  32. data/ext/ListViewExplorer/ListViewExplorer/stdafx.h +17 -0
  33. data/ext/ListViewExplorer/ListViewExplorer/table_support.cpp +250 -0
  34. data/ext/ListViewExplorer/ListViewExplorer/table_support.h +2 -0
  35. data/ext/ListViewExplorer/ListViewExplorer/targetver.h +8 -0
  36. data/ext/UiaDll/Release/UiaDll.dll +0 -0
  37. data/ext/UiaDll/UiaDll.sln +20 -0
  38. data/ext/UiaDll/UiaDll.suo +0 -0
  39. data/ext/UiaDll/UiaDll/ReadMe.txt +48 -0
  40. data/ext/UiaDll/UiaDll/UiaDll.cpp +205 -0
  41. data/ext/UiaDll/UiaDll/UiaDll.vcxproj +104 -0
  42. data/ext/UiaDll/UiaDll/UiaDll.vcxproj.filters +42 -0
  43. data/ext/UiaDll/UiaDll/dllmain.cpp +39 -0
  44. data/ext/UiaDll/UiaDll/globals.h +3 -0
  45. data/ext/UiaDll/UiaDll/stdafx.cpp +8 -0
  46. data/ext/UiaDll/UiaDll/stdafx.h +19 -0
  47. data/ext/UiaDll/UiaDll/targetver.h +8 -0
  48. data/ext/WindowsForms/bin/WindowsForms.exe +0 -0
  49. data/ext/WindowsForms/src/WindowsForms/WindowsForms.sln +20 -0
  50. data/ext/WindowsForms/src/WindowsForms/WindowsForms.suo +0 -0
  51. data/ext/WindowsForms/src/WindowsForms/WindowsForms/AboutBox.Designer.cs +80 -0
  52. data/ext/WindowsForms/src/WindowsForms/WindowsForms/AboutBox.cs +103 -0
  53. data/ext/WindowsForms/src/WindowsForms/WindowsForms/AboutBox.resx +120 -0
  54. data/ext/WindowsForms/src/WindowsForms/WindowsForms/DataEntryForm.Designer.cs +187 -0
  55. data/ext/WindowsForms/src/WindowsForms/WindowsForms/DataEntryForm.cs +46 -0
  56. data/ext/WindowsForms/src/WindowsForms/WindowsForms/DataEntryForm.resx +120 -0
  57. data/ext/WindowsForms/src/WindowsForms/WindowsForms/MainFormWindow.Designer.cs +377 -0
  58. data/ext/WindowsForms/src/WindowsForms/WindowsForms/MainFormWindow.cs +78 -0
  59. data/ext/WindowsForms/src/WindowsForms/WindowsForms/MainFormWindow.resx +120 -0
  60. data/ext/WindowsForms/src/WindowsForms/WindowsForms/PersonForm.Designer.cs +119 -0
  61. data/ext/WindowsForms/src/WindowsForms/WindowsForms/PersonForm.cs +34 -0
  62. data/ext/WindowsForms/src/WindowsForms/WindowsForms/PersonForm.resx +120 -0
  63. data/ext/WindowsForms/src/WindowsForms/WindowsForms/Program.cs +21 -0
  64. data/ext/WindowsForms/src/WindowsForms/WindowsForms/Properties/AssemblyInfo.cs +36 -0
  65. data/ext/WindowsForms/src/WindowsForms/WindowsForms/Properties/Resources.Designer.cs +71 -0
  66. data/ext/WindowsForms/src/WindowsForms/WindowsForms/Properties/Resources.resx +117 -0
  67. data/ext/WindowsForms/src/WindowsForms/WindowsForms/Properties/Settings.Designer.cs +30 -0
  68. data/ext/WindowsForms/src/WindowsForms/WindowsForms/Properties/Settings.settings +7 -0
  69. data/ext/WindowsForms/src/WindowsForms/WindowsForms/SimpleElementsForm.Designer.cs +93 -0
  70. data/ext/WindowsForms/src/WindowsForms/WindowsForms/SimpleElementsForm.cs +19 -0
  71. data/ext/WindowsForms/src/WindowsForms/WindowsForms/SimpleElementsForm.resx +120 -0
  72. data/ext/WindowsForms/src/WindowsForms/WindowsForms/WindowsForms.csproj +123 -0
  73. data/ext/WindowsForms/src/WindowsForms/WindowsForms/bin/Release/WindowsForms.exe +0 -0
  74. data/lib/rautomation.rb +6 -0
  75. data/lib/rautomation/adapter/autoit.rb +5 -0
  76. data/lib/rautomation/adapter/autoit/button.rb +59 -0
  77. data/lib/rautomation/adapter/autoit/locators.rb +22 -0
  78. data/lib/rautomation/adapter/autoit/text_field.rb +61 -0
  79. data/lib/rautomation/adapter/autoit/window.rb +184 -0
  80. data/lib/rautomation/adapter/helper.rb +20 -0
  81. data/lib/rautomation/adapter/win_ffi.rb +21 -0
  82. data/lib/rautomation/adapter/win_ffi/button.rb +25 -0
  83. data/lib/rautomation/adapter/win_ffi/button_helper.rb +24 -0
  84. data/lib/rautomation/adapter/win_ffi/checkbox.rb +19 -0
  85. data/lib/rautomation/adapter/win_ffi/constants.rb +94 -0
  86. data/lib/rautomation/adapter/win_ffi/control.rb +79 -0
  87. data/lib/rautomation/adapter/win_ffi/functions.rb +333 -0
  88. data/lib/rautomation/adapter/win_ffi/keystroke_converter.rb +67 -0
  89. data/lib/rautomation/adapter/win_ffi/label.rb +21 -0
  90. data/lib/rautomation/adapter/win_ffi/list_box.rb +60 -0
  91. data/lib/rautomation/adapter/win_ffi/locators.rb +22 -0
  92. data/lib/rautomation/adapter/win_ffi/ms_uia/uia_dll.rb +36 -0
  93. data/lib/rautomation/adapter/win_ffi/radio.rb +19 -0
  94. data/lib/rautomation/adapter/win_ffi/select_list.rb +87 -0
  95. data/lib/rautomation/adapter/win_ffi/table.rb +57 -0
  96. data/lib/rautomation/adapter/win_ffi/text_field.rb +52 -0
  97. data/lib/rautomation/adapter/win_ffi/window.rb +226 -0
  98. data/lib/rautomation/button.rb +55 -0
  99. data/lib/rautomation/element_collections.rb +47 -0
  100. data/lib/rautomation/text_field.rb +60 -0
  101. data/lib/rautomation/wait_helper.rb +23 -0
  102. data/lib/rautomation/window.rb +234 -0
  103. data/spec/adapter/win_ffi/button_spec.rb +41 -0
  104. data/spec/adapter/win_ffi/checkbox_spec.rb +48 -0
  105. data/spec/adapter/win_ffi/keystroke_converter_spec.rb +47 -0
  106. data/spec/adapter/win_ffi/label_spec.rb +21 -0
  107. data/spec/adapter/win_ffi/listbox_spec.rb +52 -0
  108. data/spec/adapter/win_ffi/radio_spec.rb +37 -0
  109. data/spec/adapter/win_ffi/select_list_spec.rb +66 -0
  110. data/spec/adapter/win_ffi/table_spec.rb +39 -0
  111. data/spec/adapter/win_ffi/text_field_spec.rb +23 -0
  112. data/spec/adapter/win_ffi/window_spec.rb +43 -0
  113. data/spec/button_spec.rb +68 -0
  114. data/spec/buttons_spec.rb +21 -0
  115. data/spec/spec_helper.rb +96 -0
  116. data/spec/text_field_spec.rb +65 -0
  117. data/spec/text_fields_spec.rb +22 -0
  118. data/spec/window_spec.rb +122 -0
  119. data/spec/windows_spec.rb +55 -0
  120. metadata +207 -0
@@ -0,0 +1,3 @@
1
+
2
+ IUIAutomation* getGlobalIUIAutomation() ;
3
+
@@ -0,0 +1,8 @@
1
+ // stdafx.cpp : source file that includes just the standard includes
2
+ // UiaDll.pch will be the pre-compiled header
3
+ // stdafx.obj will contain the pre-compiled type information
4
+
5
+ #include "stdafx.h"
6
+
7
+ // TODO: reference any additional headers you need in STDAFX.H
8
+ // and not in this file
@@ -0,0 +1,19 @@
1
+ // stdafx.h : include file for standard system include files,
2
+ // or project specific include files that are used frequently, but
3
+ // are changed infrequently
4
+ //
5
+
6
+ #pragma once
7
+
8
+ #include "targetver.h"
9
+
10
+ #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
11
+ // Windows Header Files:
12
+ #include <windows.h>
13
+ #include <ObjBase.h>
14
+ #include <UIAutomation.h>
15
+ #include <comutil.h>
16
+
17
+ // TODO: reference additional headers your program requires here
18
+
19
+ #include "globals.h"
@@ -0,0 +1,8 @@
1
+ #pragma once
2
+
3
+ // Including SDKDDKVer.h defines the highest available Windows platform.
4
+
5
+ // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6
+ // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7
+
8
+ #include <SDKDDKVer.h>
@@ -0,0 +1,20 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 11.00
3
+ # Visual Studio 2010
4
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsForms", "WindowsForms\WindowsForms.csproj", "{79C33EDA-58C4-41EF-93DC-BA679895BD43}"
5
+ EndProject
6
+ Global
7
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
8
+ Debug|x86 = Debug|x86
9
+ Release|x86 = Release|x86
10
+ EndGlobalSection
11
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
12
+ {79C33EDA-58C4-41EF-93DC-BA679895BD43}.Debug|x86.ActiveCfg = Debug|x86
13
+ {79C33EDA-58C4-41EF-93DC-BA679895BD43}.Debug|x86.Build.0 = Debug|x86
14
+ {79C33EDA-58C4-41EF-93DC-BA679895BD43}.Release|x86.ActiveCfg = Release|x86
15
+ {79C33EDA-58C4-41EF-93DC-BA679895BD43}.Release|x86.Build.0 = Release|x86
16
+ EndGlobalSection
17
+ GlobalSection(SolutionProperties) = preSolution
18
+ HideSolutionNode = FALSE
19
+ EndGlobalSection
20
+ EndGlobal
@@ -0,0 +1,80 @@
1
+ namespace WindowsForms
2
+ {
3
+ partial class AboutBox
4
+ {
5
+ /// <summary>
6
+ /// Required designer variable.
7
+ /// </summary>
8
+ private System.ComponentModel.IContainer components = null;
9
+
10
+ /// <summary>
11
+ /// Clean up any resources being used.
12
+ /// </summary>
13
+ protected override void Dispose(bool disposing)
14
+ {
15
+ if (disposing && (components != null))
16
+ {
17
+ components.Dispose();
18
+ }
19
+ base.Dispose(disposing);
20
+ }
21
+
22
+ #region Windows Form Designer generated code
23
+
24
+ /// <summary>
25
+ /// Required method for Designer support - do not modify
26
+ /// the contents of this method with the code editor.
27
+ /// </summary>
28
+ private void InitializeComponent()
29
+ {
30
+ this.label1 = new System.Windows.Forms.Label();
31
+ this.button1 = new System.Windows.Forms.Button();
32
+ this.SuspendLayout();
33
+ //
34
+ // label1
35
+ //
36
+ this.label1.AutoSize = true;
37
+ this.label1.Location = new System.Drawing.Point(12, 9);
38
+ this.label1.Name = "label1";
39
+ this.label1.Size = new System.Drawing.Size(303, 13);
40
+ this.label1.TabIndex = 0;
41
+ this.label1.Text = "This is the about dialog for the RAutomation sample application";
42
+ //
43
+ // button1
44
+ //
45
+ this.button1.Location = new System.Drawing.Point(141, 80);
46
+ this.button1.Name = "button1";
47
+ this.button1.Size = new System.Drawing.Size(75, 23);
48
+ this.button1.TabIndex = 1;
49
+ this.button1.Text = "OK";
50
+ this.button1.UseVisualStyleBackColor = true;
51
+ this.button1.Click += new System.EventHandler(this.button1_Click);
52
+ //
53
+ // AboutBox
54
+ //
55
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
56
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
57
+ this.ClientSize = new System.Drawing.Size(339, 115);
58
+ this.Controls.Add(this.button1);
59
+ this.Controls.Add(this.label1);
60
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
61
+ this.MaximizeBox = false;
62
+ this.MinimizeBox = false;
63
+ this.Name = "AboutBox";
64
+ this.Padding = new System.Windows.Forms.Padding(9);
65
+ this.ShowIcon = false;
66
+ this.ShowInTaskbar = false;
67
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
68
+ this.Text = "About";
69
+ this.ResumeLayout(false);
70
+ this.PerformLayout();
71
+
72
+ }
73
+
74
+ #endregion
75
+
76
+ private System.Windows.Forms.Label label1;
77
+ private System.Windows.Forms.Button button1;
78
+
79
+ }
80
+ }
@@ -0,0 +1,103 @@
1
+ using System;
2
+ using System.Collections.Generic;
3
+ using System.ComponentModel;
4
+ using System.Drawing;
5
+ using System.Linq;
6
+ using System.Reflection;
7
+ using System.Windows.Forms;
8
+
9
+ namespace WindowsForms
10
+ {
11
+ partial class AboutBox : Form
12
+ {
13
+ public AboutBox()
14
+ {
15
+ InitializeComponent();
16
+ }
17
+
18
+ #region Assembly Attribute Accessors
19
+
20
+ public string AssemblyTitle
21
+ {
22
+ get
23
+ {
24
+ object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false);
25
+ if (attributes.Length > 0)
26
+ {
27
+ AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
28
+ if (titleAttribute.Title != "")
29
+ {
30
+ return titleAttribute.Title;
31
+ }
32
+ }
33
+ return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
34
+ }
35
+ }
36
+
37
+ public string AssemblyVersion
38
+ {
39
+ get
40
+ {
41
+ return Assembly.GetExecutingAssembly().GetName().Version.ToString();
42
+ }
43
+ }
44
+
45
+ public string AssemblyDescription
46
+ {
47
+ get
48
+ {
49
+ object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false);
50
+ if (attributes.Length == 0)
51
+ {
52
+ return "";
53
+ }
54
+ return ((AssemblyDescriptionAttribute)attributes[0]).Description;
55
+ }
56
+ }
57
+
58
+ public string AssemblyProduct
59
+ {
60
+ get
61
+ {
62
+ object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false);
63
+ if (attributes.Length == 0)
64
+ {
65
+ return "";
66
+ }
67
+ return ((AssemblyProductAttribute)attributes[0]).Product;
68
+ }
69
+ }
70
+
71
+ public string AssemblyCopyright
72
+ {
73
+ get
74
+ {
75
+ object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
76
+ if (attributes.Length == 0)
77
+ {
78
+ return "";
79
+ }
80
+ return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
81
+ }
82
+ }
83
+
84
+ public string AssemblyCompany
85
+ {
86
+ get
87
+ {
88
+ object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false);
89
+ if (attributes.Length == 0)
90
+ {
91
+ return "";
92
+ }
93
+ return ((AssemblyCompanyAttribute)attributes[0]).Company;
94
+ }
95
+ }
96
+ #endregion
97
+
98
+ private void button1_Click(object sender, EventArgs e)
99
+ {
100
+ this.Close();
101
+ }
102
+ }
103
+ }
@@ -0,0 +1,120 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <root>
3
+ <!--
4
+ Microsoft ResX Schema
5
+
6
+ Version 2.0
7
+
8
+ The primary goals of this format is to allow a simple XML format
9
+ that is mostly human readable. The generation and parsing of the
10
+ various data types are done through the TypeConverter classes
11
+ associated with the data types.
12
+
13
+ Example:
14
+
15
+ ... ado.net/XML headers & schema ...
16
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
17
+ <resheader name="version">2.0</resheader>
18
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
24
+ </data>
25
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
+ <comment>This is a comment</comment>
28
+ </data>
29
+
30
+ There are any number of "resheader" rows that contain simple
31
+ name/value pairs.
32
+
33
+ Each data row contains a name, and value. The row also contains a
34
+ type or mimetype. Type corresponds to a .NET class that support
35
+ text/value conversion through the TypeConverter architecture.
36
+ Classes that don't support this are serialized and stored with the
37
+ mimetype set.
38
+
39
+ The mimetype is used for serialized objects, and tells the
40
+ ResXResourceReader how to depersist the object. This is currently not
41
+ extensible. For a given mimetype the value must be set accordingly:
42
+
43
+ Note - application/x-microsoft.net.object.binary.base64 is the format
44
+ that the ResXResourceWriter will generate, however the reader can
45
+ read any of the formats listed below.
46
+
47
+ mimetype: application/x-microsoft.net.object.binary.base64
48
+ value : The object must be serialized with
49
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50
+ : and then encoded with base64 encoding.
51
+
52
+ mimetype: application/x-microsoft.net.object.soap.base64
53
+ value : The object must be serialized with
54
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
+ : and then encoded with base64 encoding.
56
+
57
+ mimetype: application/x-microsoft.net.object.bytearray.base64
58
+ value : The object must be serialized into a byte array
59
+ : using a System.ComponentModel.TypeConverter
60
+ : and then encoded with base64 encoding.
61
+ -->
62
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64
+ <xsd:element name="root" msdata:IsDataSet="true">
65
+ <xsd:complexType>
66
+ <xsd:choice maxOccurs="unbounded">
67
+ <xsd:element name="metadata">
68
+ <xsd:complexType>
69
+ <xsd:sequence>
70
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
71
+ </xsd:sequence>
72
+ <xsd:attribute name="name" use="required" type="xsd:string" />
73
+ <xsd:attribute name="type" type="xsd:string" />
74
+ <xsd:attribute name="mimetype" type="xsd:string" />
75
+ <xsd:attribute ref="xml:space" />
76
+ </xsd:complexType>
77
+ </xsd:element>
78
+ <xsd:element name="assembly">
79
+ <xsd:complexType>
80
+ <xsd:attribute name="alias" type="xsd:string" />
81
+ <xsd:attribute name="name" type="xsd:string" />
82
+ </xsd:complexType>
83
+ </xsd:element>
84
+ <xsd:element name="data">
85
+ <xsd:complexType>
86
+ <xsd:sequence>
87
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89
+ </xsd:sequence>
90
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
+ <xsd:attribute ref="xml:space" />
94
+ </xsd:complexType>
95
+ </xsd:element>
96
+ <xsd:element name="resheader">
97
+ <xsd:complexType>
98
+ <xsd:sequence>
99
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100
+ </xsd:sequence>
101
+ <xsd:attribute name="name" type="xsd:string" use="required" />
102
+ </xsd:complexType>
103
+ </xsd:element>
104
+ </xsd:choice>
105
+ </xsd:complexType>
106
+ </xsd:element>
107
+ </xsd:schema>
108
+ <resheader name="resmimetype">
109
+ <value>text/microsoft-resx</value>
110
+ </resheader>
111
+ <resheader name="version">
112
+ <value>2.0</value>
113
+ </resheader>
114
+ <resheader name="reader">
115
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
+ </resheader>
117
+ <resheader name="writer">
118
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119
+ </resheader>
120
+ </root>
@@ -0,0 +1,187 @@
1
+ namespace WindowsForms
2
+ {
3
+ partial class DataEntryForm
4
+ {
5
+ /// <summary>
6
+ /// Required designer variable.
7
+ /// </summary>
8
+ private System.ComponentModel.IContainer components = null;
9
+
10
+ /// <summary>
11
+ /// Clean up any resources being used.
12
+ /// </summary>
13
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14
+ protected override void Dispose(bool disposing)
15
+ {
16
+ if (disposing && (components != null))
17
+ {
18
+ components.Dispose();
19
+ }
20
+ base.Dispose(disposing);
21
+ }
22
+
23
+ #region Windows Form Designer generated code
24
+
25
+ /// <summary>
26
+ /// Required method for Designer support - do not modify
27
+ /// the contents of this method with the code editor.
28
+ /// </summary>
29
+ private void InitializeComponent()
30
+ {
31
+ System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] {
32
+ "John Doe",
33
+ "12/15/1967",
34
+ "FL"}, -1);
35
+ System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] {
36
+ "Anna Doe",
37
+ "3/4/1975"}, -1);
38
+ this.deleteItemButton = new System.Windows.Forms.Button();
39
+ this.groupBox3 = new System.Windows.Forms.GroupBox();
40
+ this.addItemButton = new System.Windows.Forms.Button();
41
+ this.personListView = new System.Windows.Forms.ListView();
42
+ this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
43
+ this.columnDateOfBirth = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
44
+ this.columnState = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
45
+ this.closeDataEntryFormButton = new System.Windows.Forms.Button();
46
+ this.maskedTextBox1 = new System.Windows.Forms.MaskedTextBox();
47
+ this.label1 = new System.Windows.Forms.Label();
48
+ this.maskedTextBox2 = new System.Windows.Forms.MaskedTextBox();
49
+ this.groupBox3.SuspendLayout();
50
+ this.SuspendLayout();
51
+ //
52
+ // deleteItemButton
53
+ //
54
+ this.deleteItemButton.Location = new System.Drawing.Point(334, 55);
55
+ this.deleteItemButton.Name = "deleteItemButton";
56
+ this.deleteItemButton.Size = new System.Drawing.Size(75, 23);
57
+ this.deleteItemButton.TabIndex = 2;
58
+ this.deleteItemButton.Text = "Delete";
59
+ this.deleteItemButton.UseVisualStyleBackColor = true;
60
+ this.deleteItemButton.Click += new System.EventHandler(this.deleteItemButton_Click);
61
+ //
62
+ // groupBox3
63
+ //
64
+ this.groupBox3.Controls.Add(this.deleteItemButton);
65
+ this.groupBox3.Controls.Add(this.addItemButton);
66
+ this.groupBox3.Controls.Add(this.personListView);
67
+ this.groupBox3.Location = new System.Drawing.Point(135, 12);
68
+ this.groupBox3.Name = "groupBox3";
69
+ this.groupBox3.Size = new System.Drawing.Size(415, 114);
70
+ this.groupBox3.TabIndex = 9;
71
+ this.groupBox3.TabStop = false;
72
+ this.groupBox3.Text = "List of items";
73
+ //
74
+ // addItemButton
75
+ //
76
+ this.addItemButton.Location = new System.Drawing.Point(334, 26);
77
+ this.addItemButton.Name = "addItemButton";
78
+ this.addItemButton.Size = new System.Drawing.Size(75, 23);
79
+ this.addItemButton.TabIndex = 1;
80
+ this.addItemButton.Text = "Add ...";
81
+ this.addItemButton.UseVisualStyleBackColor = true;
82
+ this.addItemButton.Click += new System.EventHandler(this.addItemButton_Click);
83
+ //
84
+ // personListView
85
+ //
86
+ this.personListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
87
+ this.columnName,
88
+ this.columnDateOfBirth,
89
+ this.columnState});
90
+ this.personListView.GridLines = true;
91
+ this.personListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
92
+ this.personListView.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
93
+ listViewItem1,
94
+ listViewItem2});
95
+ this.personListView.Location = new System.Drawing.Point(6, 26);
96
+ this.personListView.Name = "personListView";
97
+ this.personListView.Size = new System.Drawing.Size(314, 74);
98
+ this.personListView.TabIndex = 0;
99
+ this.personListView.UseCompatibleStateImageBehavior = false;
100
+ this.personListView.View = System.Windows.Forms.View.Details;
101
+ //
102
+ // columnName
103
+ //
104
+ this.columnName.Text = "Name";
105
+ this.columnName.Width = 148;
106
+ //
107
+ // columnDateOfBirth
108
+ //
109
+ this.columnDateOfBirth.Text = "Date of birth";
110
+ this.columnDateOfBirth.Width = 100;
111
+ //
112
+ // columnState
113
+ //
114
+ this.columnState.Text = "State";
115
+ //
116
+ // closeDataEntryFormButton
117
+ //
118
+ this.closeDataEntryFormButton.Location = new System.Drawing.Point(12, 12);
119
+ this.closeDataEntryFormButton.Name = "closeDataEntryFormButton";
120
+ this.closeDataEntryFormButton.Size = new System.Drawing.Size(95, 23);
121
+ this.closeDataEntryFormButton.TabIndex = 11;
122
+ this.closeDataEntryFormButton.Text = "Close";
123
+ this.closeDataEntryFormButton.UseVisualStyleBackColor = true;
124
+ this.closeDataEntryFormButton.Click += new System.EventHandler(this.closeDataEntryFormButton_Click);
125
+ //
126
+ // maskedTextBox1
127
+ //
128
+ this.maskedTextBox1.Location = new System.Drawing.Point(254, 147);
129
+ this.maskedTextBox1.Mask = "(999) 000-0000";
130
+ this.maskedTextBox1.Name = "maskedTextBox1";
131
+ this.maskedTextBox1.Size = new System.Drawing.Size(100, 20);
132
+ this.maskedTextBox1.TabIndex = 12;
133
+ //
134
+ // label1
135
+ //
136
+ this.label1.AutoSize = true;
137
+ this.label1.Location = new System.Drawing.Point(138, 150);
138
+ this.label1.Name = "label1";
139
+ this.label1.Size = new System.Drawing.Size(76, 13);
140
+ this.label1.TabIndex = 13;
141
+ this.label1.Text = "Phone number";
142
+ //
143
+ // maskedTextBox2
144
+ //
145
+ this.maskedTextBox2.Location = new System.Drawing.Point(425, 280);
146
+ this.maskedTextBox2.Mask = "00/00/0000";
147
+ this.maskedTextBox2.Name = "maskedTextBox2";
148
+ this.maskedTextBox2.Size = new System.Drawing.Size(100, 20);
149
+ this.maskedTextBox2.TabIndex = 14;
150
+ this.maskedTextBox2.ValidatingType = typeof(System.DateTime);
151
+ //
152
+ // DataEntryForm
153
+ //
154
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
155
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
156
+ this.ClientSize = new System.Drawing.Size(724, 474);
157
+ this.Controls.Add(this.maskedTextBox2);
158
+ this.Controls.Add(this.label1);
159
+ this.Controls.Add(this.maskedTextBox1);
160
+ this.Controls.Add(this.closeDataEntryFormButton);
161
+ this.Controls.Add(this.groupBox3);
162
+ this.MaximizeBox = false;
163
+ this.MinimizeBox = false;
164
+ this.Name = "DataEntryForm";
165
+ this.ShowInTaskbar = false;
166
+ this.Text = "DataEntryForm";
167
+ this.groupBox3.ResumeLayout(false);
168
+ this.ResumeLayout(false);
169
+ this.PerformLayout();
170
+
171
+ }
172
+
173
+ #endregion
174
+
175
+ private System.Windows.Forms.Button deleteItemButton;
176
+ private System.Windows.Forms.GroupBox groupBox3;
177
+ private System.Windows.Forms.Button addItemButton;
178
+ private System.Windows.Forms.ListView personListView;
179
+ private System.Windows.Forms.ColumnHeader columnName;
180
+ private System.Windows.Forms.ColumnHeader columnDateOfBirth;
181
+ private System.Windows.Forms.Button closeDataEntryFormButton;
182
+ private System.Windows.Forms.MaskedTextBox maskedTextBox1;
183
+ private System.Windows.Forms.Label label1;
184
+ private System.Windows.Forms.ColumnHeader columnState;
185
+ private System.Windows.Forms.MaskedTextBox maskedTextBox2;
186
+ }
187
+ }