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

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("DataSet3")]
  23.     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  24.     public partial class DataSet3 : global::System.Data.DataSet {
  25.         
  26.         private 门诊划价明细DataTable table门诊划价明细;
  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 DataSet3() {
  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 DataSet3(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["门诊划价明细"] != null)) {
  61.                     base.Tables.Add(new 门诊划价明细DataTable(ds.Tables["门诊划价明细"]));
  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 门诊划价明细DataTable 门诊划价明细 {
  94.             get {
  95.                 return this.table门诊划价明细;
  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.             DataSet3 cln = ((DataSet3)(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["门诊划价明细"] != null)) {
  186.                     base.Tables.Add(new 门诊划价明细DataTable(ds.Tables["门诊划价明细"]));
  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.table门诊划价明细 = ((门诊划价明细DataTable)(base.Tables["门诊划价明细"]));
  228.             if ((initTable == true)) {
  229.                 if ((this.table门诊划价明细 != null)) {
  230.                     this.table门诊划价明细.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 = "DataSet3";
  256.             this.Prefix = "";
  257.             this.Namespace = "http://www.tempuri.org/DataSet3.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.table门诊划价明细 = new 门诊划价明细DataTable();
  262.             base.Tables.Add(this.table门诊划价明细);
  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 ShouldSerialize门诊划价明细() {
  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.             DataSet3 ds = new DataSet3();
  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 门诊划价明细RowChangeEventHandler(object sender, 门诊划价明细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 门诊划价明细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.             private global::System.Data.DataColumn column划价编号;
  373.             
  374.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  375.             public 门诊划价明细DataTable() {
  376.                 this.TableName = "门诊划价明细";
  377.                 this.BeginInit();
  378.                 this.InitClass();
  379.                 this.EndInit();
  380.             }
  381.             
  382.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  383.             internal 门诊划价明细DataTable(global::System.Data.DataTable table) {
  384.                 this.TableName = table.TableName;
  385.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  386.                     this.CaseSensitive = table.CaseSensitive;
  387.                 }
  388.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  389.                     this.Locale = table.Locale;
  390.                 }
  391.                 if ((table.Namespace != table.DataSet.Namespace)) {
  392.                     this.Namespace = table.Namespace;
  393.                 }
  394.                 this.Prefix = table.Prefix;
  395.                 this.MinimumCapacity = table.MinimumCapacity;
  396.             }
  397.             
  398.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  399.             protected 门诊划价明细DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  400.                     base(info, context) {
  401.                 this.InitVars();
  402.             }
  403.             
  404.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  405.             public global::System.Data.DataColumn 编号Column {
  406.                 get {
  407.                     return this.column编号;
  408.                 }
  409.             }
  410.             
  411.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  412.             public global::System.Data.DataColumn 药品编号Column {
  413.                 get {
  414.                     return this.column药品编号;
  415.                 }
  416.             }
  417.             
  418.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  419.             public global::System.Data.DataColumn 名称Column {
  420.                 get {
  421.                     return this.column名称;
  422.                 }
  423.             }
  424.             
  425.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  426.             public global::System.Data.DataColumn 单价Column {
  427.                 get {
  428.                     return this.column单价;
  429.                 }
  430.             }
  431.             
  432.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  433.             public global::System.Data.DataColumn 数量Column {
  434.                 get {
  435.                     return this.column数量;
  436.                 }
  437.             }
  438.             
  439.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  440.             public global::System.Data.DataColumn 金额Column {
  441.                 get {
  442.                     return this.column金额;
  443.                 }
  444.             }
  445.             
  446.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  447.             public global::System.Data.DataColumn 划价编号Column {
  448.                 get {
  449.                     return this.column划价编号;
  450.                 }
  451.             }
  452.             
  453.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  454.             [global::System.ComponentModel.Browsable(false)]
  455.             public int Count {
  456.                 get {
  457.                     return this.Rows.Count;
  458.                 }
  459.             }
  460.             
  461.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  462.             public 门诊划价明细Row this[int index] {
  463.                 get {
  464.                     return ((门诊划价明细Row)(this.Rows[index]));
  465.                 }
  466.             }
  467.             
  468.             public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowChanging;
  469.             
  470.             public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowChanged;
  471.             
  472.             public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowDeleting;
  473.             
  474.             public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowDeleted;
  475.             
  476.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  477.             public void Add门诊划价明细Row(门诊划价明细Row row) {
  478.                 this.Rows.Add(row);
  479.             }
  480.             
  481.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  482.             public 门诊划价明细Row Add门诊划价明细Row(string 药品编号, string 名称, decimal 单价, decimal 数量, decimal 金额, string 划价编号) {
  483.                 门诊划价明细Row row门诊划价明细Row = ((门诊划价明细Row)(this.NewRow()));
  484.                 object[] columnValuesArray = new object[] {
  485.                         null,
  486.                         药品编号,
  487.                         名称,
  488.                         单价,
  489.                         数量,
  490.                         金额,
  491.                         划价编号};
  492.                 row门诊划价明细Row.ItemArray = columnValuesArray;
  493.                 this.Rows.Add(row门诊划价明细Row);
  494.                 return row门诊划价明细Row;
  495.             }
  496.             
  497.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  498.             public virtual global::System.Collections.IEnumerator GetEnumerator() {
  499.                 return this.Rows.GetEnumerator();
  500.             }
  501.             
  502.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  503.             public override global::System.Data.DataTable Clone() {
  504.                 门诊划价明细DataTable cln = ((门诊划价明细DataTable)(base.Clone()));
  505.                 cln.InitVars();
  506.                 return cln;
  507.             }
  508.             
  509.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  510.             protected override global::System.Data.DataTable CreateInstance() {
  511.                 return new 门诊划价明细DataTable();
  512.             }
  513.             
  514.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  515.             internal void InitVars() {
  516.                 this.column编号 = base.Columns["编号"];
  517.                 this.column药品编号 = base.Columns["药品编号"];
  518.                 this.column名称 = base.Columns["名称"];
  519.                 this.column单价 = base.Columns["单价"];
  520.                 this.column数量 = base.Columns["数量"];
  521.                 this.column金额 = base.Columns["金额"];
  522.                 this.column划价编号 = base.Columns["划价编号"];
  523.             }
  524.             
  525.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  526.             private void InitClass() {
  527.                 this.column编号 = new global::System.Data.DataColumn("编号", typeof(int), null, global::System.Data.MappingType.Element);
  528.                 base.Columns.Add(this.column编号);
  529.                 this.column药品编号 = new global::System.Data.DataColumn("药品编号", typeof(string), null, global::System.Data.MappingType.Element);
  530.                 base.Columns.Add(this.column药品编号);
  531.                 this.column名称 = new global::System.Data.DataColumn("名称", typeof(string), null, global::System.Data.MappingType.Element);
  532.                 base.Columns.Add(this.column名称);
  533.                 this.column单价 = new global::System.Data.DataColumn("单价", typeof(decimal), null, global::System.Data.MappingType.Element);
  534.                 base.Columns.Add(this.column单价);
  535.                 this.column数量 = new global::System.Data.DataColumn("数量", typeof(decimal), null, global::System.Data.MappingType.Element);
  536.                 base.Columns.Add(this.column数量);
  537.                 this.column金额 = new global::System.Data.DataColumn("金额", typeof(decimal), null, global::System.Data.MappingType.Element);
  538.                 base.Columns.Add(this.column金额);
  539.                 this.column划价编号 = new global::System.Data.DataColumn("划价编号", typeof(string), null, global::System.Data.MappingType.Element);
  540.                 base.Columns.Add(this.column划价编号);
  541.                 this.column编号.AutoIncrement = true;
  542.                 this.column编号.AllowDBNull = false;
  543.                 this.column编号.ReadOnly = true;
  544.                 this.column药品编号.AllowDBNull = false;
  545.                 this.column划价编号.AllowDBNull = false;
  546.             }
  547.             
  548.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  549.             public 门诊划价明细Row New门诊划价明细Row() {
  550.                 return ((门诊划价明细Row)(this.NewRow()));
  551.             }
  552.             
  553.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  554.             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  555.                 return new 门诊划价明细Row(builder);
  556.             }
  557.             
  558.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  559.             protected override global::System.Type GetRowType() {
  560.                 return typeof(门诊划价明细Row);
  561.             }
  562.             
  563.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  564.             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  565.                 base.OnRowChanged(e);
  566.                 if ((this.门诊划价明细RowChanged != null)) {
  567.                     this.门诊划价明细RowChanged(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
  568.                 }
  569.             }
  570.             
  571.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  572.             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  573.                 base.OnRowChanging(e);
  574.                 if ((this.门诊划价明细RowChanging != null)) {
  575.                     this.门诊划价明细RowChanging(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
  576.                 }
  577.             }
  578.             
  579.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  580.             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  581.                 base.OnRowDeleted(e);
  582.                 if ((this.门诊划价明细RowDeleted != null)) {
  583.                     this.门诊划价明细RowDeleted(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
  584.                 }
  585.             }
  586.             
  587.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  588.             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  589.                 base.OnRowDeleting(e);
  590.                 if ((this.门诊划价明细RowDeleting != null)) {
  591.                     this.门诊划价明细RowDeleting(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
  592.                 }
  593.             }
  594.             
  595.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  596.             public void Remove门诊划价明细Row(门诊划价明细Row row) {
  597.                 this.Rows.Remove(row);
  598.             }
  599.             
  600.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  601.             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  602.                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  603.                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  604.                 DataSet3 ds = new DataSet3();
  605.                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  606.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  607.                 any1.MinOccurs = new decimal(0);
  608.                 any1.MaxOccurs = decimal.MaxValue;
  609.                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  610.                 sequence.Items.Add(any1);
  611.                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  612.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  613.                 any2.MinOccurs = new decimal(1);
  614.                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  615.                 sequence.Items.Add(any2);
  616.                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  617.                 attribute1.Name = "namespace";
  618.                 attribute1.FixedValue = ds.Namespace;
  619.                 type.Attributes.Add(attribute1);
  620.                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  621.                 attribute2.Name = "tableTypeName";
  622.                 attribute2.FixedValue = "门诊划价明细DataTable";
  623.                 type.Attributes.Add(attribute2);
  624.                 type.Particle = sequence;
  625.                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  626.                 if (xs.Contains(dsSchema.TargetNamespace)) {
  627.                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  628.                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  629.                     try {
  630.                         global::System.Xml.Schema.XmlSchema schema = null;
  631.                         dsSchema.Write(s1);
  632.                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  633.                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  634.                             s2.SetLength(0);
  635.                             schema.Write(s2);
  636.                             if ((s1.Length == s2.Length)) {
  637.                                 s1.Position = 0;
  638.                                 s2.Position = 0;
  639.                                 for (; ((s1.Position != s1.Length) 
  640.                                             && (s1.ReadByte() == s2.ReadByte())); ) {
  641.                                     ;
  642.                                 }
  643.                                 if ((s1.Position == s1.Length)) {
  644.                                     return type;
  645.                                 }
  646.                             }
  647.                         }
  648.                     }
  649.                     finally {
  650.                         if ((s1 != null)) {
  651.                             s1.Close();
  652.                         }
  653.                         if ((s2 != null)) {
  654.                             s2.Close();
  655.                         }
  656.                     }
  657.                 }
  658.                 xs.Add(dsSchema);
  659.                 return type;
  660.             }
  661.         }
  662.         
  663.         /// <summary>
  664.         ///Represents the strongly named DataTable class.
  665.         ///</summary>
  666.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  667.         [global::System.Serializable()]
  668.         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  669.         public partial class 门诊划价DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
  670.             
  671.             private global::System.Data.DataColumn column姓名;
  672.             
  673.             private global::System.Data.DataColumn column性别;
  674.             
  675.             private global::System.Data.DataColumn column编号;
  676.             
  677.             private global::System.Data.DataColumn column科室;
  678.             
  679.             private global::System.Data.DataColumn column挂号编号;
  680.             
  681.             private global::System.Data.DataColumn column医生;
  682.             
  683.             private global::System.Data.DataColumn column划价时间;
  684.             
  685.             private global::System.Data.DataColumn column划价员;
  686.             
  687.             private global::System.Data.DataColumn column是否收费;
  688.             
  689.             private global::System.Data.DataColumn column收费员;
  690.             
  691.             private global::System.Data.DataColumn column收费时间;
  692.             
  693.             private global::System.Data.DataColumn column划价金额;
  694.             
  695.             private global::System.Data.DataColumn column是否发药;
  696.             
  697.             private global::System.Data.DataColumn column发药时间;
  698.             
  699.             private global::System.Data.DataColumn column发药员;
  700.             
  701.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  702.             public 门诊划价DataTable() {
  703.                 this.TableName = "门诊划价";
  704.                 this.BeginInit();
  705.                 this.InitClass();
  706.                 this.EndInit();
  707.             }
  708.             
  709.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  710.             internal 门诊划价DataTable(global::System.Data.DataTable table) {
  711.                 this.TableName = table.TableName;
  712.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  713.                     this.CaseSensitive = table.CaseSensitive;
  714.                 }
  715.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  716.                     this.Locale = table.Locale;
  717.                 }
  718.                 if ((table.Namespace != table.DataSet.Namespace)) {
  719.                     this.Namespace = table.Namespace;
  720.                 }
  721.                 this.Prefix = table.Prefix;
  722.                 this.MinimumCapacity = table.MinimumCapacity;
  723.             }
  724.             
  725.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  726.             protected 门诊划价DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  727.                     base(info, context) {
  728.                 this.InitVars();
  729.             }
  730.             
  731.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  732.             public global::System.Data.DataColumn 姓名Column {
  733.                 get {
  734.                     return this.column姓名;
  735.                 }
  736.             }
  737.             
  738.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  739.             public global::System.Data.DataColumn 性别Column {
  740.                 get {
  741.                     return this.column性别;
  742.                 }
  743.             }
  744.             
  745.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  746.             public global::System.Data.DataColumn 编号Column {
  747.                 get {
  748.                     return this.column编号;
  749.                 }
  750.             }
  751.             
  752.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  753.             public global::System.Data.DataColumn 科室Column {
  754.                 get {
  755.                     return this.column科室;
  756.                 }
  757.             }
  758.             
  759.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  760.             public global::System.Data.DataColumn 挂号编号Column {
  761.                 get {
  762.                     return this.column挂号编号;
  763.                 }
  764.             }
  765.             
  766.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  767.             public global::System.Data.DataColumn 医生Column {
  768.                 get {
  769.                     return this.column医生;
  770.                 }
  771.             }
  772.             
  773.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  774.             public global::System.Data.DataColumn 划价时间Column {
  775.                 get {
  776.                     return this.column划价时间;
  777.                 }
  778.             }
  779.             
  780.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  781.             public global::System.Data.DataColumn 划价员Column {
  782.                 get {
  783.                     return this.column划价员;
  784.                 }
  785.             }
  786.             
  787.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  788.             public global::System.Data.DataColumn 是否收费Column {
  789.                 get {
  790.                     return this.column是否收费;
  791.                 }
  792.             }
  793.             
  794.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  795.             public global::System.Data.DataColumn 收费员Column {
  796.                 get {
  797.                     return this.column收费员;
  798.                 }
  799.             }
  800.             
  801.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  802.             public global::System.Data.DataColumn 收费时间Column {
  803.                 get {
  804.                     return this.column收费时间;
  805.                 }
  806.             }
  807.             
  808.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  809.             public global::System.Data.DataColumn 划价金额Column {
  810.                 get {
  811.                     return this.column划价金额;
  812.                 }
  813.             }
  814.             
  815.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  816.             public global::System.Data.DataColumn 是否发药Column {
  817.                 get {
  818.                     return this.column是否发药;
  819.                 }
  820.             }
  821.             
  822.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  823.             public global::System.Data.DataColumn 发药时间Column {
  824.                 get {
  825.                     return this.column发药时间;
  826.                 }
  827.             }
  828.             
  829.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  830.             public global::System.Data.DataColumn 发药员Column {
  831.                 get {
  832.                     return this.column发药员;
  833.                 }
  834.             }
  835.             
  836.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  837.             [global::System.ComponentModel.Browsable(false)]
  838.             public int Count {
  839.                 get {
  840.                     return this.Rows.Count;
  841.                 }
  842.             }
  843.             
  844.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  845.             public 门诊划价Row this[int index] {
  846.                 get {
  847.                     return ((门诊划价Row)(this.Rows[index]));
  848.                 }
  849.             }
  850.             
  851.             public event 门诊划价RowChangeEventHandler 门诊划价RowChanging;
  852.             
  853.             public event 门诊划价RowChangeEventHandler 门诊划价RowChanged;
  854.             
  855.             public event 门诊划价RowChangeEventHandler 门诊划价RowDeleting;
  856.             
  857.             public event 门诊划价RowChangeEventHandler 门诊划价RowDeleted;
  858.             
  859.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  860.             public void Add门诊划价Row(门诊划价Row row) {
  861.                 this.Rows.Add(row);
  862.             }
  863.             
  864.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  865.             public 门诊划价Row Add门诊划价Row(string 姓名, string 性别, string 编号, string 科室, string 挂号编号, string 医生, System.DateTime 划价时间, string 划价员, string 是否收费, string 收费员, System.DateTime 收费时间, decimal 划价金额, string 是否发药, System.DateTime 发药时间, string 发药员) {
  866.                 门诊划价Row row门诊划价Row = ((门诊划价Row)(this.NewRow()));
  867.                 object[] columnValuesArray = new object[] {
  868.                         姓名,
  869.                         性别,
  870.                         编号,
  871.                         科室,
  872.                         挂号编号,
  873.                         医生,
  874.                         划价时间,
  875.                         划价员,
  876.                         是否收费,
  877.                         收费员,
  878.                         收费时间,
  879.                         划价金额,
  880.                         是否发药,
  881.                         发药时间,
  882.                         发药员};
  883.                 row门诊划价Row.ItemArray = columnValuesArray;
  884.                 this.Rows.Add(row门诊划价Row);
  885.                 return row门诊划价Row;
  886.             }
  887.             
  888.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  889.             public virtual global::System.Collections.IEnumerator GetEnumerator() {
  890.                 return this.Rows.GetEnumerator();
  891.             }
  892.             
  893.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  894.             public override global::System.Data.DataTable Clone() {
  895.                 门诊划价DataTable cln = ((门诊划价DataTable)(base.Clone()));
  896.                 cln.InitVars();
  897.                 return cln;
  898.             }
  899.             
  900.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  901.             protected override global::System.Data.DataTable CreateInstance() {
  902.                 return new 门诊划价DataTable();
  903.             }
  904.             
  905.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  906.             internal void InitVars() {
  907.                 this.column姓名 = base.Columns["姓名"];
  908.                 this.column性别 = base.Columns["性别"];
  909.                 this.column编号 = base.Columns["编号"];
  910.                 this.column科室 = base.Columns["科室"];
  911.                 this.column挂号编号 = base.Columns["挂号编号"];
  912.                 this.column医生 = base.Columns["医生"];
  913.                 this.column划价时间 = base.Columns["划价时间"];
  914.                 this.column划价员 = base.Columns["划价员"];
  915.                 this.column是否收费 = base.Columns["是否收费"];
  916.                 this.column收费员 = base.Columns["收费员"];
  917.                 this.column收费时间 = base.Columns["收费时间"];
  918.                 this.column划价金额 = base.Columns["划价金额"];
  919.                 this.column是否发药 = base.Columns["是否发药"];
  920.                 this.column发药时间 = base.Columns["发药时间"];
  921.                 this.column发药员 = base.Columns["发药员"];
  922.             }
  923.             
  924.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  925.             private void InitClass() {
  926.                 this.column姓名 = new global::System.Data.DataColumn("姓名", typeof(string), null, global::System.Data.MappingType.Element);
  927.                 base.Columns.Add(this.column姓名);
  928.                 this.column性别 = new global::System.Data.DataColumn("性别", typeof(string), null, global::System.Data.MappingType.Element);
  929.                 base.Columns.Add(this.column性别);
  930.                 this.column编号 = new global::System.Data.DataColumn("编号", typeof(string), null, global::System.Data.MappingType.Element);
  931.                 base.Columns.Add(this.column编号);
  932.                 this.column科室 = new global::System.Data.DataColumn("科室", typeof(string), null, global::System.Data.MappingType.Element);
  933.                 base.Columns.Add(this.column科室);
  934.                 this.column挂号编号 = new global::System.Data.DataColumn("挂号编号", typeof(string), null, global::System.Data.MappingType.Element);
  935.                 base.Columns.Add(this.column挂号编号);
  936.                 this.column医生 = new global::System.Data.DataColumn("医生", typeof(string), null, global::System.Data.MappingType.Element);
  937.                 base.Columns.Add(this.column医生);
  938.                 this.column划价时间 = new global::System.Data.DataColumn("划价时间", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  939.                 base.Columns.Add(this.column划价时间);
  940.                 this.column划价员 = new global::System.Data.DataColumn("划价员", typeof(string), null, global::System.Data.MappingType.Element);
  941.                 base.Columns.Add(this.column划价员);
  942.                 this.column是否收费 = new global::System.Data.DataColumn("是否收费", typeof(string), null, global::System.Data.MappingType.Element);
  943.                 base.Columns.Add(this.column是否收费);
  944.                 this.column收费员 = new global::System.Data.DataColumn("收费员", typeof(string), null, global::System.Data.MappingType.Element);
  945.                 base.Columns.Add(this.column收费员);
  946.                 this.column收费时间 = new global::System.Data.DataColumn("收费时间", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  947.                 base.Columns.Add(this.column收费时间);
  948.                 this.column划价金额 = new global::System.Data.DataColumn("划价金额", typeof(decimal), null, global::System.Data.MappingType.Element);
  949.                 base.Columns.Add(this.column划价金额);
  950.                 this.column是否发药 = new global::System.Data.DataColumn("是否发药", typeof(string), null, global::System.Data.MappingType.Element);
  951.                 base.Columns.Add(this.column是否发药);
  952.                 this.column发药时间 = new global::System.Data.DataColumn("发药时间", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  953.                 base.Columns.Add(this.column发药时间);
  954.                 this.column发药员 = new global::System.Data.DataColumn("发药员", typeof(string), null, global::System.Data.MappingType.Element);
  955.                 base.Columns.Add(this.column发药员);
  956.                 this.column编号.AllowDBNull = false;
  957.                 this.column划价时间.AllowDBNull = false;
  958.                 this.column划价金额.AllowDBNull = false;
  959.             }
  960.             
  961.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  962.             public 门诊划价Row New门诊划价Row() {
  963.                 return ((门诊划价Row)(this.NewRow()));
  964.             }
  965.             
  966.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  967.             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  968.                 return new 门诊划价Row(builder);
  969.             }
  970.             
  971.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  972.             protected override global::System.Type GetRowType() {
  973.                 return typeof(门诊划价Row);
  974.             }
  975.             
  976.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  977.             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  978.                 base.OnRowChanged(e);
  979.                 if ((this.门诊划价RowChanged != null)) {
  980.                     this.门诊划价RowChanged(this, new 门诊划价RowChangeEvent(((门诊划价Row)(e.Row)), e.Action));
  981.                 }
  982.             }
  983.             
  984.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  985.             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  986.                 base.OnRowChanging(e);
  987.                 if ((this.门诊划价RowChanging != null)) {
  988.                     this.门诊划价RowChanging(this, new 门诊划价RowChangeEvent(((门诊划价Row)(e.Row)), e.Action));
  989.                 }
  990.             }
  991.             
  992.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  993.             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  994.                 base.OnRowDeleted(e);
  995.                 if ((this.门诊划价RowDeleted != null)) {
  996.                     this.门诊划价RowDeleted(this, new 门诊划价RowChangeEvent(((门诊划价Row)(e.Row)), e.Action));
  997.                 }
  998.             }
  999.             
  1000.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1001.             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1002.                 base.OnRowDeleting(e);
  1003.                 if ((this.门诊划价RowDeleting != null)) {
  1004.                     this.门诊划价RowDeleting(this, new 门诊划价RowChangeEvent(((门诊划价Row)(e.Row)), e.Action));
  1005.                 }
  1006.             }
  1007.             
  1008.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1009.             public void Remove门诊划价Row(门诊划价Row row) {
  1010.                 this.Rows.Remove(row);
  1011.             }
  1012.             
  1013.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1014.             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1015.                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1016.                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1017.                 DataSet3 ds = new DataSet3();
  1018.                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1019.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1020.                 any1.MinOccurs = new decimal(0);
  1021.                 any1.MaxOccurs = decimal.MaxValue;
  1022.                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1023.                 sequence.Items.Add(any1);
  1024.                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1025.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1026.                 any2.MinOccurs = new decimal(1);
  1027.                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1028.                 sequence.Items.Add(any2);
  1029.                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1030.                 attribute1.Name = "namespace";
  1031.                 attribute1.FixedValue = ds.Namespace;
  1032.                 type.Attributes.Add(attribute1);
  1033.                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1034.                 attribute2.Name = "tableTypeName";
  1035.                 attribute2.FixedValue = "门诊划价DataTable";
  1036.                 type.Attributes.Add(attribute2);
  1037.                 type.Particle = sequence;
  1038.                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1039.                 if (xs.Contains(dsSchema.TargetNamespace)) {
  1040.                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1041.                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1042.                     try {
  1043.                         global::System.Xml.Schema.XmlSchema schema = null;
  1044.                         dsSchema.Write(s1);
  1045.                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1046.                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1047.                             s2.SetLength(0);
  1048.                             schema.Write(s2);
  1049.                             if ((s1.Length == s2.Length)) {
  1050.                                 s1.Position = 0;
  1051.                                 s2.Position = 0;
  1052.                                 for (; ((s1.Position != s1.Length) 
  1053.                                             && (s1.ReadByte() == s2.ReadByte())); ) {
  1054.                                     ;
  1055.                                 }
  1056.                                 if ((s1.Position == s1.Length)) {
  1057.                                     return type;
  1058.                                 }
  1059.                             }
  1060.                         }
  1061.                     }
  1062.                     finally {
  1063.                         if ((s1 != null)) {
  1064.                             s1.Close();
  1065.                         }
  1066.                         if ((s2 != null)) {
  1067.                             s2.Close();
  1068.                         }
  1069.                     }
  1070.                 }
  1071.                 xs.Add(dsSchema);
  1072.                 return type;
  1073.             }
  1074.         }
  1075.         
  1076.         /// <summary>
  1077.         ///Represents the strongly named DataTable class.
  1078.         ///</summary>
  1079.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1080.         [global::System.Serializable()]
  1081.         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1082.         public partial class 门诊挂号DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
  1083.             
  1084.             private global::System.Data.DataColumn column挂号科室;
  1085.             
  1086.             private global::System.Data.DataColumn column人数;
  1087.             
  1088.             private global::System.Data.DataColumn column挂号金额;
  1089.             
  1090.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1091.             public 门诊挂号DataTable() {
  1092.                 this.TableName = "门诊挂号";
  1093.                 this.BeginInit();
  1094.                 this.InitClass();
  1095.                 this.EndInit();
  1096.             }
  1097.             
  1098.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1099.             internal 门诊挂号DataTable(global::System.Data.DataTable table) {
  1100.                 this.TableName = table.TableName;
  1101.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1102.                     this.CaseSensitive = table.CaseSensitive;
  1103.                 }
  1104.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1105.                     this.Locale = table.Locale;
  1106.                 }
  1107.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1108.                     this.Namespace = table.Namespace;
  1109.                 }
  1110.                 this.Prefix = table.Prefix;
  1111.                 this.MinimumCapacity = table.MinimumCapacity;
  1112.             }
  1113.             
  1114.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1115.             protected 门诊挂号DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  1116.                     base(info, context) {
  1117.                 this.InitVars();
  1118.             }
  1119.             
  1120.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1121.             public global::System.Data.DataColumn 挂号科室Column {
  1122.                 get {
  1123.                     return this.column挂号科室;
  1124.                 }
  1125.             }
  1126.             
  1127.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1128.             public global::System.Data.DataColumn 人数Column {
  1129.                 get {
  1130.                     return this.column人数;
  1131.                 }
  1132.             }
  1133.             
  1134.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1135.             public global::System.Data.DataColumn 挂号金额Column {
  1136.                 get {
  1137.                     return this.column挂号金额;
  1138.                 }
  1139.             }
  1140.             
  1141.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1142.             [global::System.ComponentModel.Browsable(false)]
  1143.             public int Count {
  1144.                 get {
  1145.                     return this.Rows.Count;
  1146.                 }
  1147.             }
  1148.             
  1149.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1150.             public 门诊挂号Row this[int index] {
  1151.                 get {
  1152.                     return ((门诊挂号Row)(this.Rows[index]));
  1153.                 }
  1154.             }
  1155.             
  1156.             public event 门诊挂号RowChangeEventHandler 门诊挂号RowChanging;
  1157.             
  1158.             public event 门诊挂号RowChangeEventHandler 门诊挂号RowChanged;
  1159.             
  1160.             public event 门诊挂号RowChangeEventHandler 门诊挂号RowDeleting;
  1161.             
  1162.             public event 门诊挂号RowChangeEventHandler 门诊挂号RowDeleted;
  1163.             
  1164.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1165.             public void Add门诊挂号Row(门诊挂号Row row) {
  1166.                 this.Rows.Add(row);
  1167.             }
  1168.             
  1169.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1170.             public 门诊挂号Row Add门诊挂号Row(string 挂号科室, int 人数, decimal 挂号金额) {
  1171.                 门诊挂号Row row门诊挂号Row = ((门诊挂号Row)(this.NewRow()));
  1172.                 object[] columnValuesArray = new object[] {
  1173.                         挂号科室,
  1174.                         人数,
  1175.                         挂号金额};
  1176.                 row门诊挂号Row.ItemArray = columnValuesArray;
  1177.                 this.Rows.Add(row门诊挂号Row);
  1178.                 return row门诊挂号Row;
  1179.             }
  1180.             
  1181.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1182.             public virtual global::System.Collections.IEnumerator GetEnumerator() {
  1183.                 return this.Rows.GetEnumerator();
  1184.             }
  1185.             
  1186.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1187.             public override global::System.Data.DataTable Clone() {
  1188.                 门诊挂号DataTable cln = ((门诊挂号DataTable)(base.Clone()));
  1189.                 cln.InitVars();
  1190.                 return cln;
  1191.             }
  1192.             
  1193.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1194.             protected override global::System.Data.DataTable CreateInstance() {
  1195.                 return new 门诊挂号DataTable();
  1196.             }
  1197.             
  1198.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1199.             internal void InitVars() {
  1200.                 this.column挂号科室 = base.Columns["挂号科室"];
  1201.                 this.column人数 = base.Columns["人数"];
  1202.                 this.column挂号金额 = base.Columns["挂号金额"];
  1203.             }
  1204.             
  1205.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1206.             private void InitClass() {
  1207.                 this.column挂号科室 = new global::System.Data.DataColumn("挂号科室", typeof(string), null, global::System.Data.MappingType.Element);
  1208.                 base.Columns.Add(this.column挂号科室);
  1209.                 this.column人数 = new global::System.Data.DataColumn("人数", typeof(int), null, global::System.Data.MappingType.Element);
  1210.                 base.Columns.Add(this.column人数);
  1211.                 this.column挂号金额 = new global::System.Data.DataColumn("挂号金额", typeof(decimal), null, global::System.Data.MappingType.Element);
  1212.                 base.Columns.Add(this.column挂号金额);
  1213.                 this.column人数.ReadOnly = true;
  1214.                 this.column挂号金额.ReadOnly = true;
  1215.             }
  1216.             
  1217.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1218.             public 门诊挂号Row New门诊挂号Row() {
  1219.                 return ((门诊挂号Row)(this.NewRow()));
  1220.             }
  1221.             
  1222.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1223.             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1224.                 return new 门诊挂号Row(builder);
  1225.             }
  1226.             
  1227.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1228.             protected override global::System.Type GetRowType() {
  1229.                 return typeof(门诊挂号Row);
  1230.             }
  1231.             
  1232.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1233.             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1234.                 base.OnRowChanged(e);
  1235.                 if ((this.门诊挂号RowChanged != null)) {
  1236.                     this.门诊挂号RowChanged(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
  1237.                 }
  1238.             }
  1239.             
  1240.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1241.             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1242.                 base.OnRowChanging(e);
  1243.                 if ((this.门诊挂号RowChanging != null)) {
  1244.                     this.门诊挂号RowChanging(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
  1245.                 }
  1246.             }
  1247.             
  1248.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1249.             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1250.                 base.OnRowDeleted(e);
  1251.                 if ((this.门诊挂号RowDeleted != null)) {
  1252.                     this.门诊挂号RowDeleted(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
  1253.                 }
  1254.             }
  1255.             
  1256.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1257.             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1258.                 base.OnRowDeleting(e);
  1259.                 if ((this.门诊挂号RowDeleting != null)) {
  1260.                     this.门诊挂号RowDeleting(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
  1261.                 }
  1262.             }
  1263.             
  1264.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1265.             public void Remove门诊挂号Row(门诊挂号Row row) {
  1266.                 this.Rows.Remove(row);
  1267.             }
  1268.             
  1269.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1270.             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1271.                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1272.                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1273.                 DataSet3 ds = new DataSet3();
  1274.                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1275.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1276.                 any1.MinOccurs = new decimal(0);
  1277.                 any1.MaxOccurs = decimal.MaxValue;
  1278.                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1279.                 sequence.Items.Add(any1);
  1280.                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1281.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1282.                 any2.MinOccurs = new decimal(1);
  1283.                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1284.                 sequence.Items.Add(any2);
  1285.                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1286.                 attribute1.Name = "namespace";
  1287.                 attribute1.FixedValue = ds.Namespace;
  1288.                 type.Attributes.Add(attribute1);
  1289.                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1290.                 attribute2.Name = "tableTypeName";
  1291.                 attribute2.FixedValue = "门诊挂号DataTable";
  1292.                 type.Attributes.Add(attribute2);
  1293.                 type.Particle = sequence;
  1294.                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1295.                 if (xs.Contains(dsSchema.TargetNamespace)) {
  1296.                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1297.                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1298.                     try {
  1299.                         global::System.Xml.Schema.XmlSchema schema = null;
  1300.                         dsSchema.Write(s1);
  1301.                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1302.                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1303.                             s2.SetLength(0);
  1304.                             schema.Write(s2);
  1305.                             if ((s1.Length == s2.Length)) {
  1306.                                 s1.Position = 0;
  1307.                                 s2.Position = 0;
  1308.                                 for (; ((s1.Position != s1.Length) 
  1309.                                             && (s1.ReadByte() == s2.ReadByte())); ) {
  1310.                                     ;
  1311.                                 }
  1312.                                 if ((s1.Position == s1.Length)) {
  1313.                                     return type;
  1314.                                 }
  1315.                             }
  1316.                         }
  1317.                     }
  1318.                     finally {
  1319.                         if ((s1 != null)) {
  1320.                             s1.Close();
  1321.                         }
  1322.                         if ((s2 != null)) {
  1323.                             s2.Close();
  1324.                         }
  1325.                     }
  1326.                 }
  1327.                 xs.Add(dsSchema);
  1328.                 return type;
  1329.             }
  1330.         }
  1331.         
  1332.         /// <summary>
  1333.         ///Represents the strongly named DataTable class.
  1334.         ///</summary>
  1335.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1336.         [global::System.Serializable()]
  1337.         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1338.         public partial class 药品库存DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
  1339.             
  1340.             private global::System.Data.DataColumn column名称;
  1341.             
  1342.             private global::System.Data.DataColumn column编号;
  1343.             
  1344.             private global::System.Data.DataColumn column库房;
  1345.             
  1346.             private global::System.Data.DataColumn column药品编号;
  1347.             
  1348.             private global::System.Data.DataColumn column药品数量;
  1349.             
  1350.             private global::System.Data.DataColumn column备注;
  1351.             
  1352.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1353.             public 药品库存DataTable() {
  1354.                 this.TableName = "药品库存";
  1355.                 this.BeginInit();
  1356.                 this.InitClass();
  1357.                 this.EndInit();
  1358.             }
  1359.             
  1360.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1361.             internal 药品库存DataTable(global::System.Data.DataTable table) {
  1362.                 this.TableName = table.TableName;
  1363.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1364.                     this.CaseSensitive = table.CaseSensitive;
  1365.                 }
  1366.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1367.                     this.Locale = table.Locale;
  1368.                 }
  1369.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1370.                     this.Namespace = table.Namespace;
  1371.                 }
  1372.                 this.Prefix = table.Prefix;
  1373.                 this.MinimumCapacity = table.MinimumCapacity;
  1374.             }
  1375.             
  1376.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1377.             protected 药品库存DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  1378.                     base(info, context) {
  1379.                 this.InitVars();
  1380.             }
  1381.             
  1382.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1383.             public global::System.Data.DataColumn 名称Column {
  1384.                 get {
  1385.                     return this.column名称;
  1386.                 }
  1387.             }
  1388.             
  1389.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1390.             public global::System.Data.DataColumn 编号Column {
  1391.                 get {
  1392.                     return this.column编号;
  1393.                 }
  1394.             }
  1395.             
  1396.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1397.             public global::System.Data.DataColumn 库房Column {
  1398.                 get {
  1399.                     return this.column库房;
  1400.                 }
  1401.             }
  1402.             
  1403.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1404.             public global::System.Data.DataColumn 药品编号Column {
  1405.                 get {
  1406.                     return this.column药品编号;
  1407.                 }
  1408.             }
  1409.             
  1410.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1411.             public global::System.Data.DataColumn 药品数量Column {
  1412.                 get {
  1413.                     return this.column药品数量;
  1414.                 }
  1415.             }
  1416.             
  1417.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1418.             public global::System.Data.DataColumn 备注Column {
  1419.                 get {
  1420.                     return this.column备注;
  1421.                 }
  1422.             }
  1423.             
  1424.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1425.             [global::System.ComponentModel.Browsable(false)]
  1426.             public int Count {
  1427.                 get {
  1428.                     return this.Rows.Count;
  1429.                 }
  1430.             }
  1431.             
  1432.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1433.             public 药品库存Row this[int index] {
  1434.                 get {
  1435.                     return ((药品库存Row)(this.Rows[index]));
  1436.                 }
  1437.             }
  1438.             
  1439.             public event 药品库存RowChangeEventHandler 药品库存RowChanging;
  1440.             
  1441.             public event 药品库存RowChangeEventHandler 药品库存RowChanged;
  1442.             
  1443.             public event 药品库存RowChangeEventHandler 药品库存RowDeleting;
  1444.             
  1445.             public event 药品库存RowChangeEventHandler 药品库存RowDeleted;
  1446.             
  1447.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1448.             public void Add药品库存Row(药品库存Row row) {
  1449.                 this.Rows.Add(row);
  1450.             }
  1451.             
  1452.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1453.             public 药品库存Row Add药品库存Row(string 名称, string 库房, string 药品编号, decimal 药品数量, string 备注) {
  1454.                 药品库存Row row药品库存Row = ((药品库存Row)(this.NewRow()));
  1455.                 object[] columnValuesArray = new object[] {
  1456.                         名称,
  1457.                         null,
  1458.                         库房,
  1459.                         药品编号,
  1460.                         药品数量,
  1461.                         备注};
  1462.                 row药品库存Row.ItemArray = columnValuesArray;
  1463.                 this.Rows.Add(row药品库存Row);
  1464.                 return row药品库存Row;
  1465.             }
  1466.             
  1467.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1468.             public virtual global::System.Collections.IEnumerator GetEnumerator() {
  1469.                 return this.Rows.GetEnumerator();
  1470.             }
  1471.             
  1472.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1473.             public override global::System.Data.DataTable Clone() {
  1474.                 药品库存DataTable cln = ((药品库存DataTable)(base.Clone()));
  1475.                 cln.InitVars();
  1476.                 return cln;
  1477.             }
  1478.             
  1479.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1480.             protected override global::System.Data.DataTable CreateInstance() {
  1481.                 return new 药品库存DataTable();
  1482.             }
  1483.             
  1484.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1485.             internal void InitVars() {
  1486.                 this.column名称 = base.Columns["名称"];
  1487.                 this.column编号 = base.Columns["编号"];
  1488.                 this.column库房 = base.Columns["库房"];
  1489.                 this.column药品编号 = base.Columns["药品编号"];
  1490.                 this.column药品数量 = base.Columns["药品数量"];
  1491.                 this.column备注 = base.Columns["备注"];
  1492.             }
  1493.             
  1494.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1495.             private void InitClass() {
  1496.                 this.column名称 = new global::System.Data.DataColumn("名称", typeof(string), null, global::System.Data.MappingType.Element);
  1497.                 base.Columns.Add(this.column名称);
  1498.                 this.column编号 = new global::System.Data.DataColumn("编号", typeof(int), null, global::System.Data.MappingType.Element);
  1499.                 base.Columns.Add(this.column编号);
  1500.                 this.column库房 = new global::System.Data.DataColumn("库房", typeof(string), null, global::System.Data.MappingType.Element);
  1501.                 base.Columns.Add(this.column库房);
  1502.                 this.column药品编号 = new global::System.Data.DataColumn("药品编号", typeof(string), null, global::System.Data.MappingType.Element);
  1503.                 base.Columns.Add(this.column药品编号);
  1504.                 this.column药品数量 = new global::System.Data.DataColumn("药品数量", typeof(decimal), null, global::System.Data.MappingType.Element);
  1505.                 base.Columns.Add(this.column药品数量);
  1506.                 this.column备注 = new global::System.Data.DataColumn("备注", typeof(string), null, global::System.Data.MappingType.Element);
  1507.                 base.Columns.Add(this.column备注);
  1508.                 this.column编号.AutoIncrement = true;
  1509.                 this.column编号.AllowDBNull = false;
  1510.                 this.column编号.ReadOnly = true;
  1511.                 this.column药品编号.AllowDBNull = false;
  1512.             }
  1513.             
  1514.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1515.             public 药品库存Row New药品库存Row() {
  1516.                 return ((药品库存Row)(this.NewRow()));
  1517.             }
  1518.             
  1519.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1520.             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1521.                 return new 药品库存Row(builder);
  1522.             }
  1523.             
  1524.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1525.             protected override global::System.Type GetRowType() {
  1526.                 return typeof(药品库存Row);
  1527.             }
  1528.             
  1529.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1530.             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1531.                 base.OnRowChanged(e);
  1532.                 if ((this.药品库存RowChanged != null)) {
  1533.                     this.药品库存RowChanged(this, new 药品库存RowChangeEvent(((药品库存Row)(e.Row)), e.Action));
  1534.                 }
  1535.             }
  1536.             
  1537.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1538.             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1539.                 base.OnRowChanging(e);
  1540.                 if ((this.药品库存RowChanging != null)) {
  1541.                     this.药品库存RowChanging(this, new 药品库存RowChangeEvent(((药品库存Row)(e.Row)), e.Action));
  1542.                 }
  1543.             }
  1544.             
  1545.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1546.             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1547.                 base.OnRowDeleted(e);
  1548.                 if ((this.药品库存RowDeleted != null)) {
  1549.                     this.药品库存RowDeleted(this, new 药品库存RowChangeEvent(((药品库存Row)(e.Row)), e.Action));
  1550.                 }
  1551.             }
  1552.             
  1553.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1554.             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1555.                 base.OnRowDeleting(e);
  1556.                 if ((this.药品库存RowDeleting != null)) {
  1557.                     this.药品库存RowDeleting(this, new 药品库存RowChangeEvent(((药品库存Row)(e.Row)), e.Action));
  1558.                 }
  1559.             }
  1560.             
  1561.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1562.             public void Remove药品库存Row(药品库存Row row) {
  1563.                 this.Rows.Remove(row);
  1564.             }
  1565.             
  1566.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1567.             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1568.                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1569.                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1570.                 DataSet3 ds = new DataSet3();
  1571.                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1572.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1573.                 any1.MinOccurs = new decimal(0);
  1574.                 any1.MaxOccurs = decimal.MaxValue;
  1575.                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1576.                 sequence.Items.Add(any1);
  1577.                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1578.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1579.                 any2.MinOccurs = new decimal(1);
  1580.                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1581.                 sequence.Items.Add(any2);
  1582.                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1583.                 attribute1.Name = "namespace";
  1584.                 attribute1.FixedValue = ds.Namespace;
  1585.                 type.Attributes.Add(attribute1);
  1586.                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1587.                 attribute2.Name = "tableTypeName";
  1588.                 attribute2.FixedValue = "药品库存DataTable";
  1589.                 type.Attributes.Add(attribute2);
  1590.                 type.Particle = sequence;
  1591.                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1592.                 if (xs.Contains(dsSchema.TargetNamespace)) {
  1593.                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1594.                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1595.                     try {
  1596.                         global::System.Xml.Schema.XmlSchema schema = null;
  1597.                         dsSchema.Write(s1);
  1598.                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1599.                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1600.                             s2.SetLength(0);
  1601.                             schema.Write(s2);
  1602.                             if ((s1.Length == s2.Length)) {
  1603.                                 s1.Position = 0;
  1604.                                 s2.Position = 0;
  1605.                                 for (; ((s1.Position != s1.Length) 
  1606.                                             && (s1.ReadByte() == s2.ReadByte())); ) {
  1607.                                     ;
  1608.                                 }
  1609.                                 if ((s1.Position == s1.Length)) {
  1610.                                     return type;
  1611.                                 }
  1612.                             }
  1613.                         }
  1614.                     }
  1615.                     finally {
  1616.                         if ((s1 != null)) {
  1617.                             s1.Close();
  1618.                         }
  1619.                         if ((s2 != null)) {
  1620.                             s2.Close();
  1621.                         }
  1622.                     }
  1623.                 }
  1624.                 xs.Add(dsSchema);
  1625.                 return type;
  1626.             }
  1627.         }
  1628.         
  1629.         /// <summary>
  1630.         ///Represents strongly named DataRow class.
  1631.         ///</summary>
  1632.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1633.         public partial class 门诊划价明细Row : global::System.Data.DataRow {
  1634.             
  1635.             private 门诊划价明细DataTable table门诊划价明细;
  1636.             
  1637.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1638.             internal 门诊划价明细Row(global::System.Data.DataRowBuilder rb) : 
  1639.                     base(rb) {
  1640.                 this.table门诊划价明细 = ((门诊划价明细DataTable)(this.Table));
  1641.             }
  1642.             
  1643.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1644.             public int 编号 {
  1645.                 get {
  1646.                     return ((int)(this[this.table门诊划价明细.编号Column]));
  1647.                 }
  1648.                 set {
  1649.                     this[this.table门诊划价明细.编号Column] = value;
  1650.                 }
  1651.             }
  1652.             
  1653.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1654.             public string 药品编号 {
  1655.                 get {
  1656.                     return ((string)(this[this.table门诊划价明细.药品编号Column]));
  1657.                 }
  1658.                 set {
  1659.                     this[this.table门诊划价明细.药品编号Column] = value;
  1660.                 }
  1661.             }
  1662.             
  1663.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1664.             public string 名称 {
  1665.                 get {
  1666.                     try {
  1667.                         return ((string)(this[this.table门诊划价明细.名称Column]));
  1668.                     }
  1669.                     catch (global::System.InvalidCastException e) {
  1670.                         throw new global::System.Data.StrongTypingException("表“门诊划价明细”中列“名称”的值为 DBNull。", e);
  1671.                     }
  1672.                 }
  1673.                 set {
  1674.                     this[this.table门诊划价明细.名称Column] = value;
  1675.                 }
  1676.             }
  1677.             
  1678.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1679.             public decimal 单价 {
  1680.                 get {
  1681.                     try {
  1682.                         return ((decimal)(this[this.table门诊划价明细.单价Column]));
  1683.                     }
  1684.                     catch (global::System.InvalidCastException e) {
  1685.                         throw new global::System.Data.StrongTypingException("表“门诊划价明细”中列“单价”的值为 DBNull。", e);
  1686.                     }
  1687.                 }
  1688.                 set {
  1689.                     this[this.table门诊划价明细.单价Column] = value;
  1690.                 }
  1691.             }
  1692.             
  1693.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1694.             public decimal 数量 {
  1695.                 get {
  1696.                     try {
  1697.                         return ((decimal)(this[this.table门诊划价明细.数量Column]));
  1698.                     }
  1699.                     catch (global::System.InvalidCastException e) {
  1700.                         throw new global::System.Data.StrongTypingException("表“门诊划价明细”中列“数量”的值为 DBNull。", e);
  1701.                     }
  1702.                 }
  1703.                 set {
  1704.                     this[this.table门诊划价明细.数量Column] = value;
  1705.                 }
  1706.             }
  1707.             
  1708.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1709.             public decimal 金额 {
  1710.                 get {
  1711.                     try {
  1712.                         return ((decimal)(this[this.table门诊划价明细.金额Column]));
  1713.                     }
  1714.                     catch (global::System.InvalidCastException e) {
  1715.                         throw new global::System.Data.StrongTypingException("表“门诊划价明细”中列“金额”的值为 DBNull。", e);
  1716.                     }
  1717.                 }
  1718.                 set {
  1719.                     this[this.table门诊划价明细.金额Column] = value;
  1720.                 }
  1721.             }
  1722.             
  1723.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1724.             public string 划价编号 {
  1725.                 get {
  1726.                     return ((string)(this[this.table门诊划价明细.划价编号Column]));
  1727.                 }
  1728.                 set {
  1729.                     this[this.table门诊划价明细.划价编号Column] = value;
  1730.                 }
  1731.             }
  1732.             
  1733.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1734.             public bool Is名称Null() {
  1735.                 return this.IsNull(this.table门诊划价明细.名称Column);
  1736.             }
  1737.             
  1738.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1739.             public void Set名称Null() {
  1740.                 this[this.table门诊划价明细.名称Column] = global::System.Convert.DBNull;
  1741.             }
  1742.             
  1743.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1744.             public bool Is单价Null() {
  1745.                 return this.IsNull(this.table门诊划价明细.单价Column);
  1746.             }
  1747.             
  1748.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1749.             public void Set单价Null() {
  1750.                 this[this.table门诊划价明细.单价Column] = global::System.Convert.DBNull;
  1751.             }
  1752.             
  1753.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1754.             public bool Is数量Null() {
  1755.                 return this.IsNull(this.table门诊划价明细.数量Column);
  1756.             }
  1757.             
  1758.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1759.             public void Set数量Null() {
  1760.                 this[this.table门诊划价明细.数量Column] = global::System.Convert.DBNull;
  1761.             }
  1762.             
  1763.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1764.             public bool Is金额Null() {
  1765.                 return this.IsNull(this.table门诊划价明细.金额Column);
  1766.             }
  1767.             
  1768.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1769.             public void Set金额Null() {
  1770.                 this[this.table门诊划价明细.金额Column] = global::System.Convert.DBNull;
  1771.             }
  1772.         }
  1773.         
  1774.         /// <summary>
  1775.         ///Represents strongly named DataRow class.
  1776.         ///</summary>
  1777.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1778.         public partial class 门诊划价Row : global::System.Data.DataRow {
  1779.             
  1780.             private 门诊划价DataTable table门诊划价;
  1781.             
  1782.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1783.             internal 门诊划价Row(global::System.Data.DataRowBuilder rb) : 
  1784.                     base(rb) {
  1785.                 this.table门诊划价 = ((门诊划价DataTable)(this.Table));
  1786.             }
  1787.             
  1788.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1789.             public string 姓名 {
  1790.                 get {
  1791.                     try {
  1792.                         return ((string)(this[this.table门诊划价.姓名Column]));
  1793.                     }
  1794.                     catch (global::System.InvalidCastException e) {
  1795.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“姓名”的值为 DBNull。", e);
  1796.                     }
  1797.                 }
  1798.                 set {
  1799.                     this[this.table门诊划价.姓名Column] = value;
  1800.                 }
  1801.             }
  1802.             
  1803.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1804.             public string 性别 {
  1805.                 get {
  1806.                     try {
  1807.                         return ((string)(this[this.table门诊划价.性别Column]));
  1808.                     }
  1809.                     catch (global::System.InvalidCastException e) {
  1810.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“性别”的值为 DBNull。", e);
  1811.                     }
  1812.                 }
  1813.                 set {
  1814.                     this[this.table门诊划价.性别Column] = value;
  1815.                 }
  1816.             }
  1817.             
  1818.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1819.             public string 编号 {
  1820.                 get {
  1821.                     return ((string)(this[this.table门诊划价.编号Column]));
  1822.                 }
  1823.                 set {
  1824.                     this[this.table门诊划价.编号Column] = value;
  1825.                 }
  1826.             }
  1827.             
  1828.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1829.             public string 科室 {
  1830.                 get {
  1831.                     try {
  1832.                         return ((string)(this[this.table门诊划价.科室Column]));
  1833.                     }
  1834.                     catch (global::System.InvalidCastException e) {
  1835.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“科室”的值为 DBNull。", e);
  1836.                     }
  1837.                 }
  1838.                 set {
  1839.                     this[this.table门诊划价.科室Column] = value;
  1840.                 }
  1841.             }
  1842.             
  1843.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1844.             public string 挂号编号 {
  1845.                 get {
  1846.                     try {
  1847.                         return ((string)(this[this.table门诊划价.挂号编号Column]));
  1848.                     }
  1849.                     catch (global::System.InvalidCastException e) {
  1850.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“挂号编号”的值为 DBNull。", e);
  1851.                     }
  1852.                 }
  1853.                 set {
  1854.                     this[this.table门诊划价.挂号编号Column] = value;
  1855.                 }
  1856.             }
  1857.             
  1858.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1859.             public string 医生 {
  1860.                 get {
  1861.                     try {
  1862.                         return ((string)(this[this.table门诊划价.医生Column]));
  1863.                     }
  1864.                     catch (global::System.InvalidCastException e) {
  1865.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“医生”的值为 DBNull。", e);
  1866.                     }
  1867.                 }
  1868.                 set {
  1869.                     this[this.table门诊划价.医生Column] = value;
  1870.                 }
  1871.             }
  1872.             
  1873.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1874.             public System.DateTime 划价时间 {
  1875.                 get {
  1876.                     return ((global::System.DateTime)(this[this.table门诊划价.划价时间Column]));
  1877.                 }
  1878.                 set {
  1879.                     this[this.table门诊划价.划价时间Column] = value;
  1880.                 }
  1881.             }
  1882.             
  1883.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1884.             public string 划价员 {
  1885.                 get {
  1886.                     try {
  1887.                         return ((string)(this[this.table门诊划价.划价员Column]));
  1888.                     }
  1889.                     catch (global::System.InvalidCastException e) {
  1890.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“划价员”的值为 DBNull。", e);
  1891.                     }
  1892.                 }
  1893.                 set {
  1894.                     this[this.table门诊划价.划价员Column] = value;
  1895.                 }
  1896.             }
  1897.             
  1898.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1899.             public string 是否收费 {
  1900.                 get {
  1901.                     try {
  1902.                         return ((string)(this[this.table门诊划价.是否收费Column]));
  1903.                     }
  1904.                     catch (global::System.InvalidCastException e) {
  1905.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“是否收费”的值为 DBNull。", e);
  1906.                     }
  1907.                 }
  1908.                 set {
  1909.                     this[this.table门诊划价.是否收费Column] = value;
  1910.                 }
  1911.             }
  1912.             
  1913.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1914.             public string 收费员 {
  1915.                 get {
  1916.                     try {
  1917.                         return ((string)(this[this.table门诊划价.收费员Column]));
  1918.                     }
  1919.                     catch (global::System.InvalidCastException e) {
  1920.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“收费员”的值为 DBNull。", e);
  1921.                     }
  1922.                 }
  1923.                 set {
  1924.                     this[this.table门诊划价.收费员Column] = value;
  1925.                 }
  1926.             }
  1927.             
  1928.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1929.             public System.DateTime 收费时间 {
  1930.                 get {
  1931.                     try {
  1932.                         return ((global::System.DateTime)(this[this.table门诊划价.收费时间Column]));
  1933.                     }
  1934.                     catch (global::System.InvalidCastException e) {
  1935.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“收费时间”的值为 DBNull。", e);
  1936.                     }
  1937.                 }
  1938.                 set {
  1939.                     this[this.table门诊划价.收费时间Column] = value;
  1940.                 }
  1941.             }
  1942.             
  1943.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1944.             public decimal 划价金额 {
  1945.                 get {
  1946.                     return ((decimal)(this[this.table门诊划价.划价金额Column]));
  1947.                 }
  1948.                 set {
  1949.                     this[this.table门诊划价.划价金额Column] = value;
  1950.                 }
  1951.             }
  1952.             
  1953.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1954.             public string 是否发药 {
  1955.                 get {
  1956.                     try {
  1957.                         return ((string)(this[this.table门诊划价.是否发药Column]));
  1958.                     }
  1959.                     catch (global::System.InvalidCastException e) {
  1960.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“是否发药”的值为 DBNull。", e);
  1961.                     }
  1962.                 }
  1963.                 set {
  1964.                     this[this.table门诊划价.是否发药Column] = value;
  1965.                 }
  1966.             }
  1967.             
  1968.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1969.             public System.DateTime 发药时间 {
  1970.                 get {
  1971.                     try {
  1972.                         return ((global::System.DateTime)(this[this.table门诊划价.发药时间Column]));
  1973.                     }
  1974.                     catch (global::System.InvalidCastException e) {
  1975.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“发药时间”的值为 DBNull。", e);
  1976.                     }
  1977.                 }
  1978.                 set {
  1979.                     this[this.table门诊划价.发药时间Column] = value;
  1980.                 }
  1981.             }
  1982.             
  1983.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1984.             public string 发药员 {
  1985.                 get {
  1986.                     try {
  1987.                         return ((string)(this[this.table门诊划价.发药员Column]));
  1988.                     }
  1989.                     catch (global::System.InvalidCastException e) {
  1990.                         throw new global::System.Data.StrongTypingException("表“门诊划价”中列“发药员”的值为 DBNull。", e);
  1991.                     }
  1992.                 }
  1993.                 set {
  1994.                     this[this.table门诊划价.发药员Column] = value;
  1995.                 }
  1996.             }
  1997.             
  1998.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1999.             public bool Is姓名Null() {
  2000.                 return this.IsNull(this.table门诊划价.姓名Column);
  2001.             }
  2002.             
  2003.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2004.             public void Set姓名Null() {
  2005.                 this[this.table门诊划价.姓名Column] = global::System.Convert.DBNull;
  2006.             }
  2007.             
  2008.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2009.             public bool Is性别Null() {
  2010.                 return this.IsNull(this.table门诊划价.性别Column);
  2011.             }
  2012.             
  2013.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2014.             public void Set性别Null() {
  2015.                 this[this.table门诊划价.性别Column] = global::System.Convert.DBNull;
  2016.             }
  2017.             
  2018.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2019.             public bool Is科室Null() {
  2020.                 return this.IsNull(this.table门诊划价.科室Column);
  2021.             }
  2022.             
  2023.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2024.             public void Set科室Null() {
  2025.                 this[this.table门诊划价.科室Column] = global::System.Convert.DBNull;
  2026.             }
  2027.             
  2028.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2029.             public bool Is挂号编号Null() {
  2030.                 return this.IsNull(this.table门诊划价.挂号编号Column);
  2031.             }
  2032.             
  2033.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2034.             public void Set挂号编号Null() {
  2035.                 this[this.table门诊划价.挂号编号Column] = global::System.Convert.DBNull;
  2036.             }
  2037.             
  2038.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2039.             public bool Is医生Null() {
  2040.                 return this.IsNull(this.table门诊划价.医生Column);
  2041.             }
  2042.             
  2043.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2044.             public void Set医生Null() {
  2045.                 this[this.table门诊划价.医生Column] = global::System.Convert.DBNull;
  2046.             }
  2047.             
  2048.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2049.             public bool Is划价员Null() {
  2050.                 return this.IsNull(this.table门诊划价.划价员Column);
  2051.             }
  2052.             
  2053.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2054.             public void Set划价员Null() {
  2055.                 this[this.table门诊划价.划价员Column] = global::System.Convert.DBNull;
  2056.             }
  2057.             
  2058.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2059.             public bool Is是否收费Null() {
  2060.                 return this.IsNull(this.table门诊划价.是否收费Column);
  2061.             }
  2062.             
  2063.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2064.             public void Set是否收费Null() {
  2065.                 this[this.table门诊划价.是否收费Column] = global::System.Convert.DBNull;
  2066.             }
  2067.             
  2068.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2069.             public bool Is收费员Null() {
  2070.                 return this.IsNull(this.table门诊划价.收费员Column);
  2071.             }
  2072.             
  2073.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2074.             public void Set收费员Null() {
  2075.                 this[this.table门诊划价.收费员Column] = global::System.Convert.DBNull;
  2076.             }
  2077.             
  2078.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2079.             public bool Is收费时间Null() {
  2080.                 return this.IsNull(this.table门诊划价.收费时间Column);
  2081.             }
  2082.             
  2083.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2084.             public void Set收费时间Null() {
  2085.                 this[this.table门诊划价.收费时间Column] = global::System.Convert.DBNull;
  2086.             }
  2087.             
  2088.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2089.             public bool Is是否发药Null() {
  2090.                 return this.IsNull(this.table门诊划价.是否发药Column);
  2091.             }
  2092.             
  2093.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2094.             public void Set是否发药Null() {
  2095.                 this[this.table门诊划价.是否发药Column] = global::System.Convert.DBNull;
  2096.             }
  2097.             
  2098.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2099.             public bool Is发药时间Null() {
  2100.                 return this.IsNull(this.table门诊划价.发药时间Column);
  2101.             }
  2102.             
  2103.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2104.             public void Set发药时间Null() {
  2105.                 this[this.table门诊划价.发药时间Column] = global::System.Convert.DBNull;
  2106.             }
  2107.             
  2108.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2109.             public bool Is发药员Null() {
  2110.                 return this.IsNull(this.table门诊划价.发药员Column);
  2111.             }
  2112.             
  2113.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2114.             public void Set发药员Null() {
  2115.                 this[this.table门诊划价.发药员Column] = global::System.Convert.DBNull;
  2116.             }
  2117.         }
  2118.         
  2119.         /// <summary>
  2120.         ///Represents strongly named DataRow class.
  2121.         ///</summary>
  2122.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2123.         public partial class 门诊挂号Row : global::System.Data.DataRow {
  2124.             
  2125.             private 门诊挂号DataTable table门诊挂号;
  2126.             
  2127.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2128.             internal 门诊挂号Row(global::System.Data.DataRowBuilder rb) : 
  2129.                     base(rb) {
  2130.                 this.table门诊挂号 = ((门诊挂号DataTable)(this.Table));
  2131.             }
  2132.             
  2133.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2134.             public string 挂号科室 {
  2135.                 get {
  2136.                     try {
  2137.                         return ((string)(this[this.table门诊挂号.挂号科室Column]));
  2138.                     }
  2139.                     catch (global::System.InvalidCastException e) {
  2140.                         throw new global::System.Data.StrongTypingException("表“门诊挂号”中列“挂号科室”的值为 DBNull。", e);
  2141.                     }
  2142.                 }
  2143.                 set {
  2144.                     this[this.table门诊挂号.挂号科室Column] = value;
  2145.                 }
  2146.             }
  2147.             
  2148.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2149.             public int 人数 {
  2150.                 get {
  2151.                     try {
  2152.                         return ((int)(this[this.table门诊挂号.人数Column]));
  2153.                     }
  2154.                     catch (global::System.InvalidCastException e) {
  2155.                         throw new global::System.Data.StrongTypingException("表“门诊挂号”中列“人数”的值为 DBNull。", e);
  2156.                     }
  2157.                 }
  2158.                 set {
  2159.                     this[this.table门诊挂号.人数Column] = value;
  2160.                 }
  2161.             }
  2162.             
  2163.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2164.             public decimal 挂号金额 {
  2165.                 get {
  2166.                     try {
  2167.                         return ((decimal)(this[this.table门诊挂号.挂号金额Column]));
  2168.                     }
  2169.                     catch (global::System.InvalidCastException e) {
  2170.                         throw new global::System.Data.StrongTypingException("表“门诊挂号”中列“挂号金额”的值为 DBNull。", e);
  2171.                     }
  2172.                 }
  2173.                 set {
  2174.                     this[this.table门诊挂号.挂号金额Column] = value;
  2175.                 }
  2176.             }
  2177.             
  2178.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2179.             public bool Is挂号科室Null() {
  2180.                 return this.IsNull(this.table门诊挂号.挂号科室Column);
  2181.             }
  2182.             
  2183.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2184.             public void Set挂号科室Null() {
  2185.                 this[this.table门诊挂号.挂号科室Column] = global::System.Convert.DBNull;
  2186.             }
  2187.             
  2188.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2189.             public bool Is人数Null() {
  2190.                 return this.IsNull(this.table门诊挂号.人数Column);
  2191.             }
  2192.             
  2193.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2194.             public void Set人数Null() {
  2195.                 this[this.table门诊挂号.人数Column] = global::System.Convert.DBNull;
  2196.             }
  2197.             
  2198.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2199.             public bool Is挂号金额Null() {
  2200.                 return this.IsNull(this.table门诊挂号.挂号金额Column);
  2201.             }
  2202.             
  2203.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2204.             public void Set挂号金额Null() {
  2205.                 this[this.table门诊挂号.挂号金额Column] = global::System.Convert.DBNull;
  2206.             }
  2207.         }
  2208.         
  2209.         /// <summary>
  2210.         ///Represents strongly named DataRow class.
  2211.         ///</summary>
  2212.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2213.         public partial class 药品库存Row : global::System.Data.DataRow {
  2214.             
  2215.             private 药品库存DataTable table药品库存;
  2216.             
  2217.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2218.             internal 药品库存Row(global::System.Data.DataRowBuilder rb) : 
  2219.                     base(rb) {
  2220.                 this.table药品库存 = ((药品库存DataTable)(this.Table));
  2221.             }
  2222.             
  2223.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2224.             public string 名称 {
  2225.                 get {
  2226.                     try {
  2227.                         return ((string)(this[this.table药品库存.名称Column]));
  2228.                     }
  2229.                     catch (global::System.InvalidCastException e) {
  2230.                         throw new global::System.Data.StrongTypingException("表“药品库存”中列“名称”的值为 DBNull。", e);
  2231.                     }
  2232.                 }
  2233.                 set {
  2234.                     this[this.table药品库存.名称Column] = value;
  2235.                 }
  2236.             }
  2237.             
  2238.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2239.             public int 编号 {
  2240.                 get {
  2241.                     return ((int)(this[this.table药品库存.编号Column]));
  2242.                 }
  2243.                 set {
  2244.                     this[this.table药品库存.编号Column] = value;
  2245.                 }
  2246.             }
  2247.             
  2248.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2249.             public string 库房 {
  2250.                 get {
  2251.                     try {
  2252.                         return ((string)(this[this.table药品库存.库房Column]));
  2253.                     }
  2254.                     catch (global::System.InvalidCastException e) {
  2255.                         throw new global::System.Data.StrongTypingException("表“药品库存”中列“库房”的值为 DBNull。", e);
  2256.                     }
  2257.                 }
  2258.                 set {
  2259.                     this[this.table药品库存.库房Column] = value;
  2260.                 }
  2261.             }
  2262.             
  2263.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2264.             public string 药品编号 {
  2265.                 get {
  2266.                     return ((string)(this[this.table药品库存.药品编号Column]));
  2267.                 }
  2268.                 set {
  2269.                     this[this.table药品库存.药品编号Column] = value;
  2270.                 }
  2271.             }
  2272.             
  2273.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2274.             public decimal 药品数量 {
  2275.                 get {
  2276.                     try {
  2277.                         return ((decimal)(this[this.table药品库存.药品数量Column]));
  2278.                     }
  2279.                     catch (global::System.InvalidCastException e) {
  2280.                         throw new global::System.Data.StrongTypingException("表“药品库存”中列“药品数量”的值为 DBNull。", e);
  2281.                     }
  2282.                 }
  2283.                 set {
  2284.                     this[this.table药品库存.药品数量Column] = value;
  2285.                 }
  2286.             }
  2287.             
  2288.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2289.             public string 备注 {
  2290.                 get {
  2291.                     try {
  2292.                         return ((string)(this[this.table药品库存.备注Column]));
  2293.                     }
  2294.                     catch (global::System.InvalidCastException e) {
  2295.                         throw new global::System.Data.StrongTypingException("表“药品库存”中列“备注”的值为 DBNull。", e);
  2296.                     }
  2297.                 }
  2298.                 set {
  2299.                     this[this.table药品库存.备注Column] = value;
  2300.                 }
  2301.             }
  2302.             
  2303.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2304.             public bool Is名称Null() {
  2305.                 return this.IsNull(this.table药品库存.名称Column);
  2306.             }
  2307.             
  2308.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2309.             public void Set名称Null() {
  2310.                 this[this.table药品库存.名称Column] = global::System.Convert.DBNull;
  2311.             }
  2312.             
  2313.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2314.             public bool Is库房Null() {
  2315.                 return this.IsNull(this.table药品库存.库房Column);
  2316.             }
  2317.             
  2318.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2319.             public void Set库房Null() {
  2320.                 this[this.table药品库存.库房Column] = global::System.Convert.DBNull;
  2321.             }
  2322.             
  2323.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2324.             public bool Is药品数量Null() {
  2325.                 return this.IsNull(this.table药品库存.药品数量Column);
  2326.             }
  2327.             
  2328.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2329.             public void Set药品数量Null() {
  2330.                 this[this.table药品库存.药品数量Column] = global::System.Convert.DBNull;
  2331.             }
  2332.             
  2333.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2334.             public bool Is备注Null() {
  2335.                 return this.IsNull(this.table药品库存.备注Column);
  2336.             }
  2337.             
  2338.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2339.             public void Set备注Null() {
  2340.                 this[this.table药品库存.备注Column] = global::System.Convert.DBNull;
  2341.             }
  2342.         }
  2343.         
  2344.         /// <summary>
  2345.         ///Row event argument class
  2346.         ///</summary>
  2347.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2348.         public class 门诊划价明细RowChangeEvent : global::System.EventArgs {
  2349.             
  2350.             private 门诊划价明细Row eventRow;
  2351.             
  2352.             private global::System.Data.DataRowAction eventAction;
  2353.             
  2354.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2355.             public 门诊划价明细RowChangeEvent(门诊划价明细Row row, global::System.Data.DataRowAction action) {
  2356.                 this.eventRow = row;
  2357.                 this.eventAction = action;
  2358.             }
  2359.             
  2360.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2361.             public 门诊划价明细Row Row {
  2362.                 get {
  2363.                     return this.eventRow;
  2364.                 }
  2365.             }
  2366.             
  2367.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2368.             public global::System.Data.DataRowAction Action {
  2369.                 get {
  2370.                     return this.eventAction;
  2371.                 }
  2372.             }
  2373.         }
  2374.         
  2375.         /// <summary>
  2376.         ///Row event argument class
  2377.         ///</summary>
  2378.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2379.         public class 门诊划价RowChangeEvent : global::System.EventArgs {
  2380.             
  2381.             private 门诊划价Row eventRow;
  2382.             
  2383.             private global::System.Data.DataRowAction eventAction;
  2384.             
  2385.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2386.             public 门诊划价RowChangeEvent(门诊划价Row row, global::System.Data.DataRowAction action) {
  2387.                 this.eventRow = row;
  2388.                 this.eventAction = action;
  2389.             }
  2390.             
  2391.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2392.             public 门诊划价Row Row {
  2393.                 get {
  2394.                     return this.eventRow;
  2395.                 }
  2396.             }
  2397.             
  2398.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2399.             public global::System.Data.DataRowAction Action {
  2400.                 get {
  2401.                     return this.eventAction;
  2402.                 }
  2403.             }
  2404.         }
  2405.         
  2406.         /// <summary>
  2407.         ///Row event argument class
  2408.         ///</summary>
  2409.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2410.         public class 门诊挂号RowChangeEvent : global::System.EventArgs {
  2411.             
  2412.             private 门诊挂号Row eventRow;
  2413.             
  2414.             private global::System.Data.DataRowAction eventAction;
  2415.             
  2416.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2417.             public 门诊挂号RowChangeEvent(门诊挂号Row row, global::System.Data.DataRowAction action) {
  2418.                 this.eventRow = row;
  2419.                 this.eventAction = action;
  2420.             }
  2421.             
  2422.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2423.             public 门诊挂号Row Row {
  2424.                 get {
  2425.                     return this.eventRow;
  2426.                 }
  2427.             }
  2428.             
  2429.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2430.             public global::System.Data.DataRowAction Action {
  2431.                 get {
  2432.                     return this.eventAction;
  2433.                 }
  2434.             }
  2435.         }
  2436.         
  2437.         /// <summary>
  2438.         ///Row event argument class
  2439.         ///</summary>
  2440.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2441.         public class 药品库存RowChangeEvent : global::System.EventArgs {
  2442.             
  2443.             private 药品库存Row eventRow;
  2444.             
  2445.             private global::System.Data.DataRowAction eventAction;
  2446.             
  2447.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2448.             public 药品库存RowChangeEvent(药品库存Row row, global::System.Data.DataRowAction action) {
  2449.                 this.eventRow = row;
  2450.                 this.eventAction = action;
  2451.             }
  2452.             
  2453.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2454.             public 药品库存Row Row {
  2455.                 get {
  2456.                     return this.eventRow;
  2457.                 }
  2458.             }
  2459.             
  2460.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2461.             public global::System.Data.DataRowAction Action {
  2462.                 get {
  2463.                     return this.eventAction;
  2464.                 }
  2465.             }
  2466.         }
  2467.     }
  2468. }
  2469. #pragma warning restore 1591