/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.butquit = new System.Windows.Forms.Button(); this.butsave = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 454); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(768, 31); this.statusBar1.TabIndex = 0; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 300; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1001; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 21); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(762, 347); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridBoolColumn1, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn9 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "药品子类型"; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "药品类型"; this.dataGridTextBoxColumn3.Width = 70; // // dataGridBoolColumn1 // this.dataGridBoolColumn1.AllowNull = false; this.dataGridBoolColumn1.FalseValue = ((short)(0)); this.dataGridBoolColumn1.HeaderText = "管理权限"; this.dataGridBoolColumn1.NullValue = ((short)(0)); this.dataGridBoolColumn1.TrueValue = ((short)(1)); this.dataGridBoolColumn1.Width = 80; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "ypzlxid"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 0; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "yplxid"; this.dataGridTextBoxColumn9.ReadOnly = true; this.dataGridTextBoxColumn9.Width = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butsave); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(0, 371); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(768, 83); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "操作"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(139, 31); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(192, 23); this.cmbyjks.TabIndex = 5; this.cmbyjks.SelectedIndexChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); // // butquit // this.butquit.Location = new System.Drawing.Point(725, 21); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(128, 41); this.butquit.TabIndex = 4; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butsave // this.butsave.Location = new System.Drawing.Point(576, 21); this.butsave.Name = "butsave"; this.butsave.Size = new System.Drawing.Size(128, 41); this.butsave.TabIndex = 2; this.butsave.Text = "保存(&S)"; this.butsave.Click += new System.EventHandler(this.butsave_Click); // // label1 // this.label1.Location = new System.Drawing.Point(51, 36); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(88, 21); this.label1.TabIndex = 0; this.label1.Text = "药剂科室"; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(768, 371); this.groupBox2.TabIndex = 5; this.groupBox2.TabStop = false; this.groupBox2.Text = "药品类型及子类型"; // // Frmgllx // this.AutoScaleBaseSize = new System.Drawing.Size(8, 18); this.ClientSize = new System.Drawing.Size(768, 485); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.statusBar1); this.Name = "Frmgllx"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmsccj_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.butexcel = new System.Windows.Forms.Button(); this.cmbck = new System.Windows.Forms.ComboBox(); this.lblck = new System.Windows.Forms.Label(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cmbmonth = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbyear = new System.Windows.Forms.ComboBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel4 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn18 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn19 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_批次号 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbck); this.groupBox1.Controls.Add(this.lblck); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.cmbmonth); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.cmbyear); this.groupBox1.Controls.Add(this.rdo2); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 87); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // butexcel // this.butexcel.Location = new System.Drawing.Point(751, 40); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 32); this.butexcel.TabIndex = 42; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // cmbck // this.cmbck.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbck.Location = new System.Drawing.Point(337, 17); this.cmbck.Name = "cmbck"; this.cmbck.Size = new System.Drawing.Size(141, 20); this.cmbck.TabIndex = 32; // // lblck // this.lblck.Location = new System.Drawing.Point(283, 22); this.lblck.Name = "lblck"; this.lblck.Size = new System.Drawing.Size(67, 16); this.lblck.TabIndex = 31; this.lblck.Text = "仓库名称"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(100, 17); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(176, 20); this.cmbyjks.TabIndex = 30; this.cmbyjks.SelectedIndexChanged += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(36, 22); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(67, 16); this.label6.TabIndex = 29; this.label6.Text = "药剂科室"; // // label1 // this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(580, 56); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(31, 16); this.label1.TabIndex = 22; this.label1.Text = "月"; // // cmbmonth // this.cmbmonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbmonth.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" }); this.cmbmonth.Location = new System.Drawing.Point(513, 47); this.cmbmonth.Name = "cmbmonth"; this.cmbmonth.Size = new System.Drawing.Size(56, 20); this.cmbmonth.TabIndex = 21; this.cmbmonth.SelectedIndexChanged += new System.EventHandler(this.cmbmonth_SelectedIndexChanged); // // label3 // this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(491, 53); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(32, 16); this.label3.TabIndex = 20; this.label3.Text = "年"; // // cmbyear // this.cmbyear.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyear.Items.AddRange(new object[] { "2005", "2006", "2007", "2008", "2009", "2010" }); this.cmbyear.Location = new System.Drawing.Point(427, 47); this.cmbyear.Name = "cmbyear"; this.cmbyear.Size = new System.Drawing.Size(64, 20); this.cmbyear.TabIndex = 19; this.cmbyear.SelectedIndexChanged += new System.EventHandler(this.cmbyear_SelectedIndexChanged); // // rdo2 // this.rdo2.Checked = true; this.rdo2.Location = new System.Drawing.Point(347, 47); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(96, 25); this.rdo2.TabIndex = 13; this.rdo2.TabStop = true; this.rdo2.Text = "按月份查询"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // butquit // this.butquit.Location = new System.Drawing.Point(826, 40); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(63, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(684, 40); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(65, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(619, 40); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(64, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(227, 47); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(113, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(211, 56); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(100, 47); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(109, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Location = new System.Drawing.Point(35, 45); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 25); this.rdo1.TabIndex = 12; this.rdo1.Text = "按日期从"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3, this.statusBarPanel4 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 150; // // statusBarPanel4 // this.statusBarPanel4.Name = "statusBarPanel4"; this.statusBarPanel4.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 87); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 415); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "统计情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 395); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn18, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn19, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn7, this.col_批次号, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn17 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "品名"; this.dataGridTextBoxColumn9.Width = 120; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "商品名"; this.dataGridTextBoxColumn10.Width = 120; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "厂家"; this.dataGridTextBoxColumn15.Width = 75; // // dataGridTextBoxColumn18 // this.dataGridTextBoxColumn18.Format = ""; this.dataGridTextBoxColumn18.FormatInfo = null; this.dataGridTextBoxColumn18.HeaderText = "进价"; this.dataGridTextBoxColumn18.NullText = ""; this.dataGridTextBoxColumn18.Width = 60; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "批发价"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.Width = 0; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "零售价"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 60; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "数量"; this.dataGridTextBoxColumn2.Width = 70; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "单位"; this.dataGridTextBoxColumn6.Width = 40; // // dataGridTextBoxColumn19 // this.dataGridTextBoxColumn19.Format = ""; this.dataGridTextBoxColumn19.FormatInfo = null; this.dataGridTextBoxColumn19.HeaderText = "进货金额"; this.dataGridTextBoxColumn19.NullText = ""; this.dataGridTextBoxColumn19.Width = 70; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "批发金额"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 0; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "零售金额"; this.dataGridTextBoxColumn7.Width = 70; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "批号"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 60; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "效期"; this.dataGridTextBoxColumn12.Width = 75; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "货号"; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "单据号"; this.dataGridTextBoxColumn16.Width = 60; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "登记日期"; this.dataGridTextBoxColumn14.Width = 80; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "备注"; this.dataGridTextBoxColumn17.Width = 75; // // col_批次号 // this.col_批次号.Format = ""; this.col_批次号.FormatInfo = null; this.col_批次号.HeaderText = "批次号"; this.col_批次号.Width = 75; // // Frmbsbyhztj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmbsbyhztj"; this.Text = "报损报溢统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.txtnum = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.rdoje = new System.Windows.Forms.RadioButton(); this.rdosl = new System.Windows.Forms.RadioButton(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.butexcel = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.txtnum); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.rdoje); this.groupBox1.Controls.Add(this.rdosl); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 90); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(85, 19); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(154, 20); this.cmbyjks.TabIndex = 15; this.cmbyjks.SelectionChangeCommitted += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(20, 24); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(66, 16); this.label6.TabIndex = 14; this.label6.Text = "药剂科室"; // // cmbyplx // this.cmbyplx.Location = new System.Drawing.Point(85, 54); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(154, 20); this.cmbyplx.TabIndex = 13; // // label5 // this.label5.Location = new System.Drawing.Point(22, 58); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(78, 20); this.label5.TabIndex = 12; this.label5.Text = "药品类型"; // // butquit // this.butquit.Location = new System.Drawing.Point(796, 47); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 33); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(724, 47); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 33); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(643, 47); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(78, 33); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // label4 // this.label4.Location = new System.Drawing.Point(581, 59); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 16); this.label4.TabIndex = 8; this.label4.Text = "名的药品"; // // txtnum // this.txtnum.ForeColor = System.Drawing.Color.Blue; this.txtnum.Location = new System.Drawing.Point(542, 55); this.txtnum.Name = "txtnum"; this.txtnum.Size = new System.Drawing.Size(42, 21); this.txtnum.TabIndex = 7; this.txtnum.Text = "10"; this.txtnum.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtnum_KeyUp); // // label3 // this.label3.Location = new System.Drawing.Point(522, 58); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(19, 16); this.label3.TabIndex = 6; this.label3.Text = "前"; // // dtp2 // this.dtp2.Location = new System.Drawing.Point(410, 55); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(113, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(394, 59); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(15, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(288, 55); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(236, 59); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 16); this.label1.TabIndex = 2; this.label1.Text = "日期从"; // // rdoje // this.rdoje.Location = new System.Drawing.Point(377, 17); this.rdoje.Name = "rdoje"; this.rdoje.Size = new System.Drawing.Size(87, 24); this.rdoje.TabIndex = 1; this.rdoje.Text = "按金额排名"; // // rdosl // this.rdosl.Checked = true; this.rdosl.Location = new System.Drawing.Point(260, 20); this.rdosl.Name = "rdosl"; this.rdosl.Size = new System.Drawing.Size(88, 24); this.rdosl.TabIndex = 0; this.rdosl.TabStop = true; this.rdosl.Text = "按数量排名"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 90); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 412); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "排名情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 392); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "排名"; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.Width = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "规格"; this.dataGridTextBoxColumn3.Width = 80; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "厂家"; this.dataGridTextBoxColumn5.Width = 80; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "批发价"; this.dataGridTextBoxColumn6.Width = 0; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "零售价"; this.dataGridTextBoxColumn7.Width = 70; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "数量"; this.dataGridTextBoxColumn8.Width = 70; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "单位"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "批发金额"; this.dataGridTextBoxColumn11.Width = 0; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "零售金额"; this.dataGridTextBoxColumn9.Width = 90; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "货号"; this.dataGridTextBoxColumn10.Width = 60; // // butexcel // this.butexcel.Location = new System.Drawing.Point(724, 12); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 32); this.butexcel.TabIndex = 43; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // Frmjhpm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmjhpm"; this.Text = "入库排名统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.butclose = new System.Windows.Forms.Button(); this.butsh = new System.Windows.Forms.Button(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.butnew = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.chktjrq = new System.Windows.Forms.CheckBox(); this.txtdjh = new System.Windows.Forms.TextBox(); this.chkdjh = new System.Windows.Forms.CheckBox(); this.txttjwh = new System.Windows.Forms.TextBox(); this.chktjwh = new System.Windows.Forms.CheckBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.butref = new System.Windows.Forms.Button(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel1.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel5); this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(832, 485); this.panel1.TabIndex = 0; // // panel5 // this.panel5.Controls.Add(this.myDataGrid1); this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; this.panel5.Location = new System.Drawing.Point(0, 80); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(832, 349); this.panel5.TabIndex = 3; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(0, 0); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.ReadOnly = true; this.myDataGrid1.Size = new System.Drawing.Size(832, 349); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.DoubleClick += new System.EventHandler(this.myDataGrid1_DoubleClick); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.WhiteSmoke; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 50; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单据号"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 80; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "执行日期"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 120; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "调价文号"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 120; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "登记时间"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "登记员"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 80; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "备注"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 120; // // panel4 // this.panel4.Controls.Add(this.butclose); this.panel4.Controls.Add(this.butsh); this.panel4.Controls.Add(this.statusBar1); this.panel4.Controls.Add(this.butnew); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(0, 429); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(832, 56); this.panel4.TabIndex = 2; // // butclose // this.butclose.Location = new System.Drawing.Point(528, 6); this.butclose.Name = "butclose"; this.butclose.Size = new System.Drawing.Size(88, 24); this.butclose.TabIndex = 3; this.butclose.Text = "关闭(&Q)"; this.butclose.Click += new System.EventHandler(this.butclose_Click); // // butsh // this.butsh.Location = new System.Drawing.Point(424, 6); this.butsh.Name = "butsh"; this.butsh.Size = new System.Drawing.Size(88, 24); this.butsh.TabIndex = 2; this.butsh.Text = "查看(&H)"; this.butsh.Click += new System.EventHandler(this.butsh_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 32); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(832, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 200; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1000; // // butnew // this.butnew.Location = new System.Drawing.Point(328, 6); this.butnew.Name = "butnew"; this.butnew.Size = new System.Drawing.Size(88, 24); this.butnew.TabIndex = 0; this.butnew.Text = "新单据(&N)"; this.butnew.Click += new System.EventHandler(this.butnew_Click); // // panel3 // this.panel3.Controls.Add(this.panel2); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(832, 80); this.panel3.TabIndex = 1; // // panel2 // this.panel2.Controls.Add(this.dtp2); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.dtp1); this.panel2.Controls.Add(this.chktjrq); this.panel2.Controls.Add(this.txtdjh); this.panel2.Controls.Add(this.chkdjh); this.panel2.Controls.Add(this.txttjwh); this.panel2.Controls.Add(this.chktjwh); this.panel2.Controls.Add(this.rdo2); this.panel2.Controls.Add(this.rdo1); this.panel2.Controls.Add(this.butref); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(832, 80); this.panel2.TabIndex = 3; // // dtp2 // this.dtp2.Enabled = false; this.dtp2.Location = new System.Drawing.Point(394, 49); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(110, 21); this.dtp2.TabIndex = 11; // // label1 // this.label1.Location = new System.Drawing.Point(371, 53); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(24, 16); this.label1.TabIndex = 10; this.label1.Text = "到"; // // dtp1 // this.dtp1.Enabled = false; this.dtp1.Location = new System.Drawing.Point(257, 49); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 9; // // chktjrq // this.chktjrq.Location = new System.Drawing.Point(184, 48); this.chktjrq.Name = "chktjrq"; this.chktjrq.Size = new System.Drawing.Size(80, 22); this.chktjrq.TabIndex = 8; this.chktjrq.Text = "调价日期"; this.chktjrq.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txtdjh // this.txtdjh.Enabled = false; this.txtdjh.Location = new System.Drawing.Point(497, 18); this.txtdjh.Name = "txtdjh"; this.txtdjh.Size = new System.Drawing.Size(88, 21); this.txtdjh.TabIndex = 7; // // chkdjh // this.chkdjh.Location = new System.Drawing.Point(427, 18); this.chkdjh.Name = "chkdjh"; this.chkdjh.Size = new System.Drawing.Size(73, 22); this.chkdjh.TabIndex = 6; this.chkdjh.Text = "单据号"; this.chkdjh.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txttjwh // this.txttjwh.Enabled = false; this.txttjwh.Location = new System.Drawing.Point(256, 18); this.txttjwh.Name = "txttjwh"; this.txttjwh.Size = new System.Drawing.Size(160, 21); this.txttjwh.TabIndex = 3; // // chktjwh // this.chktjwh.Location = new System.Drawing.Point(184, 18); this.chktjwh.Name = "chktjwh"; this.chktjwh.Size = new System.Drawing.Size(80, 22); this.chktjwh.TabIndex = 2; this.chktjwh.Text = "调价文号"; this.chktjwh.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // rdo2 // this.rdo2.Location = new System.Drawing.Point(24, 38); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(112, 22); this.rdo2.TabIndex = 1; this.rdo2.Text = "已执行的调价单"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(24, 16); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(128, 22); this.rdo1.TabIndex = 0; this.rdo1.TabStop = true; this.rdo1.Text = "待执行的调价单"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // butref // this.butref.Location = new System.Drawing.Point(528, 47); this.butref.Name = "butref"; this.butref.Size = new System.Drawing.Size(88, 24); this.butref.TabIndex = 4; this.butref.Text = "刷新(&R)"; this.butref.Click += new System.EventHandler(this.butref_Click); // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "打印"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 75; // // Frmtitle // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(832, 485); this.Controls.Add(this.panel1); this.Name = "Frmtitle"; this.Text = "药品调价"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Activated += new System.EventHandler(this.Frmtitle_Activated); this.Load += new System.EventHandler(this.Frmtitle_Load); this.panel1.ResumeLayout(false); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.panel3.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbypsx = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.label1 = new System.Windows.Forms.Label(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.butexcel = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbypsx); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 92); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbypsx // this.cmbypsx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbypsx.Items.AddRange(new object[] { "贵重药品", "麻醉药品", "毒剧药品", "皮试药品", "精神药品", "外用药品", "处方药品", "妊娠药品", "基本药物", "抗生素", "全部" }); this.cmbypsx.Location = new System.Drawing.Point(311, 19); this.cmbypsx.Name = "cmbypsx"; this.cmbypsx.Size = new System.Drawing.Size(153, 20); this.cmbypsx.TabIndex = 36; this.cmbypsx.SelectedIndexChanged += new System.EventHandler(this.cmbypsx_SelectedIndexChanged); // // label4 // this.label4.Location = new System.Drawing.Point(246, 24); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(66, 16); this.label4.TabIndex = 35; this.label4.Text = "药品属性"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(76, 20); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(153, 20); this.cmbyjks.TabIndex = 9; this.cmbyjks.SelectionChangeCommitted += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label3 // this.label3.Location = new System.Drawing.Point(11, 25); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(66, 16); this.label3.TabIndex = 8; this.label3.Text = "药剂科室"; // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Items.AddRange(new object[] { "2005", "2006", "2007", "2008", "2009", "2010" }); this.cmbyplx.Location = new System.Drawing.Point(390, 58); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(119, 20); this.cmbyplx.TabIndex = 19; // // butquit // this.butquit.Location = new System.Drawing.Point(759, 53); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(65, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(622, 53); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(63, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(558, 53); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(64, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(202, 58); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(112, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(186, 64); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(74, 58); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(10, 57); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 24); this.rdo1.TabIndex = 12; this.rdo1.TabStop = true; this.rdo1.Text = "按日期从"; // // label1 // this.label1.Location = new System.Drawing.Point(320, 64); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(84, 16); this.label1.TabIndex = 20; this.label1.Text = "药品类型"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 92); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 410); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "统计情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 390); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "品名"; this.dataGridTextBoxColumn9.Width = 75; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "商品名"; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.Width = 90; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "厂家"; this.dataGridTextBoxColumn15.Width = 90; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "零售价"; this.dataGridTextBoxColumn16.Width = 60; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "单位"; this.dataGridTextBoxColumn17.Width = 40; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "入库数"; this.dataGridTextBoxColumn1.Width = 65; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "出库数"; this.dataGridTextBoxColumn2.Width = 65; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "库存数"; this.dataGridTextBoxColumn3.Width = 65; // // butexcel // this.butexcel.Location = new System.Drawing.Point(686, 53); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 32); this.butexcel.TabIndex = 43; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // Frmgzyptj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmgzyptj"; this.Text = "贵重药品统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbck = new System.Windows.Forms.ComboBox(); this.lblck = new System.Windows.Forms.Label(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.butprint = new System.Windows.Forms.Button(); this.butref = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn23 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn24 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn18 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn19 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn20 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn21 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn22 = new System.Windows.Forms.DataGridTextBoxColumn(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.cmbck); this.groupBox1.Controls.Add(this.lblck); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.rdo2); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.butref); this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(864, 69); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbck // this.cmbck.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbck.Location = new System.Drawing.Point(248, 18); this.cmbck.Name = "cmbck"; this.cmbck.Size = new System.Drawing.Size(118, 20); this.cmbck.TabIndex = 36; // // lblck // this.lblck.Location = new System.Drawing.Point(192, 22); this.lblck.Name = "lblck"; this.lblck.Size = new System.Drawing.Size(67, 16); this.lblck.TabIndex = 35; this.lblck.Text = "仓库名称"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(73, 15); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(113, 20); this.cmbyjks.TabIndex = 30; this.cmbyjks.SelectedIndexChanged += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(12, 17); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(67, 16); this.label6.TabIndex = 29; this.label6.Text = "药剂科室"; // // rdo2 // this.rdo2.Location = new System.Drawing.Point(395, 12); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(168, 24); this.rdo2.TabIndex = 17; this.rdo2.Text = "列出高于上限的库存药品"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(395, 39); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(168, 23); this.rdo1.TabIndex = 16; this.rdo1.TabStop = true; this.rdo1.Text = "列出低于下限的库存药品"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // butprint // this.butprint.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butprint.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.butprint.Location = new System.Drawing.Point(650, 18); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 24); this.butprint.TabIndex = 15; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // butref // this.butref.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butref.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.butref.Location = new System.Drawing.Point(571, 18); this.butref.Name = "butref"; this.butref.Size = new System.Drawing.Size(72, 24); this.butref.TabIndex = 13; this.butref.Text = "查询(&F)"; this.butref.Click += new System.EventHandler(this.butref_Click); // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.button2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.button2.Location = new System.Drawing.Point(731, 18); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(72, 24); this.button2.TabIndex = 14; this.button2.Text = "退出(&Q)"; this.button2.Click += new System.EventHandler(this.button2_Click); // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Location = new System.Drawing.Point(73, 42); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(113, 20); this.cmbyplx.TabIndex = 11; // // label2 // this.label2.Location = new System.Drawing.Point(12, 44); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 20); this.label2.TabIndex = 10; this.label2.Text = "药品类型"; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 69); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(864, 440); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "查询结果"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(858, 420); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1, this.dataGridTableStyle2 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn23, this.dataGridTextBoxColumn24 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 30; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "规格"; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "厂家"; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "批发价"; this.dataGridTextBoxColumn10.Width = 60; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "零售价"; this.dataGridTextBoxColumn9.Width = 60; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "下限"; this.dataGridTextBoxColumn5.Width = 70; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "库存量"; this.dataGridTextBoxColumn7.Width = 70; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "低于下限"; this.dataGridTextBoxColumn6.Width = 70; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "单位"; this.dataGridTextBoxColumn8.Width = 30; // // dataGridTextBoxColumn23 // this.dataGridTextBoxColumn23.Format = ""; this.dataGridTextBoxColumn23.FormatInfo = null; this.dataGridTextBoxColumn23.HeaderText = "货号"; this.dataGridTextBoxColumn23.Width = 60; // // dataGridTextBoxColumn24 // this.dataGridTextBoxColumn24.Format = ""; this.dataGridTextBoxColumn24.FormatInfo = null; this.dataGridTextBoxColumn24.HeaderText = "cjid"; this.dataGridTextBoxColumn24.Width = 0; // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn18, this.dataGridTextBoxColumn19, this.dataGridTextBoxColumn20, this.dataGridTextBoxColumn21, this.dataGridTextBoxColumn22 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "序号"; this.dataGridTextBoxColumn11.Width = 30; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "品名"; this.dataGridTextBoxColumn12.Width = 150; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "规格"; this.dataGridTextBoxColumn13.Width = 75; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "厂家"; this.dataGridTextBoxColumn14.Width = 75; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "批发价"; this.dataGridTextBoxColumn15.Width = 60; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "零售价"; this.dataGridTextBoxColumn16.Width = 60; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "上限"; this.dataGridTextBoxColumn17.Width = 70; // // dataGridTextBoxColumn18 // this.dataGridTextBoxColumn18.Format = ""; this.dataGridTextBoxColumn18.FormatInfo = null; this.dataGridTextBoxColumn18.HeaderText = "库存量"; this.dataGridTextBoxColumn18.Width = 70; // // dataGridTextBoxColumn19 // this.dataGridTextBoxColumn19.Format = ""; this.dataGridTextBoxColumn19.FormatInfo = null; this.dataGridTextBoxColumn19.HeaderText = "高于上限"; this.dataGridTextBoxColumn19.Width = 70; // // dataGridTextBoxColumn20 // this.dataGridTextBoxColumn20.Format = ""; this.dataGridTextBoxColumn20.FormatInfo = null; this.dataGridTextBoxColumn20.HeaderText = "单位"; this.dataGridTextBoxColumn20.Width = 30; // // dataGridTextBoxColumn21 // this.dataGridTextBoxColumn21.Format = ""; this.dataGridTextBoxColumn21.FormatInfo = null; this.dataGridTextBoxColumn21.HeaderText = "货号"; this.dataGridTextBoxColumn21.Width = 60; // // dataGridTextBoxColumn22 // this.dataGridTextBoxColumn22.Format = ""; this.dataGridTextBoxColumn22.FormatInfo = null; this.dataGridTextBoxColumn22.HeaderText = "CJID"; this.dataGridTextBoxColumn22.Width = 0; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 484); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(864, 25); this.statusBar1.TabIndex = 2; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 200; // // Frmkcgdcbj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(864, 509); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Name = "Frmkcgdcbj"; this.Text = "库存高低储报警"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmkcgdcbj_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.butexcel = new System.Windows.Forms.Button(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cmbmonth = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbyear = new System.Windows.Forms.ComboBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel4 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.cmbmonth); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.cmbyear); this.groupBox1.Controls.Add(this.rdo2); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 93); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // butexcel // this.butexcel.Location = new System.Drawing.Point(742, 46); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 33); this.butexcel.TabIndex = 43; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(92, 19); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(177, 20); this.cmbyjks.TabIndex = 30; this.cmbyjks.SelectionChangeCommitted += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(29, 23); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(67, 16); this.label6.TabIndex = 29; this.label6.Text = "药剂科室"; // // label1 // this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(572, 62); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(32, 17); this.label1.TabIndex = 22; this.label1.Text = "月"; // // cmbmonth // this.cmbmonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbmonth.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" }); this.cmbmonth.Location = new System.Drawing.Point(508, 54); this.cmbmonth.Name = "cmbmonth"; this.cmbmonth.Size = new System.Drawing.Size(56, 20); this.cmbmonth.TabIndex = 21; this.cmbmonth.SelectedIndexChanged += new System.EventHandler(this.cmbmonth_SelectedIndexChanged); // // label3 // this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(484, 62); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(32, 17); this.label3.TabIndex = 20; this.label3.Text = "年"; // // cmbyear // this.cmbyear.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyear.Items.AddRange(new object[] { "2005", "2006", "2007", "2008", "2009", "2010" }); this.cmbyear.Location = new System.Drawing.Point(420, 54); this.cmbyear.Name = "cmbyear"; this.cmbyear.Size = new System.Drawing.Size(64, 20); this.cmbyear.TabIndex = 19; this.cmbyear.SelectedIndexChanged += new System.EventHandler(this.cmbyear_SelectedIndexChanged); // // rdo2 // this.rdo2.Checked = true; this.rdo2.Location = new System.Drawing.Point(340, 54); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(96, 25); this.rdo2.TabIndex = 13; this.rdo2.TabStop = true; this.rdo2.Text = "按月份查询"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // butquit // this.butquit.Location = new System.Drawing.Point(816, 46); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(64, 34); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(676, 46); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(64, 33); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(612, 46); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(64, 33); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(220, 54); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(112, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(204, 62); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 17); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(92, 54); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Location = new System.Drawing.Point(28, 52); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 24); this.rdo1.TabIndex = 12; this.rdo1.Text = "按日期从"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3, this.statusBarPanel4 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 150; // // statusBarPanel4 // this.statusBarPanel4.Name = "statusBarPanel4"; this.statusBarPanel4.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 93); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 409); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "统计情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 389); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn1 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "往来单位"; this.dataGridTextBoxColumn9.Width = 200; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "进货金额"; this.dataGridTextBoxColumn10.Width = 80; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "批发金额"; this.dataGridTextBoxColumn11.Width = 80; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "零售金额"; this.dataGridTextBoxColumn15.Width = 80; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "批零差额"; this.dataGridTextBoxColumn17.Width = 80; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "进零差额"; this.dataGridTextBoxColumn16.Width = 80; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "单据张数"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "入库方式"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 150; // // Frmrkhztj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmrkhztj"; this.Text = "入库汇总统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel5 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel7 = new System.Windows.Forms.StatusBarPanel(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn18 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn19 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn20 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbks = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn22 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn27 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn26 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn28 = new System.Windows.Forms.DataGridTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel7)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel5, this.statusBarPanel7 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel5 // this.statusBarPanel5.Name = "statusBarPanel5"; this.statusBarPanel5.Width = 200; // // statusBarPanel7 // this.statusBarPanel7.Name = "statusBarPanel7"; this.statusBarPanel7.Width = 1000; // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = null; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn18, this.dataGridTextBoxColumn19, this.dataGridTextBoxColumn20, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "品名"; this.dataGridTextBoxColumn4.Width = 120; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "厂家"; this.dataGridTextBoxColumn9.Width = 90; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "数量"; this.dataGridTextBoxColumn10.Width = 60; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "盈亏数量"; this.dataGridTextBoxColumn15.Width = 60; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "调价数量"; this.dataGridTextBoxColumn16.Width = 60; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "单位"; this.dataGridTextBoxColumn14.Width = 40; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.Width = 90; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "供货单位"; this.dataGridTextBoxColumn2.Width = 120; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "科目"; this.dataGridTextBoxColumn17.Width = 120; // // dataGridTextBoxColumn18 // this.dataGridTextBoxColumn18.Format = ""; this.dataGridTextBoxColumn18.FormatInfo = null; this.dataGridTextBoxColumn18.HeaderText = "领药单位"; this.dataGridTextBoxColumn18.Width = 120; // // dataGridTextBoxColumn19 // this.dataGridTextBoxColumn19.Format = ""; this.dataGridTextBoxColumn19.FormatInfo = null; this.dataGridTextBoxColumn19.HeaderText = "报溢原因"; this.dataGridTextBoxColumn19.Width = 120; // // dataGridTextBoxColumn20 // this.dataGridTextBoxColumn20.Format = ""; this.dataGridTextBoxColumn20.FormatInfo = null; this.dataGridTextBoxColumn20.HeaderText = "报损原因"; this.dataGridTextBoxColumn20.Width = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "进货金额"; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "批发金额"; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "零售金额"; this.dataGridTextBoxColumn6.Width = 75; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "进零差额"; this.dataGridTextBoxColumn7.Width = 75; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "批零差额"; this.dataGridTextBoxColumn8.Width = 75; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "CJID"; this.dataGridTextBoxColumn12.Width = 0; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "GHDWID"; this.dataGridTextBoxColumn13.Width = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.cmbks); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 72); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "统计"; // // cmbks // this.cmbks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbks.Location = new System.Drawing.Point(78, 26); this.cmbks.Name = "cmbks"; this.cmbks.Size = new System.Drawing.Size(133, 20); this.cmbks.TabIndex = 22; // // label5 // this.label5.Location = new System.Drawing.Point(14, 30); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(68, 16); this.label5.TabIndex = 21; this.label5.Text = "药剂科室"; // // butquit // this.butquit.Location = new System.Drawing.Point(704, 20); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 32); this.butquit.TabIndex = 20; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(632, 20); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 32); this.butprint.TabIndex = 19; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(552, 20); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(78, 32); this.buttj.TabIndex = 18; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(401, 25); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(128, 21); this.dtp2.TabIndex = 17; // // label2 // this.label2.Location = new System.Drawing.Point(378, 28); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(23, 20); this.label2.TabIndex = 16; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(266, 25); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 15; // // label1 // this.label1.Location = new System.Drawing.Point(218, 29); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 16); this.label1.TabIndex = 14; this.label1.Text = "日期从"; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 72); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 430); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "工作量"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 410); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn22, this.dataGridTextBoxColumn27, this.dataGridTextBoxColumn26, this.dataGridTextBoxColumn28 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn22 // this.dataGridTextBoxColumn22.Format = ""; this.dataGridTextBoxColumn22.FormatInfo = null; this.dataGridTextBoxColumn22.HeaderText = "姓名"; this.dataGridTextBoxColumn22.Width = 80; // // dataGridTextBoxColumn27 // this.dataGridTextBoxColumn27.Format = ""; this.dataGridTextBoxColumn27.FormatInfo = null; this.dataGridTextBoxColumn27.HeaderText = "发药数"; this.dataGridTextBoxColumn27.Width = 75; // // dataGridTextBoxColumn26 // this.dataGridTextBoxColumn26.Format = ""; this.dataGridTextBoxColumn26.FormatInfo = null; this.dataGridTextBoxColumn26.HeaderText = "配药数"; this.dataGridTextBoxColumn26.Width = 75; // // dataGridTextBoxColumn28 // this.dataGridTextBoxColumn28.Format = ""; this.dataGridTextBoxColumn28.FormatInfo = null; this.dataGridTextBoxColumn28.HeaderText = "配核数"; this.dataGridTextBoxColumn28.Width = 75; // // Frmpyrgzl // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.statusBar1); this.Name = "Frmpyrgzl"; this.Text = "配药人工作量统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmpyrgzl_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel7)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.txtypmc = new System.Windows.Forms.TextBox(); this.lblypmc = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.厂家 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.科室 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.txtypmc); this.groupBox1.Controls.Add(this.lblypmc); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.rdo2); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 80); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // txtypmc // this.txtypmc.Location = new System.Drawing.Point(442, 29); this.txtypmc.Name = "txtypmc"; this.txtypmc.Size = new System.Drawing.Size(162, 21); this.txtypmc.TabIndex = 16; this.txtypmc.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // lblypmc // this.lblypmc.Location = new System.Drawing.Point(384, 34); this.lblypmc.Name = "lblypmc"; this.lblypmc.Size = new System.Drawing.Size(64, 17); this.lblypmc.TabIndex = 15; this.lblypmc.Text = "药品名称"; // // label1 // this.label1.Location = new System.Drawing.Point(101, 34); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(17, 17); this.label1.TabIndex = 14; this.label1.Text = "从"; // // rdo2 // this.rdo2.Location = new System.Drawing.Point(16, 42); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(88, 24); this.rdo2.TabIndex = 13; this.rdo2.Text = "住院病人"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // butquit // this.butquit.Location = new System.Drawing.Point(754, 26); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(64, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(690, 26); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(64, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(626, 26); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(64, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(253, 31); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(112, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(236, 36); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(17, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(125, 31); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(16, 20); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 24); this.rdo1.TabIndex = 12; this.rdo1.TabStop = true; this.rdo1.Text = "门诊病人"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 80); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 422); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "统计情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 402); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); this.myDataGrid1.Navigate += new System.Windows.Forms.NavigateEventHandler(this.myDataGrid1_Navigate); // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.厂家, this.dataGridTextBoxColumn16, this.科室, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 30; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "品名"; this.dataGridTextBoxColumn9.Width = 150; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "商品名"; this.dataGridTextBoxColumn10.Width = 150; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.Width = 75; // // 厂家 // this.厂家.Format = ""; this.厂家.FormatInfo = null; this.厂家.HeaderText = "厂家"; this.厂家.Width = 0; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "单价"; this.dataGridTextBoxColumn16.Width = 65; // // 科室 // this.科室.Format = ""; this.科室.FormatInfo = null; this.科室.HeaderText = "科室"; this.科室.Width = 75; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "医生"; this.dataGridTextBoxColumn17.Width = 80; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "数量"; this.dataGridTextBoxColumn1.Width = 60; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单位"; this.dataGridTextBoxColumn2.Width = 40; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "金额"; this.dataGridTextBoxColumn3.Width = 75; // // Frmysyytj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmysyytj"; this.Text = "医生用药情况统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.butclose = new System.Windows.Forms.Button(); this.butsh = new System.Windows.Forms.Button(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.butnew = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.chkdjsj = new System.Windows.Forms.CheckBox(); this.txtdjh = new System.Windows.Forms.TextBox(); this.chkdjh = new System.Windows.Forms.CheckBox(); this.txtghdw = new System.Windows.Forms.TextBox(); this.chkghdw = new System.Windows.Forms.CheckBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.butref = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel5); this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(832, 485); this.panel1.TabIndex = 0; // // panel5 // this.panel5.Controls.Add(this.myDataGrid1); this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; this.panel5.Location = new System.Drawing.Point(0, 88); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(832, 341); this.panel5.TabIndex = 3; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(0, 0); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.ReadOnly = true; this.myDataGrid1.Size = new System.Drawing.Size(832, 341); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.DoubleClick += new System.EventHandler(this.myDataGrid1_DoubleClick); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 30; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单据号"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 60; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "目的科室"; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 75; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "请领日期"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 120; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "请领人"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 60; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "审核时间"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 120; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "审核员"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 60; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "审核单据号"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 75; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "备注"; this.dataGridTextBoxColumn9.NullText = ""; this.dataGridTextBoxColumn9.ReadOnly = true; this.dataGridTextBoxColumn9.Width = 200; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "id"; this.dataGridTextBoxColumn10.NullText = ""; this.dataGridTextBoxColumn10.ReadOnly = true; this.dataGridTextBoxColumn10.Width = 0; // // panel4 // this.panel4.Controls.Add(this.button1); this.panel4.Controls.Add(this.butclose); this.panel4.Controls.Add(this.butsh); this.panel4.Controls.Add(this.statusBar1); this.panel4.Controls.Add(this.butnew); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(0, 429); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(832, 56); this.panel4.TabIndex = 2; // // button1 // this.button1.Location = new System.Drawing.Point(552, 6); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(88, 24); this.button1.TabIndex = 4; this.button1.Text = "删除单据(&D)"; this.button1.Click += new System.EventHandler(this.button1_Click); // // butclose // this.butclose.Location = new System.Drawing.Point(646, 6); this.butclose.Name = "butclose"; this.butclose.Size = new System.Drawing.Size(88, 24); this.butclose.TabIndex = 3; this.butclose.Text = "关闭(&Q)"; this.butclose.Click += new System.EventHandler(this.butclose_Click); // // butsh // this.butsh.Location = new System.Drawing.Point(456, 6); this.butsh.Name = "butsh"; this.butsh.Size = new System.Drawing.Size(88, 24); this.butsh.TabIndex = 2; this.butsh.Text = "查看(&H)"; this.butsh.Click += new System.EventHandler(this.butsh_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 32); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(832, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 200; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1000; // // butnew // this.butnew.Location = new System.Drawing.Point(360, 6); this.butnew.Name = "butnew"; this.butnew.Size = new System.Drawing.Size(88, 24); this.butnew.TabIndex = 0; this.butnew.Text = "新单据(&N)"; this.butnew.Click += new System.EventHandler(this.butnew_Click); // // panel3 // this.panel3.Controls.Add(this.panel2); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(832, 88); this.panel3.TabIndex = 1; // // panel2 // this.panel2.Controls.Add(this.dtp2); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.dtp1); this.panel2.Controls.Add(this.chkdjsj); this.panel2.Controls.Add(this.txtdjh); this.panel2.Controls.Add(this.chkdjh); this.panel2.Controls.Add(this.txtghdw); this.panel2.Controls.Add(this.chkghdw); this.panel2.Controls.Add(this.rdo2); this.panel2.Controls.Add(this.rdo1); this.panel2.Controls.Add(this.butref); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(832, 88); this.panel2.TabIndex = 3; // // dtp2 // this.dtp2.Enabled = false; this.dtp2.Location = new System.Drawing.Point(391, 42); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(110, 21); this.dtp2.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(371, 48); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(24, 16); this.label1.TabIndex = 10; this.label1.Text = "到"; // // dtp1 // this.dtp1.Enabled = false; this.dtp1.Location = new System.Drawing.Point(257, 42); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 2; // // chkdjsj // this.chkdjsj.Location = new System.Drawing.Point(184, 41); this.chkdjsj.Name = "chkdjsj"; this.chkdjsj.Size = new System.Drawing.Size(80, 22); this.chkdjsj.TabIndex = 8; this.chkdjsj.Text = "登记时间"; this.chkdjsj.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txtdjh // this.txtdjh.Enabled = false; this.txtdjh.Location = new System.Drawing.Point(490, 11); this.txtdjh.Name = "txtdjh"; this.txtdjh.Size = new System.Drawing.Size(126, 21); this.txtdjh.TabIndex = 1; // // chkdjh // this.chkdjh.Location = new System.Drawing.Point(432, 11); this.chkdjh.Name = "chkdjh"; this.chkdjh.Size = new System.Drawing.Size(120, 22); this.chkdjh.TabIndex = 4; this.chkdjh.Text = "单据号"; this.chkdjh.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txtghdw // this.txtghdw.Enabled = false; this.txtghdw.Location = new System.Drawing.Point(256, 11); this.txtghdw.Name = "txtghdw"; this.txtghdw.Size = new System.Drawing.Size(160, 21); this.txtghdw.TabIndex = 0; this.txtghdw.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // chkghdw // this.chkghdw.Location = new System.Drawing.Point(184, 11); this.chkghdw.Name = "chkghdw"; this.chkghdw.Size = new System.Drawing.Size(80, 22); this.chkghdw.TabIndex = 2; this.chkghdw.Text = "请领科室"; this.chkghdw.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // rdo2 // this.rdo2.Location = new System.Drawing.Point(88, 9); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(72, 22); this.rdo2.TabIndex = 1; this.rdo2.Text = "已审核"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(24, 9); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(64, 22); this.rdo1.TabIndex = 0; this.rdo1.TabStop = true; this.rdo1.Text = "未审核"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // butref // this.butref.Location = new System.Drawing.Point(528, 40); this.butref.Name = "butref"; this.butref.Size = new System.Drawing.Size(88, 24); this.butref.TabIndex = 4; this.butref.Text = "刷新(&R)"; this.butref.Click += new System.EventHandler(this.butref_Click); // // Frmtitle // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(832, 485); this.Controls.Add(this.panel1); this.Name = "Frmtitle"; this.Text = "药品请领"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Activated += new System.EventHandler(this.Frmtitle_Activated); this.Load += new System.EventHandler(this.Frmtitle_Load); this.panel1.ResumeLayout(false); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.panel3.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.col_cjid = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_货号 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_品名 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_商品名 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_规格 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_厂家 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_单位 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_上期数量 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_上期进货金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_上期批发金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_上期零售金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_发生数量 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_发生进货金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_发生批发金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_发生零售金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_库存数量 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_库存进货金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_库存批发金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_库存零售金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_数量误差 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_进货金额差值 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_批发金额差值 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_零售金额差值 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_单位比例 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_批次号 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_批号 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_kcid = new System.Windows.Forms.DataGridTextBoxColumn(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.myDataGrid2 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn34 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn38 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn39 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn40 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn29 = new System.Windows.Forms.DataGridTextBoxColumn(); this.c上期进货金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn30 = new System.Windows.Forms.DataGridTextBoxColumn(); this.c本期进货金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn31 = new System.Windows.Forms.DataGridTextBoxColumn(); this.c库存进货金额 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn18 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn32 = new System.Windows.Forms.DataGridTextBoxColumn(); this.c进货金额差值 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn19 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn20 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.c批次号 = new System.Windows.Forms.DataGridTextBoxColumn(); this.c批号 = new System.Windows.Forms.DataGridTextBoxColumn(); this.ckcid = new System.Windows.Forms.DataGridTextBoxColumn(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.butmodif = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.ItemSize = new System.Drawing.Size(60, 17); this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(714, 392); this.tabControl1.TabIndex = 0; // // tabPage1 // this.tabPage1.Controls.Add(this.myDataGrid1); this.tabPage1.Location = new System.Drawing.Point(4, 21); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(706, 367); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "数量有误"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(0, 0); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(706, 367); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.col_cjid, this.col_货号, this.col_品名, this.col_商品名, this.col_规格, this.col_厂家, this.col_单位, this.col_上期数量, this.col_上期进货金额, this.col_上期批发金额, this.col_上期零售金额, this.col_发生数量, this.col_发生进货金额, this.col_发生批发金额, this.col_发生零售金额, this.col_库存数量, this.col_库存进货金额, this.col_库存批发金额, this.col_库存零售金额, this.col_数量误差, this.col_进货金额差值, this.col_批发金额差值, this.col_零售金额差值, this.col_单位比例, this.col_批次号, this.col_批号, this.col_kcid }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // col_cjid // this.col_cjid.Format = ""; this.col_cjid.FormatInfo = null; this.col_cjid.HeaderText = "CJID"; this.col_cjid.Width = 0; // // col_货号 // this.col_货号.Format = ""; this.col_货号.FormatInfo = null; this.col_货号.HeaderText = "货号"; this.col_货号.NullText = ""; this.col_货号.Width = 50; // // col_品名 // this.col_品名.Format = ""; this.col_品名.FormatInfo = null; this.col_品名.HeaderText = "品名"; this.col_品名.Width = 0; // // col_商品名 // this.col_商品名.Format = ""; this.col_商品名.FormatInfo = null; this.col_商品名.HeaderText = "商品名"; this.col_商品名.NullText = ""; this.col_商品名.Width = 110; // // col_规格 // this.col_规格.Format = ""; this.col_规格.FormatInfo = null; this.col_规格.HeaderText = "规格"; this.col_规格.Width = 80; // // col_厂家 // this.col_厂家.Format = ""; this.col_厂家.FormatInfo = null; this.col_厂家.HeaderText = "厂家"; this.col_厂家.NullText = ""; this.col_厂家.Width = 0; // // col_单位 // this.col_单位.Format = ""; this.col_单位.FormatInfo = null; this.col_单位.HeaderText = "单位"; this.col_单位.Width = 40; // // col_上期数量 // this.col_上期数量.Format = ""; this.col_上期数量.FormatInfo = null; this.col_上期数量.HeaderText = "上期数量"; this.col_上期数量.Width = 60; // // col_上期进货金额 // this.col_上期进货金额.Format = ""; this.col_上期进货金额.FormatInfo = null; this.col_上期进货金额.HeaderText = "上期进货金额"; this.col_上期进货金额.Width = 0; // // col_上期批发金额 // this.col_上期批发金额.Format = ""; this.col_上期批发金额.FormatInfo = null; this.col_上期批发金额.HeaderText = "上期批发金额"; this.col_上期批发金额.Width = 0; // // col_上期零售金额 // this.col_上期零售金额.Format = ""; this.col_上期零售金额.FormatInfo = null; this.col_上期零售金额.HeaderText = "上期零售金额"; this.col_上期零售金额.Width = 0; // // col_发生数量 // this.col_发生数量.Format = ""; this.col_发生数量.FormatInfo = null; this.col_发生数量.HeaderText = "发生数量"; this.col_发生数量.Width = 60; // // col_发生进货金额 // this.col_发生进货金额.Format = ""; this.col_发生进货金额.FormatInfo = null; this.col_发生进货金额.HeaderText = "发生进货金额"; this.col_发生进货金额.Width = 0; // // col_发生批发金额 // this.col_发生批发金额.Format = ""; this.col_发生批发金额.FormatInfo = null; this.col_发生批发金额.HeaderText = "发生批发金额"; this.col_发生批发金额.Width = 0; // // col_发生零售金额 // this.col_发生零售金额.Format = ""; this.col_发生零售金额.FormatInfo = null; this.col_发生零售金额.HeaderText = "发生零售金额"; this.col_发生零售金额.Width = 0; // // col_库存数量 // this.col_库存数量.Format = ""; this.col_库存数量.FormatInfo = null; this.col_库存数量.HeaderText = "库存数量"; this.col_库存数量.Width = 60; // // col_库存进货金额 // this.col_库存进货金额.Format = ""; this.col_库存进货金额.FormatInfo = null; this.col_库存进货金额.HeaderText = "库存进货金额"; this.col_库存进货金额.Width = 0; // // col_库存批发金额 // this.col_库存批发金额.Format = ""; this.col_库存批发金额.FormatInfo = null; this.col_库存批发金额.HeaderText = "库存批发金额"; this.col_库存批发金额.Width = 0; // // col_库存零售金额 // this.col_库存零售金额.Format = ""; this.col_库存零售金额.FormatInfo = null; this.col_库存零售金额.HeaderText = "库存零售金额"; this.col_库存零售金额.Width = 0; // // col_数量误差 // this.col_数量误差.Format = ""; this.col_数量误差.FormatInfo = null; this.col_数量误差.HeaderText = "数量误差"; this.col_数量误差.Width = 60; // // col_进货金额差值 // this.col_进货金额差值.Format = ""; this.col_进货金额差值.FormatInfo = null; this.col_进货金额差值.HeaderText = "进货金额差值"; this.col_进货金额差值.Width = 0; // // col_批发金额差值 // this.col_批发金额差值.Format = ""; this.col_批发金额差值.FormatInfo = null; this.col_批发金额差值.HeaderText = "批发金额差值"; this.col_批发金额差值.Width = 0; // // col_零售金额差值 // this.col_零售金额差值.Format = ""; this.col_零售金额差值.FormatInfo = null; this.col_零售金额差值.HeaderText = "零售金额差值"; this.col_零售金额差值.Width = 0; // // col_单位比例 // this.col_单位比例.Format = ""; this.col_单位比例.FormatInfo = null; this.col_单位比例.HeaderText = "dwbl"; this.col_单位比例.Width = 0; // // col_批次号 // this.col_批次号.Format = ""; this.col_批次号.FormatInfo = null; this.col_批次号.HeaderText = "批次号"; this.col_批次号.Width = 85; // // col_批号 // this.col_批号.Format = ""; this.col_批号.FormatInfo = null; this.col_批号.HeaderText = "批号"; this.col_批号.Width = 75; // // col_kcid // this.col_kcid.Format = ""; this.col_kcid.FormatInfo = null; this.col_kcid.HeaderText = "kcid"; this.col_kcid.Width = 0; // // tabPage2 // this.tabPage2.Controls.Add(this.myDataGrid2); this.tabPage2.Location = new System.Drawing.Point(4, 21); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(706, 367); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "金额有误"; // // myDataGrid2 // this.myDataGrid2.BackgroundColor = System.Drawing.Color.White; this.myDataGrid2.CaptionVisible = false; this.myDataGrid2.DataMember = ""; this.myDataGrid2.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid2.Location = new System.Drawing.Point(0, 0); this.myDataGrid2.Name = "myDataGrid2"; this.myDataGrid2.Size = new System.Drawing.Size(706, 367); this.myDataGrid2.TabIndex = 0; this.myDataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.myDataGrid2; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn34, this.dataGridTextBoxColumn38, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn39, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn40, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn29, this.c上期进货金额, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn30, this.c本期进货金额, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn31, this.c库存进货金额, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn18, this.dataGridTextBoxColumn32, this.c进货金额差值, this.dataGridTextBoxColumn19, this.dataGridTextBoxColumn20, this.dataGridTextBoxColumn9, this.c批次号, this.c批号, this.ckcid }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn34 // this.dataGridTextBoxColumn34.Format = ""; this.dataGridTextBoxColumn34.FormatInfo = null; this.dataGridTextBoxColumn34.HeaderText = "cjid"; this.dataGridTextBoxColumn34.Width = 0; // // dataGridTextBoxColumn38 // this.dataGridTextBoxColumn38.Format = ""; this.dataGridTextBoxColumn38.FormatInfo = null; this.dataGridTextBoxColumn38.HeaderText = "货号"; this.dataGridTextBoxColumn38.Width = 50; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "品名"; this.dataGridTextBoxColumn10.MappingName = "品名"; this.dataGridTextBoxColumn10.Width = 0; // // dataGridTextBoxColumn39 // this.dataGridTextBoxColumn39.Format = ""; this.dataGridTextBoxColumn39.FormatInfo = null; this.dataGridTextBoxColumn39.HeaderText = "商品名"; this.dataGridTextBoxColumn39.Width = 110; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.MappingName = "规格"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn40 // this.dataGridTextBoxColumn40.Format = ""; this.dataGridTextBoxColumn40.FormatInfo = null; this.dataGridTextBoxColumn40.HeaderText = "厂家"; this.dataGridTextBoxColumn40.Width = 0; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "单位"; this.dataGridTextBoxColumn12.MappingName = "单位"; this.dataGridTextBoxColumn12.Width = 30; // // dataGridTextBoxColumn29 // this.dataGridTextBoxColumn29.Format = ""; this.dataGridTextBoxColumn29.FormatInfo = null; this.dataGridTextBoxColumn29.HeaderText = "上期数量"; this.dataGridTextBoxColumn29.Width = 0; // // c上期进货金额 // this.c上期进货金额.Format = ""; this.c上期进货金额.FormatInfo = null; this.c上期进货金额.HeaderText = "上期进货金额"; this.c上期进货金额.Width = 0; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "上期批发金额"; this.dataGridTextBoxColumn13.Width = 0; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "上期零售金额"; this.dataGridTextBoxColumn14.Width = 0; // // dataGridTextBoxColumn30 // this.dataGridTextBoxColumn30.Format = ""; this.dataGridTextBoxColumn30.FormatInfo = null; this.dataGridTextBoxColumn30.HeaderText = "发生数量"; this.dataGridTextBoxColumn30.Width = 0; // // c本期进货金额 // this.c本期进货金额.Format = ""; this.c本期进货金额.FormatInfo = null; this.c本期进货金额.HeaderText = "本期进货金额"; this.c本期进货金额.Width = 0; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "发生批发金额"; this.dataGridTextBoxColumn15.Width = 0; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "发生零售金额"; this.dataGridTextBoxColumn16.Width = 0; // // dataGridTextBoxColumn31 // this.dataGridTextBoxColumn31.Format = ""; this.dataGridTextBoxColumn31.FormatInfo = null; this.dataGridTextBoxColumn31.HeaderText = "库存数量"; this.dataGridTextBoxColumn31.Width = 0; // // c库存进货金额 // this.c库存进货金额.Format = ""; this.c库存进货金额.FormatInfo = null; this.c库存进货金额.HeaderText = "库存进货金额"; this.c库存进货金额.Width = 0; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "库存批发金额"; this.dataGridTextBoxColumn17.Width = 0; // // dataGridTextBoxColumn18 // this.dataGridTextBoxColumn18.Format = ""; this.dataGridTextBoxColumn18.FormatInfo = null; this.dataGridTextBoxColumn18.HeaderText = "库存零售金额"; this.dataGridTextBoxColumn18.Width = 0; // // dataGridTextBoxColumn32 // this.dataGridTextBoxColumn32.Format = ""; this.dataGridTextBoxColumn32.FormatInfo = null; this.dataGridTextBoxColumn32.HeaderText = "数量差值"; this.dataGridTextBoxColumn32.Width = 0; // // c进货金额差值 // this.c进货金额差值.Format = ""; this.c进货金额差值.FormatInfo = null; this.c进货金额差值.HeaderText = "进货金额差值"; this.c进货金额差值.Width = 75; // // dataGridTextBoxColumn19 // this.dataGridTextBoxColumn19.Format = ""; this.dataGridTextBoxColumn19.FormatInfo = null; this.dataGridTextBoxColumn19.HeaderText = "批发金额差值"; this.dataGridTextBoxColumn19.Width = 75; // // dataGridTextBoxColumn20 // this.dataGridTextBoxColumn20.Format = ""; this.dataGridTextBoxColumn20.FormatInfo = null; this.dataGridTextBoxColumn20.HeaderText = "零售金额差值"; this.dataGridTextBoxColumn20.Width = 75; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "dwbl"; this.dataGridTextBoxColumn9.Width = 0; // // c批次号 // this.c批次号.Format = ""; this.c批次号.FormatInfo = null; this.c批次号.HeaderText = "批次号"; this.c批次号.Width = 125; // // c批号 // this.c批号.Format = ""; this.c批号.FormatInfo = null; this.c批号.HeaderText = "批号"; this.c批号.Width = 0; // // ckcid // this.ckcid.Format = ""; this.ckcid.FormatInfo = null; this.ckcid.HeaderText = "kcid"; this.ckcid.Width = 0; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 448); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(714, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 200; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 200; // // panel1 // this.panel1.Controls.Add(this.butmodif); this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 392); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(714, 56); this.panel1.TabIndex = 2; // // butmodif // this.butmodif.Location = new System.Drawing.Point(240, 8); this.butmodif.Name = "butmodif"; this.butmodif.Size = new System.Drawing.Size(112, 32); this.butmodif.TabIndex = 2; this.butmodif.Text = "数据修正(&M)"; this.butmodif.Click += new System.EventHandler(this.butmodif_Click); // // button2 // this.button2.Location = new System.Drawing.Point(480, 8); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(112, 32); this.button2.TabIndex = 1; this.button2.Text = "退出(&Q)"; this.button2.Click += new System.EventHandler(this.button2_Click); // // button1 // this.button1.Location = new System.Drawing.Point(360, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(112, 32); this.button1.TabIndex = 0; this.button1.Text = "数据入帐(&O)"; this.button1.Click += new System.EventHandler(this.button1_Click); // // panel2 // this.panel2.Controls.Add(this.tabControl1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(714, 392); this.panel2.TabIndex = 3; // // Frmxtdzmx // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(714, 471); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Controls.Add(this.statusBar1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MinimizeBox = false; this.Name = "Frmxtdzmx"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "系统对帐结果"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxtdz_Load); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.药房名称 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.审核时间 = new System.Windows.Forms.DataGridTextBoxColumn(); this.审核员 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.butclose = new System.Windows.Forms.Button(); this.butsh = new System.Windows.Forms.Button(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.butnew = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.cmbck = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.chkdjsj = new System.Windows.Forms.CheckBox(); this.txtdjh = new System.Windows.Forms.TextBox(); this.chkdjh = new System.Windows.Forms.CheckBox(); this.txtghdw = new System.Windows.Forms.TextBox(); this.chkghdw = new System.Windows.Forms.CheckBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.butref = new System.Windows.Forms.Button(); this.butexcel = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel5); this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(832, 485); this.panel1.TabIndex = 0; // // panel5 // this.panel5.Controls.Add(this.myDataGrid1); this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; this.panel5.Location = new System.Drawing.Point(0, 72); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(832, 357); this.panel5.TabIndex = 3; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(0, 0); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.ReadOnly = true; this.myDataGrid1.Size = new System.Drawing.Size(832, 357); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.DoubleClick += new System.EventHandler(this.myDataGrid1_DoubleClick); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.药房名称, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.审核时间, this.审核员, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn12 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "仓库名称"; this.dataGridTextBoxColumn9.NullText = ""; this.dataGridTextBoxColumn9.ReadOnly = true; this.dataGridTextBoxColumn9.Width = 75; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "打印"; this.dataGridTextBoxColumn10.NullText = ""; this.dataGridTextBoxColumn10.ReadOnly = true; this.dataGridTextBoxColumn10.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单据号"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 60; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "单据日期"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 80; // // 药房名称 // this.药房名称.Format = ""; this.药房名称.FormatInfo = null; this.药房名称.HeaderText = "药房名称"; this.药房名称.Width = 120; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "进货金额"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 65; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "批发金额"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.Width = 65; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "零售金额"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.Width = 65; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "登记时间"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 120; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "登记员"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 60; // // 审核时间 // this.审核时间.Format = ""; this.审核时间.FormatInfo = null; this.审核时间.HeaderText = "审核时间"; this.审核时间.NullText = ""; this.审核时间.Width = 120; // // 审核员 // this.审核员.Format = ""; this.审核员.FormatInfo = null; this.审核员.HeaderText = "审核员"; this.审核员.NullText = ""; this.审核员.Width = 60; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "备注"; this.dataGridTextBoxColumn11.NullText = ""; this.dataGridTextBoxColumn11.ReadOnly = true; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "ID"; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.ReadOnly = true; this.dataGridTextBoxColumn12.Width = 0; // // panel4 // this.panel4.Controls.Add(this.butexcel); this.panel4.Controls.Add(this.butclose); this.panel4.Controls.Add(this.butsh); this.panel4.Controls.Add(this.statusBar1); this.panel4.Controls.Add(this.butnew); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(0, 429); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(832, 56); this.panel4.TabIndex = 2; // // butclose // this.butclose.Location = new System.Drawing.Point(544, 6); this.butclose.Name = "butclose"; this.butclose.Size = new System.Drawing.Size(88, 24); this.butclose.TabIndex = 3; this.butclose.Text = "关闭(&Q)"; this.butclose.Click += new System.EventHandler(this.butclose_Click); // // butsh // this.butsh.Location = new System.Drawing.Point(440, 6); this.butsh.Name = "butsh"; this.butsh.Size = new System.Drawing.Size(88, 24); this.butsh.TabIndex = 2; this.butsh.Text = "查看(&H)"; this.butsh.Click += new System.EventHandler(this.butsh_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 32); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(832, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 200; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1000; // // butnew // this.butnew.Location = new System.Drawing.Point(344, 6); this.butnew.Name = "butnew"; this.butnew.Size = new System.Drawing.Size(88, 24); this.butnew.TabIndex = 0; this.butnew.Text = "新单据(&N)"; this.butnew.Click += new System.EventHandler(this.butnew_Click); // // panel3 // this.panel3.Controls.Add(this.panel2); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(832, 72); this.panel3.TabIndex = 1; // // panel2 // this.panel2.Controls.Add(this.cmbck); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.dtp2); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.dtp1); this.panel2.Controls.Add(this.chkdjsj); this.panel2.Controls.Add(this.txtdjh); this.panel2.Controls.Add(this.chkdjh); this.panel2.Controls.Add(this.txtghdw); this.panel2.Controls.Add(this.chkghdw); this.panel2.Controls.Add(this.rdo2); this.panel2.Controls.Add(this.rdo1); this.panel2.Controls.Add(this.butref); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(832, 72); this.panel2.TabIndex = 3; // // cmbck // this.cmbck.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbck.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cmbck.Location = new System.Drawing.Point(218, 12); this.cmbck.Name = "cmbck"; this.cmbck.Size = new System.Drawing.Size(112, 20); this.cmbck.TabIndex = 20; // // label3 // this.label3.Location = new System.Drawing.Point(165, 17); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 16); this.label3.TabIndex = 21; this.label3.Text = "仓库名称"; // // dtp2 // this.dtp2.Enabled = false; this.dtp2.Location = new System.Drawing.Point(547, 42); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(110, 21); this.dtp2.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(527, 48); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(24, 16); this.label1.TabIndex = 10; this.label1.Text = "到"; // // dtp1 // this.dtp1.Enabled = false; this.dtp1.Location = new System.Drawing.Point(413, 42); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 2; // // chkdjsj // this.chkdjsj.Location = new System.Drawing.Point(340, 41); this.chkdjsj.Name = "chkdjsj"; this.chkdjsj.Size = new System.Drawing.Size(80, 22); this.chkdjsj.TabIndex = 8; this.chkdjsj.Text = "登记时间"; this.chkdjsj.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txtdjh // this.txtdjh.Enabled = false; this.txtdjh.Location = new System.Drawing.Point(218, 42); this.txtdjh.Name = "txtdjh"; this.txtdjh.Size = new System.Drawing.Size(112, 21); this.txtdjh.TabIndex = 1; // // chkdjh // this.chkdjh.Location = new System.Drawing.Point(164, 42); this.chkdjh.Name = "chkdjh"; this.chkdjh.Size = new System.Drawing.Size(120, 22); this.chkdjh.TabIndex = 4; this.chkdjh.Text = "单据号"; this.chkdjh.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txtghdw // this.txtghdw.Enabled = false; this.txtghdw.Location = new System.Drawing.Point(413, 14); this.txtghdw.Name = "txtghdw"; this.txtghdw.Size = new System.Drawing.Size(160, 21); this.txtghdw.TabIndex = 0; this.txtghdw.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // chkghdw // this.chkghdw.Location = new System.Drawing.Point(341, 14); this.chkghdw.Name = "chkghdw"; this.chkghdw.Size = new System.Drawing.Size(80, 22); this.chkghdw.TabIndex = 2; this.chkghdw.Text = "供货单位"; this.chkghdw.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // rdo2 // this.rdo2.Location = new System.Drawing.Point(88, 9); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(72, 22); this.rdo2.TabIndex = 1; this.rdo2.Text = "已审核"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(24, 9); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(64, 22); this.rdo1.TabIndex = 0; this.rdo1.TabStop = true; this.rdo1.Text = "未审核"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // butref // this.butref.Location = new System.Drawing.Point(684, 40); this.butref.Name = "butref"; this.butref.Size = new System.Drawing.Size(88, 24); this.butref.TabIndex = 4; this.butref.Text = "刷新(&R)"; this.butref.Click += new System.EventHandler(this.butref_Click); // // butexcel // this.butexcel.Location = new System.Drawing.Point(128, 6); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(104, 24); this.butexcel.TabIndex = 8; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // Frmtitle // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(832, 485); this.Controls.Add(this.panel1); this.Name = "Frmtitle"; this.Text = "药品入库"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Activated += new System.EventHandler(this.Frmtitle_Activated); this.Load += new System.EventHandler(this.Frmtitle_Load); this.panel1.ResumeLayout(false); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.panel3.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.textBox1 = new System.Windows.Forms.TextBox(); this.butquit = new System.Windows.Forms.Button(); this.butok = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.myDataGrid2 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel3 = new System.Windows.Forms.Panel(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).BeginInit(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.textBox1); this.panel1.Controls.Add(this.butquit); this.panel1.Controls.Add(this.butok); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(688, 48); this.panel1.TabIndex = 0; // // textBox1 // this.textBox1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.textBox1.Location = new System.Drawing.Point(400, 11); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(160, 30); this.textBox1.TabIndex = 0; this.textBox1.Text = ""; this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); // // butquit // this.butquit.Location = new System.Drawing.Point(160, 8); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(136, 32); this.butquit.TabIndex = 1; this.butquit.Text = "取消"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butok // this.butok.Location = new System.Drawing.Point(24, 8); this.butok.Name = "butok"; this.butok.Size = new System.Drawing.Size(136, 32); this.butok.TabIndex = 3; this.butok.Text = "选择"; this.butok.Click += new System.EventHandler(this.butok_Click); // // label1 // this.label1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label1.Location = new System.Drawing.Point(334, 17); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(104, 24); this.label1.TabIndex = 3; this.label1.Text = "处方号"; // // panel2 // this.panel2.Controls.Add(this.myDataGrid1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 48); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(688, 184); this.panel2.TabIndex = 1; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(0, 0); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.ReadOnly = true; this.myDataGrid1.Size = new System.Drawing.Size(688, 184); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.Click += new System.EventHandler(this.myDataGrid1_Click); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridBoolColumn1 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = ""; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.MappingName = ""; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "科室"; this.dataGridTextBoxColumn2.MappingName = ""; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 75; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "住院号"; this.dataGridTextBoxColumn3.MappingName = ""; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "姓名"; this.dataGridTextBoxColumn4.MappingName = ""; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "金额"; this.dataGridTextBoxColumn5.MappingName = ""; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "剂数"; this.dataGridTextBoxColumn15.MappingName = ""; this.dataGridTextBoxColumn15.Width = 50; // // dataGridBoolColumn1 // this.dataGridBoolColumn1.FalseValue = ((short)(0)); this.dataGridBoolColumn1.HeaderText = "选"; this.dataGridBoolColumn1.MappingName = ""; this.dataGridBoolColumn1.NullText = ""; this.dataGridBoolColumn1.NullValue = 0; this.dataGridBoolColumn1.TrueValue = ((short)(1)); this.dataGridBoolColumn1.Width = 50; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "处方号"; this.dataGridTextBoxColumn16.MappingName = ""; this.dataGridTextBoxColumn16.NullText = ""; this.dataGridTextBoxColumn16.Width = 60; // // myDataGrid2 // this.myDataGrid2.BackgroundColor = System.Drawing.Color.White; this.myDataGrid2.CaptionVisible = false; this.myDataGrid2.DataMember = ""; this.myDataGrid2.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid2.Location = new System.Drawing.Point(0, 0); this.myDataGrid2.Name = "myDataGrid2"; this.myDataGrid2.Size = new System.Drawing.Size(688, 213); this.myDataGrid2.TabIndex = 0; this.myDataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.myDataGrid2; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn14 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.MappingName = ""; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "序号"; this.dataGridTextBoxColumn6.MappingName = ""; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.Width = 40; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "商品名"; this.dataGridTextBoxColumn7.MappingName = ""; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.Width = 75; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "品名"; this.dataGridTextBoxColumn8.MappingName = ""; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 75; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "数量"; this.dataGridTextBoxColumn9.MappingName = ""; this.dataGridTextBoxColumn9.NullText = ""; this.dataGridTextBoxColumn9.Width = 60; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "单位"; this.dataGridTextBoxColumn10.MappingName = ""; this.dataGridTextBoxColumn10.NullText = ""; this.dataGridTextBoxColumn10.Width = 40; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.MappingName = ""; this.dataGridTextBoxColumn11.NullText = ""; this.dataGridTextBoxColumn11.Width = 90; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "厂家"; this.dataGridTextBoxColumn12.MappingName = ""; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.Width = 90; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "单价"; this.dataGridTextBoxColumn13.MappingName = ""; this.dataGridTextBoxColumn13.NullText = ""; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "金额"; this.dataGridTextBoxColumn14.MappingName = ""; this.dataGridTextBoxColumn14.NullText = ""; this.dataGridTextBoxColumn14.Width = 65; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Top; this.splitter1.Location = new System.Drawing.Point(0, 232); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(688, 8); this.splitter1.TabIndex = 2; this.splitter1.TabStop = false; // // panel3 // this.panel3.Controls.Add(this.myDataGrid2); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 240); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(688, 213); this.panel3.TabIndex = 3; // // Frmcffy_cx // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(688, 453); this.ControlBox = false; this.Controls.Add(this.panel3); this.Controls.Add(this.splitter1); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Frmcffy_cx"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "选择明细记录"; this.Load += new System.EventHandler(this.Frmmxcx_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).EndInit(); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.myDataGrid2 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel2 = new System.Windows.Forms.Panel(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.lblypmc = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.dtpqyrq = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.butdel = new System.Windows.Forms.Button(); this.butadd = new System.Windows.Forms.Button(); this.txtks = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.lbldw = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.lblypspm = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.lblgg = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.butsave = new System.Windows.Forms.Button(); this.butquit = new System.Windows.Forms.Button(); this.txtypdm = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.txtjs = new System.Windows.Forms.TextBox(); this.label19 = new System.Windows.Forms.Label(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.panel3 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.butclear = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).BeginInit(); this.panel2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.groupBox1); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(144, 533); this.panel1.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.myDataGrid2); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(144, 533); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "备有基数药的科室"; // // myDataGrid2 // this.myDataGrid2.BackgroundColor = System.Drawing.SystemColors.ActiveCaptionText; this.myDataGrid2.CaptionBackColor = System.Drawing.Color.Silver; this.myDataGrid2.CaptionForeColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(192))); this.myDataGrid2.CaptionText = "双击查看明细"; this.myDataGrid2.DataMember = ""; this.myDataGrid2.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid2.Location = new System.Drawing.Point(3, 17); this.myDataGrid2.Name = "myDataGrid2"; this.myDataGrid2.Size = new System.Drawing.Size(138, 513); this.myDataGrid2.TabIndex = 0; this.myDataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); this.myDataGrid2.Click += new System.EventHandler(this.myDataGrid2_DoubleClick); this.myDataGrid2.CurrentCellChanged += new System.EventHandler(this.myDataGrid2_DoubleClick); // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.myDataGrid2; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.MappingName = ""; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "科室名称"; this.dataGridTextBoxColumn12.MappingName = ""; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.Width = 75; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "deptid"; this.dataGridTextBoxColumn13.MappingName = ""; this.dataGridTextBoxColumn13.NullText = ""; this.dataGridTextBoxColumn13.Width = 0; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(144, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(8, 533); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // panel2 // this.panel2.Controls.Add(this.groupBox3); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(152, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(712, 88); this.panel2.TabIndex = 2; // // groupBox3 // this.groupBox3.Controls.Add(this.butclear); this.groupBox3.Controls.Add(this.lblypmc); this.groupBox3.Controls.Add(this.label5); this.groupBox3.Controls.Add(this.dtpqyrq); this.groupBox3.Controls.Add(this.label1); this.groupBox3.Controls.Add(this.butdel); this.groupBox3.Controls.Add(this.butadd); this.groupBox3.Controls.Add(this.txtks); this.groupBox3.Controls.Add(this.label4); this.groupBox3.Controls.Add(this.lbldw); this.groupBox3.Controls.Add(this.label2); this.groupBox3.Controls.Add(this.lblypspm); this.groupBox3.Controls.Add(this.label16); this.groupBox3.Controls.Add(this.lblgg); this.groupBox3.Controls.Add(this.label12); this.groupBox3.Controls.Add(this.butsave); this.groupBox3.Controls.Add(this.butquit); this.groupBox3.Controls.Add(this.txtypdm); this.groupBox3.Controls.Add(this.label10); this.groupBox3.Controls.Add(this.txtjs); this.groupBox3.Controls.Add(this.label19); this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox3.Location = new System.Drawing.Point(0, 0); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(712, 88); this.groupBox3.TabIndex = 3; this.groupBox3.TabStop = false; this.groupBox3.Text = "查询"; // // lblypmc // this.lblypmc.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblypmc.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.lblypmc.ForeColor = System.Drawing.Color.Navy; this.lblypmc.Location = new System.Drawing.Point(240, 20); this.lblypmc.Name = "lblypmc"; this.lblypmc.Size = new System.Drawing.Size(144, 20); this.lblypmc.TabIndex = 103; // // label5 // this.label5.Location = new System.Drawing.Point(201, 24); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(64, 16); this.label5.TabIndex = 102; this.label5.Text = "品名"; // // dtpqyrq // this.dtpqyrq.Location = new System.Drawing.Point(384, 53); this.dtpqyrq.Name = "dtpqyrq"; this.dtpqyrq.Size = new System.Drawing.Size(112, 21); this.dtpqyrq.TabIndex = 101; // // label1 // this.label1.Location = new System.Drawing.Point(328, 58); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 100; this.label1.Text = "启用日期"; // // butdel // this.butdel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.butdel.ForeColor = System.Drawing.Color.Navy; this.butdel.Location = new System.Drawing.Point(544, 51); this.butdel.Name = "butdel"; this.butdel.Size = new System.Drawing.Size(40, 24); this.butdel.TabIndex = 99; this.butdel.Text = "删除"; this.butdel.Click += new System.EventHandler(this.butdel_Click); // // butadd // this.butadd.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.butadd.ForeColor = System.Drawing.Color.Navy; this.butadd.Location = new System.Drawing.Point(504, 51); this.butadd.Name = "butadd"; this.butadd.Size = new System.Drawing.Size(40, 24); this.butadd.TabIndex = 3; this.butadd.Text = "添加"; this.butadd.Click += new System.EventHandler(this.butadd_Click); // // txtks // this.txtks.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255))); this.txtks.Location = new System.Drawing.Point(48, 53); this.txtks.Name = "txtks"; this.txtks.Size = new System.Drawing.Size(80, 21); this.txtks.TabIndex = 0; this.txtks.Text = ""; this.txtks.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.GotoNext); this.txtks.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // label4 // this.label4.Location = new System.Drawing.Point(17, 57); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(48, 16); this.label4.TabIndex = 97; this.label4.Text = "科室"; // // lbldw // this.lbldw.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lbldw.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.lbldw.ForeColor = System.Drawing.Color.Navy; this.lbldw.Location = new System.Drawing.Point(584, 19); this.lbldw.Name = "lbldw"; this.lbldw.Size = new System.Drawing.Size(40, 20); this.lbldw.TabIndex = 95; // // label2 // this.label2.Location = new System.Drawing.Point(552, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(32, 16); this.label2.TabIndex = 94; this.label2.Text = "单位"; // // lblypspm // this.lblypspm.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblypspm.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.lblypspm.ForeColor = System.Drawing.Color.Navy; this.lblypspm.Location = new System.Drawing.Point(48, 20); this.lblypspm.Name = "lblypspm"; this.lblypspm.Size = new System.Drawing.Size(144, 20); this.lblypspm.TabIndex = 74; // // label16 // this.label16.Location = new System.Drawing.Point(8, 24); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(64, 16); this.label16.TabIndex = 73; this.label16.Text = "商品名"; // // lblgg // this.lblgg.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblgg.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.lblgg.ForeColor = System.Drawing.Color.Navy; this.lblgg.Location = new System.Drawing.Point(424, 20); this.lblgg.Name = "lblgg"; this.lblgg.Size = new System.Drawing.Size(120, 20); this.lblgg.TabIndex = 70; // // label12 // this.label12.Location = new System.Drawing.Point(392, 24); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(34, 16); this.label12.TabIndex = 69; this.label12.Text = "规格"; // // butsave // this.butsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.butsave.ForeColor = System.Drawing.Color.Navy; this.butsave.Location = new System.Drawing.Point(584, 51); this.butsave.Name = "butsave"; this.butsave.Size = new System.Drawing.Size(40, 24); this.butsave.TabIndex = 4; this.butsave.Text = "保存"; this.butsave.Click += new System.EventHandler(this.butsave_Click); // // butquit // this.butquit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.butquit.ForeColor = System.Drawing.Color.Navy; this.butquit.Location = new System.Drawing.Point(664, 51); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(40, 24); this.butquit.TabIndex = 5; this.butquit.Text = "退出"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // txtypdm // this.txtypdm.ForeColor = System.Drawing.Color.Navy; this.txtypdm.Location = new System.Drawing.Point(160, 53); this.txtypdm.Name = "txtypdm"; this.txtypdm.Size = new System.Drawing.Size(64, 21); this.txtypdm.TabIndex = 1; this.txtypdm.Text = ""; this.txtypdm.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.GotoNext); this.txtypdm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // label10 // this.label10.Location = new System.Drawing.Point(128, 58); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(40, 16); this.label10.TabIndex = 67; this.label10.Text = "代码"; // // txtjs // this.txtjs.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.txtjs.Location = new System.Drawing.Point(256, 53); this.txtjs.Name = "txtjs"; this.txtjs.Size = new System.Drawing.Size(72, 21); this.txtjs.TabIndex = 2; this.txtjs.Text = ""; this.txtjs.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.GotoNext); // // label19 // this.label19.Location = new System.Drawing.Point(224, 58); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(48, 16); this.label19.TabIndex = 77; this.label19.Text = "基数"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(152, 509); this.statusBar1.Name = "statusBar1"; this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(712, 24); this.statusBar1.TabIndex = 3; this.statusBar1.Text = "statusBar1"; // // panel3 // this.panel3.Controls.Add(this.myDataGrid1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(152, 88); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(712, 421); this.panel3.TabIndex = 4; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.ActiveCaptionText; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.Silver; this.myDataGrid1.CaptionForeColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(192))); this.myDataGrid1.CaptionText = "基数药列表"; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(0, 0); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(712, 421); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.DoubleClick += new System.EventHandler(this.myDataGrid2_DoubleClick); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = ""; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.MappingName = ""; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 35; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.MappingName = ""; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "商品名"; this.dataGridTextBoxColumn3.MappingName = ""; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 150; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "规格"; this.dataGridTextBoxColumn4.MappingName = ""; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "基数"; this.dataGridTextBoxColumn7.MappingName = ""; this.dataGridTextBoxColumn7.Width = 65; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "单位"; this.dataGridTextBoxColumn8.MappingName = ""; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 35; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "ggid"; this.dataGridTextBoxColumn10.MappingName = ""; this.dataGridTextBoxColumn10.ReadOnly = true; this.dataGridTextBoxColumn10.Width = 0; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "启用日期"; this.dataGridTextBoxColumn11.MappingName = ""; this.dataGridTextBoxColumn11.NullText = ""; this.dataGridTextBoxColumn11.Width = 75; // // butclear // this.butclear.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.butclear.ForeColor = System.Drawing.Color.Navy; this.butclear.Location = new System.Drawing.Point(624, 51); this.butclear.Name = "butclear"; this.butclear.Size = new System.Drawing.Size(40, 24); this.butclear.TabIndex = 104; this.butclear.Text = "清除"; this.butclear.Click += new System.EventHandler(this.butclear_Click); // // FrmDeptMed // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(864, 533); this.Controls.Add(this.panel3); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel2); this.Controls.Add(this.splitter1); this.Controls.Add(this.panel1); this.Name = "FrmDeptMed"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "v"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmdsytl_Load); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).EndInit(); this.panel2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblbz = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.lblbz); this.groupBox1.Controls.Add(this.button1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(0, 397); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(776, 80); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; // // lblbz // this.lblbz.Dock = System.Windows.Forms.DockStyle.Left; this.lblbz.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblbz.ForeColor = System.Drawing.Color.Red; this.lblbz.Location = new System.Drawing.Point(3, 17); this.lblbz.Name = "lblbz"; this.lblbz.Size = new System.Drawing.Size(628, 60); this.lblbz.TabIndex = 1; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.button1.Location = new System.Drawing.Point(668, 20); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(96, 32); this.button1.TabIndex = 0; this.button1.Text = "退出(&Q)"; this.button1.Click += new System.EventHandler(this.button1_Click); // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(776, 397); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.Turquoise; this.myDataGrid1.CaptionForeColor = System.Drawing.Color.Navy; this.myDataGrid1.CaptionText = "注意:调价时请勿必通知各科室将未审核的单据审核,已必免产生调价误差."; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.ForeColor = System.Drawing.Color.Black; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(770, 377); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "部门"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "业务类型"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 75; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "单据号"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 60; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "登记时间"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.Width = 90; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "药品名称"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.Width = 120; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "规格"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.Width = 90; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "批发价"; this.dataGridTextBoxColumn9.NullText = ""; this.dataGridTextBoxColumn9.Width = 65; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "零售价"; this.dataGridTextBoxColumn10.NullText = ""; this.dataGridTextBoxColumn10.Width = 65; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "数量"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.Width = 60; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "单位"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 40; // // Frmwshdj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(776, 477); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Name = "Frmwshdj"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "未审核单据"; this.Load += new System.EventHandler(this.Frmwshdj_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
private void ExportToExcel(myDataGrid.myDataGrid pmydatagrid) { }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.butprint = new System.Windows.Forms.Button(); this.butquit = new System.Windows.Forms.Button(); this.butdel = new System.Windows.Forms.Button(); this.butsave = new System.Windows.Forms.Button(); this.txtdm = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.cmbjxdl = new System.Windows.Forms.ComboBox(); this.cmbyplx = new System.Windows.Forms.ComboBox(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 454); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(768, 31); this.statusBar1.TabIndex = 0; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 300; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1001; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 21); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(762, 347); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); this.myDataGrid1.myKeyDown += new myDataGrid.myDelegate(this.myDataGrid1_myKeyDown); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "名称"; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "英文名"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "拼音码"; this.dataGridTextBoxColumn3.Width = 70; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "五笔码"; this.dataGridTextBoxColumn4.Width = 70; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "统领分类"; this.dataGridTextBoxColumn9.NullText = ""; this.dataGridTextBoxColumn9.ReadOnly = true; this.dataGridTextBoxColumn9.Width = 80; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "tlfl"; this.dataGridTextBoxColumn10.ReadOnly = true; this.dataGridTextBoxColumn10.Width = 0; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "剂型大类"; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 75; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "JXDL"; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 0; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "ID"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butdel); this.groupBox1.Controls.Add(this.butsave); this.groupBox1.Controls.Add(this.txtdm); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(0, 371); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(768, 83); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "操作"; // // butprint // this.butprint.Location = new System.Drawing.Point(725, 21); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(128, 41); this.butprint.TabIndex = 7; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // butquit // this.butquit.Location = new System.Drawing.Point(864, 21); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(128, 41); this.butquit.TabIndex = 4; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butdel // this.butdel.Location = new System.Drawing.Point(587, 21); this.butdel.Name = "butdel"; this.butdel.Size = new System.Drawing.Size(128, 41); this.butdel.TabIndex = 3; this.butdel.Text = "删除(&D)"; this.butdel.Click += new System.EventHandler(this.butdel_Click); // // butsave // this.butsave.Location = new System.Drawing.Point(448, 21); this.butsave.Name = "butsave"; this.butsave.Size = new System.Drawing.Size(128, 41); this.butsave.TabIndex = 2; this.butsave.Text = "保存(&S)"; this.butsave.Click += new System.EventHandler(this.butsave_Click); // // txtdm // this.txtdm.Location = new System.Drawing.Point(91, 31); this.txtdm.Name = "txtdm"; this.txtdm.Size = new System.Drawing.Size(256, 25); this.txtdm.TabIndex = 1; this.txtdm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtdm_KeyUp); // // label1 // this.label1.Location = new System.Drawing.Point(51, 36); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 21); this.label1.TabIndex = 0; this.label1.Text = "查找"; // // groupBox2 // this.groupBox2.Controls.Add(this.cmbjxdl); this.groupBox2.Controls.Add(this.cmbyplx); this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(768, 371); this.groupBox2.TabIndex = 5; this.groupBox2.TabStop = false; this.groupBox2.Text = "药品剂型"; // // cmbjxdl // this.cmbjxdl.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbjxdl.Location = new System.Drawing.Point(448, 242); this.cmbjxdl.Name = "cmbjxdl"; this.cmbjxdl.Size = new System.Drawing.Size(128, 23); this.cmbjxdl.TabIndex = 2; this.cmbjxdl.Visible = false; this.cmbjxdl.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.cmbjxdl_KeyPress); this.cmbjxdl.Move += new System.EventHandler(this.cmbjxdl_Move); // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Location = new System.Drawing.Point(213, 278); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(128, 23); this.cmbyplx.TabIndex = 1; this.cmbyplx.Visible = false; this.cmbyplx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.cmbyplx_KeyPress); this.cmbyplx.Move += new System.EventHandler(this.cmbyplx_Move); // // Frmjx // this.AutoScaleBaseSize = new System.Drawing.Size(8, 18); this.ClientSize = new System.Drawing.Size(768, 485); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.statusBar1); this.Name = "Frmjx"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmsccj_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 66); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(411, 28); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(154, 20); this.cmbyjks.TabIndex = 22; // // label3 // this.label3.Location = new System.Drawing.Point(346, 32); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(66, 16); this.label3.TabIndex = 21; this.label3.Text = "药剂科室"; // // butquit // this.butquit.Location = new System.Drawing.Point(749, 24); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(65, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(685, 24); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(64, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(622, 24); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(63, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(224, 29); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(113, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(206, 33); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 17); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(97, 29); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(109, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(32, 28); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 24); this.rdo1.TabIndex = 12; this.rdo1.TabStop = true; this.rdo1.Text = "按日期从"; // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Items.AddRange(new object[] { "2005", "2006", "2007", "2008", "2009", "2010" }); this.cmbyplx.Location = new System.Drawing.Point(506, -4); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(119, 20); this.cmbyplx.TabIndex = 19; this.cmbyplx.Visible = false; // // label1 // this.label1.Location = new System.Drawing.Point(441, 1); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(76, 17); this.label1.TabIndex = 20; this.label1.Text = "药品类型"; this.label1.Visible = false; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Controls.Add(this.cmbyplx); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 66); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 436); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "统计情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 416); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); this.myDataGrid1.DoubleClick += new System.EventHandler(this.myDataGrid1_DoubleClick); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "日期"; this.dataGridTextBoxColumn4.Width = 120; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "收费张数"; this.dataGridTextBoxColumn9.Width = 75; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "收费金额"; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "本日发药张数"; this.dataGridTextBoxColumn11.Width = 85; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "本日发药金额"; this.dataGridTextBoxColumn15.Width = 85; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "往日发药张数"; this.dataGridTextBoxColumn16.Width = 85; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "往日发药金额"; this.dataGridTextBoxColumn17.Width = 85; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "未发药张数"; this.dataGridTextBoxColumn1.Width = 80; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "未发药金额"; this.dataGridTextBoxColumn2.Width = 80; // // Frmmzcftj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmmzcftj"; this.Text = "门诊收费发药处方统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.butdel = new System.Windows.Forms.Button(); this.butsh = new System.Windows.Forms.Button(); this.butclose = new System.Windows.Forms.Button(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.butnew = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.cmbck = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.chkdjsj = new System.Windows.Forms.CheckBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.button4 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel5); this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(832, 485); this.panel1.TabIndex = 0; // // panel5 // this.panel5.Controls.Add(this.myDataGrid1); this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; this.panel5.Location = new System.Drawing.Point(0, 64); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(832, 365); this.panel5.TabIndex = 3; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(0, 0); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.ReadOnly = true; this.myDataGrid1.Size = new System.Drawing.Size(832, 365); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.DoubleClick += new System.EventHandler(this.myDataGrid1_DoubleClick); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn9 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 50; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "仓库名称"; this.dataGridTextBoxColumn10.NullText = ""; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "单据号"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "登记时间"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "登记员"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 60; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "审核时间"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 150; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "审核员"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 60; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "审核单据号"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 75; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "备注"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 75; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "id"; this.dataGridTextBoxColumn9.NullText = ""; this.dataGridTextBoxColumn9.ReadOnly = true; this.dataGridTextBoxColumn9.Width = 0; // // panel4 // this.panel4.Controls.Add(this.butdel); this.panel4.Controls.Add(this.butsh); this.panel4.Controls.Add(this.butclose); this.panel4.Controls.Add(this.statusBar1); this.panel4.Controls.Add(this.butnew); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(0, 429); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(832, 56); this.panel4.TabIndex = 2; // // butdel // this.butdel.Location = new System.Drawing.Point(176, 6); this.butdel.Name = "butdel"; this.butdel.Size = new System.Drawing.Size(88, 24); this.butdel.TabIndex = 5; this.butdel.Text = "删除(&D)"; this.butdel.Click += new System.EventHandler(this.butdel_Click); // // butsh // this.butsh.Location = new System.Drawing.Point(450, 6); this.butsh.Name = "butsh"; this.butsh.Size = new System.Drawing.Size(88, 24); this.butsh.TabIndex = 4; this.butsh.Text = "查看(&H)"; this.butsh.Click += new System.EventHandler(this.butsh_Click); // // butclose // this.butclose.Location = new System.Drawing.Point(552, 6); this.butclose.Name = "butclose"; this.butclose.Size = new System.Drawing.Size(88, 24); this.butclose.TabIndex = 3; this.butclose.Text = "关闭(&Q)"; this.butclose.Click += new System.EventHandler(this.butclose_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 32); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(832, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 200; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1000; // // butnew // this.butnew.Location = new System.Drawing.Point(352, 6); this.butnew.Name = "butnew"; this.butnew.Size = new System.Drawing.Size(88, 24); this.butnew.TabIndex = 0; this.butnew.Text = "新单据(&N)"; this.butnew.Click += new System.EventHandler(this.butnew_Click); // // panel3 // this.panel3.Controls.Add(this.panel2); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(832, 64); this.panel3.TabIndex = 1; // // panel2 // this.panel2.Controls.Add(this.cmbck); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.dtp2); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.dtp1); this.panel2.Controls.Add(this.chkdjsj); this.panel2.Controls.Add(this.rdo2); this.panel2.Controls.Add(this.rdo1); this.panel2.Controls.Add(this.button4); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(832, 64); this.panel2.TabIndex = 3; // // cmbck // this.cmbck.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbck.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cmbck.Location = new System.Drawing.Point(230, 14); this.cmbck.Name = "cmbck"; this.cmbck.Size = new System.Drawing.Size(112, 20); this.cmbck.TabIndex = 20; this.cmbck.SelectedIndexChanged += new System.EventHandler(this.cmbck_SelectedIndexChanged); // // label3 // this.label3.Location = new System.Drawing.Point(177, 18); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 16); this.label3.TabIndex = 21; this.label3.Text = "仓库名称"; // // dtp2 // this.dtp2.Enabled = false; this.dtp2.Location = new System.Drawing.Point(571, 15); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(110, 21); this.dtp2.TabIndex = 11; // // label1 // this.label1.Location = new System.Drawing.Point(548, 21); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(24, 16); this.label1.TabIndex = 10; this.label1.Text = "到"; // // dtp1 // this.dtp1.Enabled = false; this.dtp1.Location = new System.Drawing.Point(434, 15); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 9; // // chkdjsj // this.chkdjsj.Location = new System.Drawing.Point(361, 14); this.chkdjsj.Name = "chkdjsj"; this.chkdjsj.Size = new System.Drawing.Size(80, 22); this.chkdjsj.TabIndex = 8; this.chkdjsj.Text = "登记时间"; this.chkdjsj.Click += new System.EventHandler(this.chkshdh_CheckedChanged); // // rdo2 // this.rdo2.Location = new System.Drawing.Point(88, 15); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(72, 22); this.rdo2.TabIndex = 1; this.rdo2.Text = "已审核"; this.rdo2.Click += new System.EventHandler(this.rdo2_CheckedChanged); // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(24, 15); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(64, 22); this.rdo1.TabIndex = 0; this.rdo1.TabStop = true; this.rdo1.Text = "未审核"; this.rdo1.Click += new System.EventHandler(this.rdo2_CheckedChanged); // // button4 // this.button4.Location = new System.Drawing.Point(713, 14); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(88, 24); this.button4.TabIndex = 4; this.button4.Text = "刷新(&R)"; this.button4.Click += new System.EventHandler(this.butref_Click); // // Frmtitle // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(832, 485); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Name = "Frmtitle"; this.Text = "药品盘点录入"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmtitle_Load); this.Activated += new System.EventHandler(this.Frmtitle_Activated); this.panel1.ResumeLayout(false); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.panel3.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel4 = new System.Windows.Forms.Panel(); this.rdoall_bf = new System.Windows.Forms.RadioButton(); this.rdols = new System.Windows.Forms.RadioButton(); this.rdodq = new System.Windows.Forms.RadioButton(); this.label3 = new System.Windows.Forms.Label(); this.txtmb = new System.Windows.Forms.TextBox(); this.rdozy = new System.Windows.Forms.RadioButton(); this.butexcel = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.txtdm = new System.Windows.Forms.TextBox(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.rdomz = new System.Windows.Forms.RadioButton(); this.rdoall = new System.Windows.Forms.RadioButton(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel4 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel5 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel6 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn18 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn19 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn20 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn21 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn22 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel6)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.panel4); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.txtmb); this.groupBox1.Controls.Add(this.rdozy); this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.txtdm); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.rdomz); this.groupBox1.Controls.Add(this.rdoall); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 79); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // panel4 // this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel4.Controls.Add(this.rdoall_bf); this.panel4.Controls.Add(this.rdols); this.panel4.Controls.Add(this.rdodq); this.panel4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.panel4.Location = new System.Drawing.Point(615, 10); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(76, 65); this.panel4.TabIndex = 44; // // rdoall_bf // this.rdoall_bf.ForeColor = System.Drawing.Color.Black; this.rdoall_bf.Location = new System.Drawing.Point(7, 42); this.rdoall_bf.Name = "rdoall_bf"; this.rdoall_bf.Size = new System.Drawing.Size(58, 24); this.rdoall_bf.TabIndex = 13; this.rdoall_bf.Text = "全部"; this.rdoall_bf.CheckedChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); // // rdols // this.rdols.ForeColor = System.Drawing.Color.Black; this.rdols.Location = new System.Drawing.Point(7, 22); this.rdols.Name = "rdols"; this.rdols.Size = new System.Drawing.Size(58, 24); this.rdols.TabIndex = 11; this.rdols.Text = "历史"; // // rdodq // this.rdodq.Checked = true; this.rdodq.ForeColor = System.Drawing.Color.Black; this.rdodq.Location = new System.Drawing.Point(7, 3); this.rdodq.Name = "rdodq"; this.rdodq.Size = new System.Drawing.Size(58, 24); this.rdodq.TabIndex = 10; this.rdodq.TabStop = true; this.rdodq.Text = "当前"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(399, 21); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(53, 12); this.label3.TabIndex = 43; this.label3.Text = "模板名称"; // // txtmb // this.txtmb.Location = new System.Drawing.Point(461, 16); this.txtmb.Name = "txtmb"; this.txtmb.Size = new System.Drawing.Size(148, 21); this.txtmb.TabIndex = 0; this.txtmb.TextChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); this.txtmb.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // rdozy // this.rdozy.Location = new System.Drawing.Point(306, 13); this.rdozy.Name = "rdozy"; this.rdozy.Size = new System.Drawing.Size(85, 24); this.rdozy.TabIndex = 41; this.rdozy.Text = "住院消耗"; this.rdozy.CheckedChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); // // butexcel // this.butexcel.Location = new System.Drawing.Point(800, 23); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(68, 30); this.butexcel.TabIndex = 40; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(399, 50); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(53, 12); this.label6.TabIndex = 26; this.label6.Text = "药品代码"; // // txtdm // this.txtdm.Location = new System.Drawing.Point(462, 46); this.txtdm.Name = "txtdm"; this.txtdm.Size = new System.Drawing.Size(147, 21); this.txtdm.TabIndex = 1; this.txtdm.TextChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); this.txtdm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(65, 15); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(115, 20); this.cmbyjks.TabIndex = 24; this.cmbyjks.SelectedIndexChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); // // label4 // this.label4.Location = new System.Drawing.Point(10, 19); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(67, 17); this.label4.TabIndex = 23; this.label4.Text = "药剂科室"; // // butquit // this.butquit.Location = new System.Drawing.Point(872, 21); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(65, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(731, 21); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(63, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.CustomFormat = "yyyy-MM-dd HH:mm:ss"; this.dtp2.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtp2.Location = new System.Drawing.Point(227, 46); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(139, 21); this.dtp2.TabIndex = 5; this.dtp2.ValueChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); // // label2 // this.label2.Location = new System.Drawing.Point(206, 50); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(22, 17); this.label2.TabIndex = 4; this.label2.Text = "到"; this.label2.Visible = false; // // dtp1 // this.dtp1.CustomFormat = "yyyy-MM-dd HH:mm:ss"; this.dtp1.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtp1.Location = new System.Drawing.Point(64, 46); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(137, 21); this.dtp1.TabIndex = 3; this.dtp1.ValueChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); // // label1 // this.label1.Location = new System.Drawing.Point(9, 50); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(55, 17); this.label1.TabIndex = 2; this.label1.Text = "发药日期"; // // rdomz // this.rdomz.Location = new System.Drawing.Point(236, 13); this.rdomz.Name = "rdomz"; this.rdomz.Size = new System.Drawing.Size(85, 24); this.rdomz.TabIndex = 0; this.rdomz.Text = "门诊消耗"; this.rdomz.CheckedChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); // // rdoall // this.rdoall.Checked = true; this.rdoall.Location = new System.Drawing.Point(187, 13); this.rdoall.Name = "rdoall"; this.rdoall.Size = new System.Drawing.Size(88, 24); this.rdoall.TabIndex = 1; this.rdoall.TabStop = true; this.rdoall.Text = "全部"; this.rdoall.CheckedChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3, this.statusBarPanel4, this.statusBarPanel5, this.statusBarPanel6 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 150; // // statusBarPanel4 // this.statusBarPanel4.Name = "statusBarPanel4"; this.statusBarPanel4.Width = 160; // // statusBarPanel5 // this.statusBarPanel5.Name = "statusBarPanel5"; this.statusBarPanel5.Width = 160; // // statusBarPanel6 // this.statusBarPanel6.Name = "statusBarPanel6"; this.statusBarPanel6.Text = "当药剂科室为全部时,当前库存为全院总库存"; this.statusBarPanel6.Width = 300; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 79); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 423); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "统计情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 403); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn18, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn19, this.dataGridTextBoxColumn20, this.dataGridTextBoxColumn21, this.dataGridTextBoxColumn22 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "货号"; this.dataGridTextBoxColumn14.Width = 65; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "采购流水号"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.Width = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "商品名"; this.dataGridTextBoxColumn3.Width = 120; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "规格"; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "厂家"; this.dataGridTextBoxColumn6.Width = 75; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "批发价"; this.dataGridTextBoxColumn17.Width = 60; // // dataGridTextBoxColumn18 // this.dataGridTextBoxColumn18.Format = ""; this.dataGridTextBoxColumn18.FormatInfo = null; this.dataGridTextBoxColumn18.HeaderText = "零售价"; this.dataGridTextBoxColumn18.Width = 60; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "数量"; this.dataGridTextBoxColumn7.Width = 60; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "单位"; this.dataGridTextBoxColumn8.Width = 40; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "批发金额"; this.dataGridTextBoxColumn15.NullText = ""; this.dataGridTextBoxColumn15.Width = 70; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "零售金额"; this.dataGridTextBoxColumn13.NullText = ""; this.dataGridTextBoxColumn13.Width = 70; // // dataGridTextBoxColumn19 // this.dataGridTextBoxColumn19.Format = ""; this.dataGridTextBoxColumn19.FormatInfo = null; this.dataGridTextBoxColumn19.HeaderText = "批零差额"; this.dataGridTextBoxColumn19.Width = 70; // // dataGridTextBoxColumn20 // this.dataGridTextBoxColumn20.Format = ""; this.dataGridTextBoxColumn20.FormatInfo = null; this.dataGridTextBoxColumn20.HeaderText = "当前库存"; this.dataGridTextBoxColumn20.NullText = ""; this.dataGridTextBoxColumn20.Width = 60; // // dataGridTextBoxColumn21 // this.dataGridTextBoxColumn21.Format = ""; this.dataGridTextBoxColumn21.FormatInfo = null; this.dataGridTextBoxColumn21.HeaderText = "库存批发金额"; this.dataGridTextBoxColumn21.NullText = ""; this.dataGridTextBoxColumn21.Width = 70; // // dataGridTextBoxColumn22 // this.dataGridTextBoxColumn22.Format = ""; this.dataGridTextBoxColumn22.FormatInfo = null; this.dataGridTextBoxColumn22.HeaderText = "库存零售金额"; this.dataGridTextBoxColumn22.NullText = ""; this.dataGridTextBoxColumn22.Width = 70; // // Frmypxhtj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmypxhtj"; this.Text = "处方消耗情况统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel6)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.butsh = new System.Windows.Forms.Button(); this.butclose = new System.Windows.Forms.Button(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.butnew = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel2 = new System.Windows.Forms.Panel(); this.cmbck = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbybps = new System.Windows.Forms.ComboBox(); this.chkybps = new System.Windows.Forms.CheckBox(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.chkdjsj = new System.Windows.Forms.CheckBox(); this.txtdjh = new System.Windows.Forms.TextBox(); this.chkdjh = new System.Windows.Forms.CheckBox(); this.butref = new System.Windows.Forms.Button(); this.butexcel = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.panel3.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel5); this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(832, 485); this.panel1.TabIndex = 0; // // panel5 // this.panel5.Controls.Add(this.myDataGrid1); this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; this.panel5.Location = new System.Drawing.Point(0, 72); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(832, 357); this.panel5.TabIndex = 3; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(0, 0); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.ReadOnly = true; this.myDataGrid1.Size = new System.Drawing.Size(832, 357); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.DoubleClick += new System.EventHandler(this.myDataGrid1_DoubleClick); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.WhiteSmoke; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn7 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 50; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "仓库名称"; this.dataGridTextBoxColumn11.NullText = ""; this.dataGridTextBoxColumn11.ReadOnly = true; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "打印"; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单据号"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 80; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "单据日期"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "进货金额"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 65; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "批发金额"; this.dataGridTextBoxColumn10.Width = 65; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "零售金额"; this.dataGridTextBoxColumn9.Width = 65; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "登记时间"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 120; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "登记员"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "原因"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 150; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "备注"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 75; // // panel4 // this.panel4.Controls.Add(this.butexcel); this.panel4.Controls.Add(this.butsh); this.panel4.Controls.Add(this.butclose); this.panel4.Controls.Add(this.statusBar1); this.panel4.Controls.Add(this.butnew); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(0, 429); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(832, 56); this.panel4.TabIndex = 2; // // butsh // this.butsh.Location = new System.Drawing.Point(532, 6); this.butsh.Name = "butsh"; this.butsh.Size = new System.Drawing.Size(88, 24); this.butsh.TabIndex = 5; this.butsh.Text = "查看(&E)"; this.butsh.Click += new System.EventHandler(this.butsh_Click); // // butclose // this.butclose.Location = new System.Drawing.Point(622, 6); this.butclose.Name = "butclose"; this.butclose.Size = new System.Drawing.Size(88, 24); this.butclose.TabIndex = 3; this.butclose.Text = "关闭(&Q)"; this.butclose.Click += new System.EventHandler(this.butclose_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 32); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(832, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 200; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1000; // // butnew // this.butnew.Location = new System.Drawing.Point(440, 6); this.butnew.Name = "butnew"; this.butnew.Size = new System.Drawing.Size(88, 24); this.butnew.TabIndex = 0; this.butnew.Text = "新单据(&N)"; this.butnew.Click += new System.EventHandler(this.butnew_Click); // // panel3 // this.panel3.Controls.Add(this.groupBox1); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(832, 72); this.panel3.TabIndex = 1; // // groupBox1 // this.groupBox1.Controls.Add(this.panel2); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(832, 72); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // panel2 // this.panel2.Controls.Add(this.cmbck); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.cmbybps); this.panel2.Controls.Add(this.chkybps); this.panel2.Controls.Add(this.dtp2); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.dtp1); this.panel2.Controls.Add(this.chkdjsj); this.panel2.Controls.Add(this.txtdjh); this.panel2.Controls.Add(this.chkdjh); this.panel2.Controls.Add(this.butref); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(3, 17); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(826, 52); this.panel2.TabIndex = 2; // // cmbck // this.cmbck.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbck.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cmbck.Location = new System.Drawing.Point(69, 11); this.cmbck.Name = "cmbck"; this.cmbck.Size = new System.Drawing.Size(112, 20); this.cmbck.TabIndex = 26; // // label3 // this.label3.Location = new System.Drawing.Point(14, 14); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 16); this.label3.TabIndex = 27; this.label3.Text = "仓库名称"; // // cmbybps // this.cmbybps.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbybps.Enabled = false; this.cmbybps.Items.AddRange(new object[] { "是", "否" }); this.cmbybps.Location = new System.Drawing.Point(737, 29); this.cmbybps.Name = "cmbybps"; this.cmbybps.Size = new System.Drawing.Size(64, 20); this.cmbybps.TabIndex = 20; this.cmbybps.Visible = false; // // chkybps // this.chkybps.Location = new System.Drawing.Point(665, 29); this.chkybps.Name = "chkybps"; this.chkybps.Size = new System.Drawing.Size(88, 22); this.chkybps.TabIndex = 19; this.chkybps.Text = "医保配送"; this.chkybps.Visible = false; this.chkybps.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // dtp2 // this.dtp2.Enabled = false; this.dtp2.Location = new System.Drawing.Point(393, 11); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(110, 21); this.dtp2.TabIndex = 11; // // label1 // this.label1.Location = new System.Drawing.Point(381, 14); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(24, 16); this.label1.TabIndex = 10; this.label1.Text = "到"; // // dtp1 // this.dtp1.Enabled = false; this.dtp1.Location = new System.Drawing.Point(269, 11); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 9; // // chkdjsj // this.chkdjsj.Location = new System.Drawing.Point(197, 11); this.chkdjsj.Name = "chkdjsj"; this.chkdjsj.Size = new System.Drawing.Size(80, 22); this.chkdjsj.TabIndex = 8; this.chkdjsj.Text = "登记时间"; this.chkdjsj.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txtdjh // this.txtdjh.Enabled = false; this.txtdjh.Location = new System.Drawing.Point(569, 11); this.txtdjh.Name = "txtdjh"; this.txtdjh.Size = new System.Drawing.Size(64, 21); this.txtdjh.TabIndex = 7; // // chkdjh // this.chkdjh.Location = new System.Drawing.Point(513, 11); this.chkdjh.Name = "chkdjh"; this.chkdjh.Size = new System.Drawing.Size(73, 22); this.chkdjh.TabIndex = 6; this.chkdjh.Text = "单据号"; this.chkdjh.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // butref // this.butref.Location = new System.Drawing.Point(688, 8); this.butref.Name = "butref"; this.butref.Size = new System.Drawing.Size(88, 24); this.butref.TabIndex = 4; this.butref.Text = "刷新(&R)"; this.butref.Click += new System.EventHandler(this.butref_Click); // // butexcel // this.butexcel.Location = new System.Drawing.Point(190, 6); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(104, 24); this.butexcel.TabIndex = 10; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // Frmtitle // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(832, 485); this.Controls.Add(this.panel1); this.Location = new System.Drawing.Point(200, 600); this.Name = "Frmtitle"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "药品报损"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Activated += new System.EventHandler(this.Frmtitle_Activated); this.Load += new System.EventHandler(this.Frmtitle_Load); this.panel1.ResumeLayout(false); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.panel3.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frmylfl)); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.butquit = new System.Windows.Forms.Button(); this.butdel = new System.Windows.Forms.Button(); this.butsave = new System.Windows.Forms.Button(); this.txtdm = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.treeView1 = new System.Windows.Forms.TreeView(); this.splitter1 = new System.Windows.Forms.Splitter(); this.treeView2 = new System.Windows.Forms.TreeView(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.groupBox2 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(405, 454); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(623, 31); this.statusBar1.TabIndex = 0; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 300; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1001; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.myDataGrid1.CaptionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.ForeColor = System.Drawing.Color.Blue; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 21); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(610, 347); this.myDataGrid1.TabIndex = 2; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.myKeyDown += new myDataGrid.myDelegate(this.myDataGrid1_myKeyDown); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridBoolColumn1, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn11 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "货位编号"; this.dataGridTextBoxColumn10.NullText = ""; this.dataGridTextBoxColumn10.Width = 80; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "原货位编号"; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.Width = 0; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "编号"; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 0; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "名称"; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "拼音码"; this.dataGridTextBoxColumn3.Width = 90; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "五笔码"; this.dataGridTextBoxColumn4.Width = 90; // // dataGridBoolColumn1 // this.dataGridBoolColumn1.AllowNull = false; this.dataGridBoolColumn1.FalseValue = ((short)(0)); this.dataGridBoolColumn1.HeaderText = "禁用"; this.dataGridBoolColumn1.NullText = "0"; this.dataGridBoolColumn1.NullValue = null; this.dataGridBoolColumn1.ReadOnly = true; this.dataGridBoolColumn1.TrueValue = ((short)(1)); this.dataGridBoolColumn1.Width = 40; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "描述"; this.dataGridTextBoxColumn7.Width = 0; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "所属上级编目"; this.dataGridTextBoxColumn5.Width = 0; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "FID"; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 0; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "ID"; this.dataGridTextBoxColumn9.ReadOnly = true; this.dataGridTextBoxColumn9.Width = 0; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "yjdbz"; this.dataGridTextBoxColumn11.ReadOnly = true; this.dataGridTextBoxColumn11.Width = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butdel); this.groupBox1.Controls.Add(this.butsave); this.groupBox1.Controls.Add(this.txtdm); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(405, 371); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(623, 83); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "操作"; // // butquit // this.butquit.Location = new System.Drawing.Point(597, 21); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(128, 41); this.butquit.TabIndex = 4; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butdel // this.butdel.Location = new System.Drawing.Point(459, 21); this.butdel.Name = "butdel"; this.butdel.Size = new System.Drawing.Size(128, 41); this.butdel.TabIndex = 3; this.butdel.Text = "删除(&D)"; this.butdel.Click += new System.EventHandler(this.butdel_Click); // // butsave // this.butsave.Location = new System.Drawing.Point(320, 21); this.butsave.Name = "butsave"; this.butsave.Size = new System.Drawing.Size(128, 41); this.butsave.TabIndex = 3; this.butsave.Text = "保存(&S)"; this.butsave.Click += new System.EventHandler(this.butsave_Click); // // txtdm // this.txtdm.Location = new System.Drawing.Point(91, 31); this.txtdm.Name = "txtdm"; this.txtdm.Size = new System.Drawing.Size(165, 25); this.txtdm.TabIndex = 4; this.txtdm.Visible = false; this.txtdm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtdm_KeyUp); // // label1 // this.label1.Location = new System.Drawing.Point(51, 36); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 21); this.label1.TabIndex = 0; this.label1.Text = "查找"; this.label1.Visible = false; // // groupBox3 // this.groupBox3.Controls.Add(this.treeView1); this.groupBox3.Dock = System.Windows.Forms.DockStyle.Left; this.groupBox3.Location = new System.Drawing.Point(0, 0); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(405, 485); this.groupBox3.TabIndex = 6; this.groupBox3.TabStop = false; this.groupBox3.Text = "药理分类"; // // treeView1 // this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.treeView1.Location = new System.Drawing.Point(3, 21); this.treeView1.Name = "treeView1"; this.treeView1.Size = new System.Drawing.Size(399, 461); this.treeView1.TabIndex = 0; this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); this.treeView1.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(405, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(7, 371); this.splitter1.TabIndex = 7; this.splitter1.TabStop = false; // // treeView2 // this.treeView2.Location = new System.Drawing.Point(491, 93); this.treeView2.Name = "treeView2"; this.treeView2.Size = new System.Drawing.Size(501, 401); this.treeView2.TabIndex = 1; this.treeView2.Visible = false; this.treeView2.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterCheck); this.treeView2.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterCheck); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(412, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(616, 371); this.groupBox2.TabIndex = 8; this.groupBox2.TabStop = false; // // Frmylfl // this.AutoScaleBaseSize = new System.Drawing.Size(8, 18); this.ClientSize = new System.Drawing.Size(1028, 485); this.Controls.Add(this.treeView2); this.Controls.Add(this.groupBox2); this.Controls.Add(this.splitter1); this.Controls.Add(this.groupBox1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox3); this.KeyPreview = true; this.Name = "Frmylfl"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmsccj_Load); this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Frmkwsz_KeyUp); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.butcancel = new System.Windows.Forms.Button(); this.butok = new System.Windows.Forms.Button(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.label1 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.myDataGrid2 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.panel3 = new System.Windows.Forms.Panel(); this.butok_hb = new System.Windows.Forms.Button(); this.txtdm = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).BeginInit(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // butcancel // this.butcancel.Location = new System.Drawing.Point(589, 0); this.butcancel.Name = "butcancel"; this.butcancel.Size = new System.Drawing.Size(139, 41); this.butcancel.TabIndex = 3; this.butcancel.Text = "取消(&C)"; this.butcancel.Click += new System.EventHandler(this.butcancel_Click); // // butok // this.butok.Location = new System.Drawing.Point(448, 0); this.butok.Name = "butok"; this.butok.Size = new System.Drawing.Size(137, 41); this.butok.TabIndex = 2; this.butok.Text = "确定(&S)"; this.butok.Click += new System.EventHandler(this.butok_Click); // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 21); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.ReadOnly = true; this.myDataGrid1.Size = new System.Drawing.Size(514, 18); this.myDataGrid1.TabIndex = 4; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.Click += new System.EventHandler(this.myDataGrid1_Click); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // label1 // this.label1.BackColor = System.Drawing.SystemColors.Info; this.label1.Dock = System.Windows.Forms.DockStyle.Top; this.label1.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.ForeColor = System.Drawing.Color.Brown; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(520, 41); this.label1.TabIndex = 6; this.label1.Text = "请选择要将下列药品合并到哪个规格上"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // groupBox1 // this.groupBox1.Controls.Add(this.myDataGrid1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(520, 42); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; // // panel1 // this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 83); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(520, 266); this.panel1.TabIndex = 8; // // panel4 // this.panel4.Controls.Add(this.myDataGrid2); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(0, 44); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(520, 222); this.panel4.TabIndex = 5; // // myDataGrid2 // this.myDataGrid2.BackgroundColor = System.Drawing.Color.White; this.myDataGrid2.CaptionVisible = false; this.myDataGrid2.DataMember = ""; this.myDataGrid2.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid2.Location = new System.Drawing.Point(0, 0); this.myDataGrid2.Name = "myDataGrid2"; this.myDataGrid2.ReadOnly = true; this.myDataGrid2.Size = new System.Drawing.Size(520, 222); this.myDataGrid2.TabIndex = 5; this.myDataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.myDataGrid2; this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // panel3 // this.panel3.Controls.Add(this.butok_hb); this.panel3.Controls.Add(this.txtdm); this.panel3.Controls.Add(this.label2); this.panel3.Controls.Add(this.butcancel); this.panel3.Controls.Add(this.butok); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(520, 44); this.panel3.TabIndex = 4; // // butok_hb // this.butok_hb.Location = new System.Drawing.Point(448, 1); this.butok_hb.Name = "butok_hb"; this.butok_hb.Size = new System.Drawing.Size(137, 41); this.butok_hb.TabIndex = 6; this.butok_hb.Text = "确定(&S)"; this.butok_hb.Click += new System.EventHandler(this.butok_hb_Click); // // txtdm // this.txtdm.Location = new System.Drawing.Point(179, 10); this.txtdm.Name = "txtdm"; this.txtdm.Size = new System.Drawing.Size(157, 25); this.txtdm.TabIndex = 4; this.txtdm.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtdm_KeyPress); // // label2 // this.label2.Location = new System.Drawing.Point(0, 12); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(192, 21); this.label2.TabIndex = 5; this.label2.Text = "查找以前废弃的规格"; // // panel2 // this.panel2.Controls.Add(this.groupBox1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 41); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(520, 42); this.panel2.TabIndex = 9; // // Frmhb // this.AutoScaleBaseSize = new System.Drawing.Size(8, 18); this.ClientSize = new System.Drawing.Size(520, 349); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Controls.Add(this.label1); this.Name = "Frmhb"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "合并药品"; this.Load += new System.EventHandler(this.Frmhb_Load); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.groupBox1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).EndInit(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.pb = new System.Windows.Forms.ProgressBar(); this.label3 = new System.Windows.Forms.Label(); this.butok = new System.Windows.Forms.Button(); this.butquit = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label7 = new System.Windows.Forms.Label(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.txtxx = new System.Windows.Forms.TextBox(); this.txtsx = new System.Windows.Forms.TextBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.butcx = new System.Windows.Forms.Button(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.pb); this.panel1.Controls.Add(this.label3); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 532); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(824, 41); this.panel1.TabIndex = 3; this.panel1.Visible = false; // // pb // this.pb.Location = new System.Drawing.Point(96, 10); this.pb.Name = "pb"; this.pb.Size = new System.Drawing.Size(1067, 21); this.pb.TabIndex = 2; // // label3 // this.label3.Location = new System.Drawing.Point(13, 12); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(96, 20); this.label3.TabIndex = 1; this.label3.Text = "更新进度"; // // butok // this.butok.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butok.ForeColor = System.Drawing.Color.Navy; this.butok.Location = new System.Drawing.Point(885, 31); this.butok.Name = "butok"; this.butok.Size = new System.Drawing.Size(96, 41); this.butok.TabIndex = 7; this.butok.Text = "更新(&O)"; this.butok.Click += new System.EventHandler(this.butok_Click); // // butquit // this.butquit.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butquit.ForeColor = System.Drawing.Color.Navy; this.butquit.Location = new System.Drawing.Point(992, 31); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(96, 41); this.butquit.TabIndex = 8; this.butquit.Text = "退出 (&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // label6 // this.label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label6.Location = new System.Drawing.Point(171, 44); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(60, 22); this.label6.TabIndex = 9; this.label6.Text = "日期从"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(224, 41); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(149, 25); this.dtp1.TabIndex = 10; // // label7 // this.label7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label7.Location = new System.Drawing.Point(373, 48); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(32, 20); this.label7.TabIndex = 11; this.label7.Text = "到"; // // dtp2 // this.dtp2.Location = new System.Drawing.Point(395, 41); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(149, 25); this.dtp2.TabIndex = 12; // // groupBox1 // this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.txtxx); this.groupBox1.Controls.Add(this.txtsx); this.groupBox1.Controls.Add(this.checkBox2); this.groupBox1.Controls.Add(this.checkBox1); this.groupBox1.Controls.Add(this.butcx); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.butok); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.ForeColor = System.Drawing.Color.Navy; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(824, 103); this.groupBox1.TabIndex = 19; this.groupBox1.TabStop = false; this.groupBox1.Text = "平均日销售量"; // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Location = new System.Drawing.Point(53, 42); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(107, 23); this.cmbyplx.TabIndex = 19; // // label1 // this.label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Location = new System.Drawing.Point(11, 44); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(60, 22); this.label1.TabIndex = 18; this.label1.Text = "类型"; // // txtxx // this.txtxx.Enabled = false; this.txtxx.Location = new System.Drawing.Point(800, 62); this.txtxx.Name = "txtxx"; this.txtxx.Size = new System.Drawing.Size(64, 25); this.txtxx.TabIndex = 17; this.txtxx.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyUp); // // txtsx // this.txtsx.Enabled = false; this.txtsx.Location = new System.Drawing.Point(800, 22); this.txtsx.Name = "txtsx"; this.txtsx.Size = new System.Drawing.Size(64, 25); this.txtsx.TabIndex = 16; this.txtsx.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyUp); // // checkBox2 // this.checkBox2.Location = new System.Drawing.Point(672, 62); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(139, 31); this.checkBox2.TabIndex = 15; this.checkBox2.Text = "更新下限倍数"; this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // checkBox1 // this.checkBox1.Location = new System.Drawing.Point(672, 21); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(139, 30); this.checkBox1.TabIndex = 14; this.checkBox1.Text = "更新上限陪数"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // butcx // this.butcx.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butcx.ForeColor = System.Drawing.Color.Navy; this.butcx.Location = new System.Drawing.Point(565, 33); this.butcx.Name = "butcx"; this.butcx.Size = new System.Drawing.Size(86, 42); this.butcx.TabIndex = 13; this.butcx.Text = "查询(&C)"; this.butcx.Click += new System.EventHandler(this.butcx_Click); // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 21); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(818, 405); this.myDataGrid1.TabIndex = 20; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.Click += new System.EventHandler(this.myDataGrid1_Click); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridBoolColumn1 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "规格"; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "厂家"; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "批发价"; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 0; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "零售价"; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 80; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "总销售量"; this.dataGridTextBoxColumn12.ReadOnly = true; this.dataGridTextBoxColumn12.Width = 60; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "天数"; this.dataGridTextBoxColumn13.ReadOnly = true; this.dataGridTextBoxColumn13.Width = 0; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "平均日销售量"; this.dataGridTextBoxColumn9.Width = 80; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "单位"; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 40; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "cjid"; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 0; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "ydwbl"; this.dataGridTextBoxColumn10.ReadOnly = true; this.dataGridTextBoxColumn10.Width = 0; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "nypdw"; this.dataGridTextBoxColumn11.ReadOnly = true; this.dataGridTextBoxColumn11.Width = 0; // // dataGridBoolColumn1 // this.dataGridBoolColumn1.AllowNull = false; this.dataGridBoolColumn1.FalseValue = ((short)(0)); this.dataGridBoolColumn1.HeaderText = "更新"; this.dataGridBoolColumn1.NullValue = ((short)(0)); this.dataGridBoolColumn1.TrueValue = ((short)(1)); this.dataGridBoolColumn1.Width = 40; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.ForeColor = System.Drawing.Color.Navy; this.groupBox2.Location = new System.Drawing.Point(0, 103); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(824, 429); this.groupBox2.TabIndex = 21; this.groupBox2.TabStop = false; // // Frmkcsxx1 // this.AutoScaleBaseSize = new System.Drawing.Size(8, 18); this.ClientSize = new System.Drawing.Size(824, 573); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel1); this.Name = "Frmkcsxx1"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "更新库存上下限"; this.Load += new System.EventHandler(this.Frmkcsxx1_Load); this.Closed += new System.EventHandler(this.Frmkcsxx1_Closed); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbks = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.cmbks); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 64); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbks // this.cmbks.Location = new System.Drawing.Point(72, 24); this.cmbks.Name = "cmbks"; this.cmbks.Size = new System.Drawing.Size(112, 20); this.cmbks.TabIndex = 13; // // label5 // this.label5.Location = new System.Drawing.Point(32, 27); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(41, 16); this.label5.TabIndex = 12; this.label5.Text = "药房"; // // butquit // this.butquit.Location = new System.Drawing.Point(680, 18); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(608, 18); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(528, 18); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(78, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(365, 24); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(111, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(349, 28); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(236, 24); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(188, 27); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 16); this.label1.TabIndex = 2; this.label1.Text = "日期从"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 64); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 438); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "排名情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 418); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "领药药房"; this.dataGridTextBoxColumn1.Width = 70; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单据号"; this.dataGridTextBoxColumn2.Width = 60; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "药品名称"; this.dataGridTextBoxColumn3.Width = 120; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "商品名"; this.dataGridTextBoxColumn5.Width = 120; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "规格"; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.Width = 70; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "数量"; this.dataGridTextBoxColumn6.Width = 60; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "单位"; this.dataGridTextBoxColumn7.Width = 40; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "进价"; this.dataGridTextBoxColumn8.Width = 60; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "进货金额"; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "零售价"; this.dataGridTextBoxColumn13.NullText = ""; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "零售金额"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "进零差额"; this.dataGridTextBoxColumn9.Width = 65; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "货号"; this.dataGridTextBoxColumn10.Width = 55; // // Frmyktkd // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmyktkd"; this.Text = "药库调库单"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.butquit = new System.Windows.Forms.Button(); this.butdel = new System.Windows.Forms.Button(); this.butsave = new System.Windows.Forms.Button(); this.txtdm = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 454); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(768, 31); this.statusBar1.TabIndex = 0; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 300; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1001; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 21); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(762, 347); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.myKeyDown += new myDataGrid.myDelegate(this.myDataGrid1_myKeyDown); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn8 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "名称"; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "拼音码"; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "五笔码"; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "ID"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butdel); this.groupBox1.Controls.Add(this.butsave); this.groupBox1.Controls.Add(this.txtdm); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(0, 371); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(768, 83); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "操作"; // // butquit // this.butquit.Location = new System.Drawing.Point(864, 21); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(128, 41); this.butquit.TabIndex = 4; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butdel // this.butdel.Location = new System.Drawing.Point(725, 21); this.butdel.Name = "butdel"; this.butdel.Size = new System.Drawing.Size(128, 41); this.butdel.TabIndex = 3; this.butdel.Text = "删除(&D)"; this.butdel.Click += new System.EventHandler(this.butdel_Click); // // butsave // this.butsave.Location = new System.Drawing.Point(587, 21); this.butsave.Name = "butsave"; this.butsave.Size = new System.Drawing.Size(128, 41); this.butsave.TabIndex = 2; this.butsave.Text = "保存(&S)"; this.butsave.Click += new System.EventHandler(this.butsave_Click); // // txtdm // this.txtdm.Location = new System.Drawing.Point(91, 31); this.txtdm.Name = "txtdm"; this.txtdm.Size = new System.Drawing.Size(256, 25); this.txtdm.TabIndex = 1; this.txtdm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtdm_KeyUp); // // label1 // this.label1.Location = new System.Drawing.Point(51, 36); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 21); this.label1.TabIndex = 0; this.label1.Text = "查找"; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(768, 371); this.groupBox2.TabIndex = 5; this.groupBox2.TabStop = false; this.groupBox2.Text = "中标状态"; // // Frmzbzt // this.AutoScaleBaseSize = new System.Drawing.Size(8, 18); this.ClientSize = new System.Drawing.Size(768, 485); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.statusBar1); this.Name = "Frmzbzt"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmsccj_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label3 = new System.Windows.Forms.Label(); this.txtypmc = new System.Windows.Forms.TextBox(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.butprint = new System.Windows.Forms.Button(); this.butquit = new System.Windows.Forms.Button(); this.butcx = new System.Windows.Forms.Button(); this.chkyplx = new System.Windows.Forms.CheckBox(); this.chkypmc = new System.Windows.Forms.CheckBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.商品名 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.txtypmc); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butcx); this.groupBox1.Controls.Add(this.chkyplx); this.groupBox1.Controls.Add(this.chkypmc); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(864, 72); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // dtp2 // this.dtp2.Location = new System.Drawing.Point(448, 16); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(112, 21); this.dtp2.TabIndex = 37; // // label2 // this.label2.Location = new System.Drawing.Point(428, 20); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 36; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(312, 16); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 35; // // label3 // this.label3.Location = new System.Drawing.Point(272, 20); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 16); this.label3.TabIndex = 34; this.label3.Text = "日期从"; // // txtypmc // this.txtypmc.Enabled = false; this.txtypmc.Location = new System.Drawing.Point(113, 40); this.txtypmc.Name = "txtypmc"; this.txtypmc.Size = new System.Drawing.Size(144, 21); this.txtypmc.TabIndex = 33; this.txtypmc.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Enabled = false; this.cmbyplx.Location = new System.Drawing.Point(113, 17); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(144, 20); this.cmbyplx.TabIndex = 31; // // butprint // this.butprint.Location = new System.Drawing.Point(672, 16); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 32); this.butprint.TabIndex = 30; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // butquit // this.butquit.Location = new System.Drawing.Point(752, 16); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 32); this.butquit.TabIndex = 29; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butcx // this.butcx.Location = new System.Drawing.Point(592, 16); this.butcx.Name = "butcx"; this.butcx.Size = new System.Drawing.Size(72, 32); this.butcx.TabIndex = 28; this.butcx.Text = "查询(&V)"; this.butcx.Click += new System.EventHandler(this.butcx_Click); // // chkyplx // this.chkyplx.Location = new System.Drawing.Point(32, 16); this.chkyplx.Name = "chkyplx"; this.chkyplx.Size = new System.Drawing.Size(95, 24); this.chkyplx.TabIndex = 20; this.chkyplx.Text = "药品类型"; this.chkyplx.CheckedChanged += new System.EventHandler(this.chkyplx_CheckedChanged); // // chkypmc // this.chkypmc.Location = new System.Drawing.Point(32, 40); this.chkypmc.Name = "chkypmc"; this.chkypmc.Size = new System.Drawing.Size(95, 24); this.chkypmc.TabIndex = 38; this.chkypmc.Text = "药品名称"; this.chkypmc.CheckedChanged += new System.EventHandler(this.chkyplx_CheckedChanged); // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(858, 417); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn2, this.商品名, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn5 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 35; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "调价文号"; this.dataGridTextBoxColumn15.Width = 60; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "调价日期"; this.dataGridTextBoxColumn16.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.Width = 120; // // 商品名 // this.商品名.Format = ""; this.商品名.FormatInfo = null; this.商品名.HeaderText = "商品名"; this.商品名.Width = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "规格"; this.dataGridTextBoxColumn3.Width = 90; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "厂家"; this.dataGridTextBoxColumn4.Width = 90; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "原批发价"; this.dataGridTextBoxColumn6.Width = 60; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "调批发价"; this.dataGridTextBoxColumn7.Width = 60; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "原零售价"; this.dataGridTextBoxColumn12.Width = 60; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "调零售价"; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "调价数量"; this.dataGridTextBoxColumn8.Width = 60; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "单位"; this.dataGridTextBoxColumn9.Width = 40; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "单位差价"; this.dataGridTextBoxColumn14.Width = 60; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "调批发金额"; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "调零售金额"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "货号"; this.dataGridTextBoxColumn5.Width = 60; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 509); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(864, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 150; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 72); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(864, 437); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "调价明细"; // // Frmtjmx // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(864, 533); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmtjmx"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "调价查询"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmkccx_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.button2 = new System.Windows.Forms.Button(); this.butsave = new System.Windows.Forms.Button(); this.lblbz = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.butsave); this.groupBox1.Controls.Add(this.lblbz); this.groupBox1.Controls.Add(this.button1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(0, 397); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(776, 80); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.button2.Location = new System.Drawing.Point(664, 20); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(96, 32); this.button2.TabIndex = 3; this.button2.Text = "退出(&Q)"; this.button2.Click += new System.EventHandler(this.button2_Click); // // butsave // this.butsave.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butsave.Location = new System.Drawing.Point(395, 20); this.butsave.Name = "butsave"; this.butsave.Size = new System.Drawing.Size(162, 32); this.butsave.TabIndex = 2; this.butsave.Text = "另存为新的待审核单据(&S)"; this.butsave.Click += new System.EventHandler(this.butsave_Click); // // lblbz // this.lblbz.Dock = System.Windows.Forms.DockStyle.Left; this.lblbz.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblbz.ForeColor = System.Drawing.Color.Red; this.lblbz.Location = new System.Drawing.Point(3, 17); this.lblbz.Name = "lblbz"; this.lblbz.Size = new System.Drawing.Size(439, 60); this.lblbz.TabIndex = 1; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.button1.Location = new System.Drawing.Point(562, 20); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(96, 32); this.button1.TabIndex = 0; this.button1.Text = "跳过(&N)"; this.button1.Click += new System.EventHandler(this.button1_Click); // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(776, 397); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.Turquoise; this.myDataGrid1.CaptionForeColor = System.Drawing.Color.Navy; this.myDataGrid1.CaptionText = "以下药品库存不足,请确认是否生成待审核单据 ?"; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.ForeColor = System.Drawing.Color.Black; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(770, 377); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "商品名"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "规格"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "厂家"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "零售价"; this.dataGridTextBoxColumn11.NullText = ""; this.dataGridTextBoxColumn11.Width = 65; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "申请数"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.Width = 65; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "出库数"; this.dataGridTextBoxColumn9.NullText = ""; this.dataGridTextBoxColumn9.Width = 65; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "剩余数"; this.dataGridTextBoxColumn10.NullText = ""; this.dataGridTextBoxColumn10.Width = 65; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "单位"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.Width = 40; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "货号"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 65; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "cjid"; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.Width = 0; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "ydwbl"; this.dataGridTextBoxColumn13.NullText = ""; this.dataGridTextBoxColumn13.Width = 0; // // Frmwshdj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(776, 477); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Name = "Frmwshdj"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "确认"; this.Load += new System.EventHandler(this.Frmwshdj_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
public void AddData(string ss, myDataGrid.myDataGrid mydataGrid) { DataTable myTb = new DataTable(); string ssql = ""; ssql = "select kslx from yp_yjks where deptid=" + Convert.ToInt32(Convertor.IsNull(cmbyjks.SelectedValue, "0")) + ""; DataTable tb = InstanceForm.BDatabase.GetDataTable(ssql); if (tb.Rows.Count == 0) { MessageBox.Show("设置库存上下限时,请以药房药库身份登陆", "", MessageBoxButtons.OK, MessageBoxIcon.Warning); } string tablename = ""; string kslx = ""; if (tb.Rows.Count > 0) { kslx = tb.Rows[0]["kslx"].ToString().Trim(); } if (kslx == "药房") { tablename = "yf_kcmx"; } else { tablename = "yk_kcmx"; } if (chkall.Checked == false) { ssql = "select 0 序号,yppm 品名,ypgg 规格,s_sccj 厂家,pfj 批发价,lsj 零售价,cast(kcl/dwbl as float) 库存量," + " dbo.fun_yp_ypdw(ypdw) 单位,(case when kcsx=0 then null else kcsx end) 上限,(case when kcxx=0 then null else kcxx end) 下限,shh 货号,a.cjid,c.id kcsxxid,ypdw nypdw,1 dwbl " + " from " + tablename.Trim() + " a inner join vi_yp_ypcd b on a.cjid=b.cjid and a.bdelete=0 and a.deptid=" + Convert.ToInt32(Convertor.IsNull(cmbyjks.SelectedValue, "0")) + " left join (select * from yp_kcsxx where deptid=" + Convert.ToInt32(Convertor.IsNull(cmbyjks.SelectedValue, "0")) + ") c on b.cjid=c.cjid " + "where a.deptid=" + Convert.ToInt32(Convertor.IsNull(cmbyjks.SelectedValue, "0")) + ""; if (ss.Trim() != "") { ssql = ssql + " and A.ggid in(select ggid from yp_ypbm where upper(pym) like '" + ss.Trim().ToUpper() + "%' or ypbm like '%" + ss.Trim() + "%')"; } } else { //if (tb.Rows[0]["kslx"].ToString().Trim()=="药房") tablename="yf_kcmx";else tablename="yk_kcmx"; ssql = "select 0 序号,yppm 品名,ypgg 规格,s_sccj 厂家,pfj 批发价,lsj 零售价,cast(kcl/dwbl as float) 库存量," + " dbo.fun_yp_ypdw(ypdw) 单位,(case when kcsx=0 then null else kcsx end) 上限,(case when kcxx=0 then null else kcxx end) 下限,shh 货号,a.cjid,c.id kcsxxid,ypdw nypdw,1 dwbl " + " from " + tablename.Trim() + " a inner join vi_yp_ypcd b on a.cjid=b.cjid and a.bdelete=0 and a.deptid=" + Convert.ToInt32(Convertor.IsNull(cmbyjks.SelectedValue, "0")) + " left join (select * from yp_kcsxx where deptid=" + Convert.ToInt32(Convertor.IsNull(cmbyjks.SelectedValue, "0")) + ") c on b.cjid=c.cjid " + " where a.ggid>0 "; if (ss.Trim() != "") { ssql = ssql + " and A.ggid in(select ggid from yp_ypbm where upper(pym) like '" + ss.Trim().ToUpper() + "%' or ypbm like '%" + ss.Trim() + "%')"; } ssql = ssql + " union all select 0 序号,yppm 品名,ypgg 规格,s_sccj 厂家,pfj 批发价,lsj 零售价,0 库存量," + " dbo.fun_yp_ypdw(ypdw) 单位,(case when kcsx=0 then null else kcsx end) 上限,(case when kcxx=0 then null else kcxx end) 下限,shh 货号,a.cjid,coalesce(B.id,0) kcsxxid,ypdw nypdw,1 dwbl " + " from vi_yp_ypcd a left join (select * from yp_kcsxx where deptid=" + Convert.ToInt32(Convertor.IsNull(cmbyjks.SelectedValue, "0")) + ") b on a.cjid=b.cjid " + "where a.ypzlx in(select ypzlx from yp_gllx where deptid=" + Convert.ToInt32(Convertor.IsNull(cmbyjks.SelectedValue, "0")) + ") and a.cjid not in(select cjid from " + tablename.Trim() + " where deptid=" + Convert.ToInt32(Convertor.IsNull(cmbyjks.SelectedValue, "0")) + ") "; if (ss.Trim() != "") { ssql = ssql + " and A.ggid in(select ggid from yp_ypbm where upper(pym) like '" + ss.Trim().ToUpper() + "%' or ypbm like '%" + ss.Trim() + "%')"; } } myTb = InstanceForm.BDatabase.GetDataTable(ssql); FunBase.AddRowtNo(myTb); myTb.TableName = "Tb"; mydataGrid.DataSource = myTb; mydataGrid.TableStyles[0].MappingName = "Tb"; }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label6 = new System.Windows.Forms.Label(); this.txtdm = new System.Windows.Forms.TextBox(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.rdosl = new System.Windows.Forms.RadioButton(); this.rdoje = new System.Windows.Forms.RadioButton(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.txtdm); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.rdosl); this.groupBox1.Controls.Add(this.rdoje); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 82); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(286, 48); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(53, 12); this.label6.TabIndex = 26; this.label6.Text = "药品代码"; // // txtdm // this.txtdm.Location = new System.Drawing.Point(345, 44); this.txtdm.Name = "txtdm"; this.txtdm.Size = new System.Drawing.Size(109, 21); this.txtdm.TabIndex = 25; this.txtdm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(437, 12); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(115, 20); this.cmbyjks.TabIndex = 24; this.cmbyjks.Visible = false; // // label4 // this.label4.Location = new System.Drawing.Point(382, 16); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(67, 17); this.label4.TabIndex = 23; this.label4.Text = "药剂科室"; this.label4.Visible = false; // // butquit // this.butquit.Location = new System.Drawing.Point(685, 33); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(65, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(621, 33); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(64, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(558, 33); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(63, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(171, 44); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(109, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(153, 49); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(22, 17); this.label2.TabIndex = 4; this.label2.Text = "到"; this.label2.Visible = false; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(41, 44); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(109, 21); this.dtp1.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(9, 48); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(55, 17); this.label1.TabIndex = 2; this.label1.Text = "日期"; // // rdosl // this.rdosl.Checked = true; this.rdosl.Location = new System.Drawing.Point(99, 14); this.rdosl.Name = "rdosl"; this.rdosl.Size = new System.Drawing.Size(85, 24); this.rdosl.TabIndex = 0; this.rdosl.TabStop = true; this.rdosl.Text = "按药品汇总"; this.rdosl.CheckedChanged += new System.EventHandler(this.rdoje_CheckedChanged); // // rdoje // this.rdoje.Location = new System.Drawing.Point(14, 14); this.rdoje.Name = "rdoje"; this.rdoje.Size = new System.Drawing.Size(88, 24); this.rdoje.TabIndex = 1; this.rdoje.Text = "按金额汇总"; this.rdoje.CheckedChanged += new System.EventHandler(this.rdoje_CheckedChanged); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 82); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 420); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "统计情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 400); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1, this.dataGridTableStyle2 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn13 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "病区"; this.dataGridTextBoxColumn14.Width = 120; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "货号"; this.dataGridTextBoxColumn12.Width = 60; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.Width = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "商品名"; this.dataGridTextBoxColumn3.Width = 120; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "规格"; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "厂家"; this.dataGridTextBoxColumn6.Width = 75; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "数量"; this.dataGridTextBoxColumn7.Width = 60; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "单位"; this.dataGridTextBoxColumn8.Width = 40; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "金额"; this.dataGridTextBoxColumn13.Width = 70; // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "病区"; this.dataGridTextBoxColumn9.Width = 150; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "单据张数"; this.dataGridTextBoxColumn10.Width = 0; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "金额"; this.dataGridTextBoxColumn11.Width = 140; // // Frmcffy_jy // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmcffy_jy"; this.Text = "住院领药汇总统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }