DataSet1.Designer.cs 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // 此代码由工具生成。
  4. // 运行时版本:4.0.30319.42000
  5. //
  6. // 对此文件的更改可能会导致不正确的行为,并且如果
  7. // 重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace EapMainFrame {
  12. /// <summary>
  13. ///Represents a strongly typed in-memory cache of data.
  14. ///</summary>
  15. [global::System.Serializable()]
  16. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  17. [global::System.ComponentModel.ToolboxItem(true)]
  18. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
  19. [global::System.Xml.Serialization.XmlRootAttribute("DataSet1")]
  20. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  21. public partial class DataSet1 : global::System.Data.DataSet {
  22. private DataTable1DataTable tableDataTable1;
  23. private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  24. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  25. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  26. public DataSet1() {
  27. this.BeginInit();
  28. this.InitClass();
  29. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  30. base.Tables.CollectionChanged += schemaChangedHandler;
  31. base.Relations.CollectionChanged += schemaChangedHandler;
  32. this.EndInit();
  33. }
  34. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  35. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  36. protected DataSet1(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  37. base(info, context, false) {
  38. if ((this.IsBinarySerialized(info, context) == true)) {
  39. this.InitVars(false);
  40. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  41. this.Tables.CollectionChanged += schemaChangedHandler1;
  42. this.Relations.CollectionChanged += schemaChangedHandler1;
  43. return;
  44. }
  45. string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  46. if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  47. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  48. ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  49. if ((ds.Tables["DataTable1"] != null)) {
  50. base.Tables.Add(new DataTable1DataTable(ds.Tables["DataTable1"]));
  51. }
  52. this.DataSetName = ds.DataSetName;
  53. this.Prefix = ds.Prefix;
  54. this.Namespace = ds.Namespace;
  55. this.Locale = ds.Locale;
  56. this.CaseSensitive = ds.CaseSensitive;
  57. this.EnforceConstraints = ds.EnforceConstraints;
  58. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  59. this.InitVars();
  60. }
  61. else {
  62. this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  63. }
  64. this.GetSerializationData(info, context);
  65. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  66. base.Tables.CollectionChanged += schemaChangedHandler;
  67. this.Relations.CollectionChanged += schemaChangedHandler;
  68. }
  69. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  70. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  71. [global::System.ComponentModel.Browsable(false)]
  72. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  73. public DataTable1DataTable DataTable1 {
  74. get {
  75. return this.tableDataTable1;
  76. }
  77. }
  78. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  79. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  80. [global::System.ComponentModel.BrowsableAttribute(true)]
  81. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  82. public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  83. get {
  84. return this._schemaSerializationMode;
  85. }
  86. set {
  87. this._schemaSerializationMode = value;
  88. }
  89. }
  90. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  91. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  92. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  93. public new global::System.Data.DataTableCollection Tables {
  94. get {
  95. return base.Tables;
  96. }
  97. }
  98. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  99. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  100. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  101. public new global::System.Data.DataRelationCollection Relations {
  102. get {
  103. return base.Relations;
  104. }
  105. }
  106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  107. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  108. protected override void InitializeDerivedDataSet() {
  109. this.BeginInit();
  110. this.InitClass();
  111. this.EndInit();
  112. }
  113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  114. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  115. public override global::System.Data.DataSet Clone() {
  116. DataSet1 cln = ((DataSet1)(base.Clone()));
  117. cln.InitVars();
  118. cln.SchemaSerializationMode = this.SchemaSerializationMode;
  119. return cln;
  120. }
  121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  122. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  123. protected override bool ShouldSerializeTables() {
  124. return false;
  125. }
  126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  127. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  128. protected override bool ShouldSerializeRelations() {
  129. return false;
  130. }
  131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  132. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  133. protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  134. if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  135. this.Reset();
  136. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  137. ds.ReadXml(reader);
  138. if ((ds.Tables["DataTable1"] != null)) {
  139. base.Tables.Add(new DataTable1DataTable(ds.Tables["DataTable1"]));
  140. }
  141. this.DataSetName = ds.DataSetName;
  142. this.Prefix = ds.Prefix;
  143. this.Namespace = ds.Namespace;
  144. this.Locale = ds.Locale;
  145. this.CaseSensitive = ds.CaseSensitive;
  146. this.EnforceConstraints = ds.EnforceConstraints;
  147. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  148. this.InitVars();
  149. }
  150. else {
  151. this.ReadXml(reader);
  152. this.InitVars();
  153. }
  154. }
  155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  156. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  157. protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  158. global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  159. this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  160. stream.Position = 0;
  161. return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  162. }
  163. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  164. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  165. internal void InitVars() {
  166. this.InitVars(true);
  167. }
  168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  169. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  170. internal void InitVars(bool initTable) {
  171. this.tableDataTable1 = ((DataTable1DataTable)(base.Tables["DataTable1"]));
  172. if ((initTable == true)) {
  173. if ((this.tableDataTable1 != null)) {
  174. this.tableDataTable1.InitVars();
  175. }
  176. }
  177. }
  178. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  179. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  180. private void InitClass() {
  181. this.DataSetName = "DataSet1";
  182. this.Prefix = "";
  183. this.Namespace = "http://tempuri.org/DataSet1.xsd";
  184. this.EnforceConstraints = true;
  185. this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  186. this.tableDataTable1 = new DataTable1DataTable();
  187. base.Tables.Add(this.tableDataTable1);
  188. }
  189. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  190. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  191. private bool ShouldSerializeDataTable1() {
  192. return false;
  193. }
  194. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  195. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  196. private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  197. if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  198. this.InitVars();
  199. }
  200. }
  201. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  202. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  203. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  204. DataSet1 ds = new DataSet1();
  205. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  206. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  207. global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  208. any.Namespace = ds.Namespace;
  209. sequence.Items.Add(any);
  210. type.Particle = sequence;
  211. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  212. if (xs.Contains(dsSchema.TargetNamespace)) {
  213. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  214. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  215. try {
  216. global::System.Xml.Schema.XmlSchema schema = null;
  217. dsSchema.Write(s1);
  218. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  219. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  220. s2.SetLength(0);
  221. schema.Write(s2);
  222. if ((s1.Length == s2.Length)) {
  223. s1.Position = 0;
  224. s2.Position = 0;
  225. for (; ((s1.Position != s1.Length)
  226. && (s1.ReadByte() == s2.ReadByte())); ) {
  227. ;
  228. }
  229. if ((s1.Position == s1.Length)) {
  230. return type;
  231. }
  232. }
  233. }
  234. }
  235. finally {
  236. if ((s1 != null)) {
  237. s1.Close();
  238. }
  239. if ((s2 != null)) {
  240. s2.Close();
  241. }
  242. }
  243. }
  244. xs.Add(dsSchema);
  245. return type;
  246. }
  247. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  248. public delegate void DataTable1RowChangeEventHandler(object sender, DataTable1RowChangeEvent e);
  249. /// <summary>
  250. ///Represents the strongly named DataTable class.
  251. ///</summary>
  252. [global::System.Serializable()]
  253. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  254. public partial class DataTable1DataTable : global::System.Data.TypedTableBase<DataTable1Row> {
  255. private global::System.Data.DataColumn columnDataColumn1;
  256. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  257. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  258. public DataTable1DataTable() {
  259. this.TableName = "DataTable1";
  260. this.BeginInit();
  261. this.InitClass();
  262. this.EndInit();
  263. }
  264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  265. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  266. internal DataTable1DataTable(global::System.Data.DataTable table) {
  267. this.TableName = table.TableName;
  268. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  269. this.CaseSensitive = table.CaseSensitive;
  270. }
  271. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  272. this.Locale = table.Locale;
  273. }
  274. if ((table.Namespace != table.DataSet.Namespace)) {
  275. this.Namespace = table.Namespace;
  276. }
  277. this.Prefix = table.Prefix;
  278. this.MinimumCapacity = table.MinimumCapacity;
  279. }
  280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  281. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  282. protected DataTable1DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  283. base(info, context) {
  284. this.InitVars();
  285. }
  286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  287. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  288. public global::System.Data.DataColumn DataColumn1Column {
  289. get {
  290. return this.columnDataColumn1;
  291. }
  292. }
  293. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  294. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  295. [global::System.ComponentModel.Browsable(false)]
  296. public int Count {
  297. get {
  298. return this.Rows.Count;
  299. }
  300. }
  301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  302. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  303. public DataTable1Row this[int index] {
  304. get {
  305. return ((DataTable1Row)(this.Rows[index]));
  306. }
  307. }
  308. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  309. public event DataTable1RowChangeEventHandler DataTable1RowChanging;
  310. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  311. public event DataTable1RowChangeEventHandler DataTable1RowChanged;
  312. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  313. public event DataTable1RowChangeEventHandler DataTable1RowDeleting;
  314. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  315. public event DataTable1RowChangeEventHandler DataTable1RowDeleted;
  316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  317. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  318. public void AddDataTable1Row(DataTable1Row row) {
  319. this.Rows.Add(row);
  320. }
  321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  322. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  323. public DataTable1Row AddDataTable1Row(string DataColumn1) {
  324. DataTable1Row rowDataTable1Row = ((DataTable1Row)(this.NewRow()));
  325. object[] columnValuesArray = new object[] {
  326. DataColumn1};
  327. rowDataTable1Row.ItemArray = columnValuesArray;
  328. this.Rows.Add(rowDataTable1Row);
  329. return rowDataTable1Row;
  330. }
  331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  332. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  333. public override global::System.Data.DataTable Clone() {
  334. DataTable1DataTable cln = ((DataTable1DataTable)(base.Clone()));
  335. cln.InitVars();
  336. return cln;
  337. }
  338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  339. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  340. protected override global::System.Data.DataTable CreateInstance() {
  341. return new DataTable1DataTable();
  342. }
  343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  344. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  345. internal void InitVars() {
  346. this.columnDataColumn1 = base.Columns["DataColumn1"];
  347. }
  348. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  349. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  350. private void InitClass() {
  351. this.columnDataColumn1 = new global::System.Data.DataColumn("DataColumn1", typeof(string), null, global::System.Data.MappingType.Element);
  352. base.Columns.Add(this.columnDataColumn1);
  353. }
  354. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  355. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  356. public DataTable1Row NewDataTable1Row() {
  357. return ((DataTable1Row)(this.NewRow()));
  358. }
  359. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  360. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  361. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  362. return new DataTable1Row(builder);
  363. }
  364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  365. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  366. protected override global::System.Type GetRowType() {
  367. return typeof(DataTable1Row);
  368. }
  369. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  370. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  371. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  372. base.OnRowChanged(e);
  373. if ((this.DataTable1RowChanged != null)) {
  374. this.DataTable1RowChanged(this, new DataTable1RowChangeEvent(((DataTable1Row)(e.Row)), e.Action));
  375. }
  376. }
  377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  378. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  379. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  380. base.OnRowChanging(e);
  381. if ((this.DataTable1RowChanging != null)) {
  382. this.DataTable1RowChanging(this, new DataTable1RowChangeEvent(((DataTable1Row)(e.Row)), e.Action));
  383. }
  384. }
  385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  386. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  387. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  388. base.OnRowDeleted(e);
  389. if ((this.DataTable1RowDeleted != null)) {
  390. this.DataTable1RowDeleted(this, new DataTable1RowChangeEvent(((DataTable1Row)(e.Row)), e.Action));
  391. }
  392. }
  393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  394. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  395. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  396. base.OnRowDeleting(e);
  397. if ((this.DataTable1RowDeleting != null)) {
  398. this.DataTable1RowDeleting(this, new DataTable1RowChangeEvent(((DataTable1Row)(e.Row)), e.Action));
  399. }
  400. }
  401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  402. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  403. public void RemoveDataTable1Row(DataTable1Row row) {
  404. this.Rows.Remove(row);
  405. }
  406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  407. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  408. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  409. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  410. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  411. DataSet1 ds = new DataSet1();
  412. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  413. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  414. any1.MinOccurs = new decimal(0);
  415. any1.MaxOccurs = decimal.MaxValue;
  416. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  417. sequence.Items.Add(any1);
  418. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  419. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  420. any2.MinOccurs = new decimal(1);
  421. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  422. sequence.Items.Add(any2);
  423. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  424. attribute1.Name = "namespace";
  425. attribute1.FixedValue = ds.Namespace;
  426. type.Attributes.Add(attribute1);
  427. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  428. attribute2.Name = "tableTypeName";
  429. attribute2.FixedValue = "DataTable1DataTable";
  430. type.Attributes.Add(attribute2);
  431. type.Particle = sequence;
  432. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  433. if (xs.Contains(dsSchema.TargetNamespace)) {
  434. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  435. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  436. try {
  437. global::System.Xml.Schema.XmlSchema schema = null;
  438. dsSchema.Write(s1);
  439. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  440. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  441. s2.SetLength(0);
  442. schema.Write(s2);
  443. if ((s1.Length == s2.Length)) {
  444. s1.Position = 0;
  445. s2.Position = 0;
  446. for (; ((s1.Position != s1.Length)
  447. && (s1.ReadByte() == s2.ReadByte())); ) {
  448. ;
  449. }
  450. if ((s1.Position == s1.Length)) {
  451. return type;
  452. }
  453. }
  454. }
  455. }
  456. finally {
  457. if ((s1 != null)) {
  458. s1.Close();
  459. }
  460. if ((s2 != null)) {
  461. s2.Close();
  462. }
  463. }
  464. }
  465. xs.Add(dsSchema);
  466. return type;
  467. }
  468. }
  469. /// <summary>
  470. ///Represents strongly named DataRow class.
  471. ///</summary>
  472. public partial class DataTable1Row : global::System.Data.DataRow {
  473. private DataTable1DataTable tableDataTable1;
  474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  475. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  476. internal DataTable1Row(global::System.Data.DataRowBuilder rb) :
  477. base(rb) {
  478. this.tableDataTable1 = ((DataTable1DataTable)(this.Table));
  479. }
  480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  481. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  482. public string DataColumn1 {
  483. get {
  484. try {
  485. return ((string)(this[this.tableDataTable1.DataColumn1Column]));
  486. }
  487. catch (global::System.InvalidCastException e) {
  488. throw new global::System.Data.StrongTypingException("表“DataTable1”中列“DataColumn1”的值为 DBNull。", e);
  489. }
  490. }
  491. set {
  492. this[this.tableDataTable1.DataColumn1Column] = value;
  493. }
  494. }
  495. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  496. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  497. public bool IsDataColumn1Null() {
  498. return this.IsNull(this.tableDataTable1.DataColumn1Column);
  499. }
  500. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  501. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  502. public void SetDataColumn1Null() {
  503. this[this.tableDataTable1.DataColumn1Column] = global::System.Convert.DBNull;
  504. }
  505. }
  506. /// <summary>
  507. ///Row event argument class
  508. ///</summary>
  509. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  510. public class DataTable1RowChangeEvent : global::System.EventArgs {
  511. private DataTable1Row eventRow;
  512. private global::System.Data.DataRowAction eventAction;
  513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  514. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  515. public DataTable1RowChangeEvent(DataTable1Row row, global::System.Data.DataRowAction action) {
  516. this.eventRow = row;
  517. this.eventAction = action;
  518. }
  519. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  520. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  521. public DataTable1Row Row {
  522. get {
  523. return this.eventRow;
  524. }
  525. }
  526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  527. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  528. public global::System.Data.DataRowAction Action {
  529. get {
  530. return this.eventAction;
  531. }
  532. }
  533. }
  534. }
  535. }
  536. #pragma warning restore 1591