/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.myDataGrid1); 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(632, 477); this.panel1.TabIndex = 20; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; 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.ReadOnly = true; this.myDataGrid1.RowHeadersVisible = false; this.myDataGrid1.Size = new System.Drawing.Size(632, 477); this.myDataGrid1.TabIndex = 20; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = ""; // // frmCWSX // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(632, 477); this.Controls.Add(this.panel1); this.Name = "frmCWSX"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "床位属性"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmCWSX_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
private void DelTextBoxFromDataGrid(DataGridEx myDataGrid) { for (int n = 0; n < myDataGrid.TableStyles[0].GridColumnStyles.Count; n++) { DataGridTextBoxColumn dgtb = (DataGridTextBoxColumn)myDataGrid.TableStyles[0].GridColumnStyles[n]; dgtb.TextBox.Parent.Controls.Remove(dgtb.TextBox); } }
private void DelDataGridTextBox(DataGridEx dg) { System.Windows.Forms.DataGridTextBoxColumn dgtb = null; for (int i = 0; i < dg.TableStyles[0].GridColumnStyles.Count; i++) { dgtb = (DataGridTextBoxColumn)dg.TableStyles[0].GridColumnStyles[i]; dgtb.TextBox.Parent.Controls.Remove(dgtb.TextBox); } }
public DataGridEx GetFuncList(DataGridEx param) { int total = 0; var query = Sqldb.Queryable <sys_func>() .OrderBy(s => s.func_sort) .ToPageList(param.pageCurrent, param.pageSize, ref total); param.list = query; param.total = total; return(param); }
public DataGridEx GetMenuList(DataGridEx param) { int total = 0; var query = Sqldb.Queryable <sys_menu>() .OrderBy(s => s.create_time, OrderByType.Desc) .ToPageList(param.pageCurrent, param.pageSize, ref total); param.list = query; param.total = total; return(param); }
/// <inheritdoc/> public override void OnApplyTemplate() { base.OnApplyTemplate(); logGridView = GetTemplateChild("PART_LogGridView") as DataGridEx; if (logGridView == null) { throw new InvalidOperationException("A part named 'PART_LogGridView' must be present in the ControlTemplate, and must be of type 'DataGridControl'."); } logGridView.MouseDoubleClick += GridMouseDoubleClick; }
public JsonResult GetData() { var data = new DataGridEx(); try { data.list = _menuApp.GetMenuList(); } catch (Exception ex) { LogNHelper.Exception(ex); } return(JsonEx(data)); }
public JsonResult GetData(DataGridEx param) { var data = new DataGridEx(); try { data = _roleApp.GetRoleList(param); } catch (Exception ex) { LogNHelper.Exception(ex); } return(JsonEx(data)); }
static internal void AdjustColumnWidths(DataGridEx dataGrid, String tableStyleMappingName) { // just re-set column widths DataGridTableStyle tableStyle = dataGrid.TableStyles[tableStyleMappingName]; if (tableStyle == null || tableStyle.GridColumnStyles.Count == 0) { return; } int totalWidth = 0; foreach (DataGridColumnStyle columnStyle in tableStyle.GridColumnStyles) { totalWidth += columnStyle.Width; } int scrollBarWidth = dataGrid.VerticalScrollBarVisible ? dataGrid.VerticalScrollBarWidth : 0; int delta = dataGrid.ClientSize.Width - scrollBarWidth - totalWidth - (tableStyle.RowHeadersVisible ? tableStyle.RowHeaderWidth : 0) - (tableStyle.GridColumnStyles.Count + 2) * 1; int columnDelta = delta / tableStyle.GridColumnStyles.Count; // just distribute it equally for now int i = 0; for (; i < tableStyle.GridColumnStyles.Count - 1; i++) { tableStyle.GridColumnStyles[i].Width += columnDelta; } tableStyle.GridColumnStyles[i].Width += delta - (tableStyle.GridColumnStyles.Count - 1) * columnDelta; int comboboxLeft = tableStyle.RowHeadersVisible ? tableStyle.RowHeaderWidth + 2 : 0; // move data grid combobox into correct position when vertical scroll bar visible if (!dataGrid.VerticalScrollBarVisible) { return; } foreach (DataGridColumnStyle columnStyle in tableStyle.GridColumnStyles) { if (columnStyle is DataGridComboBoxColumn) { DataGridComboBoxColumn comboboxColumn = (DataGridComboBoxColumn)columnStyle; if (comboboxColumn.ComboBox != null) { comboboxColumn.ComboBox.Left = comboboxLeft; comboboxColumn.ComboBox.Width = columnStyle.Width; } } comboboxLeft += columnStyle.Width; } }
public JsonResult GetData(DataGridEx param) { var data = new DataGridEx(); try { data = _userApp.GetUserList(param); //LogNHelper.Info("测试grid"); } catch (Exception ex) { LogNHelper.Exception(ex); } return(JsonEx(data)); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.panel1 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.rtbShow = new RichTextBoxEx(this.components); this.splitter3 = new System.Windows.Forms.Splitter(); this.panel5 = new System.Windows.Forms.Panel(); this.myDataGrid2 = new DataGridEx(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.splitter2 = new System.Windows.Forms.Splitter(); this.panel3 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel2 = new System.Windows.Forms.Panel(); this.lblJobtime = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.btnClean = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.DtpbeginDate = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.btCancel = new System.Windows.Forms.Button(); this.btnSave = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.txtinput = new System.Windows.Forms.TextBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.panel1.SuspendLayout(); this.panel4.SuspendLayout(); this.panel6.SuspendLayout(); this.groupBox2.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).BeginInit(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.splitter2); this.panel1.Controls.Add(this.panel3); this.panel1.Controls.Add(this.splitter1); this.panel1.Controls.Add(this.panel2); 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(864, 621); this.panel1.TabIndex = 1; // // panel4 // this.panel4.Controls.Add(this.panel6); this.panel4.Controls.Add(this.splitter3); this.panel4.Controls.Add(this.panel5); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(0, 168); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(864, 453); this.panel4.TabIndex = 4; // // panel6 // this.panel6.Controls.Add(this.groupBox2); this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; this.panel6.Location = new System.Drawing.Point(400, 0); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(464, 453); this.panel6.TabIndex = 0; // // groupBox2 // this.groupBox2.Controls.Add(this.rtbShow); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.ForeColor = System.Drawing.Color.Blue; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(464, 453); this.groupBox2.TabIndex = 0; this.groupBox2.TabStop = false; this.groupBox2.Text = "特殊交班"; // // rtbShow // this.rtbShow.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.rtbShow.Dock = System.Windows.Forms.DockStyle.Fill; this.rtbShow.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.rtbShow.LinkStyle = false; this.rtbShow.Location = new System.Drawing.Point(3, 17); this.rtbShow.Name = "rtbShow"; this.rtbShow.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.rtbShow.Size = new System.Drawing.Size(458, 433); this.rtbShow.TabIndex = 0; this.rtbShow.Text = ""; // // splitter3 // this.splitter3.Location = new System.Drawing.Point(392, 0); this.splitter3.Name = "splitter3"; this.splitter3.Size = new System.Drawing.Size(8, 453); this.splitter3.TabIndex = 1; this.splitter3.TabStop = false; // // panel5 // this.panel5.Controls.Add(this.myDataGrid2); this.panel5.Dock = System.Windows.Forms.DockStyle.Left; this.panel5.Location = new System.Drawing.Point(0, 0); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(392, 453); this.panel5.TabIndex = 3; // // myDataGrid2 // this.myDataGrid2.AllowSorting = false; this.myDataGrid2.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid2.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid2.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.myDataGrid2.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid2.CaptionText = "病人动态"; this.myDataGrid2.DataMember = ""; this.myDataGrid2.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.myDataGrid2.ForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid2.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); 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(392, 453); this.myDataGrid2.TabIndex = 60; this.myDataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); this.myDataGrid2.Tag = ""; // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid2; this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.MappingName = ""; // // splitter2 // this.splitter2.Dock = System.Windows.Forms.DockStyle.Top; this.splitter2.Location = new System.Drawing.Point(0, 160); this.splitter2.Name = "splitter2"; this.splitter2.Size = new System.Drawing.Size(864, 8); this.splitter2.TabIndex = 3; this.splitter2.TabStop = false; // // panel3 // this.panel3.Controls.Add(this.myDataGrid1); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 60); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(864, 100); this.panel3.TabIndex = 2; // // myDataGrid1 // this.myDataGrid1.AllowSorting = false; this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "交班记录"; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.myDataGrid1.ForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); 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(864, 100); this.myDataGrid1.TabIndex = 59; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.Tag = ""; this.toolTip1.SetToolTip(this.myDataGrid1, "请手工输入“外出”人数,其他数字不能修改!"); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = ""; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Top; this.splitter1.Location = new System.Drawing.Point(0, 56); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(864, 4); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // panel2 // this.panel2.Controls.Add(this.lblJobtime); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.btnClean); this.panel2.Controls.Add(this.groupBox1); this.panel2.Controls.Add(this.btCancel); this.panel2.Controls.Add(this.btnSave); this.panel2.Controls.Add(this.button3); this.panel2.Controls.Add(this.txtinput); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(864, 56); this.panel2.TabIndex = 3; // // lblJobtime // this.lblJobtime.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.lblJobtime.Location = new System.Drawing.Point(80, 18); this.lblJobtime.Name = "lblJobtime"; this.lblJobtime.Size = new System.Drawing.Size(96, 24); this.lblJobtime.TabIndex = 82; // // label2 // this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label2.Location = new System.Drawing.Point(24, 18); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 24); this.label2.TabIndex = 81; this.label2.Text = "班次:"; // // btnClean // this.btnClean.BackColor = System.Drawing.SystemColors.ControlLight; this.btnClean.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnClean.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btnClean.ForeColor = System.Drawing.SystemColors.Desktop; this.btnClean.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnClean.ImageIndex = 0; this.btnClean.Location = new System.Drawing.Point(624, 16); this.btnClean.Name = "btnClean"; this.btnClean.Size = new System.Drawing.Size(72, 24); this.btnClean.TabIndex = 80; this.btnClean.Text = "清除(&C)"; this.btnClean.Click += new System.EventHandler(this.btnClean_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.DtpbeginDate); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Location = new System.Drawing.Point(184, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(232, 48); this.groupBox1.TabIndex = 78; this.groupBox1.TabStop = false; // // DtpbeginDate // this.DtpbeginDate.CalendarFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.DtpbeginDate.CalendarTrailingForeColor = System.Drawing.Color.Green; this.DtpbeginDate.CustomFormat = "yyyy-MM-dd HH:mm"; this.DtpbeginDate.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.DtpbeginDate.Location = new System.Drawing.Point(64, 16); this.DtpbeginDate.Name = "DtpbeginDate"; this.DtpbeginDate.Size = new System.Drawing.Size(160, 23); this.DtpbeginDate.TabIndex = 71; this.DtpbeginDate.Value = new System.DateTime(2004, 8, 24, 0, 0, 0, 0); // // label1 // this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label1.Location = new System.Drawing.Point(7, 20); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 70; this.label1.Text = "日期:"; // // btCancel // this.btCancel.BackColor = System.Drawing.SystemColors.ControlLight; this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btCancel.ForeColor = System.Drawing.SystemColors.Desktop; this.btCancel.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btCancel.ImageIndex = 0; this.btCancel.Location = new System.Drawing.Point(784, 16); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(64, 24); this.btCancel.TabIndex = 76; this.btCancel.Text = "退出(&E)"; // // btnSave // this.btnSave.BackColor = System.Drawing.SystemColors.ControlLight; this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSave.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btnSave.ForeColor = System.Drawing.SystemColors.Desktop; this.btnSave.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnSave.ImageIndex = 0; this.btnSave.Location = new System.Drawing.Point(704, 16); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(72, 24); this.btnSave.TabIndex = 75; this.btnSave.Text = "保存(&S)"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // button3 // this.button3.BackColor = System.Drawing.SystemColors.ControlLight; this.button3.Enabled = false; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.button3.ForeColor = System.Drawing.SystemColors.Desktop; this.button3.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button3.ImageIndex = 0; this.button3.Location = new System.Drawing.Point(616, 8); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(240, 40); this.button3.TabIndex = 77; // // txtinput // this.txtinput.AutoSize = false; this.txtinput.Location = new System.Drawing.Point(496, 16); this.txtinput.Name = "txtinput"; this.txtinput.Size = new System.Drawing.Size(48, 16); this.txtinput.TabIndex = 83; this.txtinput.Text = ""; this.txtinput.Visible = false; this.txtinput.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtinput_KeyPress); this.txtinput.Validating += new System.ComponentModel.CancelEventHandler(this.txtinput_Validating); // // frmNEWJBJL // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(864, 621); this.Controls.Add(this.panel1); this.MinimizeBox = false; this.Name = "frmNEWJBJL"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "新建交班记录"; this.Load += new System.EventHandler(this.frmJBJL_Load); this.panel1.ResumeLayout(false); this.panel4.ResumeLayout(false); this.panel6.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).EndInit(); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.panel2 = new System.Windows.Forms.Panel(); this.cbCWF = new System.Windows.Forms.CheckBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.bt修改 = new System.Windows.Forms.Button(); this.lbMonther = new System.Windows.Forms.Label(); this.bt删除 = new System.Windows.Forms.Button(); this.btCancel = new System.Windows.Forms.Button(); this.bt分娩 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel3); this.panel1.Controls.Add(this.panel2); 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(544, 341); this.panel1.TabIndex = 0; // // panel3 // this.panel3.Controls.Add(this.myDataGrid1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 152); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(544, 189); this.panel3.TabIndex = 1; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "婴儿信息"; this.myDataGrid1.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.myDataGrid1.DataMember = ""; 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.RowHeadersVisible = false; this.myDataGrid1.Size = new System.Drawing.Size(544, 184); this.myDataGrid1.TabIndex = 57; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.Tag = ""; this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // panel2 // this.panel2.Controls.Add(this.cbCWF); this.panel2.Controls.Add(this.comboBox1); this.panel2.Controls.Add(this.bt修改); this.panel2.Controls.Add(this.lbMonther); this.panel2.Controls.Add(this.bt删除); this.panel2.Controls.Add(this.btCancel); this.panel2.Controls.Add(this.bt分娩); this.panel2.Controls.Add(this.button3); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.textBox1); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.dateTimePicker1); this.panel2.Controls.Add(this.label1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(544, 152); this.panel2.TabIndex = 0; // // cbCWF // this.cbCWF.Checked = true; this.cbCWF.CheckState = System.Windows.Forms.CheckState.Checked; this.cbCWF.Location = new System.Drawing.Point(288, 56); this.cbCWF.Name = "cbCWF"; this.cbCWF.Size = new System.Drawing.Size(160, 16); this.cbCWF.TabIndex = 60; this.cbCWF.Text = "自动生成床位费长期账单"; this.cbCWF.TextAlign = System.Drawing.ContentAlignment.TopLeft; // // comboBox1 // this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.Items.AddRange(new object[] { "", "男", "女" }); this.comboBox1.Location = new System.Drawing.Point(80, 88); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(72, 20); this.comboBox1.TabIndex = 59; this.comboBox1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.comboBox1_KeyUp); // // bt修改 // this.bt修改.BackColor = System.Drawing.SystemColors.ControlLight; this.bt修改.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt修改.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bt修改.ForeColor = System.Drawing.SystemColors.Desktop; this.bt修改.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.bt修改.ImageIndex = 0; this.bt修改.Location = new System.Drawing.Point(464, 80); this.bt修改.Name = "bt修改"; this.bt修改.Size = new System.Drawing.Size(64, 24); this.bt修改.TabIndex = 58; this.bt修改.Text = "修改(&X)"; this.bt修改.UseVisualStyleBackColor = false; this.bt修改.Click += new System.EventHandler(this.bt修改_Click); // // lbMonther // this.lbMonther.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lbMonther.ForeColor = System.Drawing.SystemColors.HotTrack; this.lbMonther.Location = new System.Drawing.Point(8, 8); this.lbMonther.Name = "lbMonther"; this.lbMonther.Size = new System.Drawing.Size(440, 40); this.lbMonther.TabIndex = 57; this.lbMonther.Text = "母亲信息:"; // // bt删除 // this.bt删除.BackColor = System.Drawing.SystemColors.ControlLight; this.bt删除.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt删除.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bt删除.ForeColor = System.Drawing.SystemColors.Desktop; this.bt删除.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.bt删除.ImageIndex = 0; this.bt删除.Location = new System.Drawing.Point(464, 48); this.bt删除.Name = "bt删除"; this.bt删除.Size = new System.Drawing.Size(64, 24); this.bt删除.TabIndex = 56; this.bt删除.Text = "删除(&D)"; this.bt删除.UseVisualStyleBackColor = false; this.bt删除.Click += new System.EventHandler(this.bt删除_Click); // // btCancel // this.btCancel.BackColor = System.Drawing.SystemColors.ControlLight; this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btCancel.ForeColor = System.Drawing.SystemColors.Desktop; this.btCancel.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btCancel.ImageIndex = 0; this.btCancel.Location = new System.Drawing.Point(464, 112); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(64, 24); this.btCancel.TabIndex = 54; this.btCancel.Text = "退出(&E)"; this.btCancel.UseVisualStyleBackColor = false; // // bt分娩 // this.bt分娩.BackColor = System.Drawing.SystemColors.ControlLight; this.bt分娩.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt分娩.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bt分娩.ForeColor = System.Drawing.SystemColors.Desktop; this.bt分娩.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.bt分娩.ImageIndex = 0; this.bt分娩.Location = new System.Drawing.Point(464, 16); this.bt分娩.Name = "bt分娩"; this.bt分娩.Size = new System.Drawing.Size(64, 24); this.bt分娩.TabIndex = 53; this.bt分娩.Text = "分娩(&F)"; this.bt分娩.UseVisualStyleBackColor = false; this.bt分娩.Click += new System.EventHandler(this.bt分娩_Click); // // button3 // this.button3.BackColor = System.Drawing.SystemColors.ControlLight; this.button3.Enabled = false; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button3.ForeColor = System.Drawing.SystemColors.Desktop; this.button3.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button3.ImageIndex = 0; this.button3.Location = new System.Drawing.Point(456, 8); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(80, 136); this.button3.TabIndex = 55; this.button3.UseVisualStyleBackColor = false; // // label3 // this.label3.Location = new System.Drawing.Point(32, 96); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 16); this.label3.TabIndex = 4; this.label3.Text = "性别:"; this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(80, 120); this.textBox1.MaxLength = 10; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(184, 21); this.textBox1.TabIndex = 3; this.textBox1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyUp); // // label2 // this.label2.Location = new System.Drawing.Point(32, 128); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(48, 16); this.label2.TabIndex = 2; this.label2.Text = "姓名:"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight; // // dateTimePicker1 // this.dateTimePicker1.CustomFormat = "yyyy-MM-dd HH:mm:ss"; this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dateTimePicker1.Location = new System.Drawing.Point(80, 56); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.ShowUpDown = true; this.dateTimePicker1.Size = new System.Drawing.Size(184, 21); this.dateTimePicker1.TabIndex = 1; this.dateTimePicker1.Value = new System.DateTime(2004, 7, 27, 0, 0, 0, 0); this.dateTimePicker1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.dateTimePicker1_KeyUp); // // label1 // this.label1.Location = new System.Drawing.Point(8, 64); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 24); this.label1.TabIndex = 0; this.label1.Text = "分娩时间:"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // frmFM // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(544, 341); this.Controls.Add(this.panel1); this.Name = "frmFM"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "分娩"; this.Load += new System.EventHandler(this.frmFM_Load); this.panel1.ResumeLayout(false); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.panel2 = new System.Windows.Forms.Panel(); this.txtZyh = new System.Windows.Forms.TextBox(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.btSeekPat = new System.Windows.Forms.Button(); this.btnSeek = new System.Windows.Forms.Button(); this.btnRefresh = new System.Windows.Forms.Button(); this.cmbWard = new System.Windows.Forms.ComboBox(); this.btnExcel = new System.Windows.Forms.Button(); this.btCancel = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.btBljgcx = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.myDataGrid1); 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(1016, 540); this.panel1.TabIndex = 22; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "病人信息一览表"; this.myDataGrid1.CellSelectedBackColor = System.Drawing.Color.SkyBlue; 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.RowHeadersVisible = false; this.myDataGrid1.Size = new System.Drawing.Size(1016, 540); this.myDataGrid1.TabIndex = 21; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // panel2 // this.panel2.Controls.Add(this.btBljgcx); this.panel2.Controls.Add(this.txtZyh); this.panel2.Controls.Add(this.button2); this.panel2.Controls.Add(this.button1); this.panel2.Controls.Add(this.btSeekPat); this.panel2.Controls.Add(this.btnSeek); this.panel2.Controls.Add(this.btnRefresh); this.panel2.Controls.Add(this.cmbWard); this.panel2.Controls.Add(this.btnExcel); this.panel2.Controls.Add(this.btCancel); this.panel2.Controls.Add(this.button3); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 540); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1016, 57); this.panel2.TabIndex = 23; // // txtZyh // this.txtZyh.Location = new System.Drawing.Point(12, 18); this.txtZyh.Name = "txtZyh"; this.txtZyh.Size = new System.Drawing.Size(146, 21); this.txtZyh.TabIndex = 18; // // button2 // this.button2.Location = new System.Drawing.Point(415, 18); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(91, 23); this.button2.TabIndex = 17; this.button2.Text = "检验项目查询"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // button1 // this.button1.Location = new System.Drawing.Point(321, 18); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(89, 23); this.button1.TabIndex = 16; this.button1.Text = "检查项目查询"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // btSeekPat // this.btSeekPat.Location = new System.Drawing.Point(229, 18); this.btSeekPat.Name = "btSeekPat"; this.btSeekPat.Size = new System.Drawing.Size(87, 23); this.btSeekPat.TabIndex = 15; this.btSeekPat.Text = "查找病人(&Q)"; this.btSeekPat.UseVisualStyleBackColor = true; this.btSeekPat.Click += new System.EventHandler(this.btSeekPat_Click); // // btnSeek // this.btnSeek.Location = new System.Drawing.Point(161, 18); this.btnSeek.Name = "btnSeek"; this.btnSeek.Size = new System.Drawing.Size(63, 23); this.btnSeek.TabIndex = 14; this.btnSeek.Text = "查找"; this.btnSeek.UseVisualStyleBackColor = true; this.btnSeek.Click += new System.EventHandler(this.btnSeek_Click); // // btnRefresh // this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRefresh.BackColor = System.Drawing.SystemColors.ControlLight; this.btnRefresh.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnRefresh.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnRefresh.ForeColor = System.Drawing.SystemColors.Desktop; this.btnRefresh.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnRefresh.ImageIndex = 0; this.btnRefresh.Location = new System.Drawing.Point(770, 18); this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.Size = new System.Drawing.Size(64, 24); this.btnRefresh.TabIndex = 13; this.btnRefresh.Text = "刷新(&R)"; this.btnRefresh.UseVisualStyleBackColor = false; this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); // // cmbWard // this.cmbWard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmbWard.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbWard.FormattingEnabled = true; this.cmbWard.Location = new System.Drawing.Point(628, 19); this.cmbWard.Name = "cmbWard"; this.cmbWard.Size = new System.Drawing.Size(133, 20); this.cmbWard.TabIndex = 12; this.cmbWard.SelectedValueChanged += new System.EventHandler(this.cmbWard_SelectedValueChanged); // // btnExcel // this.btnExcel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnExcel.BackColor = System.Drawing.SystemColors.ControlLight; this.btnExcel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnExcel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnExcel.ForeColor = System.Drawing.SystemColors.Desktop; this.btnExcel.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnExcel.ImageIndex = 0; this.btnExcel.Location = new System.Drawing.Point(840, 18); this.btnExcel.Name = "btnExcel"; this.btnExcel.Size = new System.Drawing.Size(89, 24); this.btnExcel.TabIndex = 11; this.btnExcel.Text = "导出Excel(&D)"; this.btnExcel.UseVisualStyleBackColor = false; this.btnExcel.Click += new System.EventHandler(this.btnExcel_Click); // // btCancel // this.btCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btCancel.BackColor = System.Drawing.SystemColors.ControlLight; this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btCancel.ForeColor = System.Drawing.SystemColors.Desktop; this.btCancel.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btCancel.ImageIndex = 0; this.btCancel.Location = new System.Drawing.Point(935, 18); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(64, 24); this.btCancel.TabIndex = 10; this.btCancel.Text = "退出(&E)"; this.btCancel.UseVisualStyleBackColor = false; this.btCancel.Click += new System.EventHandler(this.btCancel_Click); // // button3 // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button3.BackColor = System.Drawing.SystemColors.ControlLight; this.button3.Enabled = false; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button3.ForeColor = System.Drawing.SystemColors.Desktop; this.button3.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button3.ImageIndex = 0; this.button3.Location = new System.Drawing.Point(762, 10); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(245, 40); this.button3.TabIndex = 9; this.button3.UseVisualStyleBackColor = false; // // btBljgcx // this.btBljgcx.Location = new System.Drawing.Point(511, 18); this.btBljgcx.Name = "btBljgcx"; this.btBljgcx.Size = new System.Drawing.Size(91, 23); this.btBljgcx.TabIndex = 19; this.btBljgcx.Text = "病理结果查询"; this.btBljgcx.UseVisualStyleBackColor = true; this.btBljgcx.Click += new System.EventHandler(this.btBljgcx_Click); // // frmBRYL // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(1016, 597); this.Controls.Add(this.panel1); this.Controls.Add(this.panel2); this.Name = "frmBRYL"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "病人信息一览"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmAllPatientInfo_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.btCancel = new System.Windows.Forms.Button(); this.bt保存 = new System.Windows.Forms.Button(); this.bt查询 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label3 = new System.Windows.Forms.Label(); this.DtpbeginDate = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.myDataGrid1 = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.label1 = new System.Windows.Forms.Label(); this.bt打印 = new System.Windows.Forms.Button(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // btCancel // this.btCancel.BackColor = System.Drawing.SystemColors.ControlLight; this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btCancel.ForeColor = System.Drawing.SystemColors.Desktop; this.btCancel.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btCancel.ImageIndex = 0; this.btCancel.Location = new System.Drawing.Point(295, 240); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(64, 24); this.btCancel.TabIndex = 61; this.btCancel.Text = "退出(&E)"; this.btCancel.UseVisualStyleBackColor = false; this.btCancel.Click += new System.EventHandler(this.btCancel_Click); // // bt保存 // this.bt保存.BackColor = System.Drawing.SystemColors.ControlLight; this.bt保存.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt保存.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bt保存.ForeColor = System.Drawing.SystemColors.Desktop; this.bt保存.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.bt保存.ImageIndex = 0; this.bt保存.Location = new System.Drawing.Point(70, 240); this.bt保存.Name = "bt保存"; this.bt保存.Size = new System.Drawing.Size(64, 24); this.bt保存.TabIndex = 60; this.bt保存.Text = "保存(&S)"; this.bt保存.UseVisualStyleBackColor = false; this.bt保存.Visible = false; this.bt保存.Click += new System.EventHandler(this.bt保存_Click); // // bt查询 // this.bt查询.BackColor = System.Drawing.SystemColors.ControlLight; this.bt查询.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt查询.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bt查询.ForeColor = System.Drawing.SystemColors.Desktop; this.bt查询.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.bt查询.ImageIndex = 0; this.bt查询.Location = new System.Drawing.Point(225, 240); this.bt查询.Name = "bt查询"; this.bt查询.Size = new System.Drawing.Size(64, 24); this.bt查询.TabIndex = 59; this.bt查询.Text = "查询(&C)"; this.bt查询.UseVisualStyleBackColor = false; this.bt查询.Click += new System.EventHandler(this.bt查询_Click); // // button3 // this.button3.BackColor = System.Drawing.SystemColors.ControlLight; this.button3.Enabled = false; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button3.ForeColor = System.Drawing.SystemColors.Desktop; this.button3.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button3.ImageIndex = 0; this.button3.Location = new System.Drawing.Point(216, 232); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(152, 40); this.button3.TabIndex = 62; this.button3.UseVisualStyleBackColor = false; // // groupBox2 // this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.DtpbeginDate); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.textBox1); this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Location = new System.Drawing.Point(8, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(360, 224); this.groupBox2.TabIndex = 63; this.groupBox2.TabStop = false; // // label3 // this.label3.Location = new System.Drawing.Point(8, 24); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 16); this.label3.TabIndex = 67; this.label3.Text = "日期:"; // // DtpbeginDate // this.DtpbeginDate.CalendarFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.DtpbeginDate.CalendarTrailingForeColor = System.Drawing.Color.Green; this.DtpbeginDate.CustomFormat = "yyyy-MM-dd"; this.DtpbeginDate.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.DtpbeginDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.DtpbeginDate.Location = new System.Drawing.Point(56, 16); this.DtpbeginDate.Name = "DtpbeginDate"; this.DtpbeginDate.ShowUpDown = true; this.DtpbeginDate.Size = new System.Drawing.Size(104, 23); this.DtpbeginDate.TabIndex = 66; this.DtpbeginDate.Value = new System.DateTime(2003, 9, 20, 19, 22, 0, 0); // // label2 // this.label2.Location = new System.Drawing.Point(8, 176); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(24, 40); this.label2.TabIndex = 65; this.label2.Text = "备注:"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(32, 168); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(320, 48); this.textBox1.TabIndex = 59; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "病室床日报表"; this.myDataGrid1.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.myDataGrid1.DataMember = ""; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(8, 48); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.ReadOnly = true; this.myDataGrid1.RowHeadersVisible = false; this.myDataGrid1.Size = new System.Drawing.Size(344, 112); this.myDataGrid1.TabIndex = 58; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.Tag = ""; this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // label1 // this.label1.Location = new System.Drawing.Point(176, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(144, 16); this.label1.TabIndex = 64; this.label1.Text = "填报人:"; // // bt打印 // this.bt打印.BackColor = System.Drawing.SystemColors.ControlLight; this.bt打印.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt打印.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bt打印.ForeColor = System.Drawing.SystemColors.Desktop; this.bt打印.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.bt打印.ImageIndex = 0; this.bt打印.Location = new System.Drawing.Point(0, 240); this.bt打印.Name = "bt打印"; this.bt打印.Size = new System.Drawing.Size(64, 24); this.bt打印.TabIndex = 64; this.bt打印.Text = "打印(&P)"; this.bt打印.UseVisualStyleBackColor = false; this.bt打印.Visible = false; this.bt打印.Click += new System.EventHandler(this.bt打印_Click); // // frmCRTJ // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(376, 277); this.Controls.Add(this.bt打印); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btCancel); this.Controls.Add(this.bt保存); this.Controls.Add(this.bt查询); this.Controls.Add(this.button3); this.Name = "frmCRTJ"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "床日统计"; this.Load += new System.EventHandler(this.frmCRTJ_Load); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.dgWard = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dgPat = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dgList = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle3 = new System.Windows.Forms.DataGridTableStyle(); this.panel1 = new System.Windows.Forms.Panel(); this.splitter2 = new System.Windows.Forms.Splitter(); this.splitter1 = new System.Windows.Forms.Splitter(); this.dtpBegin = new System.Windows.Forms.DateTimePicker(); this.dtpEnd = new System.Windows.Forms.DateTimePicker(); this.cmbDept = new System.Windows.Forms.ComboBox(); this.btnRefresh = new System.Windows.Forms.Button(); this.btnPrint = new System.Windows.Forms.Button(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.btnExit = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.dgWard)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgPat)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgList)).BeginInit(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // dgWard // this.dgWard.BackgroundColor = System.Drawing.Color.White; this.dgWard.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.dgWard.CaptionFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dgWard.CaptionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.dgWard.CaptionText = "病区收入"; this.dgWard.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.dgWard.DataMember = ""; this.dgWard.Dock = System.Windows.Forms.DockStyle.Top; this.dgWard.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dgWard.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dgWard.Location = new System.Drawing.Point(0, 0); this.dgWard.Name = "dgWard"; this.dgWard.ReadOnly = true; this.dgWard.Size = new System.Drawing.Size(937, 216); this.dgWard.TabIndex = 0; this.dgWard.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dgWard.CurrentCellChanged += new System.EventHandler(this.dgWard_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.dgWard; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // dgPat // this.dgPat.BackgroundColor = System.Drawing.Color.White; this.dgPat.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.dgPat.CaptionFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dgPat.CaptionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.dgPat.CaptionText = "病人费用"; this.dgPat.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.dgPat.DataMember = ""; this.dgPat.Dock = System.Windows.Forms.DockStyle.Fill; this.dgPat.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dgPat.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dgPat.Location = new System.Drawing.Point(0, 216); this.dgPat.Name = "dgPat"; this.dgPat.ReadOnly = true; this.dgPat.Size = new System.Drawing.Size(937, 149); this.dgPat.TabIndex = 2; this.dgPat.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); this.dgPat.CurrentCellChanged += new System.EventHandler(this.dgPat_CurrentCellChanged); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.dgPat; this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // dgList // this.dgList.BackgroundColor = System.Drawing.Color.White; this.dgList.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.dgList.CaptionFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dgList.CaptionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.dgList.CaptionText = "费用明细"; this.dgList.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.dgList.DataMember = ""; this.dgList.Dock = System.Windows.Forms.DockStyle.Bottom; this.dgList.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dgList.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dgList.Location = new System.Drawing.Point(0, 365); this.dgList.Name = "dgList"; this.dgList.ReadOnly = true; this.dgList.Size = new System.Drawing.Size(937, 184); this.dgList.TabIndex = 4; this.dgList.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle3 }); this.dgList.CurrentCellChanged += new System.EventHandler(this.dgList_CurrentCellChanged); // // dataGridTableStyle3 // this.dataGridTableStyle3.AllowSorting = false; this.dataGridTableStyle3.DataGrid = this.dgList; this.dataGridTableStyle3.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // panel1 // this.panel1.Controls.Add(this.splitter2); this.panel1.Controls.Add(this.splitter1); this.panel1.Controls.Add(this.dgPat); this.panel1.Controls.Add(this.dgWard); this.panel1.Controls.Add(this.dgList); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 72); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(937, 549); this.panel1.TabIndex = 6; // // splitter2 // this.splitter2.Dock = System.Windows.Forms.DockStyle.Top; this.splitter2.Location = new System.Drawing.Point(0, 216); this.splitter2.Name = "splitter2"; this.splitter2.Size = new System.Drawing.Size(937, 3); this.splitter2.TabIndex = 6; this.splitter2.TabStop = false; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter1.Location = new System.Drawing.Point(0, 362); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(937, 3); this.splitter1.TabIndex = 5; this.splitter1.TabStop = false; // // dtpBegin // this.dtpBegin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.dtpBegin.CalendarFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dtpBegin.CustomFormat = "yyyy-MM-dd HH:mm:ss"; this.dtpBegin.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpBegin.Location = new System.Drawing.Point(70, 30); this.dtpBegin.Name = "dtpBegin"; this.dtpBegin.Size = new System.Drawing.Size(138, 21); this.dtpBegin.TabIndex = 7; // // dtpEnd // this.dtpEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.dtpEnd.CalendarFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dtpEnd.CustomFormat = "yyyy-MM-dd HH:mm:ss"; this.dtpEnd.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpEnd.Location = new System.Drawing.Point(270, 30); this.dtpEnd.Name = "dtpEnd"; this.dtpEnd.Size = new System.Drawing.Size(137, 21); this.dtpEnd.TabIndex = 8; // // cmbDept // this.cmbDept.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cmbDept.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbDept.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cmbDept.Location = new System.Drawing.Point(452, 30); this.cmbDept.Name = "cmbDept"; this.cmbDept.Size = new System.Drawing.Size(136, 22); this.cmbDept.TabIndex = 9; this.cmbDept.SelectedIndexChanged += new System.EventHandler(this.cmbDept_SelectedIndexChanged); // // btnRefresh // this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRefresh.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnRefresh.Location = new System.Drawing.Point(594, 23); this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.Size = new System.Drawing.Size(80, 32); this.btnRefresh.TabIndex = 10; this.btnRefresh.Text = "刷新(&R)"; this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); // // btnPrint // this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPrint.ContextMenu = this.contextMenu1; this.btnPrint.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnPrint.Location = new System.Drawing.Point(682, 23); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(80, 32); this.btnPrint.TabIndex = 11; this.btnPrint.Text = "打印(&P)"; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2 }); this.contextMenu1.Popup += new System.EventHandler(this.contextMenu1_Popup); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "打印病区收入"; this.menuItem1.Click += new System.EventHandler(this.menuItem_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.Text = "打印病人费用"; this.menuItem2.Click += new System.EventHandler(this.menuItem_Click); // // btnExit // this.btnExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnExit.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnExit.Location = new System.Drawing.Point(854, 23); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(80, 32); this.btnExit.TabIndex = 12; this.btnExit.Text = "退出(&E)"; this.btnExit.Click += new System.EventHandler(this.btnExit_Click); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Location = new System.Drawing.Point(5, 33); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 16); this.label1.TabIndex = 13; this.label1.Text = "开始日期"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label2.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Location = new System.Drawing.Point(206, 33); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(64, 16); this.label2.TabIndex = 14; this.label2.Text = "结束日期"; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label3.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label3.Location = new System.Drawing.Point(413, 34); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(37, 16); this.label3.TabIndex = 15; this.label3.Text = "科室"; // // panel2 // this.panel2.Controls.Add(this.button1); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.dtpBegin); this.panel2.Controls.Add(this.dtpEnd); this.panel2.Controls.Add(this.cmbDept); this.panel2.Controls.Add(this.btnRefresh); this.panel2.Controls.Add(this.btnPrint); this.panel2.Controls.Add(this.btnExit); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.label2); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(937, 72); this.panel2.TabIndex = 16; // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button1.ContextMenu = this.contextMenu1; this.button1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button1.Location = new System.Drawing.Point(768, 23); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(80, 32); this.button1.TabIndex = 16; this.button1.Text = "导出(&D)"; this.button1.Click += new System.EventHandler(this.button1_Click); // // FrmBqsr // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(937, 621); this.Controls.Add(this.panel1); this.Controls.Add(this.panel2); this.Name = "FrmBqsr"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "病区科室收入"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmWarddeptSR_Load); ((System.ComponentModel.ISupportInitialize)(this.dgWard)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgPat)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgList)).EndInit(); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 初始化dataGrid /// </summary> /// <param name="GrdMappingName"></param> MappingName数组 /// <param name="GrdHeaderText"></param> GrdHeaderText数组 /// <param name="GrdWidth"></param> Width数组 /// <param name="GrdReadOnly"></param> ReadOnly数组 /// <param name="mydataGrid"></param> public void InitmyGrd(string[] GrdMappingName, string[] GrdHeaderText, int[] GrdWidth, bool[] GrdReadOnly, DataGridEx myDataGrid) { //int i = 0; //DataTable myTb = new DataTable(); //for (i = 0; i <= GrdMappingName.Length - 1; i++) //{ // myTb.Columns.Add(GrdMappingName[i].ToString()); //} //myTb.Rows.Add(myTb.NewRow()); //dataGrid.DataSource = myTb; myDataGrid.TableStyles[0].AllowSorting = false; myDataGrid.TableStyles[0].RowHeaderWidth = 5; //for (i = 0; i <= GrdMappingName.Length - 1; i++) //{ // if (GrdMappingName[i].ToString().Trim() == "选" || GrdMappingName[i].ToString().Trim() == "P") // { // DataGridEnableBoolColumn myBoolCol = new DataGridEnableBoolColumn(i); // if (GrdMappingName[i].ToString().Trim() == "P") // { // myBoolCol.AllowNull = false; // myBoolCol.TrueValue = (short)1; // myBoolCol.FalseValue = (short)0; // myBoolCol.NullValue = (short)0; // } // myBoolCol.CheckCellEnabled += new DataGridEnableBoolColumn.EnableCellEventHandler(SetEnableValues); // dataGrid.TableStyles[0].GridColumnStyles.Add(myBoolCol); // dataGrid.TableStyles[0].GridColumnStyles[i].MappingName = GrdMappingName[i].ToString(); // dataGrid.TableStyles[0].GridColumnStyles[i].Width = GrdWidth[i] == 0 ? 0 : (GrdWidth[i] * 7 + 2); // } // else // { // dataGrid.TableStyles[0].GridColumnStyles[i].NullText = ""; // dataGrid.TableStyles[0].GridColumnStyles[i].MappingName = GrdMappingName[i].ToString(); // dataGrid.TableStyles[0].GridColumnStyles[i].Width = GrdWidth[i]; // if (GrdWidth[i] != 0) dataGrid.TableStyles[0].GridColumnStyles[i].HeaderText = GrdHeaderText[i].ToString(); // dataGrid.TableStyles[0].GridColumnStyles[i].ReadOnly = GrdReadOnly[i]; // } //} DataGridEnableTextBoxColumn aColumnTextColumn; for (int i = 0; i <= GrdMappingName.Length - 1; i++) { if (GrdMappingName[i].ToString().Trim() == "选" || GrdMappingName[i].ToString().Trim() == "P") { DataGridEnableBoolColumn myBoolCol = new DataGridEnableBoolColumn(i); if (GrdMappingName[i].ToString().Trim() == "P") { myBoolCol.AllowNull = false; myBoolCol.TrueValue = (short)1; myBoolCol.FalseValue = (short)0; myBoolCol.NullValue = (short)0; } myBoolCol.CheckCellEnabled += new DataGridEnableBoolColumn.EnableCellEventHandler(SetEnableValues); myDataGrid.TableStyles[0].GridColumnStyles.Add(myBoolCol); myDataGrid.TableStyles[0].GridColumnStyles[i].MappingName = GrdMappingName[i].ToString(); myDataGrid.TableStyles[0].GridColumnStyles[i].HeaderText = GrdMappingName[i].ToString().Trim(); myDataGrid.TableStyles[0].GridColumnStyles[i].Width = GrdWidth[i]; myDataGrid.TableStyles[0].GridColumnStyles[i].ReadOnly = GrdReadOnly[i]; } else { aColumnTextColumn = new DataGridEnableTextBoxColumn(i); aColumnTextColumn.CheckCellEnabled += new DataGridEnableTextBoxColumn.EnableCellEventHandler(SetEnableValues); myDataGrid.TableStyles[0].GridColumnStyles.Add(aColumnTextColumn); myDataGrid.TableStyles[0].GridColumnStyles[i].NullText = ""; myDataGrid.TableStyles[0].GridColumnStyles[i].MappingName = GrdMappingName[i].ToString(); myDataGrid.TableStyles[0].GridColumnStyles[i].HeaderText = GrdMappingName[i].ToString().Trim(); myDataGrid.TableStyles[0].GridColumnStyles[i].Width = GrdWidth[i]; myDataGrid.TableStyles[0].GridColumnStyles[i].ReadOnly = GrdReadOnly[i]; } } }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel2 = new System.Windows.Forms.Panel(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.rbKind3 = new System.Windows.Forms.RadioButton(); this.rbKind1 = new System.Windows.Forms.RadioButton(); this.rbKind2 = new System.Windows.Forms.RadioButton(); this.bt退出 = new System.Windows.Forms.Button(); this.bt打印 = new System.Windows.Forms.Button(); this.bt统计 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.dtpBeginDate = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.DtpEndDate = new System.Windows.Forms.DateTimePicker(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel3); this.panel1.Controls.Add(this.splitter1); this.panel1.Controls.Add(this.panel2); 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(1008, 597); this.panel1.TabIndex = 0; // // panel3 // this.panel3.Controls.Add(this.myDataGrid1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 60); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1008, 537); this.panel3.TabIndex = 2; // // myDataGrid1 // this.myDataGrid1.AllowSorting = false; this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); 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(1008, 537); this.myDataGrid1.TabIndex = 4; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = ""; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Top; this.splitter1.Location = new System.Drawing.Point(0, 56); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(1008, 4); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // panel2 // this.panel2.Controls.Add(this.groupBox3); this.panel2.Controls.Add(this.bt退出); this.panel2.Controls.Add(this.bt打印); this.panel2.Controls.Add(this.bt统计); this.panel2.Controls.Add(this.button4); this.panel2.Controls.Add(this.groupBox1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1008, 56); this.panel2.TabIndex = 0; // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox3.Controls.Add(this.rbKind3); this.groupBox3.Controls.Add(this.rbKind1); this.groupBox3.Controls.Add(this.rbKind2); this.groupBox3.Location = new System.Drawing.Point(352, 0); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(416, 48); this.groupBox3.TabIndex = 54; this.groupBox3.TabStop = false; this.groupBox3.Text = "统计范围"; // // rbKind3 // this.rbKind3.Location = new System.Drawing.Point(280, 16); this.rbKind3.Name = "rbKind3"; this.rbKind3.Size = new System.Drawing.Size(128, 24); this.rbKind3.TabIndex = 2; this.rbKind3.Text = "按本科室在外科室"; // // rbKind1 // this.rbKind1.Checked = true; this.rbKind1.Location = new System.Drawing.Point(8, 16); this.rbKind1.Name = "rbKind1"; this.rbKind1.Size = new System.Drawing.Size(136, 24); this.rbKind1.TabIndex = 1; this.rbKind1.TabStop = true; this.rbKind1.Text = "按执行地点所属科室"; // // rbKind2 // this.rbKind2.Location = new System.Drawing.Point(156, 16); this.rbKind2.Name = "rbKind2"; this.rbKind2.Size = new System.Drawing.Size(112, 24); this.rbKind2.TabIndex = 0; this.rbKind2.Text = "按病人所属科室"; // // bt退出 // this.bt退出.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.bt退出.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.bt退出.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt退出.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.bt退出.ForeColor = System.Drawing.SystemColors.Desktop; this.bt退出.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.bt退出.ImageIndex = 4; this.bt退出.Location = new System.Drawing.Point(928, 16); this.bt退出.Name = "bt退出"; this.bt退出.Size = new System.Drawing.Size(64, 24); this.bt退出.TabIndex = 52; this.bt退出.Text = "退出(&E)"; this.bt退出.Click += new System.EventHandler(this.bt退出_Click); // // bt打印 // this.bt打印.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.bt打印.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt打印.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.bt打印.ForeColor = System.Drawing.SystemColors.Desktop; this.bt打印.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.bt打印.ImageIndex = 4; this.bt打印.Location = new System.Drawing.Point(856, 16); this.bt打印.Name = "bt打印"; this.bt打印.Size = new System.Drawing.Size(64, 24); this.bt打印.TabIndex = 51; this.bt打印.Text = "打印(&P)"; this.bt打印.Click += new System.EventHandler(this.bt打印_Click); // // bt统计 // this.bt统计.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.bt统计.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt统计.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.bt统计.ForeColor = System.Drawing.SystemColors.Desktop; this.bt统计.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.bt统计.ImageIndex = 4; this.bt统计.Location = new System.Drawing.Point(784, 16); this.bt统计.Name = "bt统计"; this.bt统计.Size = new System.Drawing.Size(64, 24); this.bt统计.TabIndex = 50; this.bt统计.Text = "统计(&T)"; this.bt统计.Click += new System.EventHandler(this.bt统计_Click); // // button4 // this.button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button4.Enabled = false; this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.button4.ForeColor = System.Drawing.SystemColors.Desktop; this.button4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.button4.ImageIndex = 4; this.button4.Location = new System.Drawing.Point(776, 8); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(224, 40); this.button4.TabIndex = 49; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtpBeginDate); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.DtpEndDate); this.groupBox1.Location = new System.Drawing.Point(8, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(336, 48); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "统计日期"; // // label2 // this.label2.Location = new System.Drawing.Point(8, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 8; this.label2.Text = " 从:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // dtpBeginDate // this.dtpBeginDate.CustomFormat = ""; this.dtpBeginDate.Location = new System.Drawing.Point(48, 16); this.dtpBeginDate.Name = "dtpBeginDate"; this.dtpBeginDate.Size = new System.Drawing.Size(112, 21); this.dtpBeginDate.TabIndex = 0; this.dtpBeginDate.Value = new System.DateTime(2003, 9, 27, 0, 0, 0, 0); // // label1 // this.label1.Location = new System.Drawing.Point(168, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 16); this.label1.TabIndex = 9; this.label1.Text = "到:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // DtpEndDate // this.DtpEndDate.Location = new System.Drawing.Point(208, 16); this.DtpEndDate.Name = "DtpEndDate"; this.DtpEndDate.Size = new System.Drawing.Size(112, 21); this.DtpEndDate.TabIndex = 1; this.DtpEndDate.Value = new System.DateTime(2003, 9, 27, 23, 59, 0, 0); // // frmSRTJ // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(1008, 597); this.Controls.Add(this.panel1); this.Name = "frmSRTJ"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "收入统计报表"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmSRTJ_Load); this.panel1.ResumeLayout(false); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel总 = new System.Windows.Forms.Panel(); this.panel中 = new System.Windows.Forms.Panel(); this.rb所有病人 = new System.Windows.Forms.RadioButton(); this.rb选定病人 = new System.Windows.Forms.RadioButton(); this.bt反选 = new System.Windows.Forms.Button(); this.bt全选 = new System.Windows.Forms.Button(); this.bt显示切换 = new System.Windows.Forms.Button(); this.myDataGrid1 = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.panel下 = new System.Windows.Forms.Panel(); this.bt退出 = new System.Windows.Forms.Button(); this.tb查询 = new System.Windows.Forms.Button(); this.patientInfo1 = new 病人信息.PatientInfo(); this.priceInfo1 = new 价格信息.PriceInfo(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.btOpenModel = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.DateExecDate = new System.Windows.Forms.DateTimePicker(); this.panel总.SuspendLayout(); this.panel中.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel下.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // panel总 // this.panel总.Controls.Add(this.panel中); this.panel总.Controls.Add(this.panel下); this.panel总.Dock = System.Windows.Forms.DockStyle.Fill; this.panel总.Location = new System.Drawing.Point(0, 0); this.panel总.Name = "panel总"; this.panel总.Size = new System.Drawing.Size(1028, 749); this.panel总.TabIndex = 1; // // panel中 // this.panel中.Controls.Add(this.rb所有病人); this.panel中.Controls.Add(this.rb选定病人); this.panel中.Controls.Add(this.bt反选); this.panel中.Controls.Add(this.bt全选); this.panel中.Controls.Add(this.bt显示切换); this.panel中.Controls.Add(this.myDataGrid1); this.panel中.Dock = System.Windows.Forms.DockStyle.Fill; this.panel中.Location = new System.Drawing.Point(0, 0); this.panel中.Name = "panel中"; this.panel中.Size = new System.Drawing.Size(1028, 621); this.panel中.TabIndex = 1; // // rb所有病人 // this.rb所有病人.BackColor = System.Drawing.Color.PaleTurquoise; this.rb所有病人.ForeColor = System.Drawing.SystemColors.ControlText; this.rb所有病人.Location = new System.Drawing.Point(776, 3); this.rb所有病人.Name = "rb所有病人"; this.rb所有病人.Size = new System.Drawing.Size(72, 18); this.rb所有病人.TabIndex = 82; this.rb所有病人.Text = "所有病人"; this.rb所有病人.TextAlign = System.Drawing.ContentAlignment.TopLeft; this.rb所有病人.UseVisualStyleBackColor = false; // // rb选定病人 // this.rb选定病人.BackColor = System.Drawing.Color.PaleTurquoise; this.rb选定病人.Checked = true; this.rb选定病人.Location = new System.Drawing.Point(672, 3); this.rb选定病人.Name = "rb选定病人"; this.rb选定病人.Size = new System.Drawing.Size(72, 18); this.rb选定病人.TabIndex = 81; this.rb选定病人.TabStop = true; this.rb选定病人.Text = "选定病人"; this.rb选定病人.UseVisualStyleBackColor = false; // // bt反选 // this.bt反选.BackColor = System.Drawing.Color.PaleGreen; this.bt反选.Location = new System.Drawing.Point(944, 1); this.bt反选.Name = "bt反选"; this.bt反选.Size = new System.Drawing.Size(56, 20); this.bt反选.TabIndex = 80; this.bt反选.Text = "反选(&F)"; this.bt反选.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.bt反选.UseVisualStyleBackColor = false; this.bt反选.Click += new System.EventHandler(this.bt反选_Click); // // bt全选 // this.bt全选.BackColor = System.Drawing.Color.PaleGreen; this.bt全选.Location = new System.Drawing.Point(872, 1); this.bt全选.Name = "bt全选"; this.bt全选.Size = new System.Drawing.Size(56, 20); this.bt全选.TabIndex = 79; this.bt全选.Text = "全选(&A)"; this.bt全选.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.bt全选.UseVisualStyleBackColor = false; this.bt全选.Click += new System.EventHandler(this.bt全选_Click); // // bt显示切换 // this.bt显示切换.BackColor = System.Drawing.Color.PaleTurquoise; this.bt显示切换.ForeColor = System.Drawing.SystemColors.ControlText; this.bt显示切换.Location = new System.Drawing.Point(2, 22); this.bt显示切换.Name = "bt显示切换"; this.bt显示切换.Size = new System.Drawing.Size(16, 20); this.bt显示切换.TabIndex = 69; this.bt显示切换.UseVisualStyleBackColor = false; this.bt显示切换.Click += new System.EventHandler(this.bt显示切换_Click); // // myDataGrid1 // this.myDataGrid1.AllowSorting = false; this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "未发送医嘱明细"; this.myDataGrid1.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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(1028, 621); this.myDataGrid1.TabIndex = 25; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); this.myDataGrid1.Paint += new System.Windows.Forms.PaintEventHandler(this.myDataGrid1_Paint); this.myDataGrid1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.myDataGrid1_MouseUp); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); this.myDataGrid1.Click += new System.EventHandler(this.myDataGrid1_Click); // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // panel下 // this.panel下.Controls.Add(this.bt退出); this.panel下.Controls.Add(this.tb查询); this.panel下.Controls.Add(this.patientInfo1); this.panel下.Controls.Add(this.priceInfo1); this.panel下.Controls.Add(this.progressBar1); this.panel下.Controls.Add(this.btOpenModel); this.panel下.Controls.Add(this.groupBox1); this.panel下.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel下.Location = new System.Drawing.Point(0, 621); this.panel下.Name = "panel下"; this.panel下.Size = new System.Drawing.Size(1028, 128); this.panel下.TabIndex = 2; // // bt退出 // this.bt退出.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bt退出.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.bt退出.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt退出.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bt退出.ForeColor = System.Drawing.SystemColors.Desktop; this.bt退出.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.bt退出.ImageIndex = 4; this.bt退出.Location = new System.Drawing.Point(920, 64); this.bt退出.Name = "bt退出"; this.bt退出.Size = new System.Drawing.Size(80, 32); this.bt退出.TabIndex = 63; this.bt退出.Text = "退出(&E)"; this.bt退出.Click += new System.EventHandler(this.bt退出_Click); // // tb查询 // this.tb查询.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.tb查询.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.tb查询.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.tb查询.ForeColor = System.Drawing.SystemColors.Desktop; this.tb查询.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.tb查询.ImageIndex = 9; this.tb查询.Location = new System.Drawing.Point(800, 65); this.tb查询.Name = "tb查询"; this.tb查询.Size = new System.Drawing.Size(80, 32); this.tb查询.TabIndex = 62; this.tb查询.Text = "查询(&C)"; this.tb查询.Click += new System.EventHandler(this.bt查询_Click); // // patientInfo1 // this.patientInfo1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.patientInfo1.BackColor = System.Drawing.Color.LightGray; this.patientInfo1.Location = new System.Drawing.Point(0, 1); this.patientInfo1.Name = "patientInfo1"; this.patientInfo1.Size = new System.Drawing.Size(460, 124); this.patientInfo1.TabIndex = 60; // // priceInfo1 // this.priceInfo1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.priceInfo1.Location = new System.Drawing.Point(464, 1); this.priceInfo1.Name = "priceInfo1"; this.priceInfo1.Size = new System.Drawing.Size(312, 120); this.priceInfo1.TabIndex = 59; // // progressBar1 // this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.progressBar1.Location = new System.Drawing.Point(776, 113); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(248, 8); this.progressBar1.TabIndex = 58; // // btOpenModel // this.btOpenModel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.btOpenModel.Enabled = false; this.btOpenModel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btOpenModel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btOpenModel.ForeColor = System.Drawing.SystemColors.Desktop; this.btOpenModel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btOpenModel.ImageIndex = 1; this.btOpenModel.Location = new System.Drawing.Point(776, 57); this.btOpenModel.Name = "btOpenModel"; this.btOpenModel.Size = new System.Drawing.Size(248, 48); this.btOpenModel.TabIndex = 61; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.DateExecDate); this.groupBox1.Location = new System.Drawing.Point(776, 1); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(248, 48); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.groupBox1.Text = "最大未发送日期"; // // DateExecDate // this.DateExecDate.CalendarFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.DateExecDate.CustomFormat = "yyyy-MM-dd HH:mm:ss"; this.DateExecDate.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.DateExecDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.DateExecDate.Location = new System.Drawing.Point(64, 16); this.DateExecDate.Name = "DateExecDate"; this.DateExecDate.ShowUpDown = true; this.DateExecDate.Size = new System.Drawing.Size(104, 23); this.DateExecDate.TabIndex = 12; this.DateExecDate.Value = new System.DateTime(2003, 9, 20, 19, 22, 0, 0); // // frmYZCX // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(1028, 749); this.Controls.Add(this.panel总); this.Name = "frmYZCX"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "未发送医嘱查询"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmYZCX_Load); this.panel总.ResumeLayout(false); this.panel中.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel下.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.panel2 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.btnExit = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.myDataGrid1); 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(750, 459); this.panel1.TabIndex = 1; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "未处理项目"; this.myDataGrid1.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.myDataGrid1.ForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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(750, 459); this.myDataGrid1.TabIndex = 60; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.Tag = ""; this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // panel2 // this.panel2.Controls.Add(this.btnCancel); this.panel2.Controls.Add(this.btnExit); this.panel2.Controls.Add(this.button3); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 459); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(750, 56); this.panel2.TabIndex = 2; // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.BackColor = System.Drawing.SystemColors.ControlLight; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Enabled = false; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnCancel.ForeColor = System.Drawing.SystemColors.Desktop; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnCancel.ImageIndex = 0; this.btnCancel.Location = new System.Drawing.Point(600, 16); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(64, 24); this.btnCancel.TabIndex = 10; this.btnCancel.Text = "取消(&C)"; this.btnCancel.UseVisualStyleBackColor = false; this.btnCancel.Visible = false; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnExit // this.btnExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnExit.BackColor = System.Drawing.SystemColors.ControlLight; this.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnExit.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnExit.ForeColor = System.Drawing.SystemColors.Desktop; this.btnExit.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnExit.ImageIndex = 0; this.btnExit.Location = new System.Drawing.Point(670, 16); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(64, 24); this.btnExit.TabIndex = 9; this.btnExit.Text = "退出(&E)"; this.btnExit.UseVisualStyleBackColor = false; this.btnExit.Click += new System.EventHandler(this.btnExit_Click); // // button3 // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button3.BackColor = System.Drawing.SystemColors.ControlLight; this.button3.Enabled = false; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button3.ForeColor = System.Drawing.SystemColors.Desktop; this.button3.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button3.ImageIndex = 0; this.button3.Location = new System.Drawing.Point(592, 8); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(150, 40); this.button3.TabIndex = 7; this.button3.UseVisualStyleBackColor = false; // // panel3 // this.panel3.Controls.Add(this.panel1); this.panel3.Controls.Add(this.panel2); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(750, 515); this.panel3.TabIndex = 3; // // frmWCLXM // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(750, 515); this.Controls.Add(this.panel3); this.Name = "frmWCLXM"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "未处理项目查询"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmWzxxm_Load); this.Activated += new System.EventHandler(this.frmWCLXM_Activated); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBrcx)); this.splitter1 = new System.Windows.Forms.Splitter(); this.pnl_1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.dGrid_Pat = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.panel2 = new System.Windows.Forms.Panel(); this.rdbYwc = new System.Windows.Forms.RadioButton(); this.rdbYap = new System.Windows.Forms.RadioButton(); this.rdbYjz = new System.Windows.Forms.RadioButton(); this.panel1 = new System.Windows.Forms.Panel(); this.dTimeP_CX = new System.Windows.Forms.DateTimePicker(); this.bt_br = new System.Windows.Forms.Button(); this.pnl_2 = new System.Windows.Forms.Panel(); this.pnl_3 = new System.Windows.Forms.Panel(); this.btnserch = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.txtPatID = new System.Windows.Forms.TextBox(); this.btnXxcx = new System.Windows.Forms.Button(); this.btnYzlr = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.xcjwLabel1 = new TrasenClasses.GeneralControls.LabelEx(this.components); this.pnl_1.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dGrid_Pat)).BeginInit(); this.panel2.SuspendLayout(); this.panel1.SuspendLayout(); this.pnl_2.SuspendLayout(); this.pnl_3.SuspendLayout(); this.SuspendLayout(); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(232, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(4, 483); this.splitter1.TabIndex = 7; this.splitter1.TabStop = false; // // pnl_1 // this.pnl_1.Controls.Add(this.panel3); this.pnl_1.Controls.Add(this.panel2); this.pnl_1.Controls.Add(this.panel1); this.pnl_1.Dock = System.Windows.Forms.DockStyle.Left; this.pnl_1.Location = new System.Drawing.Point(0, 0); this.pnl_1.Name = "pnl_1"; this.pnl_1.Size = new System.Drawing.Size(232, 483); this.pnl_1.TabIndex = 8; // // panel3 // this.panel3.Controls.Add(this.dGrid_Pat); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 58); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(232, 425); this.panel3.TabIndex = 14; // // dGrid_Pat // this.dGrid_Pat.BackgroundColor = System.Drawing.SystemColors.Window; this.dGrid_Pat.CaptionBackColor = System.Drawing.Color.DimGray; this.dGrid_Pat.CaptionText = "病人列表"; this.dGrid_Pat.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.dGrid_Pat.DataMember = ""; this.dGrid_Pat.Dock = System.Windows.Forms.DockStyle.Fill; this.dGrid_Pat.HeaderFont = new System.Drawing.Font("微软雅黑", 9F); this.dGrid_Pat.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dGrid_Pat.Location = new System.Drawing.Point(0, 0); this.dGrid_Pat.Name = "dGrid_Pat"; this.dGrid_Pat.ReadOnly = true; this.dGrid_Pat.RowHeaderWidth = 20; this.dGrid_Pat.Size = new System.Drawing.Size(232, 425); this.dGrid_Pat.TabIndex = 12; this.dGrid_Pat.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dGrid_Pat.CurrentCellChanged += new System.EventHandler(this.dGrid_Pat_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dGrid_Pat; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // panel2 // this.panel2.Controls.Add(this.rdbYwc); this.panel2.Controls.Add(this.rdbYap); this.panel2.Controls.Add(this.rdbYjz); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 24); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(232, 34); this.panel2.TabIndex = 13; // // rdbYwc // this.rdbYwc.AutoSize = true; this.rdbYwc.Font = new System.Drawing.Font("微软雅黑", 9F); this.rdbYwc.Location = new System.Drawing.Point(135, 7); this.rdbYwc.Name = "rdbYwc"; this.rdbYwc.Size = new System.Drawing.Size(62, 21); this.rdbYwc.TabIndex = 2; this.rdbYwc.Text = "已完成"; this.rdbYwc.UseVisualStyleBackColor = true; this.rdbYwc.CheckedChanged += new System.EventHandler(this.rdbYwc_CheckedChanged); // // rdbYap // this.rdbYap.AutoSize = true; this.rdbYap.Font = new System.Drawing.Font("微软雅黑", 9F); this.rdbYap.Location = new System.Drawing.Point(69, 6); this.rdbYap.Name = "rdbYap"; this.rdbYap.Size = new System.Drawing.Size(62, 21); this.rdbYap.TabIndex = 1; this.rdbYap.Text = "已安排"; this.rdbYap.UseVisualStyleBackColor = true; this.rdbYap.CheckedChanged += new System.EventHandler(this.rdbYap_CheckedChanged); // // rdbYjz // this.rdbYjz.AutoSize = true; this.rdbYjz.Checked = true; this.rdbYjz.Font = new System.Drawing.Font("微软雅黑", 9F); this.rdbYjz.Location = new System.Drawing.Point(3, 6); this.rdbYjz.Name = "rdbYjz"; this.rdbYjz.Size = new System.Drawing.Size(62, 21); this.rdbYjz.TabIndex = 0; this.rdbYjz.TabStop = true; this.rdbYjz.Text = "已记账"; this.rdbYjz.UseVisualStyleBackColor = true; this.rdbYjz.CheckedChanged += new System.EventHandler(this.rdbYjz_CheckedChanged); // // panel1 // this.panel1.Controls.Add(this.dTimeP_CX); this.panel1.Controls.Add(this.bt_br); 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(232, 24); this.panel1.TabIndex = 0; // // dTimeP_CX // this.dTimeP_CX.CalendarFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dTimeP_CX.Dock = System.Windows.Forms.DockStyle.Fill; this.dTimeP_CX.Font = new System.Drawing.Font("微软雅黑", 9F); this.dTimeP_CX.Location = new System.Drawing.Point(0, 0); this.dTimeP_CX.Name = "dTimeP_CX"; this.dTimeP_CX.Size = new System.Drawing.Size(208, 23); this.dTimeP_CX.TabIndex = 4; // // bt_br // this.bt_br.Cursor = System.Windows.Forms.Cursors.Hand; this.bt_br.Dock = System.Windows.Forms.DockStyle.Right; this.bt_br.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.bt_br.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bt_br.ForeColor = System.Drawing.Color.LightCoral; this.bt_br.Image = ((System.Drawing.Image)(resources.GetObject("bt_br.Image"))); this.bt_br.ImageAlign = System.Drawing.ContentAlignment.BottomRight; this.bt_br.Location = new System.Drawing.Point(208, 0); this.bt_br.Name = "bt_br"; this.bt_br.Size = new System.Drawing.Size(24, 24); this.bt_br.TabIndex = 3; this.bt_br.Click += new System.EventHandler(this.bt_br_Click); // // pnl_2 // this.pnl_2.BackColor = System.Drawing.Color.Gainsboro; this.pnl_2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pnl_2.Controls.Add(this.pnl_3); this.pnl_2.Dock = System.Windows.Forms.DockStyle.Fill; this.pnl_2.Location = new System.Drawing.Point(236, 0); this.pnl_2.Name = "pnl_2"; this.pnl_2.Size = new System.Drawing.Size(356, 483); this.pnl_2.TabIndex = 9; this.pnl_2.Paint += new System.Windows.Forms.PaintEventHandler(this.pnl_2_Paint); this.pnl_2.SizeChanged += new System.EventHandler(this.pnl_2_SizeChanged); // // pnl_3 // this.pnl_3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.pnl_3.Controls.Add(this.btnserch); this.pnl_3.Controls.Add(this.label2); this.pnl_3.Controls.Add(this.txtPatID); this.pnl_3.Controls.Add(this.btnXxcx); this.pnl_3.Controls.Add(this.btnYzlr); this.pnl_3.Dock = System.Windows.Forms.DockStyle.Fill; this.pnl_3.Location = new System.Drawing.Point(0, 0); this.pnl_3.Name = "pnl_3"; this.pnl_3.Size = new System.Drawing.Size(352, 479); this.pnl_3.TabIndex = 5; // // btnserch // this.btnserch.BackColor = System.Drawing.Color.White; this.btnserch.FlatAppearance.BorderColor = System.Drawing.Color.Blue; this.btnserch.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.btnserch.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.btnserch.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnserch.Font = new System.Drawing.Font("微软雅黑", 9F); this.btnserch.ForeColor = System.Drawing.SystemColors.Desktop; this.btnserch.Image = global::Ts_ss_brcx.Properties.Resources._23; this.btnserch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnserch.Location = new System.Drawing.Point(243, 24); this.btnserch.Name = "btnserch"; this.btnserch.Size = new System.Drawing.Size(97, 28); this.btnserch.TabIndex = 6; this.btnserch.Text = "病人查询"; this.btnserch.TextAlign = System.Drawing.ContentAlignment.BottomRight; this.btnserch.UseVisualStyleBackColor = false; this.btnserch.Visible = false; this.btnserch.Click += new System.EventHandler(this.btnserch_Click); // // label2 // this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.ForeColor = System.Drawing.Color.Indigo; this.label2.Location = new System.Drawing.Point(14, 26); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(90, 24); this.label2.TabIndex = 5; this.label2.Text = "请输入住院号:"; // // txtPatID // this.txtPatID.Font = new System.Drawing.Font("微软雅黑", 12F); this.txtPatID.Location = new System.Drawing.Point(110, 24); this.txtPatID.Name = "txtPatID"; this.txtPatID.Size = new System.Drawing.Size(127, 29); this.txtPatID.TabIndex = 1; // // btnXxcx // this.btnXxcx.BackColor = System.Drawing.SystemColors.Control; this.btnXxcx.Cursor = System.Windows.Forms.Cursors.Hand; this.btnXxcx.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnXxcx.Font = new System.Drawing.Font("微软雅黑", 12F); this.btnXxcx.ForeColor = System.Drawing.Color.Indigo; this.btnXxcx.Location = new System.Drawing.Point(110, 145); this.btnXxcx.Name = "btnXxcx"; this.btnXxcx.Size = new System.Drawing.Size(230, 40); this.btnXxcx.TabIndex = 4; this.btnXxcx.Text = "信息查询"; this.btnXxcx.UseVisualStyleBackColor = false; this.btnXxcx.Click += new System.EventHandler(this.btnXxcx_Click); // // btnYzlr // this.btnYzlr.BackColor = System.Drawing.SystemColors.Control; this.btnYzlr.Cursor = System.Windows.Forms.Cursors.Hand; this.btnYzlr.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnYzlr.Font = new System.Drawing.Font("微软雅黑", 12F); this.btnYzlr.ForeColor = System.Drawing.Color.Indigo; this.btnYzlr.Location = new System.Drawing.Point(110, 77); this.btnYzlr.Name = "btnYzlr"; this.btnYzlr.Size = new System.Drawing.Size(230, 40); this.btnYzlr.TabIndex = 2; this.btnYzlr.Text = "医嘱账单录入"; this.btnYzlr.UseVisualStyleBackColor = false; this.btnYzlr.Click += new System.EventHandler(this.btnYzlr_Click); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Location = new System.Drawing.Point(24, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(106, 18); this.label1.TabIndex = 0; this.label1.Text = "住 院 号 :"; // // xcjwLabel1 // this.xcjwLabel1.BackColor = System.Drawing.SystemColors.AppWorkspace; this.xcjwLabel1.BackColor1 = System.Drawing.SystemColors.ControlDarkDark; this.xcjwLabel1.BackColor2 = System.Drawing.Color.AliceBlue; this.xcjwLabel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.xcjwLabel1.Dock = System.Windows.Forms.DockStyle.Top; this.xcjwLabel1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.xcjwLabel1.ForeColor = System.Drawing.SystemColors.Window; this.xcjwLabel1.Location = new System.Drawing.Point(0, 0); this.xcjwLabel1.Name = "xcjwLabel1"; this.xcjwLabel1.Size = new System.Drawing.Size(100, 23); this.xcjwLabel1.TabIndex = 0; // // frmBrcx // this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.ClientSize = new System.Drawing.Size(592, 483); this.Controls.Add(this.pnl_2); this.Controls.Add(this.splitter1); this.Controls.Add(this.pnl_1); this.Controls.Add(this.label1); this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Name = "frmBrcx"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "手术病人查询"; this.TransparencyKey = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.Load += new System.EventHandler(this.frmBrcx_Load); this.pnl_1.ResumeLayout(false); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dGrid_Pat)).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel1.ResumeLayout(false); this.pnl_2.ResumeLayout(false); this.pnl_3.ResumeLayout(false); this.pnl_3.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 药品警告信息 /// </summary> /// <param name="mydatagrid"></param> public void GetYpjgxx(DataGridEx mydatagrid) { }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.panel1 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.rtbShow = new TrasenClasses.GeneralControls.RichTextBoxEx(this.components); this.splitter3 = new System.Windows.Forms.Splitter(); this.panel5 = new System.Windows.Forms.Panel(); this.myDataGrid2 = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.splitter2 = new System.Windows.Forms.Splitter(); this.panel3 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new TrasenClasses.GeneralControls.DataGridEx(); this.contextMenu2 = new System.Windows.Forms.ContextMenu(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel2 = new System.Windows.Forms.Panel(); this.lblWard = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.btnRefresh = new System.Windows.Forms.Button(); this.bt打印 = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.DtpbeginDate = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.btCancel = new System.Windows.Forms.Button(); this.btnNew = new System.Windows.Forms.Button(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.button3 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.panel4.SuspendLayout(); this.panel6.SuspendLayout(); this.groupBox2.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).BeginInit(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.splitter2); this.panel1.Controls.Add(this.panel3); this.panel1.Controls.Add(this.splitter1); this.panel1.Controls.Add(this.panel2); 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(864, 621); this.panel1.TabIndex = 0; // // panel4 // this.panel4.Controls.Add(this.panel6); this.panel4.Controls.Add(this.splitter3); this.panel4.Controls.Add(this.panel5); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(0, 200); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(864, 421); this.panel4.TabIndex = 4; // // panel6 // this.panel6.Controls.Add(this.groupBox2); this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; this.panel6.Location = new System.Drawing.Point(400, 0); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(464, 421); this.panel6.TabIndex = 2; // // groupBox2 // this.groupBox2.Controls.Add(this.rtbShow); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.ForeColor = System.Drawing.Color.Blue; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(464, 421); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "特殊交班"; // // rtbShow // this.rtbShow.BackColor = System.Drawing.SystemColors.Window; this.rtbShow.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.rtbShow.DetectUrls = false; this.rtbShow.Dock = System.Windows.Forms.DockStyle.Fill; this.rtbShow.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.rtbShow.LinkStyle = true; this.rtbShow.Location = new System.Drawing.Point(3, 17); this.rtbShow.Name = "rtbShow"; this.rtbShow.ReadOnly = true; this.rtbShow.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.rtbShow.Size = new System.Drawing.Size(458, 401); this.rtbShow.TabIndex = 0; this.rtbShow.Text = ""; // // splitter3 // this.splitter3.Location = new System.Drawing.Point(392, 0); this.splitter3.Name = "splitter3"; this.splitter3.Size = new System.Drawing.Size(8, 421); this.splitter3.TabIndex = 1; this.splitter3.TabStop = false; // // panel5 // this.panel5.Controls.Add(this.myDataGrid2); this.panel5.Dock = System.Windows.Forms.DockStyle.Left; this.panel5.Location = new System.Drawing.Point(0, 0); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(392, 421); this.panel5.TabIndex = 0; // // myDataGrid2 // this.myDataGrid2.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid2.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid2.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.myDataGrid2.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid2.CaptionText = "病人动态"; this.myDataGrid2.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.myDataGrid2.DataMember = ""; this.myDataGrid2.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.myDataGrid2.ForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid2.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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(392, 421); this.myDataGrid2.TabIndex = 60; this.myDataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); this.myDataGrid2.Tag = ""; // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid2; this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // splitter2 // this.splitter2.Dock = System.Windows.Forms.DockStyle.Top; this.splitter2.Location = new System.Drawing.Point(0, 192); this.splitter2.Name = "splitter2"; this.splitter2.Size = new System.Drawing.Size(864, 8); this.splitter2.TabIndex = 3; this.splitter2.TabStop = false; // // panel3 // this.panel3.Controls.Add(this.myDataGrid1); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 60); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(864, 132); this.panel3.TabIndex = 2; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "交班记录"; this.myDataGrid1.CellSelectedBackColor = System.Drawing.Color.SkyBlue; this.myDataGrid1.ContextMenu = this.contextMenu2; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.myDataGrid1.ForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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(864, 132); this.myDataGrid1.TabIndex = 59; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.Tag = ""; // // contextMenu2 // this.contextMenu2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem4 }); // // menuItem4 // this.menuItem4.Index = 0; this.menuItem4.Text = "删除"; this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Top; this.splitter1.Location = new System.Drawing.Point(0, 56); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(864, 4); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // panel2 // this.panel2.Controls.Add(this.lblWard); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.btnRefresh); this.panel2.Controls.Add(this.bt打印); this.panel2.Controls.Add(this.groupBox1); this.panel2.Controls.Add(this.btCancel); this.panel2.Controls.Add(this.btnNew); this.panel2.Controls.Add(this.button3); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(864, 56); this.panel2.TabIndex = 0; // // lblWard // this.lblWard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblWard.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblWard.Location = new System.Drawing.Point(72, 22); this.lblWard.Name = "lblWard"; this.lblWard.Size = new System.Drawing.Size(218, 23); this.lblWard.TabIndex = 82; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Location = new System.Drawing.Point(16, 22); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 23); this.label2.TabIndex = 81; this.label2.Text = "病室:"; // // btnRefresh // this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRefresh.BackColor = System.Drawing.SystemColors.ControlLight; this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnRefresh.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnRefresh.ForeColor = System.Drawing.SystemColors.Desktop; this.btnRefresh.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnRefresh.ImageIndex = 0; this.btnRefresh.Location = new System.Drawing.Point(544, 16); this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.Size = new System.Drawing.Size(72, 24); this.btnRefresh.TabIndex = 80; this.btnRefresh.Text = "刷新(&R)"; this.btnRefresh.UseVisualStyleBackColor = false; this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); // // bt打印 // this.bt打印.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.bt打印.BackColor = System.Drawing.SystemColors.ControlLight; this.bt打印.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt打印.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bt打印.ForeColor = System.Drawing.SystemColors.Desktop; this.bt打印.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.bt打印.ImageIndex = 0; this.bt打印.Location = new System.Drawing.Point(704, 16); this.bt打印.Name = "bt打印"; this.bt打印.Size = new System.Drawing.Size(72, 24); this.bt打印.TabIndex = 79; this.bt打印.Text = "打印(&P)"; this.bt打印.UseVisualStyleBackColor = false; this.bt打印.Click += new System.EventHandler(this.bt打印_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.DtpbeginDate); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Location = new System.Drawing.Point(296, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(224, 48); this.groupBox1.TabIndex = 78; this.groupBox1.TabStop = false; // // DtpbeginDate // this.DtpbeginDate.CalendarFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.DtpbeginDate.CalendarTrailingForeColor = System.Drawing.Color.Green; this.DtpbeginDate.CustomFormat = "yyyy-MM-dd"; this.DtpbeginDate.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.DtpbeginDate.Location = new System.Drawing.Point(64, 16); this.DtpbeginDate.Name = "DtpbeginDate"; this.DtpbeginDate.Size = new System.Drawing.Size(148, 23); this.DtpbeginDate.TabIndex = 71; this.DtpbeginDate.Value = new System.DateTime(2004, 8, 24, 0, 0, 0, 0); this.DtpbeginDate.ValueChanged += new System.EventHandler(this.DtpbeginDate_ValueChanged); // // label1 // this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Location = new System.Drawing.Point(7, 20); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 70; this.label1.Text = "日期:"; // // btCancel // this.btCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btCancel.BackColor = System.Drawing.SystemColors.ControlLight; this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btCancel.ForeColor = System.Drawing.SystemColors.Desktop; this.btCancel.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btCancel.ImageIndex = 0; this.btCancel.Location = new System.Drawing.Point(784, 16); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(64, 24); this.btCancel.TabIndex = 76; this.btCancel.Text = "退出(&E)"; this.btCancel.UseVisualStyleBackColor = false; this.btCancel.Click += new System.EventHandler(this.btCancel_Click); // // btnNew // this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnNew.BackColor = System.Drawing.SystemColors.ControlLight; this.btnNew.ContextMenu = this.contextMenu1; this.btnNew.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnNew.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnNew.ForeColor = System.Drawing.SystemColors.Desktop; this.btnNew.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNew.ImageIndex = 0; this.btnNew.Location = new System.Drawing.Point(624, 16); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(72, 24); this.btnNew.TabIndex = 75; this.btnNew.Text = "新建(&N)"; this.btnNew.UseVisualStyleBackColor = false; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2, this.menuItem3 }); this.contextMenu1.Popup += new System.EventHandler(this.contextMenu1_Popup); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "白班"; this.menuItem1.Click += new System.EventHandler(this.menuItem_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.Text = "晚班"; this.menuItem2.Click += new System.EventHandler(this.menuItem_Click); // // menuItem3 // this.menuItem3.Index = 2; this.menuItem3.Text = "夜班"; this.menuItem3.Click += new System.EventHandler(this.menuItem_Click); // // button3 // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button3.BackColor = System.Drawing.SystemColors.ControlLight; this.button3.Enabled = false; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button3.ForeColor = System.Drawing.SystemColors.Desktop; this.button3.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button3.ImageIndex = 0; this.button3.Location = new System.Drawing.Point(536, 8); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(320, 40); this.button3.TabIndex = 77; this.button3.UseVisualStyleBackColor = false; // // frmJBJL // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(864, 621); this.Controls.Add(this.panel1); this.MinimizeBox = false; this.Name = "frmJBJL"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "交班记录"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmJBJL_Load); this.panel1.ResumeLayout(false); this.panel4.ResumeLayout(false); this.panel6.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).EndInit(); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.rb正常 = new System.Windows.Forms.RadioButton(); this.rb删除 = new System.Windows.Forms.RadioButton(); this.rb所有 = new System.Windows.Forms.RadioButton(); this.myDataGrid1 = new DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.rb正常); this.panel1.Controls.Add(this.rb删除); this.panel1.Controls.Add(this.rb所有); this.panel1.Controls.Add(this.myDataGrid1); 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(544, 389); this.panel1.TabIndex = 0; // // rb正常 // this.rb正常.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.rb正常.BackColor = System.Drawing.Color.PaleTurquoise; this.rb正常.Location = new System.Drawing.Point(322, 3); this.rb正常.Name = "rb正常"; this.rb正常.Size = new System.Drawing.Size(48, 18); this.rb正常.TabIndex = 90; this.rb正常.Text = "正常"; this.rb正常.Click += new System.EventHandler(this.frmJSYCX_Load); // // rb删除 // this.rb删除.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.rb删除.BackColor = System.Drawing.Color.PaleTurquoise; this.rb删除.Location = new System.Drawing.Point(376, 3); this.rb删除.Name = "rb删除"; this.rb删除.Size = new System.Drawing.Size(64, 18); this.rb删除.TabIndex = 88; this.rb删除.Text = "已删除"; this.rb删除.Click += new System.EventHandler(this.frmJSYCX_Load); // // rb所有 // this.rb所有.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.rb所有.BackColor = System.Drawing.Color.PaleTurquoise; this.rb所有.Checked = true; this.rb所有.ForeColor = System.Drawing.SystemColors.ControlText; this.rb所有.Location = new System.Drawing.Point(442, 3); this.rb所有.Name = "rb所有"; this.rb所有.Size = new System.Drawing.Size(72, 18); this.rb所有.TabIndex = 89; this.rb所有.TabStop = true; this.rb所有.Text = "所有"; this.rb所有.TextAlign = System.Drawing.ContentAlignment.TopLeft; this.rb所有.Click += new System.EventHandler(this.frmJSYCX_Load); // // myDataGrid1 // this.myDataGrid1.AllowSorting = false; this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "科室基数药品"; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); 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(544, 389); this.myDataGrid1.TabIndex = 5; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = ""; // // frmJSYCX // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(544, 389); this.Controls.Add(this.panel1); this.Name = "frmJSYCX"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "科室基数药品"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmJSYCX_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
private void InitGridYZ(string[] GrdMappingName, int[] GrdWidth, int[] Alignment, int[] ReadOnly, DataGridEx myDataGrid) { //myDataGrid.TableStyles[0].AllowSorting=false; //不允许排序 DataGridEnableTextBoxColumn aColumnTextColumn; for (int i = 0; i <= GrdMappingName.Length - 1; i++) { if (GrdMappingName[i].ToString().Trim() == "选") { DataGridEnableBoolColumn myBoolCol = new DataGridEnableBoolColumn(i); myBoolCol.CheckCellEnabled += new DataGridEnableBoolColumn.EnableCellEventHandler(SetEnableValues); myDataGrid.TableStyles[0].GridColumnStyles.Add(myBoolCol); myDataGrid.TableStyles[0].GridColumnStyles[i].MappingName = GrdMappingName[i].ToString(); myDataGrid.TableStyles[0].GridColumnStyles[i].Width = GrdWidth[i] == 0 ? 0 : (GrdWidth[i] * 7 + 2); //myBoolCol.tool //this.toolTip2 //myBoolCol.too } else { aColumnTextColumn = new DataGridEnableTextBoxColumn(i); aColumnTextColumn.CheckCellEnabled += new DataGridEnableTextBoxColumn.EnableCellEventHandler(SetEnableValues); myDataGrid.TableStyles[0].GridColumnStyles.Add(aColumnTextColumn); myDataGrid.TableStyles[0].GridColumnStyles[i].MappingName = GrdMappingName[i].ToString(); myDataGrid.TableStyles[0].GridColumnStyles[i].HeaderText = GrdMappingName[i].ToString().Trim(); myFunc.InitGrid_Sub(i, GrdMappingName, GrdWidth, Alignment, myDataGrid); if (ReadOnly[i] != 0) { myDataGrid.TableStyles[0].GridColumnStyles[i].ReadOnly = true; } } } }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSSQuery)); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.optywc = new System.Windows.Forms.RadioButton(); this.optqxap = new System.Windows.Forms.RadioButton(); this.optyap = new System.Windows.Forms.RadioButton(); this.optJZ = new System.Windows.Forms.RadioButton(); this.optysh = new System.Windows.Forms.RadioButton(); this.button3 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.bview = new System.Windows.Forms.Button(); this.optwap = new System.Windows.Forms.RadioButton(); this.dtprq2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtprq1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.myDataGrid1 = new TrasenClasses.GeneralControls.DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn18 = 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.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.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = 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.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // 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, ""); this.imageList1.Images.SetKeyName(3, ""); // // imageList2 // this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName(0, ""); this.imageList2.Images.SetKeyName(1, ""); this.imageList2.Images.SetKeyName(2, ""); this.imageList2.Images.SetKeyName(3, ""); this.imageList2.Images.SetKeyName(4, ""); this.imageList2.Images.SetKeyName(5, ""); this.imageList2.Images.SetKeyName(6, ""); this.imageList2.Images.SetKeyName(7, ""); // // groupBox1 // this.groupBox1.Controls.Add(this.optywc); this.groupBox1.Controls.Add(this.optqxap); this.groupBox1.Controls.Add(this.optyap); this.groupBox1.Controls.Add(this.optJZ); this.groupBox1.Controls.Add(this.optysh); this.groupBox1.Controls.Add(this.button3); this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.bview); this.groupBox1.Controls.Add(this.optwap); this.groupBox1.Controls.Add(this.dtprq2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtprq1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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(984, 69); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // optywc // this.optywc.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.optywc.Location = new System.Drawing.Point(668, 28); this.optywc.Name = "optywc"; this.optywc.Size = new System.Drawing.Size(66, 24); this.optywc.TabIndex = 10; this.optywc.Text = "已完成"; this.optywc.CheckedChanged += new System.EventHandler(this.opt_CheckedChanged); // // optqxap // this.optqxap.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.optqxap.Location = new System.Drawing.Point(602, 28); this.optqxap.Name = "optqxap"; this.optqxap.Size = new System.Drawing.Size(66, 24); this.optqxap.TabIndex = 6; this.optqxap.Text = "已取消"; this.optqxap.CheckedChanged += new System.EventHandler(this.opt_CheckedChanged); // // optyap // this.optyap.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.optyap.Location = new System.Drawing.Point(536, 28); this.optyap.Name = "optyap"; this.optyap.Size = new System.Drawing.Size(66, 24); this.optyap.TabIndex = 4; this.optyap.Text = "已安排"; this.optyap.CheckedChanged += new System.EventHandler(this.opt_CheckedChanged); // // optJZ // this.optJZ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.optJZ.Location = new System.Drawing.Point(456, 28); this.optJZ.Name = "optJZ"; this.optJZ.Size = new System.Drawing.Size(80, 24); this.optJZ.TabIndex = 12; this.optJZ.Text = "急诊手术"; this.optJZ.CheckedChanged += new System.EventHandler(this.optwap_CheckedChanged); // // optysh // this.optysh.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.optysh.Location = new System.Drawing.Point(390, 28); this.optysh.Name = "optysh"; this.optysh.Size = new System.Drawing.Size(66, 24); this.optysh.TabIndex = 11; this.optysh.Text = "已审核"; this.optysh.CheckedChanged += new System.EventHandler(this.optysh_CheckedChanged); // // button3 // this.button3.Cursor = System.Windows.Forms.Cursors.Hand; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button3.ForeColor = System.Drawing.Color.Navy; this.button3.Location = new System.Drawing.Point(905, 24); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(72, 28); this.button3.TabIndex = 9; this.button3.Text = "退出"; this.button3.Click += new System.EventHandler(this.button3_Click); // // button2 // this.button2.Cursor = System.Windows.Forms.Cursors.Hand; this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button2.ForeColor = System.Drawing.Color.Navy; this.button2.Location = new System.Drawing.Point(828, 24); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(74, 28); this.button2.TabIndex = 8; this.button2.Text = "取消申请"; this.button2.Click += new System.EventHandler(this.button2_Click); // // bview // this.bview.BackColor = System.Drawing.Color.LightSteelBlue; this.bview.Cursor = System.Windows.Forms.Cursors.Hand; this.bview.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bview.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.bview.Location = new System.Drawing.Point(743, 24); this.bview.Name = "bview"; this.bview.Size = new System.Drawing.Size(82, 28); this.bview.TabIndex = 7; this.bview.Text = "刷新(&F)"; this.bview.UseVisualStyleBackColor = false; this.bview.Click += new System.EventHandler(this.bview_Click); // // optwap // this.optwap.Checked = true; this.optwap.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.optwap.Location = new System.Drawing.Point(324, 28); this.optwap.Name = "optwap"; this.optwap.Size = new System.Drawing.Size(66, 24); this.optwap.TabIndex = 5; this.optwap.TabStop = true; this.optwap.Text = "未审核"; this.optwap.CheckedChanged += new System.EventHandler(this.optwap_CheckedChanged); // // dtprq2 // this.dtprq2.Location = new System.Drawing.Point(200, 27); this.dtprq2.Name = "dtprq2"; this.dtprq2.Size = new System.Drawing.Size(118, 23); this.dtprq2.TabIndex = 3; // // label2 // this.label2.Location = new System.Drawing.Point(183, 32); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 2; this.label2.Text = "到"; // // dtprq1 // this.dtprq1.Location = new System.Drawing.Point(64, 27); this.dtprq1.Name = "dtprq1"; this.dtprq1.Size = new System.Drawing.Size(120, 23); this.dtprq1.TabIndex = 1; // // label1 // this.label1.Location = new System.Drawing.Point(4, 32); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 16); this.label1.TabIndex = 0; this.label1.Text = "申请日期"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.CellSelectedBackColor = System.Drawing.Color.SkyBlue; 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, 69); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.ReadOnly = true; this.myDataGrid1.RowHeaderWidth = 25; this.myDataGrid1.Size = new System.Drawing.Size(984, 392); this.myDataGrid1.TabIndex = 4; 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.AlternatingBackColor = System.Drawing.Color.LightYellow; this.dataGridTableStyle1.BackColor = System.Drawing.Color.WhiteSmoke; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn18, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "住院号"; this.dataGridTextBoxColumn17.MappingName = "住院号"; this.dataGridTextBoxColumn17.NullText = ""; this.dataGridTextBoxColumn17.Width = 55; // // dataGridTextBoxColumn18 // this.dataGridTextBoxColumn18.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridTextBoxColumn18.Format = ""; this.dataGridTextBoxColumn18.FormatInfo = null; this.dataGridTextBoxColumn18.HeaderText = "床号"; this.dataGridTextBoxColumn18.MappingName = "床号"; this.dataGridTextBoxColumn18.NullText = ""; this.dataGridTextBoxColumn18.Width = 40; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "姓名"; this.dataGridTextBoxColumn1.MappingName = "姓名"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 55; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "性别"; this.dataGridTextBoxColumn2.MappingName = "性别"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 35; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "术前诊断"; this.dataGridTextBoxColumn3.MappingName = "术前诊断"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 150; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "拟施手术"; this.dataGridTextBoxColumn4.MappingName = "拟施手术"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.Width = 170; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "主刀"; this.dataGridTextBoxColumn5.MappingName = "主刀"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.Width = 55; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "拟施麻醉"; this.dataGridTextBoxColumn6.MappingName = "拟施麻醉"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.Width = 90; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "麻醉师"; this.dataGridTextBoxColumn7.MappingName = "麻醉师"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.Width = 55; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "拟施时间"; this.dataGridTextBoxColumn8.MappingName = "拟施时间"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 80; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "申请医生"; this.dataGridTextBoxColumn11.MappingName = "申请医生"; this.dataGridTextBoxColumn11.NullText = ""; this.dataGridTextBoxColumn11.Width = 55; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "申请时间"; this.dataGridTextBoxColumn12.MappingName = "申请时间"; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.Width = 80; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "手术间"; this.dataGridTextBoxColumn16.MappingName = "手术间"; this.dataGridTextBoxColumn16.NullText = ""; this.dataGridTextBoxColumn16.Width = 45; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "安排时间"; this.dataGridTextBoxColumn13.MappingName = "安排时间"; this.dataGridTextBoxColumn13.NullText = ""; this.dataGridTextBoxColumn13.Width = 105; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "完成时间"; this.dataGridTextBoxColumn14.MappingName = "完成时间"; this.dataGridTextBoxColumn14.NullText = ""; this.dataGridTextBoxColumn14.Width = 80; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "审核人"; this.dataGridTextBoxColumn15.MappingName = "审核人"; this.dataGridTextBoxColumn15.NullText = ""; this.dataGridTextBoxColumn15.Width = 60; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "手术同意书"; this.dataGridTextBoxColumn9.MappingName = "手术同意书"; this.dataGridTextBoxColumn9.NullText = ""; this.dataGridTextBoxColumn9.Width = 70; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "麻醉同意书"; this.dataGridTextBoxColumn10.MappingName = "麻醉同意书"; this.dataGridTextBoxColumn10.NullText = ""; this.dataGridTextBoxColumn10.Width = 70; // // FrmSSQuery // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(984, 461); this.Controls.Add(this.myDataGrid1); this.Controls.Add(this.groupBox1); this.Name = "FrmSSQuery"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "手术查询"; this.Load += new System.EventHandler(this.FrmSSQuery_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 初始化dataGrid /// </summary> /// <param name="GrdMappingName"></param> MappingName数组 /// <param name="GrdHeaderText"></param> GrdHeaderText数组 /// <param name="GrdWidth"></param> Width数组 /// <param name="GrdReadOnly"></param> ReadOnly数组 /// <param name="mydataGrid"></param> public void InitmyGrd(string[] GrdMappingName, string[] GrdHeaderText, int[] GrdWidth, bool[] GrdReadOnly, DataGridEx dataGrid) { int i = 0; DataTable myTb = new DataTable(); this.dataGrid_LongOrder.TableStyles[0].AllowSorting = false; for (i = 0; i <= GrdMappingName.Length - 1; i++) { myTb.Columns.Add(GrdMappingName[i].ToString()); } myTb.Rows.Add(myTb.NewRow()); dataGrid.DataSource = myTb; if (dataGrid.TableStyles.Count > 0) { dataGrid.TableStyles[0].RowHeaderWidth = 5; for (i = 0; i <= dataGrid.TableStyles[0].GridColumnStyles.Count - 1; i++) { //add by zouchihua 增加警示灯列 2011-12-23 if (GrdHeaderText[i] == "警示灯") { dataGrid.TableStyles[0].GridColumnStyles[i].NullText = ""; dataGrid.TableStyles[0].GridColumnStyles[i].MappingName = GrdMappingName[i].ToString(); dataGrid.TableStyles[0].GridColumnStyles[i].Width = GrdWidth[i]; if (GrdWidth[i] != 0) { dataGrid.TableStyles[0].GridColumnStyles[i].HeaderText = GrdHeaderText[i].ToString(); } dataGrid.TableStyles[0].GridColumnStyles[i].ReadOnly = GrdReadOnly[i]; } else { dataGrid.TableStyles[0].GridColumnStyles[i].NullText = ""; dataGrid.TableStyles[0].GridColumnStyles[i].MappingName = GrdMappingName[i].ToString(); dataGrid.TableStyles[0].GridColumnStyles[i].Width = GrdWidth[i]; if (GrdWidth[i] != 0) { dataGrid.TableStyles[0].GridColumnStyles[i].HeaderText = GrdHeaderText[i].ToString(); } dataGrid.TableStyles[0].GridColumnStyles[i].ReadOnly = GrdReadOnly[i]; } } } }
public DataGridPanel() { DeactivationAllowed = false; _DataGridEx = new DataGridEx(); }
public void InitmyGrd(string[] GrdMappingName, string[] GrdHeaderText, int[] GrdWidth, int[] GrdReadOnly, DataGridEx dataGrid) { int i = 0; DataTable myTb = new DataTable(); for (i = 0; i <= GrdMappingName.Length - 1; i++) { myTb.Columns.Add(GrdMappingName[i].ToString()); } myTb.Rows.Add(myTb.NewRow()); dataGrid.DataSource = myTb; dataGrid.TableStyles[0].RowHeaderWidth = 5; for (i = 0; i <= dataGrid.TableStyles[0].GridColumnStyles.Count - 1; i++) { dataGrid.TableStyles[0].GridColumnStyles[i].NullText = ""; dataGrid.TableStyles[0].GridColumnStyles[i].MappingName = GrdMappingName[i].ToString(); dataGrid.TableStyles[0].GridColumnStyles[i].Width = GrdWidth[i]; dataGrid.TableStyles[0].GridColumnStyles[i].HeaderText = GrdHeaderText[i].ToString(); if (GrdReadOnly[i] != 0) { dataGrid.TableStyles[0].GridColumnStyles[i].ReadOnly = false; } else { dataGrid.TableStyles[0].GridColumnStyles[i].ReadOnly = true; } } }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel总 = new System.Windows.Forms.Panel(); this.panel右下 = new System.Windows.Forms.Panel(); this.lbUpdate_Date = new System.Windows.Forms.Label(); this.lbUpdate = new System.Windows.Forms.Label(); this.lbBook_Date = new System.Windows.Forms.Label(); this.lbOper = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.btExit = new System.Windows.Forms.Button(); this.btDel = new System.Windows.Forms.Button(); this.btOpen = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.myDataGrid2 = new DataGridEx(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel左 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new DataGridEx(); 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.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.splitter2 = new System.Windows.Forms.Splitter(); this.panel1 = new System.Windows.Forms.Panel(); this.panel总.SuspendLayout(); this.panel右下.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).BeginInit(); this.panel左.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // panel总 // this.panel总.Controls.Add(this.panel1); this.panel总.Controls.Add(this.splitter2); this.panel总.Controls.Add(this.panel右下); this.panel总.Controls.Add(this.splitter1); this.panel总.Controls.Add(this.panel左); this.panel总.Dock = System.Windows.Forms.DockStyle.Fill; this.panel总.Location = new System.Drawing.Point(0, 0); this.panel总.Name = "panel总"; this.panel总.Size = new System.Drawing.Size(896, 597); this.panel总.TabIndex = 0; // // panel右下 // this.panel右下.Controls.Add(this.lbUpdate_Date); this.panel右下.Controls.Add(this.lbUpdate); this.panel右下.Controls.Add(this.lbBook_Date); this.panel右下.Controls.Add(this.lbOper); this.panel右下.Controls.Add(this.label3); this.panel右下.Controls.Add(this.label4); this.panel右下.Controls.Add(this.label2); this.panel右下.Controls.Add(this.label1); this.panel右下.Controls.Add(this.btExit); this.panel右下.Controls.Add(this.btDel); this.panel右下.Controls.Add(this.btOpen); this.panel右下.Controls.Add(this.button1); this.panel右下.Controls.Add(this.button2); this.panel右下.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel右下.Location = new System.Drawing.Point(260, 525); this.panel右下.Name = "panel右下"; this.panel右下.Size = new System.Drawing.Size(636, 72); this.panel右下.TabIndex = 4; // // lbUpdate_Date // this.lbUpdate_Date.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lbUpdate_Date.ForeColor = System.Drawing.SystemColors.HotTrack; this.lbUpdate_Date.Location = new System.Drawing.Point(272, 43); this.lbUpdate_Date.Name = "lbUpdate_Date"; this.lbUpdate_Date.Size = new System.Drawing.Size(120, 16); this.lbUpdate_Date.TabIndex = 52; // // lbUpdate // this.lbUpdate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lbUpdate.ForeColor = System.Drawing.SystemColors.HotTrack; this.lbUpdate.Location = new System.Drawing.Point(136, 43); this.lbUpdate.Name = "lbUpdate"; this.lbUpdate.Size = new System.Drawing.Size(56, 16); this.lbUpdate.TabIndex = 51; // // lbBook_Date // this.lbBook_Date.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lbBook_Date.ForeColor = System.Drawing.SystemColors.HotTrack; this.lbBook_Date.Location = new System.Drawing.Point(272, 19); this.lbBook_Date.Name = "lbBook_Date"; this.lbBook_Date.Size = new System.Drawing.Size(120, 16); this.lbBook_Date.TabIndex = 50; // // lbOper // this.lbOper.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lbOper.ForeColor = System.Drawing.SystemColors.HotTrack; this.lbOper.Location = new System.Drawing.Point(136, 19); this.lbOper.Name = "lbOper"; this.lbOper.Size = new System.Drawing.Size(56, 16); this.lbOper.TabIndex = 49; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label3.Location = new System.Drawing.Point(200, 43); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(72, 16); this.label3.TabIndex = 48; this.label3.Text = "修改时间:"; // // label4 // this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label4.Location = new System.Drawing.Point(80, 43); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 16); this.label4.TabIndex = 47; this.label4.Text = "修改者:"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label2.Location = new System.Drawing.Point(200, 19); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 16); this.label2.TabIndex = 46; this.label2.Text = "创建时间:"; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(80, 19); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 45; this.label1.Text = "创建者:"; // // btExit // this.btExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btExit.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btExit.ForeColor = System.Drawing.SystemColors.Desktop; this.btExit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btExit.ImageIndex = 7; this.btExit.Location = new System.Drawing.Point(560, 27); this.btExit.Name = "btExit"; this.btExit.Size = new System.Drawing.Size(64, 24); this.btExit.TabIndex = 44; this.btExit.Text = "退出(&E)"; this.btExit.Click += new System.EventHandler(this.btExit_Click); // // btDel // this.btDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btDel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btDel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btDel.ForeColor = System.Drawing.SystemColors.Desktop; this.btDel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btDel.ImageIndex = 7; this.btDel.Location = new System.Drawing.Point(488, 27); this.btDel.Name = "btDel"; this.btDel.Size = new System.Drawing.Size(64, 24); this.btDel.TabIndex = 43; this.btDel.Text = "删除(&D)"; this.btDel.Click += new System.EventHandler(this.btDelete_Click); // // btOpen // this.btOpen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btOpen.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btOpen.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btOpen.ForeColor = System.Drawing.SystemColors.Desktop; this.btOpen.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btOpen.ImageIndex = 7; this.btOpen.Location = new System.Drawing.Point(416, 27); this.btOpen.Name = "btOpen"; this.btOpen.Size = new System.Drawing.Size(64, 24); this.btOpen.TabIndex = 42; this.btOpen.Text = "打开(&O)"; this.btOpen.Click += new System.EventHandler(this.btOpen_Click); // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button1.Enabled = false; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.button1.Location = new System.Drawing.Point(64, 11); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(336, 56); this.button1.TabIndex = 3; // // button2 // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button2.Enabled = false; this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.button2.ForeColor = System.Drawing.SystemColors.Desktop; this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.button2.ImageIndex = 7; this.button2.Location = new System.Drawing.Point(408, 11); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(224, 56); this.button2.TabIndex = 53; // // myDataGrid2 // this.myDataGrid2.AllowSorting = false; this.myDataGrid2.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid2.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid2.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.myDataGrid2.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid2.CaptionText = "模板内容"; this.myDataGrid2.DataMember = ""; this.myDataGrid2.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); 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(636, 522); this.myDataGrid2.TabIndex = 26; this.myDataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.myDataGrid2; this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.MappingName = ""; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(256, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(4, 597); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // panel左 // this.panel左.Controls.Add(this.myDataGrid1); this.panel左.Dock = System.Windows.Forms.DockStyle.Left; this.panel左.Location = new System.Drawing.Point(0, 0); this.panel左.Name = "panel左"; this.panel左.Size = new System.Drawing.Size(256, 597); this.panel左.TabIndex = 0; // // myDataGrid1 // this.myDataGrid1.AllowSorting = false; this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "模板列表"; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); 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(256, 597); this.myDataGrid1.TabIndex = 26; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = ""; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.MappingName = ""; this.dataGridTextBoxColumn1.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.MappingName = ""; this.dataGridTextBoxColumn2.Width = 75; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.MappingName = ""; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.MappingName = ""; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.MappingName = ""; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.MappingName = ""; this.dataGridTextBoxColumn6.Width = 75; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.MappingName = ""; this.dataGridTextBoxColumn7.Width = 75; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.MappingName = ""; this.dataGridTextBoxColumn8.Width = 75; // // splitter2 // this.splitter2.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter2.Location = new System.Drawing.Point(260, 522); this.splitter2.Name = "splitter2"; this.splitter2.Size = new System.Drawing.Size(636, 3); this.splitter2.TabIndex = 5; this.splitter2.TabStop = false; // // panel1 // this.panel1.Controls.Add(this.myDataGrid2); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(260, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(636, 522); this.panel1.TabIndex = 6; // // frmYZModel // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(896, 597); this.Controls.Add(this.panel总); this.Name = "frmYZModel"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "医嘱模板管理"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.frmYZModel_Closing); this.Load += new System.EventHandler(this.frmYZModel_Load); this.panel总.ResumeLayout(false); this.panel右下.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).EndInit(); this.panel左.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.rb全部 = new System.Windows.Forms.RadioButton(); this.rb冲正 = new System.Windows.Forms.RadioButton(); this.rb取消安排 = new System.Windows.Forms.RadioButton(); this.rb未安排 = new System.Windows.Forms.RadioButton(); this.bt确认 = new System.Windows.Forms.Button(); this.btCancel = new System.Windows.Forms.Button(); this.bt刷新 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.myDataGrid1 = new DataGridEx(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.splitter1); this.panel1.Controls.Add(this.panel2); 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(752, 533); this.panel1.TabIndex = 0; // // panel3 // this.panel3.Controls.Add(this.progressBar1); this.panel3.Controls.Add(this.groupBox1); this.panel3.Controls.Add(this.bt确认); this.panel3.Controls.Add(this.btCancel); this.panel3.Controls.Add(this.bt刷新); this.panel3.Controls.Add(this.button3); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 468); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(752, 65); this.panel3.TabIndex = 2; // // progressBar1 // this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.progressBar1.Location = new System.Drawing.Point(0, 0); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(752, 10); this.progressBar1.TabIndex = 66; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.rb全部); this.groupBox1.Controls.Add(this.rb冲正); this.groupBox1.Controls.Add(this.rb取消安排); this.groupBox1.Controls.Add(this.rb未安排); this.groupBox1.Location = new System.Drawing.Point(200, 15); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(272, 48); this.groupBox1.TabIndex = 65; this.groupBox1.TabStop = false; this.groupBox1.Text = "状态"; // // rb全部 // this.rb全部.Location = new System.Drawing.Point(216, 16); this.rb全部.Name = "rb全部"; this.rb全部.Size = new System.Drawing.Size(48, 24); this.rb全部.TabIndex = 3; this.rb全部.Text = "全部"; this.rb全部.Click += new System.EventHandler(this.bt刷新_Click); // // rb冲正 // this.rb冲正.Location = new System.Drawing.Point(160, 16); this.rb冲正.Name = "rb冲正"; this.rb冲正.Size = new System.Drawing.Size(48, 24); this.rb冲正.TabIndex = 2; this.rb冲正.Text = "冲正"; this.rb冲正.Click += new System.EventHandler(this.bt刷新_Click); // // rb取消安排 // this.rb取消安排.Location = new System.Drawing.Point(80, 16); this.rb取消安排.Name = "rb取消安排"; this.rb取消安排.Size = new System.Drawing.Size(72, 24); this.rb取消安排.TabIndex = 1; this.rb取消安排.Text = "取消安排"; this.rb取消安排.Click += new System.EventHandler(this.bt刷新_Click); // // rb未安排 // this.rb未安排.Checked = true; this.rb未安排.Location = new System.Drawing.Point(8, 16); this.rb未安排.Name = "rb未安排"; this.rb未安排.Size = new System.Drawing.Size(64, 24); this.rb未安排.TabIndex = 0; this.rb未安排.TabStop = true; this.rb未安排.Text = "未安排"; this.rb未安排.Click += new System.EventHandler(this.bt刷新_Click); // // bt确认 // this.bt确认.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bt确认.BackColor = System.Drawing.SystemColors.ControlLight; this.bt确认.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt确认.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.bt确认.ForeColor = System.Drawing.SystemColors.Desktop; this.bt确认.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.bt确认.ImageIndex = 0; this.bt确认.Location = new System.Drawing.Point(560, 29); this.bt确认.Name = "bt确认"; this.bt确认.Size = new System.Drawing.Size(104, 24); this.bt确认.TabIndex = 64; this.bt确认.Text = "确认取消(&C)"; this.bt确认.Click += new System.EventHandler(this.bt确认_Click); // // btCancel // this.btCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btCancel.BackColor = System.Drawing.SystemColors.ControlLight; this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btCancel.ForeColor = System.Drawing.SystemColors.Desktop; this.btCancel.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btCancel.ImageIndex = 0; this.btCancel.Location = new System.Drawing.Point(672, 29); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(64, 24); this.btCancel.TabIndex = 63; this.btCancel.Text = "退出(&E)"; this.btCancel.Click += new System.EventHandler(this.btCancel_Click); // // bt刷新 // this.bt刷新.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bt刷新.BackColor = System.Drawing.SystemColors.ControlLight; this.bt刷新.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bt刷新.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.bt刷新.ForeColor = System.Drawing.SystemColors.Desktop; this.bt刷新.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.bt刷新.ImageIndex = 0; this.bt刷新.Location = new System.Drawing.Point(488, 29); this.bt刷新.Name = "bt刷新"; this.bt刷新.Size = new System.Drawing.Size(64, 24); this.bt刷新.TabIndex = 62; this.bt刷新.Text = "刷新(&S)"; this.bt刷新.Click += new System.EventHandler(this.bt刷新_Click); // // button3 // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button3.BackColor = System.Drawing.SystemColors.ControlLight; this.button3.Enabled = false; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.button3.ForeColor = System.Drawing.SystemColors.Desktop; this.button3.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button3.ImageIndex = 0; this.button3.Location = new System.Drawing.Point(480, 21); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(264, 40); this.button3.TabIndex = 61; // // panel2 // this.panel2.Controls.Add(this.myDataGrid1); 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(752, 468); this.panel2.TabIndex = 0; // // myDataGrid1 // this.myDataGrid1.AllowSorting = false; this.myDataGrid1.BackgroundColor = System.Drawing.SystemColors.Window; this.myDataGrid1.CaptionBackColor = System.Drawing.Color.PaleTurquoise; this.myDataGrid1.CaptionFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.myDataGrid1.CaptionForeColor = System.Drawing.SystemColors.HotTrack; this.myDataGrid1.CaptionText = "取消医技检查"; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); 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(752, 468); this.myDataGrid1.TabIndex = 27; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = ""; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter1.Location = new System.Drawing.Point(0, 465); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(752, 3); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // frmQXYJJC // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(752, 533); this.Controls.Add(this.panel1); this.Name = "frmQXYJJC"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "取消医技检查"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmCancel_Load); this.panel1.ResumeLayout(false); this.panel3.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }