DataSet2.Designer.cs
上传用户:yongjiajia
上传日期:2021-01-30
资源大小:686k
文件大小:134k
开发平台:

ASP/ASPX

  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. //     此代码由工具生成。
  4. //     运行时版本:2.0.50727.3082
  5. //
  6. //     对此文件的更改可能会导致不正确的行为,并且如果
  7. //     重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace 医院管理系统 {
  12.     
  13.     
  14.     /// <summary>
  15.     ///Represents a strongly typed in-memory cache of data.
  16.     ///</summary>
  17.     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  18.     [global::System.Serializable()]
  19.     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  20.     [global::System.ComponentModel.ToolboxItem(true)]
  21.     [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
  22.     [global::System.Xml.Serialization.XmlRootAttribute("DataSet2")]
  23.     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  24.     public partial class DataSet2 : global::System.Data.DataSet {
  25.         
  26.         private v收费项目及药品DataTable tablev收费项目及药品;
  27.         
  28.         private 门诊挂号DataTable table门诊挂号;
  29.         
  30.         private 门诊划价明细DataTable table门诊划价明细;
  31.         
  32.         private 门诊划价DataTable table门诊划价;
  33.         
  34.         private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  35.         
  36.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  37.         public DataSet2() {
  38.             this.BeginInit();
  39.             this.InitClass();
  40.             global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  41.             base.Tables.CollectionChanged += schemaChangedHandler;
  42.             base.Relations.CollectionChanged += schemaChangedHandler;
  43.             this.EndInit();
  44.         }
  45.         
  46.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  47.         protected DataSet2(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  48.                 base(info, context, false) {
  49.             if ((this.IsBinarySerialized(info, context) == true)) {
  50.                 this.InitVars(false);
  51.                 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  52.                 this.Tables.CollectionChanged += schemaChangedHandler1;
  53.                 this.Relations.CollectionChanged += schemaChangedHandler1;
  54.                 return;
  55.             }
  56.             string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  57.             if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  58.                 global::System.Data.DataSet ds = new global::System.Data.DataSet();
  59.                 ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  60.                 if ((ds.Tables["v收费项目及药品"] != null)) {
  61.                     base.Tables.Add(new v收费项目及药品DataTable(ds.Tables["v收费项目及药品"]));
  62.                 }
  63.                 if ((ds.Tables["门诊挂号"] != null)) {
  64.                     base.Tables.Add(new 门诊挂号DataTable(ds.Tables["门诊挂号"]));
  65.                 }
  66.                 if ((ds.Tables["门诊划价明细"] != null)) {
  67.                     base.Tables.Add(new 门诊划价明细DataTable(ds.Tables["门诊划价明细"]));
  68.                 }
  69.                 if ((ds.Tables["门诊划价"] != null)) {
  70.                     base.Tables.Add(new 门诊划价DataTable(ds.Tables["门诊划价"]));
  71.                 }
  72.                 this.DataSetName = ds.DataSetName;
  73.                 this.Prefix = ds.Prefix;
  74.                 this.Namespace = ds.Namespace;
  75.                 this.Locale = ds.Locale;
  76.                 this.CaseSensitive = ds.CaseSensitive;
  77.                 this.EnforceConstraints = ds.EnforceConstraints;
  78.                 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  79.                 this.InitVars();
  80.             }
  81.             else {
  82.                 this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  83.             }
  84.             this.GetSerializationData(info, context);
  85.             global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  86.             base.Tables.CollectionChanged += schemaChangedHandler;
  87.             this.Relations.CollectionChanged += schemaChangedHandler;
  88.         }
  89.         
  90.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  91.         [global::System.ComponentModel.Browsable(false)]
  92.         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  93.         public v收费项目及药品DataTable v收费项目及药品 {
  94.             get {
  95.                 return this.tablev收费项目及药品;
  96.             }
  97.         }
  98.         
  99.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  100.         [global::System.ComponentModel.Browsable(false)]
  101.         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  102.         public 门诊挂号DataTable 门诊挂号 {
  103.             get {
  104.                 return this.table门诊挂号;
  105.             }
  106.         }
  107.         
  108.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  109.         [global::System.ComponentModel.Browsable(false)]
  110.         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  111.         public 门诊划价明细DataTable 门诊划价明细 {
  112.             get {
  113.                 return this.table门诊划价明细;
  114.             }
  115.         }
  116.         
  117.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  118.         [global::System.ComponentModel.Browsable(false)]
  119.         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  120.         public 门诊划价DataTable 门诊划价 {
  121.             get {
  122.                 return this.table门诊划价;
  123.             }
  124.         }
  125.         
  126.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  127.         [global::System.ComponentModel.BrowsableAttribute(true)]
  128.         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  129.         public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  130.             get {
  131.                 return this._schemaSerializationMode;
  132.             }
  133.             set {
  134.                 this._schemaSerializationMode = value;
  135.             }
  136.         }
  137.         
  138.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  139.         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  140.         public new global::System.Data.DataTableCollection Tables {
  141.             get {
  142.                 return base.Tables;
  143.             }
  144.         }
  145.         
  146.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  147.         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  148.         public new global::System.Data.DataRelationCollection Relations {
  149.             get {
  150.                 return base.Relations;
  151.             }
  152.         }
  153.         
  154.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  155.         protected override void InitializeDerivedDataSet() {
  156.             this.BeginInit();
  157.             this.InitClass();
  158.             this.EndInit();
  159.         }
  160.         
  161.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  162.         public override global::System.Data.DataSet Clone() {
  163.             DataSet2 cln = ((DataSet2)(base.Clone()));
  164.             cln.InitVars();
  165.             cln.SchemaSerializationMode = this.SchemaSerializationMode;
  166.             return cln;
  167.         }
  168.         
  169.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  170.         protected override bool ShouldSerializeTables() {
  171.             return false;
  172.         }
  173.         
  174.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  175.         protected override bool ShouldSerializeRelations() {
  176.             return false;
  177.         }
  178.         
  179.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  180.         protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  181.             if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  182.                 this.Reset();
  183.                 global::System.Data.DataSet ds = new global::System.Data.DataSet();
  184.                 ds.ReadXml(reader);
  185.                 if ((ds.Tables["v收费项目及药品"] != null)) {
  186.                     base.Tables.Add(new v收费项目及药品DataTable(ds.Tables["v收费项目及药品"]));
  187.                 }
  188.                 if ((ds.Tables["门诊挂号"] != null)) {
  189.                     base.Tables.Add(new 门诊挂号DataTable(ds.Tables["门诊挂号"]));
  190.                 }
  191.                 if ((ds.Tables["门诊划价明细"] != null)) {
  192.                     base.Tables.Add(new 门诊划价明细DataTable(ds.Tables["门诊划价明细"]));
  193.                 }
  194.                 if ((ds.Tables["门诊划价"] != null)) {
  195.                     base.Tables.Add(new 门诊划价DataTable(ds.Tables["门诊划价"]));
  196.                 }
  197.                 this.DataSetName = ds.DataSetName;
  198.                 this.Prefix = ds.Prefix;
  199.                 this.Namespace = ds.Namespace;
  200.                 this.Locale = ds.Locale;
  201.                 this.CaseSensitive = ds.CaseSensitive;
  202.                 this.EnforceConstraints = ds.EnforceConstraints;
  203.                 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  204.                 this.InitVars();
  205.             }
  206.             else {
  207.                 this.ReadXml(reader);
  208.                 this.InitVars();
  209.             }
  210.         }
  211.         
  212.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  213.         protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  214.             global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  215.             this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  216.             stream.Position = 0;
  217.             return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  218.         }
  219.         
  220.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  221.         internal void InitVars() {
  222.             this.InitVars(true);
  223.         }
  224.         
  225.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  226.         internal void InitVars(bool initTable) {
  227.             this.tablev收费项目及药品 = ((v收费项目及药品DataTable)(base.Tables["v收费项目及药品"]));
  228.             if ((initTable == true)) {
  229.                 if ((this.tablev收费项目及药品 != null)) {
  230.                     this.tablev收费项目及药品.InitVars();
  231.                 }
  232.             }
  233.             this.table门诊挂号 = ((门诊挂号DataTable)(base.Tables["门诊挂号"]));
  234.             if ((initTable == true)) {
  235.                 if ((this.table门诊挂号 != null)) {
  236.                     this.table门诊挂号.InitVars();
  237.                 }
  238.             }
  239.             this.table门诊划价明细 = ((门诊划价明细DataTable)(base.Tables["门诊划价明细"]));
  240.             if ((initTable == true)) {
  241.                 if ((this.table门诊划价明细 != null)) {
  242.                     this.table门诊划价明细.InitVars();
  243.                 }
  244.             }
  245.             this.table门诊划价 = ((门诊划价DataTable)(base.Tables["门诊划价"]));
  246.             if ((initTable == true)) {
  247.                 if ((this.table门诊划价 != null)) {
  248.                     this.table门诊划价.InitVars();
  249.                 }
  250.             }
  251.         }
  252.         
  253.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  254.         private void InitClass() {
  255.             this.DataSetName = "DataSet2";
  256.             this.Prefix = "";
  257.             this.Namespace = "http://www.tempuri.org/DataSet2.xsd";
  258.             this.Locale = new global::System.Globalization.CultureInfo("zh-CN");
  259.             this.EnforceConstraints = true;
  260.             this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  261.             this.tablev收费项目及药品 = new v收费项目及药品DataTable();
  262.             base.Tables.Add(this.tablev收费项目及药品);
  263.             this.table门诊挂号 = new 门诊挂号DataTable();
  264.             base.Tables.Add(this.table门诊挂号);
  265.             this.table门诊划价明细 = new 门诊划价明细DataTable();
  266.             base.Tables.Add(this.table门诊划价明细);
  267.             this.table门诊划价 = new 门诊划价DataTable();
  268.             base.Tables.Add(this.table门诊划价);
  269.         }
  270.         
  271.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  272.         private bool ShouldSerializev收费项目及药品() {
  273.             return false;
  274.         }
  275.         
  276.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  277.         private bool ShouldSerialize门诊挂号() {
  278.             return false;
  279.         }
  280.         
  281.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  282.         private bool ShouldSerialize门诊划价明细() {
  283.             return false;
  284.         }
  285.         
  286.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  287.         private bool ShouldSerialize门诊划价() {
  288.             return false;
  289.         }
  290.         
  291.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  292.         private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  293.             if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  294.                 this.InitVars();
  295.             }
  296.         }
  297.         
  298.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  299.         public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  300.             DataSet2 ds = new DataSet2();
  301.             global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  302.             global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  303.             global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  304.             any.Namespace = ds.Namespace;
  305.             sequence.Items.Add(any);
  306.             type.Particle = sequence;
  307.             global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  308.             if (xs.Contains(dsSchema.TargetNamespace)) {
  309.                 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  310.                 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  311.                 try {
  312.                     global::System.Xml.Schema.XmlSchema schema = null;
  313.                     dsSchema.Write(s1);
  314.                     for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  315.                         schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  316.                         s2.SetLength(0);
  317.                         schema.Write(s2);
  318.                         if ((s1.Length == s2.Length)) {
  319.                             s1.Position = 0;
  320.                             s2.Position = 0;
  321.                             for (; ((s1.Position != s1.Length) 
  322.                                         && (s1.ReadByte() == s2.ReadByte())); ) {
  323.                                 ;
  324.                             }
  325.                             if ((s1.Position == s1.Length)) {
  326.                                 return type;
  327.                             }
  328.                         }
  329.                     }
  330.                 }
  331.                 finally {
  332.                     if ((s1 != null)) {
  333.                         s1.Close();
  334.                     }
  335.                     if ((s2 != null)) {
  336.                         s2.Close();
  337.                     }
  338.                 }
  339.             }
  340.             xs.Add(dsSchema);
  341.             return type;
  342.         }
  343.         
  344.         public delegate void v收费项目及药品RowChangeEventHandler(object sender, v收费项目及药品RowChangeEvent e);
  345.         
  346.         public delegate void 门诊挂号RowChangeEventHandler(object sender, 门诊挂号RowChangeEvent e);
  347.         
  348.         public delegate void 门诊划价明细RowChangeEventHandler(object sender, 门诊划价明细RowChangeEvent e);
  349.         
  350.         public delegate void 门诊划价RowChangeEventHandler(object sender, 门诊划价RowChangeEvent e);
  351.         
  352.         /// <summary>
  353.         ///Represents the strongly named DataTable class.
  354.         ///</summary>
  355.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  356.         [global::System.Serializable()]
  357.         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  358.         public partial class v收费项目及药品DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
  359.             
  360.             private global::System.Data.DataColumn column编号;
  361.             
  362.             private global::System.Data.DataColumn column名称;
  363.             
  364.             private global::System.Data.DataColumn column规格;
  365.             
  366.             private global::System.Data.DataColumn column单位;
  367.             
  368.             private global::System.Data.DataColumn column单价;
  369.             
  370.             private global::System.Data.DataColumn column拼音码;
  371.             
  372.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  373.             public v收费项目及药品DataTable() {
  374.                 this.TableName = "v收费项目及药品";
  375.                 this.BeginInit();
  376.                 this.InitClass();
  377.                 this.EndInit();
  378.             }
  379.             
  380.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  381.             internal v收费项目及药品DataTable(global::System.Data.DataTable table) {
  382.                 this.TableName = table.TableName;
  383.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  384.                     this.CaseSensitive = table.CaseSensitive;
  385.                 }
  386.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  387.                     this.Locale = table.Locale;
  388.                 }
  389.                 if ((table.Namespace != table.DataSet.Namespace)) {
  390.                     this.Namespace = table.Namespace;
  391.                 }
  392.                 this.Prefix = table.Prefix;
  393.                 this.MinimumCapacity = table.MinimumCapacity;
  394.             }
  395.             
  396.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  397.             protected v收费项目及药品DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  398.                     base(info, context) {
  399.                 this.InitVars();
  400.             }
  401.             
  402.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  403.             public global::System.Data.DataColumn 编号Column {
  404.                 get {
  405.                     return this.column编号;
  406.                 }
  407.             }
  408.             
  409.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  410.             public global::System.Data.DataColumn 名称Column {
  411.                 get {
  412.                     return this.column名称;
  413.                 }
  414.             }
  415.             
  416.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  417.             public global::System.Data.DataColumn 规格Column {
  418.                 get {
  419.                     return this.column规格;
  420.                 }
  421.             }
  422.             
  423.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  424.             public global::System.Data.DataColumn 单位Column {
  425.                 get {
  426.                     return this.column单位;
  427.                 }
  428.             }
  429.             
  430.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  431.             public global::System.Data.DataColumn 单价Column {
  432.                 get {
  433.                     return this.column单价;
  434.                 }
  435.             }
  436.             
  437.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  438.             public global::System.Data.DataColumn 拼音码Column {
  439.                 get {
  440.                     return this.column拼音码;
  441.                 }
  442.             }
  443.             
  444.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  445.             [global::System.ComponentModel.Browsable(false)]
  446.             public int Count {
  447.                 get {
  448.                     return this.Rows.Count;
  449.                 }
  450.             }
  451.             
  452.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  453.             public v收费项目及药品Row this[int index] {
  454.                 get {
  455.                     return ((v收费项目及药品Row)(this.Rows[index]));
  456.                 }
  457.             }
  458.             
  459.             public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowChanging;
  460.             
  461.             public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowChanged;
  462.             
  463.             public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowDeleting;
  464.             
  465.             public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowDeleted;
  466.             
  467.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  468.             public void Addv收费项目及药品Row(v收费项目及药品Row row) {
  469.                 this.Rows.Add(row);
  470.             }
  471.             
  472.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  473.             public v收费项目及药品Row Addv收费项目及药品Row(string 编号, string 名称, string 规格, string 单位, decimal 单价, string 拼音码) {
  474.                 v收费项目及药品Row rowv收费项目及药品Row = ((v收费项目及药品Row)(this.NewRow()));
  475.                 object[] columnValuesArray = new object[] {
  476.                         编号,
  477.                         名称,
  478.                         规格,
  479.                         单位,
  480.                         单价,
  481.                         拼音码};
  482.                 rowv收费项目及药品Row.ItemArray = columnValuesArray;
  483.                 this.Rows.Add(rowv收费项目及药品Row);
  484.                 return rowv收费项目及药品Row;
  485.             }
  486.             
  487.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  488.             public virtual global::System.Collections.IEnumerator GetEnumerator() {
  489.                 return this.Rows.GetEnumerator();
  490.             }
  491.             
  492.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  493.             public override global::System.Data.DataTable Clone() {
  494.                 v收费项目及药品DataTable cln = ((v收费项目及药品DataTable)(base.Clone()));
  495.                 cln.InitVars();
  496.                 return cln;
  497.             }
  498.             
  499.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  500.             protected override global::System.Data.DataTable CreateInstance() {
  501.                 return new v收费项目及药品DataTable();
  502.             }
  503.             
  504.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  505.             internal void InitVars() {
  506.                 this.column编号 = base.Columns["编号"];
  507.                 this.column名称 = base.Columns["名称"];
  508.                 this.column规格 = base.Columns["规格"];
  509.                 this.column单位 = base.Columns["单位"];
  510.                 this.column单价 = base.Columns["单价"];
  511.                 this.column拼音码 = base.Columns["拼音码"];
  512.             }
  513.             
  514.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  515.             private void InitClass() {
  516.                 this.column编号 = new global::System.Data.DataColumn("编号", typeof(string), null, global::System.Data.MappingType.Element);
  517.                 base.Columns.Add(this.column编号);
  518.                 this.column名称 = new global::System.Data.DataColumn("名称", typeof(string), null, global::System.Data.MappingType.Element);
  519.                 base.Columns.Add(this.column名称);
  520.                 this.column规格 = new global::System.Data.DataColumn("规格", typeof(string), null, global::System.Data.MappingType.Element);
  521.                 base.Columns.Add(this.column规格);
  522.                 this.column单位 = new global::System.Data.DataColumn("单位", typeof(string), null, global::System.Data.MappingType.Element);
  523.                 base.Columns.Add(this.column单位);
  524.                 this.column单价 = new global::System.Data.DataColumn("单价", typeof(decimal), null, global::System.Data.MappingType.Element);
  525.                 base.Columns.Add(this.column单价);
  526.                 this.column拼音码 = new global::System.Data.DataColumn("拼音码", typeof(string), null, global::System.Data.MappingType.Element);
  527.                 base.Columns.Add(this.column拼音码);
  528.                 this.column编号.AllowDBNull = false;
  529.             }
  530.             
  531.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  532.             public v收费项目及药品Row Newv收费项目及药品Row() {
  533.                 return ((v收费项目及药品Row)(this.NewRow()));
  534.             }
  535.             
  536.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  537.             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  538.                 return new v收费项目及药品Row(builder);
  539.             }
  540.             
  541.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  542.             protected override global::System.Type GetRowType() {
  543.                 return typeof(v收费项目及药品Row);
  544.             }
  545.             
  546.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  547.             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  548.                 base.OnRowChanged(e);
  549.                 if ((this.v收费项目及药品RowChanged != null)) {
  550.                     this.v收费项目及药品RowChanged(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
  551.                 }
  552.             }
  553.             
  554.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  555.             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  556.                 base.OnRowChanging(e);
  557.                 if ((this.v收费项目及药品RowChanging != null)) {
  558.                     this.v收费项目及药品RowChanging(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
  559.                 }
  560.             }
  561.             
  562.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  563.             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  564.                 base.OnRowDeleted(e);
  565.                 if ((this.v收费项目及药品RowDeleted != null)) {
  566.                     this.v收费项目及药品RowDeleted(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
  567.                 }
  568.             }
  569.             
  570.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  571.             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  572.                 base.OnRowDeleting(e);
  573.                 if ((this.v收费项目及药品RowDeleting != null)) {
  574.                     this.v收费项目及药品RowDeleting(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
  575.                 }
  576.             }
  577.             
  578.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  579.             public void Removev收费项目及药品Row(v收费项目及药品Row row) {
  580.                 this.Rows.Remove(row);
  581.             }
  582.             
  583.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  584.             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  585.                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  586.                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  587.                 DataSet2 ds = new DataSet2();
  588.                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  589.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  590.                 any1.MinOccurs = new decimal(0);
  591.                 any1.MaxOccurs = decimal.MaxValue;
  592.                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  593.                 sequence.Items.Add(any1);
  594.                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  595.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  596.                 any2.MinOccurs = new decimal(1);
  597.                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  598.                 sequence.Items.Add(any2);
  599.                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  600.                 attribute1.Name = "namespace";
  601.                 attribute1.FixedValue = ds.Namespace;
  602.                 type.Attributes.Add(attribute1);
  603.                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  604.                 attribute2.Name = "tableTypeName";
  605.                 attribute2.FixedValue = "v收费项目及药品DataTable";
  606.                 type.Attributes.Add(attribute2);
  607.                 type.Particle = sequence;
  608.                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  609.                 if (xs.Contains(dsSchema.TargetNamespace)) {
  610.                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  611.                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  612.                     try {
  613.                         global::System.Xml.Schema.XmlSchema schema = null;
  614.                         dsSchema.Write(s1);
  615.                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  616.                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  617.                             s2.SetLength(0);
  618.                             schema.Write(s2);
  619.                             if ((s1.Length == s2.Length)) {
  620.                                 s1.Position = 0;
  621.                                 s2.Position = 0;
  622.                                 for (; ((s1.Position != s1.Length) 
  623.                                             && (s1.ReadByte() == s2.ReadByte())); ) {
  624.                                     ;
  625.                                 }
  626.                                 if ((s1.Position == s1.Length)) {
  627.                                     return type;
  628.                                 }
  629.                             }
  630.                         }
  631.                     }
  632.                     finally {
  633.                         if ((s1 != null)) {
  634.                             s1.Close();
  635.                         }
  636.                         if ((s2 != null)) {
  637.                             s2.Close();
  638.                         }
  639.                     }
  640.                 }
  641.                 xs.Add(dsSchema);
  642.                 return type;
  643.             }
  644.         }
  645.         
  646.         /// <summary>
  647.         ///Represents the strongly named DataTable class.
  648.         ///</summary>
  649.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  650.         [global::System.Serializable()]
  651.         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  652.         public partial class 门诊挂号DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
  653.             
  654.             private global::System.Data.DataColumn column编号;
  655.             
  656.             private global::System.Data.DataColumn column病人编号;
  657.             
  658.             private global::System.Data.DataColumn column姓名;
  659.             
  660.             private global::System.Data.DataColumn column性别;
  661.             
  662.             private global::System.Data.DataColumn column挂号科室;
  663.             
  664.             private global::System.Data.DataColumn column费用类型;
  665.             
  666.             private global::System.Data.DataColumn column挂号类型;
  667.             
  668.             private global::System.Data.DataColumn column挂号费用;
  669.             
  670.             private global::System.Data.DataColumn column医生;
  671.             
  672.             private global::System.Data.DataColumn column时间;
  673.             
  674.             private global::System.Data.DataColumn column是否已划价;
  675.             
  676.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  677.             public 门诊挂号DataTable() {
  678.                 this.TableName = "门诊挂号";
  679.                 this.BeginInit();
  680.                 this.InitClass();
  681.                 this.EndInit();
  682.             }
  683.             
  684.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  685.             internal 门诊挂号DataTable(global::System.Data.DataTable table) {
  686.                 this.TableName = table.TableName;
  687.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  688.                     this.CaseSensitive = table.CaseSensitive;
  689.                 }
  690.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  691.                     this.Locale = table.Locale;
  692.                 }
  693.                 if ((table.Namespace != table.DataSet.Namespace)) {
  694.                     this.Namespace = table.Namespace;
  695.                 }
  696.                 this.Prefix = table.Prefix;
  697.                 this.MinimumCapacity = table.MinimumCapacity;
  698.             }
  699.             
  700.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  701.             protected 门诊挂号DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  702.                     base(info, context) {
  703.                 this.InitVars();
  704.             }
  705.             
  706.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  707.             public global::System.Data.DataColumn 编号Column {
  708.                 get {
  709.                     return this.column编号;
  710.                 }
  711.             }
  712.             
  713.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  714.             public global::System.Data.DataColumn 病人编号Column {
  715.                 get {
  716.                     return this.column病人编号;
  717.                 }
  718.             }
  719.             
  720.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  721.             public global::System.Data.DataColumn 姓名Column {
  722.                 get {
  723.                     return this.column姓名;
  724.                 }
  725.             }
  726.             
  727.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  728.             public global::System.Data.DataColumn 性别Column {
  729.                 get {
  730.                     return this.column性别;
  731.                 }
  732.             }
  733.             
  734.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  735.             public global::System.Data.DataColumn 挂号科室Column {
  736.                 get {
  737.                     return this.column挂号科室;
  738.                 }
  739.             }
  740.             
  741.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  742.             public global::System.Data.DataColumn 费用类型Column {
  743.                 get {
  744.                     return this.column费用类型;
  745.                 }
  746.             }
  747.             
  748.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  749.             public global::System.Data.DataColumn 挂号类型Column {
  750.                 get {
  751.                     return this.column挂号类型;
  752.                 }
  753.             }
  754.             
  755.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  756.             public global::System.Data.DataColumn 挂号费用Column {
  757.                 get {
  758.                     return this.column挂号费用;
  759.                 }
  760.             }
  761.             
  762.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  763.             public global::System.Data.DataColumn 医生Column {
  764.                 get {
  765.                     return this.column医生;
  766.                 }
  767.             }
  768.             
  769.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  770.             public global::System.Data.DataColumn 时间Column {
  771.                 get {
  772.                     return this.column时间;
  773.                 }
  774.             }
  775.             
  776.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  777.             public global::System.Data.DataColumn 是否已划价Column {
  778.                 get {
  779.                     return this.column是否已划价;
  780.                 }
  781.             }
  782.             
  783.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  784.             [global::System.ComponentModel.Browsable(false)]
  785.             public int Count {
  786.                 get {
  787.                     return this.Rows.Count;
  788.                 }
  789.             }
  790.             
  791.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  792.             public 门诊挂号Row this[int index] {
  793.                 get {
  794.                     return ((门诊挂号Row)(this.Rows[index]));
  795.                 }
  796.             }
  797.             
  798.             public event 门诊挂号RowChangeEventHandler 门诊挂号RowChanging;
  799.             
  800.             public event 门诊挂号RowChangeEventHandler 门诊挂号RowChanged;
  801.             
  802.             public event 门诊挂号RowChangeEventHandler 门诊挂号RowDeleting;
  803.             
  804.             public event 门诊挂号RowChangeEventHandler 门诊挂号RowDeleted;
  805.             
  806.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  807.             public void Add门诊挂号Row(门诊挂号Row row) {
  808.                 this.Rows.Add(row);
  809.             }
  810.             
  811.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  812.             public 门诊挂号Row Add门诊挂号Row(string 编号, string 病人编号, string 姓名, string 性别, string 挂号科室, string 费用类型, string 挂号类型, decimal 挂号费用, string 医生, System.DateTime 时间, string 是否已划价) {
  813.                 门诊挂号Row row门诊挂号Row = ((门诊挂号Row)(this.NewRow()));
  814.                 object[] columnValuesArray = new object[] {
  815.                         编号,
  816.                         病人编号,
  817.                         姓名,
  818.                         性别,
  819.                         挂号科室,
  820.                         费用类型,
  821.                         挂号类型,
  822.                         挂号费用,
  823.                         医生,
  824.                         时间,
  825.                         是否已划价};
  826.                 row门诊挂号Row.ItemArray = columnValuesArray;
  827.                 this.Rows.Add(row门诊挂号Row);
  828.                 return row门诊挂号Row;
  829.             }
  830.             
  831.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  832.             public 门诊挂号Row FindBy编号(string 编号) {
  833.                 return ((门诊挂号Row)(this.Rows.Find(new object[] {
  834.                             编号})));
  835.             }
  836.             
  837.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  838.             public virtual global::System.Collections.IEnumerator GetEnumerator() {
  839.                 return this.Rows.GetEnumerator();
  840.             }
  841.             
  842.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  843.             public override global::System.Data.DataTable Clone() {
  844.                 门诊挂号DataTable cln = ((门诊挂号DataTable)(base.Clone()));
  845.                 cln.InitVars();
  846.                 return cln;
  847.             }
  848.             
  849.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  850.             protected override global::System.Data.DataTable CreateInstance() {
  851.                 return new 门诊挂号DataTable();
  852.             }
  853.             
  854.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  855.             internal void InitVars() {
  856.                 this.column编号 = base.Columns["编号"];
  857.                 this.column病人编号 = base.Columns["病人编号"];
  858.                 this.column姓名 = base.Columns["姓名"];
  859.                 this.column性别 = base.Columns["性别"];
  860.                 this.column挂号科室 = base.Columns["挂号科室"];
  861.                 this.column费用类型 = base.Columns["费用类型"];
  862.                 this.column挂号类型 = base.Columns["挂号类型"];
  863.                 this.column挂号费用 = base.Columns["挂号费用"];
  864.                 this.column医生 = base.Columns["医生"];
  865.                 this.column时间 = base.Columns["时间"];
  866.                 this.column是否已划价 = base.Columns["是否已划价"];
  867.             }
  868.             
  869.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  870.             private void InitClass() {
  871.                 this.column编号 = new global::System.Data.DataColumn("编号", typeof(string), null, global::System.Data.MappingType.Element);
  872.                 base.Columns.Add(this.column编号);
  873.                 this.column病人编号 = new global::System.Data.DataColumn("病人编号", typeof(string), null, global::System.Data.MappingType.Element);
  874.                 base.Columns.Add(this.column病人编号);
  875.                 this.column姓名 = new global::System.Data.DataColumn("姓名", typeof(string), null, global::System.Data.MappingType.Element);
  876.                 base.Columns.Add(this.column姓名);
  877.                 this.column性别 = new global::System.Data.DataColumn("性别", typeof(string), null, global::System.Data.MappingType.Element);
  878.                 base.Columns.Add(this.column性别);
  879.                 this.column挂号科室 = new global::System.Data.DataColumn("挂号科室", typeof(string), null, global::System.Data.MappingType.Element);
  880.                 base.Columns.Add(this.column挂号科室);
  881.                 this.column费用类型 = new global::System.Data.DataColumn("费用类型", typeof(string), null, global::System.Data.MappingType.Element);
  882.                 base.Columns.Add(this.column费用类型);
  883.                 this.column挂号类型 = new global::System.Data.DataColumn("挂号类型", typeof(string), null, global::System.Data.MappingType.Element);
  884.                 base.Columns.Add(this.column挂号类型);
  885.                 this.column挂号费用 = new global::System.Data.DataColumn("挂号费用", typeof(decimal), null, global::System.Data.MappingType.Element);
  886.                 base.Columns.Add(this.column挂号费用);
  887.                 this.column医生 = new global::System.Data.DataColumn("医生", typeof(string), null, global::System.Data.MappingType.Element);
  888.                 base.Columns.Add(this.column医生);
  889.                 this.column时间 = new global::System.Data.DataColumn("时间", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  890.                 base.Columns.Add(this.column时间);
  891.                 this.column是否已划价 = new global::System.Data.DataColumn("是否已划价", typeof(string), null, global::System.Data.MappingType.Element);
  892.                 base.Columns.Add(this.column是否已划价);
  893.                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  894.                                 this.column编号}, true));
  895.                 this.column编号.AllowDBNull = false;
  896.                 this.column编号.Unique = true;
  897.             }
  898.             
  899.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  900.             public 门诊挂号Row New门诊挂号Row() {
  901.                 return ((门诊挂号Row)(this.NewRow()));
  902.             }
  903.             
  904.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  905.             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  906.                 return new 门诊挂号Row(builder);
  907.             }
  908.             
  909.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  910.             protected override global::System.Type GetRowType() {
  911.                 return typeof(门诊挂号Row);
  912.             }
  913.             
  914.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  915.             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  916.                 base.OnRowChanged(e);
  917.                 if ((this.门诊挂号RowChanged != null)) {
  918.                     this.门诊挂号RowChanged(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
  919.                 }
  920.             }
  921.             
  922.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  923.             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  924.                 base.OnRowChanging(e);
  925.                 if ((this.门诊挂号RowChanging != null)) {
  926.                     this.门诊挂号RowChanging(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
  927.                 }
  928.             }
  929.             
  930.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  931.             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  932.                 base.OnRowDeleted(e);
  933.                 if ((this.门诊挂号RowDeleted != null)) {
  934.                     this.门诊挂号RowDeleted(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
  935.                 }
  936.             }
  937.             
  938.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  939.             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  940.                 base.OnRowDeleting(e);
  941.                 if ((this.门诊挂号RowDeleting != null)) {
  942.                     this.门诊挂号RowDeleting(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
  943.                 }
  944.             }
  945.             
  946.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  947.             public void Remove门诊挂号Row(门诊挂号Row row) {
  948.                 this.Rows.Remove(row);
  949.             }
  950.             
  951.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  952.             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  953.                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  954.                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  955.                 DataSet2 ds = new DataSet2();
  956.                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  957.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  958.                 any1.MinOccurs = new decimal(0);
  959.                 any1.MaxOccurs = decimal.MaxValue;
  960.                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  961.                 sequence.Items.Add(any1);
  962.                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  963.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  964.                 any2.MinOccurs = new decimal(1);
  965.                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  966.                 sequence.Items.Add(any2);
  967.                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  968.                 attribute1.Name = "namespace";
  969.                 attribute1.FixedValue = ds.Namespace;
  970.                 type.Attributes.Add(attribute1);
  971.                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  972.                 attribute2.Name = "tableTypeName";
  973.                 attribute2.FixedValue = "门诊挂号DataTable";
  974.                 type.Attributes.Add(attribute2);
  975.                 type.Particle = sequence;
  976.                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  977.                 if (xs.Contains(dsSchema.TargetNamespace)) {
  978.                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  979.                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  980.                     try {
  981.                         global::System.Xml.Schema.XmlSchema schema = null;
  982.                         dsSchema.Write(s1);
  983.                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  984.                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  985.                             s2.SetLength(0);
  986.                             schema.Write(s2);
  987.                             if ((s1.Length == s2.Length)) {
  988.                                 s1.Position = 0;
  989.                                 s2.Position = 0;
  990.                                 for (; ((s1.Position != s1.Length) 
  991.                                             && (s1.ReadByte() == s2.ReadByte())); ) {
  992.                                     ;
  993.                                 }
  994.                                 if ((s1.Position == s1.Length)) {
  995.                                     return type;
  996.                                 }
  997.                             }
  998.                         }
  999.                     }
  1000.                     finally {
  1001.                         if ((s1 != null)) {
  1002.                             s1.Close();
  1003.                         }
  1004.                         if ((s2 != null)) {
  1005.                             s2.Close();
  1006.                         }
  1007.                     }
  1008.                 }
  1009.                 xs.Add(dsSchema);
  1010.                 return type;
  1011.             }
  1012.         }
  1013.         
  1014.         /// <summary>
  1015.         ///Represents the strongly named DataTable class.
  1016.         ///</summary>
  1017.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1018.         [global::System.Serializable()]
  1019.         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1020.         public partial class 门诊划价明细DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
  1021.             
  1022.             private global::System.Data.DataColumn column编号;
  1023.             
  1024.             private global::System.Data.DataColumn column药品编号;
  1025.             
  1026.             private global::System.Data.DataColumn column名称;
  1027.             
  1028.             private global::System.Data.DataColumn column单价;
  1029.             
  1030.             private global::System.Data.DataColumn column数量;
  1031.             
  1032.             private global::System.Data.DataColumn column金额;
  1033.             
  1034.             private global::System.Data.DataColumn column划价编号;
  1035.             
  1036.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1037.             public 门诊划价明细DataTable() {
  1038.                 this.TableName = "门诊划价明细";
  1039.                 this.BeginInit();
  1040.                 this.InitClass();
  1041.                 this.EndInit();
  1042.             }
  1043.             
  1044.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1045.             internal 门诊划价明细DataTable(global::System.Data.DataTable table) {
  1046.                 this.TableName = table.TableName;
  1047.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1048.                     this.CaseSensitive = table.CaseSensitive;
  1049.                 }
  1050.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1051.                     this.Locale = table.Locale;
  1052.                 }
  1053.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1054.                     this.Namespace = table.Namespace;
  1055.                 }
  1056.                 this.Prefix = table.Prefix;
  1057.                 this.MinimumCapacity = table.MinimumCapacity;
  1058.             }
  1059.             
  1060.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1061.             protected 门诊划价明细DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  1062.                     base(info, context) {
  1063.                 this.InitVars();
  1064.             }
  1065.             
  1066.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1067.             public global::System.Data.DataColumn 编号Column {
  1068.                 get {
  1069.                     return this.column编号;
  1070.                 }
  1071.             }
  1072.             
  1073.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1074.             public global::System.Data.DataColumn 药品编号Column {
  1075.                 get {
  1076.                     return this.column药品编号;
  1077.                 }
  1078.             }
  1079.             
  1080.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1081.             public global::System.Data.DataColumn 名称Column {
  1082.                 get {
  1083.                     return this.column名称;
  1084.                 }
  1085.             }
  1086.             
  1087.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1088.             public global::System.Data.DataColumn 单价Column {
  1089.                 get {
  1090.                     return this.column单价;
  1091.                 }
  1092.             }
  1093.             
  1094.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1095.             public global::System.Data.DataColumn 数量Column {
  1096.                 get {
  1097.                     return this.column数量;
  1098.                 }
  1099.             }
  1100.             
  1101.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1102.             public global::System.Data.DataColumn 金额Column {
  1103.                 get {
  1104.                     return this.column金额;
  1105.                 }
  1106.             }
  1107.             
  1108.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1109.             public global::System.Data.DataColumn 划价编号Column {
  1110.                 get {
  1111.                     return this.column划价编号;
  1112.                 }
  1113.             }
  1114.             
  1115.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1116.             [global::System.ComponentModel.Browsable(false)]
  1117.             public int Count {
  1118.                 get {
  1119.                     return this.Rows.Count;
  1120.                 }
  1121.             }
  1122.             
  1123.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1124.             public 门诊划价明细Row this[int index] {
  1125.                 get {
  1126.                     return ((门诊划价明细Row)(this.Rows[index]));
  1127.                 }
  1128.             }
  1129.             
  1130.             public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowChanging;
  1131.             
  1132.             public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowChanged;
  1133.             
  1134.             public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowDeleting;
  1135.             
  1136.             public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowDeleted;
  1137.             
  1138.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1139.             public void Add门诊划价明细Row(门诊划价明细Row row) {
  1140.                 this.Rows.Add(row);
  1141.             }
  1142.             
  1143.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1144.             public 门诊划价明细Row Add门诊划价明细Row(string 药品编号, string 名称, decimal 单价, decimal 数量, decimal 金额, string 划价编号) {
  1145.                 门诊划价明细Row row门诊划价明细Row = ((门诊划价明细Row)(this.NewRow()));
  1146.                 object[] columnValuesArray = new object[] {
  1147.                         null,
  1148.                         药品编号,
  1149.                         名称,
  1150.                         单价,
  1151.                         数量,
  1152.                         金额,
  1153.                         划价编号};
  1154.                 row门诊划价明细Row.ItemArray = columnValuesArray;
  1155.                 this.Rows.Add(row门诊划价明细Row);
  1156.                 return row门诊划价明细Row;
  1157.             }
  1158.             
  1159.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1160.             public virtual global::System.Collections.IEnumerator GetEnumerator() {
  1161.                 return this.Rows.GetEnumerator();
  1162.             }
  1163.             
  1164.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1165.             public override global::System.Data.DataTable Clone() {
  1166.                 门诊划价明细DataTable cln = ((门诊划价明细DataTable)(base.Clone()));
  1167.                 cln.InitVars();
  1168.                 return cln;
  1169.             }
  1170.             
  1171.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1172.             protected override global::System.Data.DataTable CreateInstance() {
  1173.                 return new 门诊划价明细DataTable();
  1174.             }
  1175.             
  1176.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1177.             internal void InitVars() {
  1178.                 this.column编号 = base.Columns["编号"];
  1179.                 this.column药品编号 = base.Columns["药品编号"];
  1180.                 this.column名称 = base.Columns["名称"];
  1181.                 this.column单价 = base.Columns["单价"];
  1182.                 this.column数量 = base.Columns["数量"];
  1183.                 this.column金额 = base.Columns["金额"];
  1184.                 this.column划价编号 = base.Columns["划价编号"];
  1185.             }
  1186.             
  1187.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1188.             private void InitClass() {
  1189.                 this.column编号 = new global::System.Data.DataColumn("编号", typeof(int), null, global::System.Data.MappingType.Element);
  1190.                 base.Columns.Add(this.column编号);
  1191.                 this.column药品编号 = new global::System.Data.DataColumn("药品编号", typeof(string), null, global::System.Data.MappingType.Element);
  1192.                 base.Columns.Add(this.column药品编号);
  1193.                 this.column名称 = new global::System.Data.DataColumn("名称", typeof(string), null, global::System.Data.MappingType.Element);
  1194.                 base.Columns.Add(this.column名称);
  1195.                 this.column单价 = new global::System.Data.DataColumn("单价", typeof(decimal), null, global::System.Data.MappingType.Element);
  1196.                 base.Columns.Add(this.column单价);
  1197.                 this.column数量 = new global::System.Data.DataColumn("数量", typeof(decimal), null, global::System.Data.MappingType.Element);
  1198.                 base.Columns.Add(this.column数量);
  1199.                 this.column金额 = new global::System.Data.DataColumn("金额", typeof(decimal), null, global::System.Data.MappingType.Element);
  1200.                 base.Columns.Add(this.column金额);
  1201.                 this.column划价编号 = new global::System.Data.DataColumn("划价编号", typeof(string), null, global::System.Data.MappingType.Element);
  1202.                 base.Columns.Add(this.column划价编号);
  1203.                 this.column编号.AutoIncrement = true;
  1204.                 this.column编号.AllowDBNull = false;
  1205.                 this.column编号.ReadOnly = true;
  1206.                 this.column药品编号.AllowDBNull = false;
  1207.                 this.column划价编号.AllowDBNull = false;
  1208.             }
  1209.             
  1210.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1211.             public 门诊划价明细Row New门诊划价明细Row() {
  1212.                 return ((门诊划价明细Row)(this.NewRow()));
  1213.             }
  1214.             
  1215.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1216.             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1217.                 return new 门诊划价明细Row(builder);
  1218.             }
  1219.             
  1220.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1221.             protected override global::System.Type GetRowType() {
  1222.                 return typeof(门诊划价明细Row);
  1223.             }
  1224.             
  1225.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1226.             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1227.                 base.OnRowChanged(e);
  1228.                 if ((this.门诊划价明细RowChanged != null)) {
  1229.                     this.门诊划价明细RowChanged(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
  1230.                 }
  1231.             }
  1232.             
  1233.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1234.             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1235.                 base.OnRowChanging(e);
  1236.                 if ((this.门诊划价明细RowChanging != null)) {
  1237.                     this.门诊划价明细RowChanging(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
  1238.                 }
  1239.             }
  1240.             
  1241.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1242.             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1243.                 base.OnRowDeleted(e);
  1244.                 if ((this.门诊划价明细RowDeleted != null)) {
  1245.                     this.门诊划价明细RowDeleted(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
  1246.                 }
  1247.             }
  1248.             
  1249.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1250.             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1251.                 base.OnRowDeleting(e);
  1252.                 if ((this.门诊划价明细RowDeleting != null)) {
  1253.                     this.门诊划价明细RowDeleting(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
  1254.                 }
  1255.             }
  1256.             
  1257.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1258.             public void Remove门诊划价明细Row(门诊划价明细Row row) {
  1259.                 this.Rows.Remove(row);
  1260.             }
  1261.             
  1262.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1263.             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1264.                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1265.                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1266.                 DataSet2 ds = new DataSet2();
  1267.                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1268.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1269.                 any1.MinOccurs = new decimal(0);
  1270.                 any1.MaxOccurs = decimal.MaxValue;
  1271.                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1272.                 sequence.Items.Add(any1);
  1273.                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1274.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1275.                 any2.MinOccurs = new decimal(1);
  1276.                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1277.                 sequence.Items.Add(any2);
  1278.                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1279.                 attribute1.Name = "namespace";
  1280.                 attribute1.FixedValue = ds.Namespace;
  1281.                 type.Attributes.Add(attribute1);
  1282.                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1283.                 attribute2.Name = "tableTypeName";
  1284.                 attribute2.FixedValue = "门诊划价明细DataTable";
  1285.                 type.Attributes.Add(attribute2);
  1286.                 type.Particle = sequence;
  1287.                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1288.                 if (xs.Contains(dsSchema.TargetNamespace)) {
  1289.                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1290.                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1291.                     try {
  1292.                         global::System.Xml.Schema.XmlSchema schema = null;
  1293.                         dsSchema.Write(s1);
  1294.                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1295.                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1296.                             s2.SetLength(0);
  1297.                             schema.Write(s2);
  1298.                             if ((s1.Length == s2.Length)) {
  1299.                                 s1.Position = 0;
  1300.                                 s2.Position = 0;
  1301.                                 for (; ((s1.Position != s1.Length) 
  1302.                                             && (s1.ReadByte() == s2.ReadByte())); ) {
  1303.                                     ;
  1304.                                 }
  1305.                                 if ((s1.Position == s1.Length)) {
  1306.                                     return type;
  1307.                                 }
  1308.                             }
  1309.                         }
  1310.                     }
  1311.                     finally {
  1312.                         if ((s1 != null)) {
  1313.                             s1.Close();
  1314.                         }
  1315.                         if ((s2 != null)) {
  1316.                             s2.Close();
  1317.                         }
  1318.                     }
  1319.                 }
  1320.                 xs.Add(dsSchema);
  1321.                 return type;
  1322.             }
  1323.         }
  1324.         
  1325.         /// <summary>
  1326.         ///Represents the strongly named DataTable class.
  1327.         ///</summary>
  1328.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1329.         [global::System.Serializable()]
  1330.         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1331.         public partial class 门诊划价DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
  1332.             
  1333.             private global::System.Data.DataColumn column姓名;
  1334.             
  1335.             private global::System.Data.DataColumn column性别;
  1336.             
  1337.             private global::System.Data.DataColumn column编号;
  1338.             
  1339.             private global::System.Data.DataColumn column科室;
  1340.             
  1341.             private global::System.Data.DataColumn column挂号编号;
  1342.             
  1343.             private global::System.Data.DataColumn column医生;
  1344.             
  1345.             private global::System.Data.DataColumn column划价时间;
  1346.             
  1347.             private global::System.Data.DataColumn column划价员;
  1348.             
  1349.             private global::System.Data.DataColumn column是否收费;
  1350.             
  1351.             private global::System.Data.DataColumn column收费员;
  1352.             
  1353.             private global::System.Data.DataColumn column收费时间;
  1354.             
  1355.             private global::System.Data.DataColumn column划价金额;
  1356.             
  1357.             private global::System.Data.DataColumn column是否发药;
  1358.             
  1359.             private global::System.Data.DataColumn column发药时间;
  1360.             
  1361.             private global::System.Data.DataColumn column发药员;
  1362.             
  1363.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1364.             public 门诊划价DataTable() {
  1365.                 this.TableName = "门诊划价";
  1366.                 this.BeginInit();
  1367.                 this.InitClass();
  1368.                 this.EndInit();
  1369.             }
  1370.             
  1371.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1372.             internal 门诊划价DataTable(global::System.Data.DataTable table) {
  1373.                 this.TableName = table.TableName;
  1374.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1375.                     this.CaseSensitive = table.CaseSensitive;
  1376.                 }
  1377.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1378.                     this.Locale = table.Locale;
  1379.                 }
  1380.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1381.                     this.Namespace = table.Namespace;
  1382.                 }
  1383.                 this.Prefix = table.Prefix;
  1384.                 this.MinimumCapacity = table.MinimumCapacity;
  1385.             }
  1386.             
  1387.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1388.             protected 门诊划价DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  1389.                     base(info, context) {