From 98349202e0849966c71419bfc9e503ac33afeeee Mon Sep 17 00:00:00 2001 From: leomon Date: Wed, 19 Apr 2023 09:52:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=80=89=E6=8B=A9CA=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AIMS/AIMS.xml | 2 +- AIMS/DataDictionary/frmPerson.Designer.cs | 364 ++++--- AIMS/DataDictionary/frmPerson.cs | 50 +- AIMS/DataDictionary/frmPerson.resx | 3 + AIMS/Extensions/EMRExtension.cs | 16 +- AIMS/FormLogin.cs | 3 +- AIMS/FormLogin.designer.cs | 2 +- AIMS/FormLogin.resx | 2 +- .../OperationAanesthesia/DrawAnasReordBill.cs | 6 +- .../frmAanesthesiaRecover.cs | 17 +- AIMS/OperationAanesthesia/frmFactEventsNew.cs | 6 +- AIMS/OperationAanesthesia/frmFeesRecord.cs | 2 +- .../frmInstrumentRecord2.cs | 4 - .../OperationAanesthesia/frmRecoverPatient.cs | 1 + .../OperationFront/frmOperationApplyDetail.cs | 8 +- .../frmOperationSchedulePlan.cs | 992 +++++++++--------- .../frmOperationSchedulePlan.resx | 5 +- AIMS/OperationFront/frmPersonSchedul.cs | 2 +- AIMS/OperationFront/frmPersonSchedulKeep.cs | 2 +- .../OremrUserControl/EventCodeCompilerBill.cs | 74 +- AIMSEntity/BLL/Extension/BOperationRecord.cs | 2 +- AIMSEntity/DAL/AutoGenerate/DPerson.cs | 52 +- AIMSEntity/DAL/Extension/DPerson.cs | 2 +- AIMSEntity/Extensions/SelectPatient.cs | 2 +- AIMSEntity/Model/AutoGenerate/Person.cs | 72 ++ AIMSEntity/ObjectQuery/PersonMap.cs | 8 + AIMSExtension/PublicMethod.cs | 3 +- .../DocumentEntity/EventCodeCompiler.cs | 49 + DocumentManagement/DocumentManagement.csproj | 9 + .../UI/frmSelectPerson.Designer.cs | 210 ++++ DocumentManagement/UI/frmSelectPerson.cs | 111 ++ DocumentManagement/UI/frmSelectPerson.resx | 132 +++ DrawGraph/AreaManage/IconManage.cs | 5 +- DrawGraphManagement/AIMS.xml | 2 +- 34 files changed, 1503 insertions(+), 717 deletions(-) create mode 100644 DocumentManagement/UI/frmSelectPerson.Designer.cs create mode 100644 DocumentManagement/UI/frmSelectPerson.cs create mode 100644 DocumentManagement/UI/frmSelectPerson.resx diff --git a/AIMS/AIMS.xml b/AIMS/AIMS.xml index a1d6e41..71c6330 100644 --- a/AIMS/AIMS.xml +++ b/AIMS/AIMS.xml @@ -1,6 +1,6 @@  - Data Source=.;Initial Catalog=AIMSDB_QHDSGRYY;User ID=sa;Password=Test2020; + Data Source=.;Initial Catalog=AIMSDB_DLSJZQZYYY;User ID=sa;Password=Test2020; Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020; Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39; diff --git a/AIMS/DataDictionary/frmPerson.Designer.cs b/AIMS/DataDictionary/frmPerson.Designer.cs index 0c8a16b..3d1c33a 100644 --- a/AIMS/DataDictionary/frmPerson.Designer.cs +++ b/AIMS/DataDictionary/frmPerson.Designer.cs @@ -30,22 +30,8 @@ { this.panel2 = new System.Windows.Forms.Panel(); this.dgvPerson = new System.Windows.Forms.DataGridView(); - this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DepNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.NoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.HelpCodeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.SexColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DiplomaColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.JobTitleColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.BirthDayColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.TimeToWorkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PersonTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.RoleNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PassWordColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.IsValidColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PersonOrderColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel1 = new System.Windows.Forms.Panel(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.cboDepartment = new System.Windows.Forms.ComboBox(); this.cboPersonType = new System.Windows.Forms.ComboBox(); this.label14 = new System.Windows.Forms.Label(); @@ -53,11 +39,13 @@ this.label13 = new System.Windows.Forms.Label(); this.cboSex = new System.Windows.Forms.ComboBox(); this.label11 = new System.Windows.Forms.Label(); + this.cboDiploma = new System.Windows.Forms.TextBox(); + this.txtSignatureIndex = new System.Windows.Forms.TextBox(); + this.label15 = new System.Windows.Forms.Label(); this.txtNo = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.cboJobTitle = new System.Windows.Forms.ComboBox(); this.label9 = new System.Windows.Forms.Label(); - this.cboDiploma = new System.Windows.Forms.ComboBox(); this.label8 = new System.Windows.Forms.Label(); this.dtpTimeToWork = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); this.label7 = new System.Windows.Forms.Label(); @@ -85,9 +73,26 @@ this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.tsbExit = new System.Windows.Forms.ToolStripButton(); this.chkAllShow = new System.Windows.Forms.CheckBox(); + this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DepNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.NoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.HelpCodeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.SexColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DiplomaColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.JobTitleColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.BirthDayColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.TimeToWorkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PersonTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.RoleNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PassWordColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.IsValidColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PersonOrderColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.SignatureStr = new System.Windows.Forms.DataGridViewImageColumn(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvPerson)).BeginInit(); this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtpTimeToWork)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtpBirthDay)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.intPersonOrder)).BeginInit(); @@ -100,7 +105,7 @@ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 157); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(913, 338); + this.panel2.Size = new System.Drawing.Size(1016, 338); this.panel2.TabIndex = 7; // // dgvPerson @@ -123,133 +128,20 @@ this.RoleNameColumn, this.PassWordColumn, this.IsValidColumn, - this.PersonOrderColumn}); + this.PersonOrderColumn, + this.SignatureStr}); this.dgvPerson.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvPerson.Location = new System.Drawing.Point(0, 0); this.dgvPerson.Name = "dgvPerson"; this.dgvPerson.RowHeadersVisible = false; this.dgvPerson.RowTemplate.Height = 23; this.dgvPerson.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvPerson.Size = new System.Drawing.Size(913, 338); + this.dgvPerson.Size = new System.Drawing.Size(1016, 338); this.dgvPerson.TabIndex = 2; // - // Id - // - this.Id.DataPropertyName = "Id"; - this.Id.Frozen = true; - this.Id.HeaderText = "Id"; - this.Id.Name = "Id"; - this.Id.ReadOnly = true; - this.Id.Visible = false; - // - // DepNameColumn - // - this.DepNameColumn.DataPropertyName = "DepName"; - this.DepNameColumn.HeaderText = "所在科室"; - this.DepNameColumn.Name = "DepNameColumn"; - this.DepNameColumn.ReadOnly = true; - // - // NoColumn - // - this.NoColumn.DataPropertyName = "No"; - this.NoColumn.HeaderText = "工号"; - this.NoColumn.Name = "NoColumn"; - this.NoColumn.ReadOnly = true; - this.NoColumn.Width = 80; - // - // NameColumn - // - this.NameColumn.DataPropertyName = "Name"; - this.NameColumn.HeaderText = "名称"; - this.NameColumn.Name = "NameColumn"; - this.NameColumn.ReadOnly = true; - // - // HelpCodeColumn - // - this.HelpCodeColumn.DataPropertyName = "HelpCode"; - this.HelpCodeColumn.HeaderText = "助记码"; - this.HelpCodeColumn.Name = "HelpCodeColumn"; - this.HelpCodeColumn.ReadOnly = true; - this.HelpCodeColumn.Width = 80; - // - // SexColumn - // - this.SexColumn.DataPropertyName = "Sex"; - this.SexColumn.HeaderText = "性别"; - this.SexColumn.Name = "SexColumn"; - this.SexColumn.ReadOnly = true; - this.SexColumn.Width = 60; - // - // DiplomaColumn - // - this.DiplomaColumn.DataPropertyName = "Diploma"; - this.DiplomaColumn.HeaderText = "学历"; - this.DiplomaColumn.Name = "DiplomaColumn"; - this.DiplomaColumn.ReadOnly = true; - this.DiplomaColumn.Width = 80; - // - // JobTitleColumn - // - this.JobTitleColumn.DataPropertyName = "JobTitle"; - this.JobTitleColumn.HeaderText = "职称"; - this.JobTitleColumn.Name = "JobTitleColumn"; - this.JobTitleColumn.ReadOnly = true; - this.JobTitleColumn.Width = 80; - // - // BirthDayColumn - // - this.BirthDayColumn.DataPropertyName = "BirthDay"; - this.BirthDayColumn.HeaderText = "出生日期"; - this.BirthDayColumn.Name = "BirthDayColumn"; - this.BirthDayColumn.ReadOnly = true; - // - // TimeToWorkColumn - // - this.TimeToWorkColumn.DataPropertyName = "TimeToWork"; - this.TimeToWorkColumn.HeaderText = "参加工作日期"; - this.TimeToWorkColumn.Name = "TimeToWorkColumn"; - this.TimeToWorkColumn.ReadOnly = true; - // - // PersonTypeColumn - // - this.PersonTypeColumn.DataPropertyName = "PersonType"; - this.PersonTypeColumn.HeaderText = "类型"; - this.PersonTypeColumn.Name = "PersonTypeColumn"; - this.PersonTypeColumn.ReadOnly = true; - // - // RoleNameColumn - // - this.RoleNameColumn.DataPropertyName = "RoleName"; - this.RoleNameColumn.HeaderText = "角色"; - this.RoleNameColumn.Name = "RoleNameColumn"; - this.RoleNameColumn.ReadOnly = true; - // - // PassWordColumn - // - this.PassWordColumn.DataPropertyName = "PassWord"; - this.PassWordColumn.HeaderText = "密码"; - this.PassWordColumn.Name = "PassWordColumn"; - this.PassWordColumn.ReadOnly = true; - this.PassWordColumn.Visible = false; - // - // IsValidColumn - // - this.IsValidColumn.DataPropertyName = "IsValid"; - this.IsValidColumn.HeaderText = "有效性"; - this.IsValidColumn.Name = "IsValidColumn"; - this.IsValidColumn.ReadOnly = true; - this.IsValidColumn.Width = 75; - // - // PersonOrderColumn - // - this.PersonOrderColumn.DataPropertyName = "PersonOrder"; - this.PersonOrderColumn.HeaderText = "排序"; - this.PersonOrderColumn.Name = "PersonOrderColumn"; - this.PersonOrderColumn.ReadOnly = true; - this.PersonOrderColumn.Width = 60; - // // panel1 // + this.panel1.Controls.Add(this.pictureBox1); this.panel1.Controls.Add(this.cboDepartment); this.panel1.Controls.Add(this.cboPersonType); this.panel1.Controls.Add(this.label14); @@ -257,11 +149,13 @@ this.panel1.Controls.Add(this.label13); this.panel1.Controls.Add(this.cboSex); this.panel1.Controls.Add(this.label11); + this.panel1.Controls.Add(this.cboDiploma); + this.panel1.Controls.Add(this.txtSignatureIndex); + this.panel1.Controls.Add(this.label15); this.panel1.Controls.Add(this.txtNo); this.panel1.Controls.Add(this.label10); this.panel1.Controls.Add(this.cboJobTitle); this.panel1.Controls.Add(this.label9); - this.panel1.Controls.Add(this.cboDiploma); this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.dtpTimeToWork); this.panel1.Controls.Add(this.label7); @@ -282,9 +176,20 @@ this.panel1.Font = new System.Drawing.Font("宋体", 10.5F); this.panel1.Location = new System.Drawing.Point(0, 49); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(913, 108); + this.panel1.Size = new System.Drawing.Size(1016, 108); this.panel1.TabIndex = 6; // + // pictureBox1 + // + this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pictureBox1.Location = new System.Drawing.Point(881, 42); + this.pictureBox1.Margin = new System.Windows.Forms.Padding(2); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(129, 56); + this.pictureBox1.TabIndex = 576; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // // cboDepartment // this.cboDepartment.Font = new System.Drawing.Font("微软雅黑", 10.5F); @@ -326,7 +231,7 @@ // this.txtPassWord.Location = new System.Drawing.Point(473, 73); this.txtPassWord.Name = "txtPassWord"; - this.txtPassWord.Size = new System.Drawing.Size(100, 23); + this.txtPassWord.Size = new System.Drawing.Size(138, 23); this.txtPassWord.TabIndex = 572; // // label13 @@ -360,6 +265,29 @@ this.label11.TabIndex = 569; this.label11.Text = "性别"; // + // cboDiploma + // + this.cboDiploma.Location = new System.Drawing.Point(71, 42); + this.cboDiploma.Name = "cboDiploma"; + this.cboDiploma.Size = new System.Drawing.Size(123, 23); + this.cboDiploma.TabIndex = 568; + // + // txtSignatureIndex + // + this.txtSignatureIndex.Location = new System.Drawing.Point(934, 9); + this.txtSignatureIndex.Name = "txtSignatureIndex"; + this.txtSignatureIndex.Size = new System.Drawing.Size(76, 23); + this.txtSignatureIndex.TabIndex = 568; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(884, 15); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(49, 14); + this.label15.TabIndex = 567; + this.label15.Text = "CA标识"; + // // txtNo // this.txtNo.Location = new System.Drawing.Point(275, 10); @@ -402,31 +330,14 @@ this.label9.TabIndex = 565; this.label9.Text = "职称"; // - // cboDiploma - // - this.cboDiploma.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboDiploma.FormattingEnabled = true; - this.cboDiploma.Items.AddRange(new object[] { - "药品管理部门", - "诊疗部门", - "辅助诊疗部门", - "护理部门", - "行政后勤部门", - "手术室", - "社区"}); - this.cboDiploma.Location = new System.Drawing.Point(71, 42); - this.cboDiploma.Name = "cboDiploma"; - this.cboDiploma.Size = new System.Drawing.Size(123, 22); - this.cboDiploma.TabIndex = 564; - // // label8 // this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(30, 48); + this.label8.Location = new System.Drawing.Point(10, 48); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(35, 14); + this.label8.Size = new System.Drawing.Size(56, 14); this.label8.TabIndex = 563; - this.label8.Text = "学历"; + this.label8.Text = "His编码"; // // dtpTimeToWork // @@ -549,7 +460,7 @@ "社区"}); this.cboRole.Location = new System.Drawing.Point(275, 73); this.cboRole.Name = "cboRole"; - this.cboRole.Size = new System.Drawing.Size(123, 22); + this.cboRole.Size = new System.Drawing.Size(100, 22); this.cboRole.TabIndex = 558; // // label3 @@ -619,7 +530,7 @@ // chkIsValid // this.chkIsValid.AutoSize = true; - this.chkIsValid.Location = new System.Drawing.Point(802, 75); + this.chkIsValid.Location = new System.Drawing.Point(789, 77); this.chkIsValid.Name = "chkIsValid"; this.chkIsValid.Size = new System.Drawing.Size(68, 18); this.chkIsValid.TabIndex = 13; @@ -690,7 +601,7 @@ this.tsbExit}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(913, 49); + this.toolStrip1.Size = new System.Drawing.Size(1016, 49); this.toolStrip1.TabIndex = 5; this.toolStrip1.Text = "toolStrip1"; // @@ -748,11 +659,131 @@ this.chkAllShow.UseVisualStyleBackColor = true; this.chkAllShow.CheckedChanged += new System.EventHandler(this.chkAllShow_CheckedChanged); // + // Id + // + this.Id.DataPropertyName = "Id"; + this.Id.Frozen = true; + this.Id.HeaderText = "Id"; + this.Id.Name = "Id"; + this.Id.ReadOnly = true; + this.Id.Visible = false; + // + // DepNameColumn + // + this.DepNameColumn.DataPropertyName = "DepName"; + this.DepNameColumn.HeaderText = "所在科室"; + this.DepNameColumn.Name = "DepNameColumn"; + this.DepNameColumn.ReadOnly = true; + // + // NoColumn + // + this.NoColumn.DataPropertyName = "No"; + this.NoColumn.HeaderText = "工号"; + this.NoColumn.Name = "NoColumn"; + this.NoColumn.ReadOnly = true; + this.NoColumn.Width = 80; + // + // NameColumn + // + this.NameColumn.DataPropertyName = "Name"; + this.NameColumn.HeaderText = "名称"; + this.NameColumn.Name = "NameColumn"; + this.NameColumn.ReadOnly = true; + // + // HelpCodeColumn + // + this.HelpCodeColumn.DataPropertyName = "HelpCode"; + this.HelpCodeColumn.HeaderText = "助记码"; + this.HelpCodeColumn.Name = "HelpCodeColumn"; + this.HelpCodeColumn.ReadOnly = true; + this.HelpCodeColumn.Width = 80; + // + // SexColumn + // + this.SexColumn.DataPropertyName = "Sex"; + this.SexColumn.HeaderText = "性别"; + this.SexColumn.Name = "SexColumn"; + this.SexColumn.ReadOnly = true; + this.SexColumn.Width = 60; + // + // DiplomaColumn + // + this.DiplomaColumn.DataPropertyName = "Diploma"; + this.DiplomaColumn.HeaderText = "His编码"; + this.DiplomaColumn.Name = "DiplomaColumn"; + this.DiplomaColumn.ReadOnly = true; + this.DiplomaColumn.Width = 80; + // + // JobTitleColumn + // + this.JobTitleColumn.DataPropertyName = "JobTitle"; + this.JobTitleColumn.HeaderText = "职称"; + this.JobTitleColumn.Name = "JobTitleColumn"; + this.JobTitleColumn.ReadOnly = true; + this.JobTitleColumn.Width = 80; + // + // BirthDayColumn + // + this.BirthDayColumn.DataPropertyName = "BirthDay"; + this.BirthDayColumn.HeaderText = "出生日期"; + this.BirthDayColumn.Name = "BirthDayColumn"; + this.BirthDayColumn.ReadOnly = true; + // + // TimeToWorkColumn + // + this.TimeToWorkColumn.DataPropertyName = "TimeToWork"; + this.TimeToWorkColumn.HeaderText = "参加工作日期"; + this.TimeToWorkColumn.Name = "TimeToWorkColumn"; + this.TimeToWorkColumn.ReadOnly = true; + // + // PersonTypeColumn + // + this.PersonTypeColumn.DataPropertyName = "PersonType"; + this.PersonTypeColumn.HeaderText = "类型"; + this.PersonTypeColumn.Name = "PersonTypeColumn"; + this.PersonTypeColumn.ReadOnly = true; + // + // RoleNameColumn + // + this.RoleNameColumn.DataPropertyName = "RoleName"; + this.RoleNameColumn.HeaderText = "角色"; + this.RoleNameColumn.Name = "RoleNameColumn"; + this.RoleNameColumn.ReadOnly = true; + // + // PassWordColumn + // + this.PassWordColumn.DataPropertyName = "PassWord"; + this.PassWordColumn.HeaderText = "密码"; + this.PassWordColumn.Name = "PassWordColumn"; + this.PassWordColumn.ReadOnly = true; + this.PassWordColumn.Visible = false; + // + // IsValidColumn + // + this.IsValidColumn.DataPropertyName = "IsValid"; + this.IsValidColumn.HeaderText = "有效性"; + this.IsValidColumn.Name = "IsValidColumn"; + this.IsValidColumn.ReadOnly = true; + this.IsValidColumn.Width = 75; + // + // PersonOrderColumn + // + this.PersonOrderColumn.DataPropertyName = "PersonOrder"; + this.PersonOrderColumn.HeaderText = "排序"; + this.PersonOrderColumn.Name = "PersonOrderColumn"; + this.PersonOrderColumn.ReadOnly = true; + this.PersonOrderColumn.Width = 60; + // + // SignatureStr + // + this.SignatureStr.HeaderText = "签名"; + this.SignatureStr.Name = "SignatureStr"; + // // frmPerson // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(913, 495); + this.ClientSize = new System.Drawing.Size(1016, 495); this.ControlBox = false; this.Controls.Add(this.chkAllShow); this.Controls.Add(this.panel2); @@ -769,6 +800,7 @@ ((System.ComponentModel.ISupportInitialize)(this.dgvPerson)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtpTimeToWork)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtpBirthDay)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.intPersonOrder)).EndInit(); @@ -809,7 +841,6 @@ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpBirthDay; private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpTimeToWork; private System.Windows.Forms.Label label7; - private System.Windows.Forms.ComboBox cboDiploma; private System.Windows.Forms.Label label8; private System.Windows.Forms.TextBox txtNo; private System.Windows.Forms.Label label10; @@ -821,6 +852,12 @@ private System.Windows.Forms.Label label13; private System.Windows.Forms.ComboBox cboPersonType; private System.Windows.Forms.Label label14; + public System.Windows.Forms.ComboBox cboDepartment; + private System.Windows.Forms.CheckBox chkAllShow; + private System.Windows.Forms.TextBox cboDiploma; + public System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.TextBox txtSignatureIndex; + private System.Windows.Forms.Label label15; private System.Windows.Forms.DataGridViewTextBoxColumn Id; private System.Windows.Forms.DataGridViewTextBoxColumn DepNameColumn; private System.Windows.Forms.DataGridViewTextBoxColumn NoColumn; @@ -836,7 +873,6 @@ private System.Windows.Forms.DataGridViewTextBoxColumn PassWordColumn; private System.Windows.Forms.DataGridViewTextBoxColumn IsValidColumn; private System.Windows.Forms.DataGridViewTextBoxColumn PersonOrderColumn; - public System.Windows.Forms.ComboBox cboDepartment; - private System.Windows.Forms.CheckBox chkAllShow; + private System.Windows.Forms.DataGridViewImageColumn SignatureStr; } } \ No newline at end of file diff --git a/AIMS/DataDictionary/frmPerson.cs b/AIMS/DataDictionary/frmPerson.cs index 965d4d3..9f6bac3 100644 --- a/AIMS/DataDictionary/frmPerson.cs +++ b/AIMS/DataDictionary/frmPerson.cs @@ -4,6 +4,9 @@ using DataDictionary; using System; using System.Collections.Generic; using System.Data; +using System.Drawing; +using System.IO; +using System.Reflection; using System.Windows.Forms; namespace AIMS.PublicUI.UI @@ -43,15 +46,9 @@ namespace AIMS.PublicUI.UI cboRole.DataSource = BRole.GetDataTable(); cboRole.SelectedIndex = -1; - cboDiploma.DisplayMember = "Name"; - cboDiploma.ValueMember = "Id"; - cboDiploma.DataSource = BBasicDictionary.GetDataDictionaryDataTable(" ParentId IN (SELECT Id FROM BasicDictionary WHERE NAME='学历')"); - cboDiploma.SelectedIndex = -1; - cboJobTitle.DisplayMember = "Name"; cboJobTitle.ValueMember = "Id"; cboJobTitle.DataSource = BBasicDictionary.GetDataDictionaryDataTable(" ParentId IN (SELECT Id FROM BasicDictionary WHERE NAME='工作职称')"); - cboJobTitle.SelectedIndex = -1; @@ -88,7 +85,7 @@ namespace AIMS.PublicUI.UI ControlExtension.EnabledControl(panel1, true); if (dgvPerson.Rows.Count > 0) { - SelectPerson.Id = int.Parse(dgvPerson.CurrentRow.Cells["Id"].Value.ToString()); + SelectPerson = BPerson.SelectSingle(int.Parse(dgvPerson.CurrentRow.Cells["Id"].Value.ToString())); cboDepartment.Text = dgvPerson.CurrentRow.Cells["DepNameColumn"].Value.ToString(); txtNo.Text = dgvPerson.CurrentRow.Cells["NoColumn"].Value.ToString(); txtName.Text = dgvPerson.CurrentRow.Cells["NameColumn"].Value.ToString(); @@ -140,6 +137,8 @@ namespace AIMS.PublicUI.UI if (ValidInput()) { Person PersonObj = new Person(); + if (_state == AIMSExtension.EditState.EDIT) + PersonObj = SelectPerson; try { Department dt = BDepartment.SelectSingle("Name=@name and IsValid='1' ", new ParameterList("@name", cboDepartment.Text)); @@ -163,10 +162,12 @@ namespace AIMS.PublicUI.UI PersonObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; PersonObj.OperateDate = AIMSExtension.PublicMethod.SystemDate(); PersonObj.PassWord = txtPassWord.Text.Trim(); - PersonObj.PersonOrder = int.Parse(intPersonOrder.Text); PersonObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0"); + PersonObj.SignatureIndex = txtSignatureIndex.Text; + if (pictureBox1.Image != null) PersonObj.SignatureStr = new DCSoft.Drawing.XImageValue(pictureBox1.Image).ImageDataBase64String; + if (_state == AIMSExtension.EditState.ADD) { BPerson.Add(PersonObj); @@ -258,6 +259,13 @@ namespace AIMS.PublicUI.UI DataTable dt = BPerson.GetPersonDataTable(name, DepartName, chkAllShow.Checked); for (int i = 0; i < dt.Rows.Count; i++) { + Bitmap bmp = null; + if (dt.Rows[i]["SignatureStr"].ToString() != "") + { + byte[] arr = Convert.FromBase64String(dt.Rows[i]["SignatureStr"].ToString()); + MemoryStream ms = new MemoryStream(arr); + bmp = new Bitmap(ms); + } dgvPerson.Rows.Add(dt.Rows[i]["Id"].ToString(), dt.Rows[i]["DepName"].ToString(), dt.Rows[i]["No"].ToString(), @@ -272,7 +280,8 @@ namespace AIMS.PublicUI.UI dt.Rows[i]["RoleName"].ToString(), dt.Rows[i]["PassWord"].ToString(), dt.Rows[i]["IsValid"].ToString(), - dt.Rows[i]["PersonOrder"].ToString()); + dt.Rows[i]["PersonOrder"].ToString(), + bmp); } if (dgvPerson.Rows.Count > 0) { @@ -315,7 +324,28 @@ namespace AIMS.PublicUI.UI private void chkAllShow_CheckedChanged(object sender, EventArgs e) { - GetPersonDataTable(txtName.Text, cboDepartment.Text.Trim()); + GetPersonDataTable(txtName.Text, cboDepartment.Text.Trim()); + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + OpenFileDialog openFileDialogEmpImage = new OpenFileDialog(); + openFileDialogEmpImage.Filter = "*.png|*.png|*.jpg|*.jpg|*.bmp|*.bmp|*.tiff|*.tiff";//图片格式 + if (openFileDialogEmpImage.ShowDialog() == DialogResult.OK) + { + try + { + string empUpLoadPictureRealPos = openFileDialogEmpImage.FileName;//实际的文件路径+文件名 + String[] empImageData = empUpLoadPictureRealPos.Split('.'); + //empImageData[1]:是上传的图片的后缀名 + string empUpLoadPictureFormat = empImageData[1]; + pictureBox1.Image = Image.FromFile(empUpLoadPictureRealPos);//将图片显示在pitureBox控件中 + } + catch + { + MessageBox.Show("您选择的图片不能被读取或文件类型不对!", "错误信息", MessageBoxButtons.OK, MessageBoxIcon.Warning); + } + } } } } diff --git a/AIMS/DataDictionary/frmPerson.resx b/AIMS/DataDictionary/frmPerson.resx index 0285924..03edaa5 100644 --- a/AIMS/DataDictionary/frmPerson.resx +++ b/AIMS/DataDictionary/frmPerson.resx @@ -162,6 +162,9 @@ True + + True + 17, 17 diff --git a/AIMS/Extensions/EMRExtension.cs b/AIMS/Extensions/EMRExtension.cs index 852491e..02ecfbc 100644 --- a/AIMS/Extensions/EMRExtension.cs +++ b/AIMS/Extensions/EMRExtension.cs @@ -17,7 +17,7 @@ namespace AIMS OperationApply opeapply = new OperationApply(); if (applyid > 0) opeapply = BOperationApply.SelectSingle(applyid, RecursiveType.None, 0); OrisPatient pat = BOrisPatient.SelectSingle(patientid == 0 ? opeapply.OrisPatientId.Value : patientid, RecursiveType.None, 0); - if (PublicMethod.GetHospitalName().Contains("秦皇岛")) + if (PublicMethod.HospitalName.Contains("秦皇岛")) { try { @@ -34,15 +34,21 @@ namespace AIMS MessageBox.Show(@"在C:\APPSOFT\zlSoftCISInterface.exe路径下找不到“zlSoftCISInterface.exe”"); } } - if (PublicMethod.GetHospitalName().Contains("金州")) + else if (PublicMethod.HospitalName.Contains("金州")) { string HisPatientId = pat.HisPatientId; string VisitTimes = pat.VisitTimes; - - string Path = string.Format("http://172.16.10.175:5001/?inoutType=2&patiId={0}&visitId={1}&userName=系统管理员", HisPatientId, VisitTimes); - System.Diagnostics.Process.Start(Path); + + string Path = string.Format("http://172.16.10.175:5001/?inoutType=2&patiId={0}&visitId={1}&userName=系统管理员", HisPatientId, VisitTimes); //BrowserHelper.OpenBrowserUrlChrome(Path); } + else if (PublicMethod.HospitalName.Contains("天福")) + { + string HisPatientId = pat.HisPatientId; + + string Path = string.Format("http://10.129.130.60:5050/osworksweb/operating_hocussFirst.jsp?vae01={0}&jsessionids=43261bf8-e5ce-4686-8da7-3aad50e00ca61681461295076", HisPatientId); + System.Diagnostics.Process.Start(Path); + } } } diff --git a/AIMS/FormLogin.cs b/AIMS/FormLogin.cs index b1f2270..cbb345c 100644 --- a/AIMS/FormLogin.cs +++ b/AIMS/FormLogin.cs @@ -28,7 +28,7 @@ namespace AIMS { AIMSExtension.PublicMethod.SetLocalDateTime(); //label1.Text = AIMSExtension.PublicMethod.GetSystemName(); - //label2.Text = "@山西瑞禾康医疗科技有限公司 V" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); + //label2.Text = "@" + PublicMethod.HospitalName + " V" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); txtNo.Select(); txtNo.Focus(); #if DEBUG @@ -53,6 +53,7 @@ namespace AIMS Role role = BRole.GetModel(PersonObj.RoleId.Value); AIMSExtension.PublicMethod.PermissionLevel = role.PermissionLevel == null ? 0 : role.PermissionLevel.Value; AIMSExtension.PublicMethod.RoleName = BMenu.GetMenuRootListManageStr(AIMSExtension.PublicMethod.RoleId, "功能权限"); + AIMSExtension.PublicMethod.HospitalName = PublicMethod.GetHospital(); PublicMethod.WriteLog("登录", PersonObj.Id.Value); Hide(); //在这里为编辑器注册 diff --git a/AIMS/FormLogin.designer.cs b/AIMS/FormLogin.designer.cs index 28d7743..7b55114 100644 --- a/AIMS/FormLogin.designer.cs +++ b/AIMS/FormLogin.designer.cs @@ -46,7 +46,7 @@ this.label2.BackColor = System.Drawing.Color.White; this.label2.Font = new System.Drawing.Font("宋体", 9F); this.label2.ForeColor = System.Drawing.Color.SteelBlue; - this.label2.Location = new System.Drawing.Point(406, 356); + this.label2.Location = new System.Drawing.Point(448, 359); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(41, 12); this.label2.TabIndex = 5; diff --git a/AIMS/FormLogin.resx b/AIMS/FormLogin.resx index f028f0b..51b2092 100644 --- a/AIMS/FormLogin.resx +++ b/AIMS/FormLogin.resx @@ -139,7 +139,7 @@ iVBORw0KGgoAAAANSUhEUgAAAscAAAGQCAIAAADN91qrAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL - EAAACxABrSO9dQAA/7JJREFUeF7s/QeMbFt6mIdeT1fOOeecdu1dOeecc+jqnHPuPvGeG0aUniyIlkhB + DwAACw8BkvkDpQAA/7JJREFUeF7s/QeMbFt6mIdeT1fOOeecdu1dOeecc+jqnHPuPvGeG0aUniyIlkhB wnswDD/AsE1SgRYpQbLlJ0uCoGfhydCz8ATbkDkMJjU0JYxAQbZMkBy+f+2q7nPuuXfuJHI4Q9aPD+us 2rWruk/16bO//a9/rfWBwEawtA621sHS2BlaC0tr4WjNAEtjpqoMFKWORP8Whe6R+REDRQGnAcZ3MFFU gJmqtgIUtY2qcdJ0bgqgdQFUnZuq81ANGNWE00wExeSnWgI0W5hii9DtUY49wnXE2a4ky5NmYEU2XmES diff --git a/AIMS/OperationAanesthesia/DrawAnasReordBill.cs b/AIMS/OperationAanesthesia/DrawAnasReordBill.cs index 46fcf55..9abd725 100644 --- a/AIMS/OperationAanesthesia/DrawAnasReordBill.cs +++ b/AIMS/OperationAanesthesia/DrawAnasReordBill.cs @@ -27,7 +27,7 @@ namespace AIMS.OperationAanesthesia if (reVal) { templateManage.DrawArea(); - DrawGraph.ZUtil.DrawText(AIMSExtension.PublicMethod.GetHospitalName(), 0.355, 0.053, Zgc, DrawGraph.ZUtil.Font18); + DrawGraph.ZUtil.DrawText(AIMSExtension.PublicMethod.HospitalName, 0.355, 0.053, Zgc, DrawGraph.ZUtil.Font18); DrawGraph.ZUtil.DrawText("麻醉复苏室记录单", 0.39, 0.08, Zgc, DrawGraph.ZUtil.Font18); #region 设置界面自适应 @@ -115,7 +115,7 @@ namespace AIMS.OperationAanesthesia if (reVal) { templateManage.DrawArea(); - DrawGraph.ZUtil.DrawText(AIMSExtension.PublicMethod.GetHospitalName(), 0.385, 0.018, Zgc, DrawGraph.ZUtil.Font16); + DrawGraph.ZUtil.DrawText(AIMSExtension.PublicMethod.HospitalName, 0.385, 0.018, Zgc, DrawGraph.ZUtil.Font16); DrawGraph.ZUtil.DrawText(" 麻 醉 记 录", 0.42, 0.04, Zgc, DrawGraph.ZUtil.Font14); #region 设置界面自适应 @@ -162,7 +162,7 @@ namespace AIMS.OperationAanesthesia if (reVal) { templateManage2.DrawArea(); - DrawGraph.ZUtil.DrawText(AIMSExtension.PublicMethod.GetHospitalName(), 0.385, 0.038, Zgc2, DrawGraph.ZUtil.Font16); + DrawGraph.ZUtil.DrawText(AIMSExtension.PublicMethod.HospitalName, 0.385, 0.038, Zgc2, DrawGraph.ZUtil.Font16); DrawGraph.ZUtil.DrawText(" 麻 醉 记 录", 0.42, 0.065, Zgc2, DrawGraph.ZUtil.Font14); templateManage2.ZedControl.Width = templateManage.ZedControl.Width; templateManage2.ZedControl.Height = templateManage.ZedControl.Height; diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs index 0569886..e9643e2 100644 --- a/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs +++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs @@ -233,7 +233,7 @@ namespace AIMS.OperationAanesthesia pDoc.Print(); } - PublicMethod.WriteLog("打印麻醉记录单", _record.PatientId.Value, 1,"恢复"); + PublicMethod.WriteLog("打印麻醉记录单", _record.PatientId.Value, 1, "恢复"); count = 0; } catch (Exception exp) @@ -406,7 +406,7 @@ namespace AIMS.OperationAanesthesia { DrawEvent(); } - PublicMethod.WriteLog("修改" +Inevent.EventName, _record.PatientId.Value, 1, "恢复"); + PublicMethod.WriteLog("修改" + Inevent.EventName, _record.PatientId.Value, 1, "恢复"); } } /// @@ -502,7 +502,9 @@ namespace AIMS.OperationAanesthesia } } else - { timeistrue = true; } + { + timeistrue = true; + } if (EventName == "出室" && _record.StateName == "麻醉复苏中" && state == 0) { if (GetOpeState(ref messing) == false) @@ -537,10 +539,8 @@ namespace AIMS.OperationAanesthesia { _record.InRoomTime = Inevent.EventBeginTime; this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室_select; - BOperationRecord.Update("InRoomTime=@InRoom where Id=@id ", new AIMSModel.ParameterList("@InRoom", _record.InRoomTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id)); - - } - + BOperationRecord.Update("InRoomTime=@InRoom where Id=@id ", new AIMSModel.ParameterList("@InRoom", _record.InRoomTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id)); + } if (Inevent != null && Inevent.EventName == "拔管" && _record.SpileOutTime != Inevent.EventBeginTime) { _record.SpileOutTime = Inevent.EventBeginTime; @@ -1522,8 +1522,7 @@ namespace AIMS.OperationAanesthesia { message = "请添加术者!"; isTrue = false; - } - + } } return isTrue; diff --git a/AIMS/OperationAanesthesia/frmFactEventsNew.cs b/AIMS/OperationAanesthesia/frmFactEventsNew.cs index 7892938..58c7bc2 100644 --- a/AIMS/OperationAanesthesia/frmFactEventsNew.cs +++ b/AIMS/OperationAanesthesia/frmFactEventsNew.cs @@ -396,12 +396,16 @@ namespace AIMS.PublicUI.UI { b = true; } - if (_record.StateName == "手术结束") + if (_record.StateName == "手术结束" || _record.StateName == "麻醉复苏结束") { if (objectId < 10) { b = true; } + if (objectName=="插管" || objectName=="拔管"|| objectName=="喉罩") + { + b = false; + } } if (b == true) { diff --git a/AIMS/OperationAanesthesia/frmFeesRecord.cs b/AIMS/OperationAanesthesia/frmFeesRecord.cs index 20b2cd8..2c9b207 100644 --- a/AIMS/OperationAanesthesia/frmFeesRecord.cs +++ b/AIMS/OperationAanesthesia/frmFeesRecord.cs @@ -1472,7 +1472,7 @@ namespace AIMS.PublicUI.UI strExcelTemplateFile += @"\Template\" + strFileName; excel.Open(strExcelTemplateFile); //用模板文件 - excel.SetCellText(2, "A", PublicMethod.GetHospitalName()); + excel.SetCellText(2, "A", PublicMethod.HospitalName); excel.SetCellText(4, "B", _record.InRoomTime.Value.ToString("yyyy-MM-dd")); excel.SetCellText(4, "E", _record.ApplyDepartmentName.ToString()); excel.SetCellText(4, "H", _record.InHospitalNo); diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs index fbc2e28..98a4178 100644 --- a/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs +++ b/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs @@ -906,10 +906,6 @@ namespace AIMS.OperationAanesthesia for (int i = 0; i < dr.Count(); i++) { var name = dr[i].ItemArray[0].ToString(); - if (name=="InRoomTime") - { - name = name; - } var value = dr[i].ItemArray[1].ToString(); XTextInputFieldElement element = query.Where(x => x.FieldSettings.ListSource.SourceName == value).FirstOrDefault(); PropertyInfo info = p.Where(px => px.Name == name).FirstOrDefault(); diff --git a/AIMS/OperationAanesthesia/frmRecoverPatient.cs b/AIMS/OperationAanesthesia/frmRecoverPatient.cs index 8cca779..d8d6137 100644 --- a/AIMS/OperationAanesthesia/frmRecoverPatient.cs +++ b/AIMS/OperationAanesthesia/frmRecoverPatient.cs @@ -225,6 +225,7 @@ namespace AIMS.OperationAanesthesia { panel4.Visible = true; panel2.Visible = false; + FillDgv(); } } diff --git a/AIMS/OperationFront/frmOperationApplyDetail.cs b/AIMS/OperationFront/frmOperationApplyDetail.cs index a4b29c1..fb1509c 100644 --- a/AIMS/OperationFront/frmOperationApplyDetail.cs +++ b/AIMS/OperationFront/frmOperationApplyDetail.cs @@ -1227,7 +1227,7 @@ namespace AIMS.OperationFront.UI { try { - if (PublicMethod.GetHospitalName().Contains("屯留")) + if (PublicMethod.HospitalName.Contains("屯留")) { string sqlStr = string.Format("select * from AIMS_PATIENT where IPD_NO like '%{0}%'", txtMdrecNo.Text); DataTable dt = null; @@ -1267,7 +1267,7 @@ namespace AIMS.OperationFront.UI MessageBox.Show("未找到该患者信息!"); } } - else if (PublicMethod.GetHospitalName().Contains("秦皇岛")) + else if (PublicMethod.HospitalName.Contains("秦皇岛")) { string sqlStr = string.Format("select * from AIMS_PATIENTS where IPD_NO like '%{0}%'", txtMdrecNo.Text); DataTable dt = null; @@ -1303,7 +1303,7 @@ namespace AIMS.OperationFront.UI rboZQ.Checked = true; } } - else if (PublicMethod.GetHospitalName().Contains("大连市金州区中医医院")) + else if (PublicMethod.HospitalName.Contains("大连市金州区中医医院")) { string sqlStr = string.Format("select * from AIMS_PATIENTS where IPD_NO like '%{0}%'", txtMdrecNo.Text); DataTable dt = null; @@ -1338,7 +1338,7 @@ namespace AIMS.OperationFront.UI rboZQ.Checked = true; } } - else if (PublicMethod.GetHospitalName().Contains("漳浦")) + else if (PublicMethod.HospitalName.Contains("漳浦")) { string sqlStr = string.Format("select * from AIMS_PATIENTS where IPD_NO like '%{0}%'", txtMdrecNo.Text); DataTable dt = null; diff --git a/AIMS/OperationFront/frmOperationSchedulePlan.cs b/AIMS/OperationFront/frmOperationSchedulePlan.cs index c593ec4..e0fcc85 100644 --- a/AIMS/OperationFront/frmOperationSchedulePlan.cs +++ b/AIMS/OperationFront/frmOperationSchedulePlan.cs @@ -220,6 +220,9 @@ namespace AIMS.OperationFront.UI private Label label1; private Button btnWorkPlan; private Label label3; + private GridColumn gridColumn2; + private Button btnDataCente; + private Label label4; private DataGridViewCheckBoxColumn Column1; private DataGridViewTextBoxColumn Id; private DataGridViewTextBoxColumn Index; @@ -235,9 +238,6 @@ namespace AIMS.OperationFront.UI private DataGridViewTextBoxColumn Diagnose; private DataGridViewTextBoxColumn OperationType; private DataGridViewTextBoxColumn Contagion; - private GridColumn gridColumn2; - private Button btnDataCente; - private Label label4; private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpSearchTime; /// @@ -271,116 +271,101 @@ namespace AIMS.OperationFront.UI private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle89 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle97 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle98 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle90 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle91 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle92 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle93 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle94 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle95 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle96 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle99 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle110 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle111 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle100 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle101 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle102 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle103 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle104 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle105 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle106 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle107 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle108 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle109 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle112 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle123 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle124 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle113 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle114 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle115 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle116 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle117 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle118 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle119 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle120 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle121 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle122 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle125 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle136 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle137 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle126 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle127 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle128 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle129 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle130 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle131 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle132 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle133 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle134 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle135 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmOperationSchedulePlan)); - DevComponents.DotNetBar.SuperGrid.Style.Background background3 = new DevComponents.DotNetBar.SuperGrid.Style.Background(); - DevComponents.DotNetBar.SuperGrid.Style.Background background4 = new DevComponents.DotNetBar.SuperGrid.Style.Background(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle138 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle139 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle140 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle141 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle142 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle143 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle144 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle145 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle146 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle147 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle148 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle149 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle150 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle151 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle152 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle153 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle154 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle155 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle156 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle157 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle158 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle159 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle160 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle161 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle162 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle163 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle164 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle165 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle166 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle167 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle168 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle169 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle170 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle171 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle172 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle173 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle174 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle175 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle176 = new System.Windows.Forms.DataGridViewCellStyle(); + DevComponents.DotNetBar.SuperGrid.Style.Background background1 = new DevComponents.DotNetBar.SuperGrid.Style.Background(); + DevComponents.DotNetBar.SuperGrid.Style.Background background2 = new DevComponents.DotNetBar.SuperGrid.Style.Background(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle61 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle62 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle63 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle64 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle65 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle66 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle67 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle68 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle69 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle70 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle71 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle72 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle73 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle74 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle75 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle76 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle77 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle78 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle79 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle80 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle81 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle82 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle83 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle84 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle85 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle86 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle87 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle88 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); this.navigationPane1 = new DevComponents.DotNetBar.NavigationPane(); this.navigationPanePanel1 = new DevComponents.DotNetBar.NavigationPanePanel(); this.groupBoxsel = new System.Windows.Forms.GroupBox(); this.dgvApplyOrDoctor = new DevComponents.DotNetBar.Controls.DataGridViewX(); - this.Column1 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DepartmentId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OperationDoctor = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PatientName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.InHospitalNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PlanTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Operation = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OrderOperationTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Remark = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.AnaesthesiaMethodId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Diagnose = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OperationType = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Contagion = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel3 = new System.Windows.Forms.Panel(); this.labelWeek = new System.Windows.Forms.Label(); this.txtQuery = new DevComponents.DotNetBar.Controls.TextBoxX(); @@ -579,6 +564,21 @@ namespace AIMS.OperationFront.UI this.dataGridViewTextBoxColumn46 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn47 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn48 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column1 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DepartmentId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.OperationDoctor = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PatientName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.InHospitalNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PlanTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Operation = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.OrderOperationTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Remark = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.AnaesthesiaMethodId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Diagnose = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.OperationType = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Contagion = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.navigationPane1.SuspendLayout(); this.navigationPanePanel1.SuspendLayout(); this.groupBoxsel.SuspendLayout(); @@ -732,14 +732,14 @@ namespace AIMS.OperationFront.UI this.dgvApplyOrDoctor.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; this.dgvApplyOrDoctor.BackgroundColor = System.Drawing.Color.White; this.dgvApplyOrDoctor.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle89.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle89.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle89.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle89.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle89.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle89.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle89.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvApplyOrDoctor.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle89; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle1.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvApplyOrDoctor.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dgvApplyOrDoctor.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvApplyOrDoctor.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, @@ -757,28 +757,28 @@ namespace AIMS.OperationFront.UI this.Diagnose, this.OperationType, this.Contagion}); - dataGridViewCellStyle97.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle97.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle97.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle97.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle97.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle97.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle97.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvApplyOrDoctor.DefaultCellStyle = dataGridViewCellStyle97; + dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle9.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle9.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvApplyOrDoctor.DefaultCellStyle = dataGridViewCellStyle9; this.dgvApplyOrDoctor.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvApplyOrDoctor.EnableHeadersVisualStyles = false; - this.dgvApplyOrDoctor.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170))))); + this.dgvApplyOrDoctor.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dgvApplyOrDoctor.Location = new System.Drawing.Point(0, 89); this.dgvApplyOrDoctor.Name = "dgvApplyOrDoctor"; this.dgvApplyOrDoctor.ReadOnly = true; - dataGridViewCellStyle98.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle98.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle98.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle98.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle98.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle98.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle98.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvApplyOrDoctor.RowHeadersDefaultCellStyle = dataGridViewCellStyle98; + dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle10.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle10.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle10.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvApplyOrDoctor.RowHeadersDefaultCellStyle = dataGridViewCellStyle10; this.dgvApplyOrDoctor.RowHeadersVisible = false; this.dgvApplyOrDoctor.RowTemplate.Height = 23; this.dgvApplyOrDoctor.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -788,151 +788,6 @@ namespace AIMS.OperationFront.UI this.dgvApplyOrDoctor.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvApplyOrDoctor_CellDoubleClick); this.dgvApplyOrDoctor.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvApplyOrDoctor_ColumnHeaderMouseClick); // - // Column1 - // - this.Column1.HeaderText = ""; - this.Column1.Name = "Column1"; - this.Column1.ReadOnly = true; - this.Column1.TrueValue = "1"; - this.Column1.Width = 30; - // - // Id - // - this.Id.DataPropertyName = "ApplyId"; - this.Id.HeaderText = ""; - this.Id.Name = "Id"; - this.Id.ReadOnly = true; - this.Id.Visible = false; - // - // Index - // - this.Index.DataPropertyName = "ApplyId"; - this.Index.HeaderText = ""; - this.Index.Name = "Index"; - this.Index.ReadOnly = true; - this.Index.Visible = false; - this.Index.Width = 40; - // - // DepartmentId - // - this.DepartmentId.DataPropertyName = "ApplyDepName"; - dataGridViewCellStyle90.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle90.Font = new System.Drawing.Font("΢ź", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.DepartmentId.DefaultCellStyle = dataGridViewCellStyle90; - this.DepartmentId.HeaderText = ""; - this.DepartmentId.Name = "DepartmentId"; - this.DepartmentId.ReadOnly = true; - this.DepartmentId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.DepartmentId.Width = 80; - // - // OperationDoctor - // - this.OperationDoctor.DataPropertyName = "OperationDoctor"; - dataGridViewCellStyle91.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle91.Font = new System.Drawing.Font("΢ź", 12F); - this.OperationDoctor.DefaultCellStyle = dataGridViewCellStyle91; - this.OperationDoctor.HeaderText = "ҽʦ"; - this.OperationDoctor.Name = "OperationDoctor"; - this.OperationDoctor.ReadOnly = true; - this.OperationDoctor.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.OperationDoctor.Width = 60; - // - // PatientName - // - this.PatientName.DataPropertyName = "PatInfo"; - dataGridViewCellStyle92.Font = new System.Drawing.Font("΢ź", 11F); - this.PatientName.DefaultCellStyle = dataGridViewCellStyle92; - this.PatientName.HeaderText = ""; - this.PatientName.Name = "PatientName"; - this.PatientName.ReadOnly = true; - this.PatientName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.PatientName.Width = 125; - // - // InHospitalNo - // - this.InHospitalNo.DataPropertyName = "MdrecNo"; - dataGridViewCellStyle93.Font = new System.Drawing.Font("΢ź", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.InHospitalNo.DefaultCellStyle = dataGridViewCellStyle93; - this.InHospitalNo.HeaderText = "סԺ"; - this.InHospitalNo.Name = "InHospitalNo"; - this.InHospitalNo.ReadOnly = true; - this.InHospitalNo.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.InHospitalNo.Width = 90; - // - // PlanTime - // - this.PlanTime.DataPropertyName = "ApplyTime"; - this.PlanTime.HeaderText = "ʱ"; - this.PlanTime.Name = "PlanTime"; - this.PlanTime.ReadOnly = true; - this.PlanTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.PlanTime.Width = 90; - // - // Operation - // - this.Operation.DataPropertyName = "ApplyOperationInfoName"; - dataGridViewCellStyle94.Font = new System.Drawing.Font("΢ź", 11F); - dataGridViewCellStyle94.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.Operation.DefaultCellStyle = dataGridViewCellStyle94; - this.Operation.HeaderText = ""; - this.Operation.Name = "Operation"; - this.Operation.ReadOnly = true; - this.Operation.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.Operation.Width = 200; - // - // OrderOperationTime - // - this.OrderOperationTime.DataPropertyName = "OrderOperationTime"; - dataGridViewCellStyle95.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle95.Font = new System.Drawing.Font("΢ź", 12F); - this.OrderOperationTime.DefaultCellStyle = dataGridViewCellStyle95; - this.OrderOperationTime.HeaderText = "ʱ"; - this.OrderOperationTime.Name = "OrderOperationTime"; - this.OrderOperationTime.ReadOnly = true; - this.OrderOperationTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.OrderOperationTime.Visible = false; - this.OrderOperationTime.Width = 65; - // - // Remark - // - this.Remark.DataPropertyName = "OperationRemark"; - dataGridViewCellStyle96.Font = new System.Drawing.Font("΢ź", 12F); - this.Remark.DefaultCellStyle = dataGridViewCellStyle96; - this.Remark.HeaderText = "ע"; - this.Remark.Name = "Remark"; - this.Remark.ReadOnly = true; - this.Remark.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // AnaesthesiaMethodId - // - this.AnaesthesiaMethodId.DataPropertyName = "AnaesthesiaMethodName"; - this.AnaesthesiaMethodId.HeaderText = "ʩ"; - this.AnaesthesiaMethodId.Name = "AnaesthesiaMethodId"; - this.AnaesthesiaMethodId.ReadOnly = true; - this.AnaesthesiaMethodId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // Diagnose - // - this.Diagnose.DataPropertyName = "ApplyDiagnoseInfoName"; - this.Diagnose.HeaderText = "ǰ"; - this.Diagnose.Name = "Diagnose"; - this.Diagnose.ReadOnly = true; - this.Diagnose.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // OperationType - // - this.OperationType.DataPropertyName = "OperationType"; - this.OperationType.HeaderText = ""; - this.OperationType.Name = "OperationType"; - this.OperationType.ReadOnly = true; - // - // Contagion - // - this.Contagion.DataPropertyName = "Contagion"; - this.Contagion.HeaderText = "Ⱦɸ"; - this.Contagion.Name = "Contagion"; - this.Contagion.ReadOnly = true; - // // panel3 // this.panel3.BackColor = System.Drawing.Color.White; @@ -1111,14 +966,14 @@ namespace AIMS.OperationFront.UI this.dgvInstrumentNurse.AllowUserToResizeRows = false; this.dgvInstrumentNurse.BackgroundColor = System.Drawing.Color.White; this.dgvInstrumentNurse.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle99.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle99.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle99.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle99.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle99.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle99.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle99.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvInstrumentNurse.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle99; + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle11.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle11.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvInstrumentNurse.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; this.dgvInstrumentNurse.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvInstrumentNurse.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewCheckBoxColumn3, @@ -1133,28 +988,28 @@ namespace AIMS.OperationFront.UI this.dataGridViewTextBoxColumn57, this.dataGridViewTextBoxColumn58, this.dataGridViewTextBoxColumn59}); - dataGridViewCellStyle110.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle110.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle110.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle110.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle110.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle110.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle110.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvInstrumentNurse.DefaultCellStyle = dataGridViewCellStyle110; + dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle22.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle22.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle22.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle22.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvInstrumentNurse.DefaultCellStyle = dataGridViewCellStyle22; this.dgvInstrumentNurse.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvInstrumentNurse.EnableHeadersVisualStyles = false; this.dgvInstrumentNurse.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dgvInstrumentNurse.Location = new System.Drawing.Point(0, 95); this.dgvInstrumentNurse.Name = "dgvInstrumentNurse"; this.dgvInstrumentNurse.ReadOnly = true; - dataGridViewCellStyle111.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle111.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle111.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle111.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle111.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle111.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle111.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvInstrumentNurse.RowHeadersDefaultCellStyle = dataGridViewCellStyle111; + dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle23.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle23.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle23.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvInstrumentNurse.RowHeadersDefaultCellStyle = dataGridViewCellStyle23; this.dgvInstrumentNurse.RowHeadersVisible = false; this.dgvInstrumentNurse.RowTemplate.Height = 23; this.dgvInstrumentNurse.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -1174,8 +1029,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn49 // this.dataGridViewTextBoxColumn49.DataPropertyName = "Id"; - dataGridViewCellStyle100.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle100; + dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle12; this.dataGridViewTextBoxColumn49.HeaderText = ""; this.dataGridViewTextBoxColumn49.Name = "dataGridViewTextBoxColumn49"; this.dataGridViewTextBoxColumn49.ReadOnly = true; @@ -1185,9 +1040,9 @@ namespace AIMS.OperationFront.UI // iName // this.iName.DataPropertyName = "Name"; - dataGridViewCellStyle101.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle101.Font = new System.Drawing.Font("΢ź", 12F); - this.iName.DefaultCellStyle = dataGridViewCellStyle101; + dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle13.Font = new System.Drawing.Font("΢ź", 12F); + this.iName.DefaultCellStyle = dataGridViewCellStyle13; this.iName.HeaderText = ""; this.iName.Name = "iName"; this.iName.ReadOnly = true; @@ -1204,8 +1059,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn52 // this.dataGridViewTextBoxColumn52.DataPropertyName = "RowNumber"; - dataGridViewCellStyle102.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn52.DefaultCellStyle = dataGridViewCellStyle102; + dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn52.DefaultCellStyle = dataGridViewCellStyle14; this.dataGridViewTextBoxColumn52.HeaderText = ""; this.dataGridViewTextBoxColumn52.Name = "dataGridViewTextBoxColumn52"; this.dataGridViewTextBoxColumn52.ReadOnly = true; @@ -1214,8 +1069,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn53 // - dataGridViewCellStyle103.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle103; + dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle15; this.dataGridViewTextBoxColumn53.HeaderText = "Mon"; this.dataGridViewTextBoxColumn53.Name = "dataGridViewTextBoxColumn53"; this.dataGridViewTextBoxColumn53.ReadOnly = true; @@ -1223,8 +1078,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn54 // - dataGridViewCellStyle104.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn54.DefaultCellStyle = dataGridViewCellStyle104; + dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn54.DefaultCellStyle = dataGridViewCellStyle16; this.dataGridViewTextBoxColumn54.HeaderText = "Tues"; this.dataGridViewTextBoxColumn54.Name = "dataGridViewTextBoxColumn54"; this.dataGridViewTextBoxColumn54.ReadOnly = true; @@ -1232,8 +1087,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn55 // - dataGridViewCellStyle105.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn55.DefaultCellStyle = dataGridViewCellStyle105; + dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn55.DefaultCellStyle = dataGridViewCellStyle17; this.dataGridViewTextBoxColumn55.HeaderText = "Wed"; this.dataGridViewTextBoxColumn55.Name = "dataGridViewTextBoxColumn55"; this.dataGridViewTextBoxColumn55.ReadOnly = true; @@ -1241,8 +1096,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn56 // - dataGridViewCellStyle106.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn56.DefaultCellStyle = dataGridViewCellStyle106; + dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn56.DefaultCellStyle = dataGridViewCellStyle18; this.dataGridViewTextBoxColumn56.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn56.Name = "dataGridViewTextBoxColumn56"; this.dataGridViewTextBoxColumn56.ReadOnly = true; @@ -1250,8 +1105,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn57 // - dataGridViewCellStyle107.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn57.DefaultCellStyle = dataGridViewCellStyle107; + dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn57.DefaultCellStyle = dataGridViewCellStyle19; this.dataGridViewTextBoxColumn57.HeaderText = "Fri"; this.dataGridViewTextBoxColumn57.Name = "dataGridViewTextBoxColumn57"; this.dataGridViewTextBoxColumn57.ReadOnly = true; @@ -1259,8 +1114,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn58 // - dataGridViewCellStyle108.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn58.DefaultCellStyle = dataGridViewCellStyle108; + dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn58.DefaultCellStyle = dataGridViewCellStyle20; this.dataGridViewTextBoxColumn58.HeaderText = "Sat"; this.dataGridViewTextBoxColumn58.Name = "dataGridViewTextBoxColumn58"; this.dataGridViewTextBoxColumn58.ReadOnly = true; @@ -1268,8 +1123,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn59 // - dataGridViewCellStyle109.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn59.DefaultCellStyle = dataGridViewCellStyle109; + dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn59.DefaultCellStyle = dataGridViewCellStyle21; this.dataGridViewTextBoxColumn59.HeaderText = "Sun"; this.dataGridViewTextBoxColumn59.Name = "dataGridViewTextBoxColumn59"; this.dataGridViewTextBoxColumn59.ReadOnly = true; @@ -1452,14 +1307,14 @@ namespace AIMS.OperationFront.UI this.dgvTourNurse.AllowUserToResizeRows = false; this.dgvTourNurse.BackgroundColor = System.Drawing.Color.White; this.dgvTourNurse.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle112.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle112.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle112.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle112.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle112.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle112.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle112.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvTourNurse.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle112; + dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle24.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle24.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle24.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle24.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle24.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvTourNurse.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle24; this.dgvTourNurse.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvTourNurse.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewCheckBoxColumn4, @@ -1474,28 +1329,28 @@ namespace AIMS.OperationFront.UI this.dataGridViewTextBoxColumn68, this.dataGridViewTextBoxColumn69, this.dataGridViewTextBoxColumn70}); - dataGridViewCellStyle123.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle123.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle123.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle123.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle123.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle123.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle123.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvTourNurse.DefaultCellStyle = dataGridViewCellStyle123; + dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle35.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle35.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle35.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle35.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle35.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvTourNurse.DefaultCellStyle = dataGridViewCellStyle35; this.dgvTourNurse.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvTourNurse.EnableHeadersVisualStyles = false; this.dgvTourNurse.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dgvTourNurse.Location = new System.Drawing.Point(0, 95); this.dgvTourNurse.Name = "dgvTourNurse"; this.dgvTourNurse.ReadOnly = true; - dataGridViewCellStyle124.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle124.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle124.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle124.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle124.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle124.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle124.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvTourNurse.RowHeadersDefaultCellStyle = dataGridViewCellStyle124; + dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle36.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle36.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle36.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle36.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle36.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle36.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvTourNurse.RowHeadersDefaultCellStyle = dataGridViewCellStyle36; this.dgvTourNurse.RowHeadersVisible = false; this.dgvTourNurse.RowTemplate.Height = 23; this.dgvTourNurse.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -1515,8 +1370,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn60 // this.dataGridViewTextBoxColumn60.DataPropertyName = "Id"; - dataGridViewCellStyle113.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn60.DefaultCellStyle = dataGridViewCellStyle113; + dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn60.DefaultCellStyle = dataGridViewCellStyle25; this.dataGridViewTextBoxColumn60.HeaderText = ""; this.dataGridViewTextBoxColumn60.Name = "dataGridViewTextBoxColumn60"; this.dataGridViewTextBoxColumn60.ReadOnly = true; @@ -1526,9 +1381,9 @@ namespace AIMS.OperationFront.UI // tName // this.tName.DataPropertyName = "Name"; - dataGridViewCellStyle114.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle114.Font = new System.Drawing.Font("΢ź", 12F); - this.tName.DefaultCellStyle = dataGridViewCellStyle114; + dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle26.Font = new System.Drawing.Font("΢ź", 12F); + this.tName.DefaultCellStyle = dataGridViewCellStyle26; this.tName.HeaderText = ""; this.tName.Name = "tName"; this.tName.ReadOnly = true; @@ -1545,8 +1400,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn63 // this.dataGridViewTextBoxColumn63.DataPropertyName = "RowNumber"; - dataGridViewCellStyle115.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle115; + dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle27; this.dataGridViewTextBoxColumn63.HeaderText = ""; this.dataGridViewTextBoxColumn63.Name = "dataGridViewTextBoxColumn63"; this.dataGridViewTextBoxColumn63.ReadOnly = true; @@ -1555,8 +1410,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn64 // - dataGridViewCellStyle116.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn64.DefaultCellStyle = dataGridViewCellStyle116; + dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn64.DefaultCellStyle = dataGridViewCellStyle28; this.dataGridViewTextBoxColumn64.HeaderText = "Mon"; this.dataGridViewTextBoxColumn64.Name = "dataGridViewTextBoxColumn64"; this.dataGridViewTextBoxColumn64.ReadOnly = true; @@ -1564,8 +1419,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn65 // - dataGridViewCellStyle117.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn65.DefaultCellStyle = dataGridViewCellStyle117; + dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn65.DefaultCellStyle = dataGridViewCellStyle29; this.dataGridViewTextBoxColumn65.HeaderText = "Tues"; this.dataGridViewTextBoxColumn65.Name = "dataGridViewTextBoxColumn65"; this.dataGridViewTextBoxColumn65.ReadOnly = true; @@ -1573,8 +1428,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn66 // - dataGridViewCellStyle118.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn66.DefaultCellStyle = dataGridViewCellStyle118; + dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn66.DefaultCellStyle = dataGridViewCellStyle30; this.dataGridViewTextBoxColumn66.HeaderText = "Wed"; this.dataGridViewTextBoxColumn66.Name = "dataGridViewTextBoxColumn66"; this.dataGridViewTextBoxColumn66.ReadOnly = true; @@ -1582,8 +1437,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn67 // - dataGridViewCellStyle119.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn67.DefaultCellStyle = dataGridViewCellStyle119; + dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn67.DefaultCellStyle = dataGridViewCellStyle31; this.dataGridViewTextBoxColumn67.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn67.Name = "dataGridViewTextBoxColumn67"; this.dataGridViewTextBoxColumn67.ReadOnly = true; @@ -1591,8 +1446,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn68 // - dataGridViewCellStyle120.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn68.DefaultCellStyle = dataGridViewCellStyle120; + dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn68.DefaultCellStyle = dataGridViewCellStyle32; this.dataGridViewTextBoxColumn68.HeaderText = "Fri"; this.dataGridViewTextBoxColumn68.Name = "dataGridViewTextBoxColumn68"; this.dataGridViewTextBoxColumn68.ReadOnly = true; @@ -1600,8 +1455,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn69 // - dataGridViewCellStyle121.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn69.DefaultCellStyle = dataGridViewCellStyle121; + dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn69.DefaultCellStyle = dataGridViewCellStyle33; this.dataGridViewTextBoxColumn69.HeaderText = "Sat"; this.dataGridViewTextBoxColumn69.Name = "dataGridViewTextBoxColumn69"; this.dataGridViewTextBoxColumn69.ReadOnly = true; @@ -1609,8 +1464,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn70 // - dataGridViewCellStyle122.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn70.DefaultCellStyle = dataGridViewCellStyle122; + dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn70.DefaultCellStyle = dataGridViewCellStyle34; this.dataGridViewTextBoxColumn70.HeaderText = "Sun"; this.dataGridViewTextBoxColumn70.Name = "dataGridViewTextBoxColumn70"; this.dataGridViewTextBoxColumn70.ReadOnly = true; @@ -1791,14 +1646,14 @@ namespace AIMS.OperationFront.UI this.dgvWorkers.AllowUserToResizeRows = false; this.dgvWorkers.BackgroundColor = System.Drawing.Color.White; this.dgvWorkers.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle125.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle125.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle125.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle125.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle125.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle125.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle125.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvWorkers.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle125; + dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle37.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle37.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle37.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle37.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle37.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle37.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvWorkers.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle37; this.dgvWorkers.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvWorkers.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Check, @@ -1813,28 +1668,28 @@ namespace AIMS.OperationFront.UI this.Fri, this.Sat, this.Sun}); - dataGridViewCellStyle136.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle136.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle136.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle136.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle136.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle136.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle136.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvWorkers.DefaultCellStyle = dataGridViewCellStyle136; + dataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle48.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle48.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle48.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle48.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle48.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle48.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvWorkers.DefaultCellStyle = dataGridViewCellStyle48; this.dgvWorkers.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvWorkers.EnableHeadersVisualStyles = false; this.dgvWorkers.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dgvWorkers.Location = new System.Drawing.Point(0, 92); this.dgvWorkers.Name = "dgvWorkers"; this.dgvWorkers.ReadOnly = true; - dataGridViewCellStyle137.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle137.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle137.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle137.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle137.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle137.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle137.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvWorkers.RowHeadersDefaultCellStyle = dataGridViewCellStyle137; + dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle49.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle49.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle49.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle49.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle49.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle49.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvWorkers.RowHeadersDefaultCellStyle = dataGridViewCellStyle49; this.dgvWorkers.RowHeadersVisible = false; this.dgvWorkers.RowTemplate.Height = 23; this.dgvWorkers.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -1854,8 +1709,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn2 // this.dataGridViewTextBoxColumn2.DataPropertyName = "Id"; - dataGridViewCellStyle126.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle126; + dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle38; this.dataGridViewTextBoxColumn2.HeaderText = ""; this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; this.dataGridViewTextBoxColumn2.ReadOnly = true; @@ -1865,9 +1720,9 @@ namespace AIMS.OperationFront.UI // oName // this.oName.DataPropertyName = "Name"; - dataGridViewCellStyle127.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle127.Font = new System.Drawing.Font("΢ź", 12F); - this.oName.DefaultCellStyle = dataGridViewCellStyle127; + dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle39.Font = new System.Drawing.Font("΢ź", 12F); + this.oName.DefaultCellStyle = dataGridViewCellStyle39; this.oName.HeaderText = ""; this.oName.Name = "oName"; this.oName.ReadOnly = true; @@ -1884,8 +1739,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn1 // this.dataGridViewTextBoxColumn1.DataPropertyName = "RowNumber"; - dataGridViewCellStyle128.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle128; + dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle40; this.dataGridViewTextBoxColumn1.HeaderText = ""; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; this.dataGridViewTextBoxColumn1.ReadOnly = true; @@ -1894,8 +1749,8 @@ namespace AIMS.OperationFront.UI // // Mon // - dataGridViewCellStyle129.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Mon.DefaultCellStyle = dataGridViewCellStyle129; + dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Mon.DefaultCellStyle = dataGridViewCellStyle41; this.Mon.HeaderText = "Mon"; this.Mon.Name = "Mon"; this.Mon.ReadOnly = true; @@ -1903,8 +1758,8 @@ namespace AIMS.OperationFront.UI // // Tues // - dataGridViewCellStyle130.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Tues.DefaultCellStyle = dataGridViewCellStyle130; + dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Tues.DefaultCellStyle = dataGridViewCellStyle42; this.Tues.HeaderText = "Tues"; this.Tues.Name = "Tues"; this.Tues.ReadOnly = true; @@ -1912,8 +1767,8 @@ namespace AIMS.OperationFront.UI // // Wed // - dataGridViewCellStyle131.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Wed.DefaultCellStyle = dataGridViewCellStyle131; + dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Wed.DefaultCellStyle = dataGridViewCellStyle43; this.Wed.HeaderText = "Wed"; this.Wed.Name = "Wed"; this.Wed.ReadOnly = true; @@ -1921,8 +1776,8 @@ namespace AIMS.OperationFront.UI // // Thurs // - dataGridViewCellStyle132.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Thurs.DefaultCellStyle = dataGridViewCellStyle132; + dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Thurs.DefaultCellStyle = dataGridViewCellStyle44; this.Thurs.HeaderText = "Thurs"; this.Thurs.Name = "Thurs"; this.Thurs.ReadOnly = true; @@ -1930,8 +1785,8 @@ namespace AIMS.OperationFront.UI // // Fri // - dataGridViewCellStyle133.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Fri.DefaultCellStyle = dataGridViewCellStyle133; + dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Fri.DefaultCellStyle = dataGridViewCellStyle45; this.Fri.HeaderText = "Fri"; this.Fri.Name = "Fri"; this.Fri.ReadOnly = true; @@ -1939,8 +1794,8 @@ namespace AIMS.OperationFront.UI // // Sat // - dataGridViewCellStyle134.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Sat.DefaultCellStyle = dataGridViewCellStyle134; + dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Sat.DefaultCellStyle = dataGridViewCellStyle46; this.Sat.HeaderText = "Sat"; this.Sat.Name = "Sat"; this.Sat.ReadOnly = true; @@ -1948,8 +1803,8 @@ namespace AIMS.OperationFront.UI // // Sun // - dataGridViewCellStyle135.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Sun.DefaultCellStyle = dataGridViewCellStyle135; + dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Sun.DefaultCellStyle = dataGridViewCellStyle47; this.Sun.HeaderText = "Sun"; this.Sun.Name = "Sun"; this.Sun.ReadOnly = true; @@ -2203,8 +2058,8 @@ namespace AIMS.OperationFront.UI this.dgvDetail.ContextMenuStrip = this.ctsThisRoom; this.dgvDetail.DefaultVisualStyles.CellStyles.Default.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True; this.dgvDetail.DefaultVisualStyles.GridPanelStyle.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True; - background3.Color1 = System.Drawing.SystemColors.Control; - this.dgvDetail.DefaultVisualStyles.GridPanelStyle.Background = background3; + background1.Color1 = System.Drawing.SystemColors.Control; + this.dgvDetail.DefaultVisualStyles.GridPanelStyle.Background = background1; this.dgvDetail.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed; this.dgvDetail.ForeColor = System.Drawing.Color.Black; this.dgvDetail.Location = new System.Drawing.Point(32, 45); @@ -2229,8 +2084,8 @@ namespace AIMS.OperationFront.UI this.dgvDetail.PrimaryGrid.Columns.Add(this.colRemarks); this.dgvDetail.PrimaryGrid.Columns.Add(this.colDel); this.dgvDetail.PrimaryGrid.Columns.Add(this.gridColumn2); - background4.Color1 = System.Drawing.Color.Transparent; - this.dgvDetail.PrimaryGrid.DefaultVisualStyles.CellStyles.Default.Background = background4; + background2.Color1 = System.Drawing.Color.Transparent; + this.dgvDetail.PrimaryGrid.DefaultVisualStyles.CellStyles.Default.Background = background2; this.dgvDetail.PrimaryGrid.ImmediateResize = true; this.dgvDetail.PrimaryGrid.MultiSelect = false; this.dgvDetail.PrimaryGrid.RowHeaderWidth = 30; @@ -3007,8 +2862,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn4 // this.dataGridViewTextBoxColumn4.DataPropertyName = "Name"; - dataGridViewCellStyle138.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle138; + dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle50; this.dataGridViewTextBoxColumn4.HeaderText = ""; this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; this.dataGridViewTextBoxColumn4.ReadOnly = true; @@ -3018,8 +2873,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn5 // this.dataGridViewTextBoxColumn5.DataPropertyName = "deptName"; - dataGridViewCellStyle139.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle139; + dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle51; this.dataGridViewTextBoxColumn5.HeaderText = ""; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.ReadOnly = true; @@ -3028,8 +2883,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn6 // - dataGridViewCellStyle140.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle140; + dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle52; this.dataGridViewTextBoxColumn6.HeaderText = "Mon"; this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; this.dataGridViewTextBoxColumn6.ReadOnly = true; @@ -3038,8 +2893,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn7 // this.dataGridViewTextBoxColumn7.DataPropertyName = "RowNumber"; - dataGridViewCellStyle141.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle141; + dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle53; this.dataGridViewTextBoxColumn7.HeaderText = ""; this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; this.dataGridViewTextBoxColumn7.ReadOnly = true; @@ -3048,8 +2903,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn8 // - dataGridViewCellStyle142.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle142; + dataGridViewCellStyle54.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle54; this.dataGridViewTextBoxColumn8.HeaderText = "Tues"; this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; this.dataGridViewTextBoxColumn8.ReadOnly = true; @@ -3057,8 +2912,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn9 // - dataGridViewCellStyle143.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle143; + dataGridViewCellStyle55.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle55; this.dataGridViewTextBoxColumn9.HeaderText = "Wed"; this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; this.dataGridViewTextBoxColumn9.ReadOnly = true; @@ -3066,8 +2921,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn10 // - dataGridViewCellStyle144.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle144; + dataGridViewCellStyle56.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle56; this.dataGridViewTextBoxColumn10.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; this.dataGridViewTextBoxColumn10.ReadOnly = true; @@ -3075,8 +2930,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn11 // - dataGridViewCellStyle145.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle145; + dataGridViewCellStyle57.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle57; this.dataGridViewTextBoxColumn11.HeaderText = "Fri"; this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; this.dataGridViewTextBoxColumn11.ReadOnly = true; @@ -3085,8 +2940,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn12 // this.dataGridViewTextBoxColumn12.DataPropertyName = "Id"; - dataGridViewCellStyle146.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle146; + dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle58; this.dataGridViewTextBoxColumn12.HeaderText = "Sat"; this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; this.dataGridViewTextBoxColumn12.ReadOnly = true; @@ -3096,8 +2951,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn13 // this.dataGridViewTextBoxColumn13.DataPropertyName = "Name"; - dataGridViewCellStyle147.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle147; + dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle59; this.dataGridViewTextBoxColumn13.HeaderText = "Sun"; this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; this.dataGridViewTextBoxColumn13.ReadOnly = true; @@ -3107,8 +2962,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn14 // this.dataGridViewTextBoxColumn14.DataPropertyName = "Id"; - dataGridViewCellStyle148.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle148; + dataGridViewCellStyle60.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle60; this.dataGridViewTextBoxColumn14.HeaderText = ""; this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; this.dataGridViewTextBoxColumn14.ReadOnly = true; @@ -3118,8 +2973,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn15 // this.dataGridViewTextBoxColumn15.DataPropertyName = "Name"; - dataGridViewCellStyle149.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle149; + dataGridViewCellStyle61.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle61; this.dataGridViewTextBoxColumn15.HeaderText = ""; this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; this.dataGridViewTextBoxColumn15.ReadOnly = true; @@ -3129,8 +2984,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn16 // this.dataGridViewTextBoxColumn16.DataPropertyName = "RowNumber"; - dataGridViewCellStyle150.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn16.DefaultCellStyle = dataGridViewCellStyle150; + dataGridViewCellStyle62.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn16.DefaultCellStyle = dataGridViewCellStyle62; this.dataGridViewTextBoxColumn16.HeaderText = ""; this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; this.dataGridViewTextBoxColumn16.ReadOnly = true; @@ -3140,8 +2995,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn17 // this.dataGridViewTextBoxColumn17.DataPropertyName = "deptName"; - dataGridViewCellStyle151.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle151; + dataGridViewCellStyle63.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle63; this.dataGridViewTextBoxColumn17.HeaderText = ""; this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; this.dataGridViewTextBoxColumn17.ReadOnly = true; @@ -3150,8 +3005,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn18 // - dataGridViewCellStyle152.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle152; + dataGridViewCellStyle64.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle64; this.dataGridViewTextBoxColumn18.HeaderText = "Mon"; this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; this.dataGridViewTextBoxColumn18.ReadOnly = true; @@ -3159,8 +3014,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn19 // - dataGridViewCellStyle153.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle153; + dataGridViewCellStyle65.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle65; this.dataGridViewTextBoxColumn19.HeaderText = "Tues"; this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; this.dataGridViewTextBoxColumn19.ReadOnly = true; @@ -3168,8 +3023,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn20 // - dataGridViewCellStyle154.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn20.DefaultCellStyle = dataGridViewCellStyle154; + dataGridViewCellStyle66.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn20.DefaultCellStyle = dataGridViewCellStyle66; this.dataGridViewTextBoxColumn20.HeaderText = "Wed"; this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; this.dataGridViewTextBoxColumn20.ReadOnly = true; @@ -3178,8 +3033,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn21 // this.dataGridViewTextBoxColumn21.DataPropertyName = "Id"; - dataGridViewCellStyle155.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle155; + dataGridViewCellStyle67.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle67; this.dataGridViewTextBoxColumn21.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; this.dataGridViewTextBoxColumn21.ReadOnly = true; @@ -3189,8 +3044,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn22 // this.dataGridViewTextBoxColumn22.DataPropertyName = "Name"; - dataGridViewCellStyle156.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle156; + dataGridViewCellStyle68.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle68; this.dataGridViewTextBoxColumn22.HeaderText = "Fri"; this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; this.dataGridViewTextBoxColumn22.ReadOnly = true; @@ -3199,8 +3054,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn23 // this.dataGridViewTextBoxColumn23.DataPropertyName = "Id"; - dataGridViewCellStyle157.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle157; + dataGridViewCellStyle69.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle69; this.dataGridViewTextBoxColumn23.HeaderText = "Sat"; this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; this.dataGridViewTextBoxColumn23.ReadOnly = true; @@ -3210,8 +3065,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn24 // this.dataGridViewTextBoxColumn24.DataPropertyName = "Name"; - dataGridViewCellStyle158.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle158; + dataGridViewCellStyle70.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle70; this.dataGridViewTextBoxColumn24.HeaderText = "Sun"; this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; this.dataGridViewTextBoxColumn24.ReadOnly = true; @@ -3221,8 +3076,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn25 // this.dataGridViewTextBoxColumn25.DataPropertyName = "deptName"; - dataGridViewCellStyle159.Font = new System.Drawing.Font("΢ź", 12F); - this.dataGridViewTextBoxColumn25.DefaultCellStyle = dataGridViewCellStyle159; + dataGridViewCellStyle71.Font = new System.Drawing.Font("΢ź", 12F); + this.dataGridViewTextBoxColumn25.DefaultCellStyle = dataGridViewCellStyle71; this.dataGridViewTextBoxColumn25.HeaderText = ""; this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25"; this.dataGridViewTextBoxColumn25.ReadOnly = true; @@ -3232,8 +3087,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn26 // this.dataGridViewTextBoxColumn26.DataPropertyName = "RowNumber"; - dataGridViewCellStyle160.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle160; + dataGridViewCellStyle72.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle72; this.dataGridViewTextBoxColumn26.HeaderText = ""; this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26"; this.dataGridViewTextBoxColumn26.ReadOnly = true; @@ -3242,8 +3097,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn27 // - dataGridViewCellStyle161.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle161; + dataGridViewCellStyle73.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle73; this.dataGridViewTextBoxColumn27.HeaderText = "Mon"; this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27"; this.dataGridViewTextBoxColumn27.ReadOnly = true; @@ -3251,8 +3106,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn28 // - dataGridViewCellStyle162.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle162; + dataGridViewCellStyle74.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle74; this.dataGridViewTextBoxColumn28.HeaderText = "Tues"; this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28"; this.dataGridViewTextBoxColumn28.ReadOnly = true; @@ -3260,8 +3115,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn29 // - dataGridViewCellStyle163.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn29.DefaultCellStyle = dataGridViewCellStyle163; + dataGridViewCellStyle75.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn29.DefaultCellStyle = dataGridViewCellStyle75; this.dataGridViewTextBoxColumn29.HeaderText = "Wed"; this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29"; this.dataGridViewTextBoxColumn29.ReadOnly = true; @@ -3269,8 +3124,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn30 // - dataGridViewCellStyle164.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn30.DefaultCellStyle = dataGridViewCellStyle164; + dataGridViewCellStyle76.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn30.DefaultCellStyle = dataGridViewCellStyle76; this.dataGridViewTextBoxColumn30.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30"; this.dataGridViewTextBoxColumn30.ReadOnly = true; @@ -3278,8 +3133,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn31 // - dataGridViewCellStyle165.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle165; + dataGridViewCellStyle77.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle77; this.dataGridViewTextBoxColumn31.HeaderText = "Fri"; this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31"; this.dataGridViewTextBoxColumn31.ReadOnly = true; @@ -3287,8 +3142,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn32 // - dataGridViewCellStyle166.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle166; + dataGridViewCellStyle78.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle78; this.dataGridViewTextBoxColumn32.HeaderText = "Sat"; this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32"; this.dataGridViewTextBoxColumn32.ReadOnly = true; @@ -3297,8 +3152,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn33 // this.dataGridViewTextBoxColumn33.DataPropertyName = "Id"; - dataGridViewCellStyle167.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn33.DefaultCellStyle = dataGridViewCellStyle167; + dataGridViewCellStyle79.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn33.DefaultCellStyle = dataGridViewCellStyle79; this.dataGridViewTextBoxColumn33.HeaderText = "Sun"; this.dataGridViewTextBoxColumn33.Name = "dataGridViewTextBoxColumn33"; this.dataGridViewTextBoxColumn33.ReadOnly = true; @@ -3308,9 +3163,9 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn34 // this.dataGridViewTextBoxColumn34.DataPropertyName = "Name"; - dataGridViewCellStyle168.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle168.Font = new System.Drawing.Font("΢ź", 12F); - this.dataGridViewTextBoxColumn34.DefaultCellStyle = dataGridViewCellStyle168; + dataGridViewCellStyle80.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle80.Font = new System.Drawing.Font("΢ź", 12F); + this.dataGridViewTextBoxColumn34.DefaultCellStyle = dataGridViewCellStyle80; this.dataGridViewTextBoxColumn34.HeaderText = ""; this.dataGridViewTextBoxColumn34.Name = "dataGridViewTextBoxColumn34"; this.dataGridViewTextBoxColumn34.ReadOnly = true; @@ -3329,8 +3184,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn36 // this.dataGridViewTextBoxColumn36.DataPropertyName = "RowNumber"; - dataGridViewCellStyle169.Font = new System.Drawing.Font("΢ź", 14F); - this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle169; + dataGridViewCellStyle81.Font = new System.Drawing.Font("΢ź", 14F); + this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle81; this.dataGridViewTextBoxColumn36.HeaderText = ""; this.dataGridViewTextBoxColumn36.Name = "dataGridViewTextBoxColumn36"; this.dataGridViewTextBoxColumn36.ReadOnly = true; @@ -3341,8 +3196,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn37 // this.dataGridViewTextBoxColumn37.DataPropertyName = "OperationPriorityId "; - dataGridViewCellStyle170.Font = new System.Drawing.Font("΢ź", 14F); - this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle170; + dataGridViewCellStyle82.Font = new System.Drawing.Font("΢ź", 14F); + this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle82; this.dataGridViewTextBoxColumn37.HeaderText = "ҽʦ"; this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37"; this.dataGridViewTextBoxColumn37.ReadOnly = true; @@ -3351,8 +3206,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn38 // - dataGridViewCellStyle171.Font = new System.Drawing.Font("΢ź", 14F); - this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle171; + dataGridViewCellStyle83.Font = new System.Drawing.Font("΢ź", 14F); + this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle83; this.dataGridViewTextBoxColumn38.HeaderText = "ʱ"; this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38"; this.dataGridViewTextBoxColumn38.ReadOnly = true; @@ -3361,8 +3216,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn39 // - dataGridViewCellStyle172.Font = new System.Drawing.Font("΢ź", 11F); - this.dataGridViewTextBoxColumn39.DefaultCellStyle = dataGridViewCellStyle172; + dataGridViewCellStyle84.Font = new System.Drawing.Font("΢ź", 11F); + this.dataGridViewTextBoxColumn39.DefaultCellStyle = dataGridViewCellStyle84; this.dataGridViewTextBoxColumn39.HeaderText = ""; this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39"; this.dataGridViewTextBoxColumn39.ReadOnly = true; @@ -3371,8 +3226,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn40 // - dataGridViewCellStyle173.Font = new System.Drawing.Font("΢ź", 11F); - this.dataGridViewTextBoxColumn40.DefaultCellStyle = dataGridViewCellStyle173; + dataGridViewCellStyle85.Font = new System.Drawing.Font("΢ź", 11F); + this.dataGridViewTextBoxColumn40.DefaultCellStyle = dataGridViewCellStyle85; this.dataGridViewTextBoxColumn40.HeaderText = ""; this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40"; this.dataGridViewTextBoxColumn40.ReadOnly = true; @@ -3381,8 +3236,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn41 // - dataGridViewCellStyle174.Font = new System.Drawing.Font("΢ź", 12F); - this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle174; + dataGridViewCellStyle86.Font = new System.Drawing.Font("΢ź", 12F); + this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle86; this.dataGridViewTextBoxColumn41.HeaderText = ""; this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41"; this.dataGridViewTextBoxColumn41.ReadOnly = true; @@ -3392,8 +3247,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn42 // - dataGridViewCellStyle175.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle175; + dataGridViewCellStyle87.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle87; this.dataGridViewTextBoxColumn42.HeaderText = "ע"; this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42"; this.dataGridViewTextBoxColumn42.ReadOnly = true; @@ -3403,8 +3258,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn43 // - dataGridViewCellStyle176.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn43.DefaultCellStyle = dataGridViewCellStyle176; + dataGridViewCellStyle88.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn43.DefaultCellStyle = dataGridViewCellStyle88; this.dataGridViewTextBoxColumn43.HeaderText = "סԺ"; this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43"; this.dataGridViewTextBoxColumn43.ReadOnly = true; @@ -3445,6 +3300,151 @@ namespace AIMS.OperationFront.UI this.dataGridViewTextBoxColumn48.HeaderText = ""; this.dataGridViewTextBoxColumn48.Name = "dataGridViewTextBoxColumn48"; // + // Column1 + // + this.Column1.HeaderText = ""; + this.Column1.Name = "Column1"; + this.Column1.ReadOnly = true; + this.Column1.TrueValue = "1"; + this.Column1.Width = 30; + // + // Id + // + this.Id.DataPropertyName = "ApplyId"; + this.Id.HeaderText = ""; + this.Id.Name = "Id"; + this.Id.ReadOnly = true; + this.Id.Visible = false; + // + // Index + // + this.Index.DataPropertyName = "ApplyId"; + this.Index.HeaderText = ""; + this.Index.Name = "Index"; + this.Index.ReadOnly = true; + this.Index.Visible = false; + this.Index.Width = 40; + // + // DepartmentId + // + this.DepartmentId.DataPropertyName = "ApplyDepName"; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.Font = new System.Drawing.Font("΢ź", 10F); + this.DepartmentId.DefaultCellStyle = dataGridViewCellStyle2; + this.DepartmentId.HeaderText = ""; + this.DepartmentId.Name = "DepartmentId"; + this.DepartmentId.ReadOnly = true; + this.DepartmentId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.DepartmentId.Width = 80; + // + // OperationDoctor + // + this.OperationDoctor.DataPropertyName = "OperationDoctor"; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle3.Font = new System.Drawing.Font("΢ź", 12F); + this.OperationDoctor.DefaultCellStyle = dataGridViewCellStyle3; + this.OperationDoctor.HeaderText = "ҽʦ"; + this.OperationDoctor.Name = "OperationDoctor"; + this.OperationDoctor.ReadOnly = true; + this.OperationDoctor.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.OperationDoctor.Width = 60; + // + // PatientName + // + this.PatientName.DataPropertyName = "PatInfo"; + dataGridViewCellStyle4.Font = new System.Drawing.Font("΢ź", 11F); + this.PatientName.DefaultCellStyle = dataGridViewCellStyle4; + this.PatientName.HeaderText = ""; + this.PatientName.Name = "PatientName"; + this.PatientName.ReadOnly = true; + this.PatientName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.PatientName.Width = 125; + // + // InHospitalNo + // + this.InHospitalNo.DataPropertyName = "MdrecNo"; + dataGridViewCellStyle5.Font = new System.Drawing.Font("΢ź", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.InHospitalNo.DefaultCellStyle = dataGridViewCellStyle5; + this.InHospitalNo.HeaderText = "סԺ"; + this.InHospitalNo.Name = "InHospitalNo"; + this.InHospitalNo.ReadOnly = true; + this.InHospitalNo.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.InHospitalNo.Width = 90; + // + // PlanTime + // + this.PlanTime.DataPropertyName = "ApplyTime"; + this.PlanTime.HeaderText = "ʱ"; + this.PlanTime.Name = "PlanTime"; + this.PlanTime.ReadOnly = true; + this.PlanTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.PlanTime.Width = 90; + // + // Operation + // + this.Operation.DataPropertyName = "ApplyOperationInfoName"; + dataGridViewCellStyle6.Font = new System.Drawing.Font("΢ź", 11F); + dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.Operation.DefaultCellStyle = dataGridViewCellStyle6; + this.Operation.HeaderText = ""; + this.Operation.Name = "Operation"; + this.Operation.ReadOnly = true; + this.Operation.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.Operation.Width = 200; + // + // OrderOperationTime + // + this.OrderOperationTime.DataPropertyName = "OrderOperationTime"; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle7.Font = new System.Drawing.Font("΢ź", 12F); + this.OrderOperationTime.DefaultCellStyle = dataGridViewCellStyle7; + this.OrderOperationTime.HeaderText = "ʱ"; + this.OrderOperationTime.Name = "OrderOperationTime"; + this.OrderOperationTime.ReadOnly = true; + this.OrderOperationTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.OrderOperationTime.Visible = false; + this.OrderOperationTime.Width = 65; + // + // Remark + // + this.Remark.DataPropertyName = "OperationRemark"; + dataGridViewCellStyle8.Font = new System.Drawing.Font("΢ź", 12F); + this.Remark.DefaultCellStyle = dataGridViewCellStyle8; + this.Remark.HeaderText = "ע"; + this.Remark.Name = "Remark"; + this.Remark.ReadOnly = true; + this.Remark.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // AnaesthesiaMethodId + // + this.AnaesthesiaMethodId.DataPropertyName = "AnaesthesiaMethodName"; + this.AnaesthesiaMethodId.HeaderText = "ʩ"; + this.AnaesthesiaMethodId.Name = "AnaesthesiaMethodId"; + this.AnaesthesiaMethodId.ReadOnly = true; + this.AnaesthesiaMethodId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // Diagnose + // + this.Diagnose.DataPropertyName = "ApplyDiagnoseInfoName"; + this.Diagnose.HeaderText = "ǰ"; + this.Diagnose.Name = "Diagnose"; + this.Diagnose.ReadOnly = true; + this.Diagnose.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // OperationType + // + this.OperationType.DataPropertyName = "OperationType"; + this.OperationType.HeaderText = ""; + this.OperationType.Name = "OperationType"; + this.OperationType.ReadOnly = true; + // + // Contagion + // + this.Contagion.DataPropertyName = "Contagion"; + this.Contagion.HeaderText = "Ⱦɸ"; + this.Contagion.Name = "Contagion"; + this.Contagion.ReadOnly = true; + // // frmOperationSchedulePlan // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; diff --git a/AIMS/OperationFront/frmOperationSchedulePlan.resx b/AIMS/OperationFront/frmOperationSchedulePlan.resx index b7a3d62..6341697 100644 --- a/AIMS/OperationFront/frmOperationSchedulePlan.resx +++ b/AIMS/OperationFront/frmOperationSchedulePlan.resx @@ -251,7 +251,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD+ - CAAAAk1TRnQBSQFMAgEBAgEAAdQBEwHUARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + CAAAAk1TRnQBSQFMAgEBAgEAAdwBEwHcARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA @@ -301,9 +301,6 @@ 360, 17 - - 144, 17 - True diff --git a/AIMS/OperationFront/frmPersonSchedul.cs b/AIMS/OperationFront/frmPersonSchedul.cs index ed65c6b..b38e6b1 100644 --- a/AIMS/OperationFront/frmPersonSchedul.cs +++ b/AIMS/OperationFront/frmPersonSchedul.cs @@ -1543,7 +1543,7 @@ namespace AIMS.OperationFront.UI excel.Open(filepath); Microsoft.Office.Interop.Excel.Worksheet xlSheet = (Microsoft.Office.Interop.Excel.Worksheet)excel.Workbooks.ActiveSheet; string strTitle; - strTitle = PublicMethod.GetHospitalName(); + strTitle = PublicMethod.HospitalName; excel.SetCellText(1, "A", strTitle); /*标题*/ diff --git a/AIMS/OperationFront/frmPersonSchedulKeep.cs b/AIMS/OperationFront/frmPersonSchedulKeep.cs index d160df8..5c39d34 100644 --- a/AIMS/OperationFront/frmPersonSchedulKeep.cs +++ b/AIMS/OperationFront/frmPersonSchedulKeep.cs @@ -854,7 +854,7 @@ namespace AIMS.OperationFront.UI excel.Open(filepath); Microsoft.Office.Interop.Excel.Worksheet xlSheet = (Microsoft.Office.Interop.Excel.Worksheet)excel.Workbooks.ActiveSheet; string strTitle; - strTitle = PublicMethod.GetHospitalName() + "职工出(缺)勤表"; + strTitle = PublicMethod.HospitalName + "职工出(缺)勤表"; excel.SetCellText(1, "A", strTitle); excel.SetCellText(2, "E", string.Format("{0} 年 {1} 月", year, month)); int rowsCount = dataTable.Rows.Count; diff --git a/AIMS/OremrUserControl/EventCodeCompilerBill.cs b/AIMS/OremrUserControl/EventCodeCompilerBill.cs index 4670734..4f957d4 100644 --- a/AIMS/OremrUserControl/EventCodeCompilerBill.cs +++ b/AIMS/OremrUserControl/EventCodeCompilerBill.cs @@ -13,6 +13,11 @@ using AIMSBLL; using DataDictionary.UI; using DrawGraph; using System.Xml; +using System.Drawing; +using DCSoftDotfuscate; +using System.Collections; +using DocumentManagement; +using AIMSModel; namespace AIMS { @@ -67,6 +72,73 @@ namespace AIMS } } + //else if (eventSender is XTextImageElement && IsLoad == true) + //{ + // OpenFileDialog openFileDialogEmpImage = new OpenFileDialog(); + // openFileDialogEmpImage.Filter = "*.png|*.png|*.jpg|*.jpg|*.bmp|*.bmp|*.tiff|*.tiff";//图片格式 + // if (openFileDialogEmpImage.ShowDialog() == DialogResult.OK) + // { + // try + // { + // string empUpLoadPictureRealPos = openFileDialogEmpImage.FileName;//实际的文件路径+文件名 + // String[] empImageData = empUpLoadPictureRealPos.Split('.'); + // //empImageData[1]:是上传的图片的后缀名 + // string empUpLoadPictureFormat = empImageData[1]; + // //赋值图片 + // (eventSender as XTextImageElement).Image = new DCSoft.Drawing.XImageValue(Image.FromFile(empUpLoadPictureRealPos)); + // (eventSender as XTextImageElement).Alt = "已签名"; + // (eventSender as XTextImageElement).Title = "8080"; + // (eventSender as XTextImageElement).EditorRefreshView(); + + // //清空图片 + // //(eventSender as XTextImageElement).Image = null; + // //(eventSender as XTextImageElement).Alt = "签名"; + // //(eventSender as XTextImageElement).Title = ""; + // //(eventSender as XTextImageElement).EditorRefreshView(); + + // //属性赋值判断 + // // (eventSender as XTextImageElement).Image.Value==null 判断是否有图片 是否签名 + // // (eventSender as XTextImageElement).Alt =="签名" 改为已签名或签名ID + // // (eventSender as XTextImageElement).Title =="标题" 存储对应ca人员介质 + // // (eventSender as XTextImageElement).ID =="image3" 标识Id用于定位赋值图片 + + // } + // catch + // { + // MessageBox.Show("您选择的图片不能被读取或文件类型不对!", "错误信息", MessageBoxButtons.OK, MessageBoxIcon.Warning); + // } + // } + //} + else if (eventSender is XTextImageElement && IsLoad == true) + { + frmSelectPersonDoc personDoc = new frmSelectPersonDoc(); + personDoc.PersonType = (eventSender as XTextImageElement).Alt == "" ? "麻醉医生" : (eventSender as XTextImageElement).Alt; + personDoc.ShowDialog(); + if (personDoc.SelectPersonData > 0) + { + Person per = BPerson.SelectSingle(personDoc.SelectPersonData); + DCSoft.Drawing.XImageValue img = new DCSoft.Drawing.XImageValue(); + img.ImageDataBase64String = per.SignatureStr; + (eventSender as XTextImageElement).Image = img; + (eventSender as XTextImageElement).Alt = "麻醉医生"; + (eventSender as XTextImageElement).Title = per.Id.ToString(); + (eventSender as XTextImageElement).EditorRefreshView(); + } + else + { + //清空图片 + (eventSender as XTextImageElement).Image = null; + (eventSender as XTextImageElement).Alt = "麻醉医生"; + (eventSender as XTextImageElement).Title = ""; + (eventSender as XTextImageElement).EditorRefreshView(); + } + + //属性赋值判断 + // (eventSender as XTextImageElement).Image.Value==null 判断是否有图片 是否签名 + // (eventSender as XTextImageElement).Alt =="签名" 改为已签名或签名ID + // (eventSender as XTextImageElement).Title =="标题" 存储对应ca人员介质 + // (eventSender as XTextImageElement).ID =="image3" 标识Id用于定位赋值图片 + } } } @@ -181,7 +253,7 @@ namespace AIMS var element = args.Element as XTextInputFieldElement; for (int i = 0; i < QXList.Count; i++) { - if ((element.Name == QXList[i] + "A"|| element.Name == QXList[i] + "B") && element.Text == "0") + if ((element.Name == QXList[i] + "A" || element.Name == QXList[i] + "B") && element.Text == "0") { element.Text = ""; break; diff --git a/AIMSEntity/BLL/Extension/BOperationRecord.cs b/AIMSEntity/BLL/Extension/BOperationRecord.cs index e440707..eff9d9b 100644 --- a/AIMSEntity/BLL/Extension/BOperationRecord.cs +++ b/AIMSEntity/BLL/Extension/BOperationRecord.cs @@ -429,7 +429,7 @@ namespace AIMSBLL messing = EventName + "时间不能大于入室时间48小时 !"; return false; } - else if (EventName != "入室" && EventName != "麻醉开始" && _record.InRoomTime > curTimeTemp)// && OpeState == true + else if (EventName != "入室" && EventName != "麻醉开始" && _record.InRoomTime > curTimeTemp && OpeState == true) { messing = EventName + "时间不能小于入室时间(" + _record.InRoomTime + ") !"; return false; diff --git a/AIMSEntity/DAL/AutoGenerate/DPerson.cs b/AIMSEntity/DAL/AutoGenerate/DPerson.cs index d834552..1e41934 100644 --- a/AIMSEntity/DAL/AutoGenerate/DPerson.cs +++ b/AIMSEntity/DAL/AutoGenerate/DPerson.cs @@ -20,7 +20,7 @@ namespace AIMSDAL internal static int Insert(SqlCommand cmd, Person person) { cmd.Parameters.Clear(); - cmd.CommandText = "insert into Person (No,Name,HelpCode,Sex,PassWord,DepId,RoleId,BirthDay,TimeToWork,Diploma,JobTitle,PersonType,PersonOrder,IsValid,OperatorNo,OperatorName,OperateDate) values (@No,@Name,@HelpCode,@Sex,@PassWord,@DepId,@RoleId,@BirthDay,@TimeToWork,@Diploma,@JobTitle,@PersonType,@PersonOrder,@IsValid,@OperatorNo,@OperatorName,@OperateDate);select @@identity"; + cmd.CommandText = "insert into Person (No,Name,HelpCode,Sex,PassWord,DepId,RoleId,BirthDay,TimeToWork,Diploma,JobTitle,PersonType,PersonOrder,IsValid,OperatorNo,OperatorName,OperateDate,HisNo,SignatureStr,SignatureIndex,Extend1,Extend2,Extend3,Extend4,Extend5) values (@No,@Name,@HelpCode,@Sex,@PassWord,@DepId,@RoleId,@BirthDay,@TimeToWork,@Diploma,@JobTitle,@PersonType,@PersonOrder,@IsValid,@OperatorNo,@OperatorName,@OperateDate,@HisNo,@SignatureStr,@SignatureIndex,@Extend1,@Extend2,@Extend3,@Extend4,@Extend5);select @@identity"; //从实体中取出值放入Command的参数列表 cmd.Parameters.Add(new SqlParameter("@No",person.No==null?(object)DBNull.Value:(object)person.No)); cmd.Parameters.Add(new SqlParameter("@Name",person.Name==null?(object)DBNull.Value:(object)person.Name)); @@ -39,6 +39,14 @@ namespace AIMSDAL cmd.Parameters.Add(new SqlParameter("@OperatorNo",person.OperatorNo==null?(object)DBNull.Value:(object)person.OperatorNo)); cmd.Parameters.Add(new SqlParameter("@OperatorName",person.OperatorName==null?(object)DBNull.Value:(object)person.OperatorName)); cmd.Parameters.Add(new SqlParameter("@OperateDate",person.OperateDate.HasValue?(object)person.OperateDate.Value:(object)DBNull.Value)); + cmd.Parameters.Add(new SqlParameter("@HisNo",person.HisNo==null?(object)DBNull.Value:(object)person.HisNo)); + cmd.Parameters.Add(new SqlParameter("@SignatureStr",person.SignatureStr==null?(object)DBNull.Value:(object)person.SignatureStr)); + cmd.Parameters.Add(new SqlParameter("@SignatureIndex",person.SignatureIndex==null?(object)DBNull.Value:(object)person.SignatureIndex)); + cmd.Parameters.Add(new SqlParameter("@Extend1",person.Extend1==null?(object)DBNull.Value:(object)person.Extend1)); + cmd.Parameters.Add(new SqlParameter("@Extend2",person.Extend2==null?(object)DBNull.Value:(object)person.Extend2)); + cmd.Parameters.Add(new SqlParameter("@Extend3",person.Extend3==null?(object)DBNull.Value:(object)person.Extend3)); + cmd.Parameters.Add(new SqlParameter("@Extend4",person.Extend4==null?(object)DBNull.Value:(object)person.Extend4)); + cmd.Parameters.Add(new SqlParameter("@Extend5",person.Extend5==null?(object)DBNull.Value:(object)person.Extend5)); return Convert.ToInt32(cmd.ExecuteScalar()); } /// @@ -183,7 +191,7 @@ namespace AIMSDAL /// 影响的记录行数 internal static int ExcuteUpdateCommand(SqlCommand cmd, Person person) { - cmd.CommandText = "update Person set No=@No,Name=@Name,HelpCode=@HelpCode,Sex=@Sex,PassWord=@PassWord,DepId=@DepId,RoleId=@RoleId,BirthDay=@BirthDay,TimeToWork=@TimeToWork,Diploma=@Diploma,JobTitle=@JobTitle,PersonType=@PersonType,PersonOrder=@PersonOrder,IsValid=@IsValid,OperatorNo=@OperatorNo,OperatorName=@OperatorName,OperateDate=@OperateDate where Id=@Id"; + cmd.CommandText = "update Person set No=@No,Name=@Name,HelpCode=@HelpCode,Sex=@Sex,PassWord=@PassWord,DepId=@DepId,RoleId=@RoleId,BirthDay=@BirthDay,TimeToWork=@TimeToWork,Diploma=@Diploma,JobTitle=@JobTitle,PersonType=@PersonType,PersonOrder=@PersonOrder,IsValid=@IsValid,OperatorNo=@OperatorNo,OperatorName=@OperatorName,OperateDate=@OperateDate,HisNo=@HisNo,SignatureStr=@SignatureStr,SignatureIndex=@SignatureIndex,Extend1=@Extend1,Extend2=@Extend2,Extend3=@Extend3,Extend4=@Extend4,Extend5=@Extend5 where Id=@Id"; //从实体中取出值放入Command的参数列表 cmd.Parameters.Add(new SqlParameter("@No",person.No==null?(object)DBNull.Value:(object)person.No)); cmd.Parameters.Add(new SqlParameter("@Name",person.Name==null?(object)DBNull.Value:(object)person.Name)); @@ -202,6 +210,14 @@ namespace AIMSDAL cmd.Parameters.Add(new SqlParameter("@OperatorNo",person.OperatorNo==null?(object)DBNull.Value:(object)person.OperatorNo)); cmd.Parameters.Add(new SqlParameter("@OperatorName",person.OperatorName==null?(object)DBNull.Value:(object)person.OperatorName)); cmd.Parameters.Add(new SqlParameter("@OperateDate",person.OperateDate.HasValue?(object)person.OperateDate.Value:(object)DBNull.Value)); + cmd.Parameters.Add(new SqlParameter("@HisNo",person.HisNo==null?(object)DBNull.Value:(object)person.HisNo)); + cmd.Parameters.Add(new SqlParameter("@SignatureStr",person.SignatureStr==null?(object)DBNull.Value:(object)person.SignatureStr)); + cmd.Parameters.Add(new SqlParameter("@SignatureIndex",person.SignatureIndex==null?(object)DBNull.Value:(object)person.SignatureIndex)); + cmd.Parameters.Add(new SqlParameter("@Extend1",person.Extend1==null?(object)DBNull.Value:(object)person.Extend1)); + cmd.Parameters.Add(new SqlParameter("@Extend2",person.Extend2==null?(object)DBNull.Value:(object)person.Extend2)); + cmd.Parameters.Add(new SqlParameter("@Extend3",person.Extend3==null?(object)DBNull.Value:(object)person.Extend3)); + cmd.Parameters.Add(new SqlParameter("@Extend4",person.Extend4==null?(object)DBNull.Value:(object)person.Extend4)); + cmd.Parameters.Add(new SqlParameter("@Extend5",person.Extend5==null?(object)DBNull.Value:(object)person.Extend5)); cmd.Parameters.Add(new SqlParameter("@Id", person.Id)); return cmd.ExecuteNonQuery(); } @@ -674,6 +690,38 @@ namespace AIMSDAL { entity.OperateDate=Convert.ToDateTime(dr["OperateDate"]); } + if(dr["HisNo"]!=System.DBNull.Value) + { + entity.HisNo=dr["HisNo"].ToString(); + } + if(dr["SignatureStr"]!=System.DBNull.Value) + { + entity.SignatureStr=dr["SignatureStr"].ToString(); + } + if(dr["SignatureIndex"]!=System.DBNull.Value) + { + entity.SignatureIndex=dr["SignatureIndex"].ToString(); + } + if(dr["Extend1"]!=System.DBNull.Value) + { + entity.Extend1=dr["Extend1"].ToString(); + } + if(dr["Extend2"]!=System.DBNull.Value) + { + entity.Extend2=dr["Extend2"].ToString(); + } + if(dr["Extend3"]!=System.DBNull.Value) + { + entity.Extend3=dr["Extend3"].ToString(); + } + if(dr["Extend4"]!=System.DBNull.Value) + { + entity.Extend4=dr["Extend4"].ToString(); + } + if(dr["Extend5"]!=System.DBNull.Value) + { + entity.Extend5=dr["Extend5"].ToString(); + } return entity; } } diff --git a/AIMSEntity/DAL/Extension/DPerson.cs b/AIMSEntity/DAL/Extension/DPerson.cs index 6849002..f4a97d4 100644 --- a/AIMSEntity/DAL/Extension/DPerson.cs +++ b/AIMSEntity/DAL/Extension/DPerson.cs @@ -112,7 +112,7 @@ namespace AIMSDAL { StringBuilder strSql = new StringBuilder(); strSql.Append("SELECT p.Id,p.No,p.Name,p.HelpCode,p.Sex,p.PassWord,d.Name AS DepName,r.RoleName,p.BirthDay,p.TimeToWork,"); - strSql.Append("p.Diploma,p.JobTitle,p.PersonType,p.PersonOrder,CASE p.IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid FROM Person p "); + strSql.Append("p.Diploma,p.JobTitle,p.PersonType,p.PersonOrder,CASE p.IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid,SignatureStr FROM Person p "); strSql.Append("LEFT JOIN Department d ON d.Id =p.DepId "); strSql.Append("LEFT JOIN [Role] r ON r.Id = p.RoleId "); if (DeptName == "全部科室") DeptName = ""; diff --git a/AIMSEntity/Extensions/SelectPatient.cs b/AIMSEntity/Extensions/SelectPatient.cs index f43bb33..5ebef36 100644 --- a/AIMSEntity/Extensions/SelectPatient.cs +++ b/AIMSEntity/Extensions/SelectPatient.cs @@ -222,7 +222,7 @@ namespace AIMSBLL } } - if (PublicMethod.GetHospitalName().Contains("金州")) + if (PublicMethod.HospitalName.Contains("金州")) { FactPersonDuty FactPersonDutyObj = new FactPersonDuty(); FactPersonDutyObj.PatientId = PatientId; diff --git a/AIMSEntity/Model/AutoGenerate/Person.cs b/AIMSEntity/Model/AutoGenerate/Person.cs index d271fa9..c5f2434 100644 --- a/AIMSEntity/Model/AutoGenerate/Person.cs +++ b/AIMSEntity/Model/AutoGenerate/Person.cs @@ -26,6 +26,14 @@ namespace AIMSModel private string operatorNo; private string operatorName; private DateTime? operateDate; + private string hisNo; + private string signatureStr; + private string signatureIndex; + private string extend1; + private string extend2; + private string extend3; + private string extend4; + private string extend5; /// @@ -172,5 +180,69 @@ namespace AIMSModel get{ return operateDate; } set{ operateDate=value; } } + /// + /// + /// + public string HisNo + { + get{ return hisNo; } + set{ hisNo=value; } + } + /// + /// + /// + public string SignatureStr + { + get{ return signatureStr; } + set{ signatureStr=value; } + } + /// + /// + /// + public string SignatureIndex + { + get{ return signatureIndex; } + set{ signatureIndex=value; } + } + /// + /// + /// + public string Extend1 + { + get{ return extend1; } + set{ extend1=value; } + } + /// + /// + /// + public string Extend2 + { + get{ return extend2; } + set{ extend2=value; } + } + /// + /// + /// + public string Extend3 + { + get{ return extend3; } + set{ extend3=value; } + } + /// + /// + /// + public string Extend4 + { + get{ return extend4; } + set{ extend4=value; } + } + /// + /// + /// + public string Extend5 + { + get{ return extend5; } + set{ extend5=value; } + } } } diff --git a/AIMSEntity/ObjectQuery/PersonMap.cs b/AIMSEntity/ObjectQuery/PersonMap.cs index 46c26ab..e6d2043 100644 --- a/AIMSEntity/ObjectQuery/PersonMap.cs +++ b/AIMSEntity/ObjectQuery/PersonMap.cs @@ -27,6 +27,14 @@ namespace AIMSObjectQuery dictionary.Add("operatorno", "OperatorNo"); dictionary.Add("operatorname", "OperatorName"); dictionary.Add("operatedate", "OperateDate"); + dictionary.Add("hisno", "HisNo"); + dictionary.Add("signaturestr", "SignatureStr"); + dictionary.Add("signatureindex", "SignatureIndex"); + dictionary.Add("extend1", "Extend1"); + dictionary.Add("extend2", "Extend2"); + dictionary.Add("extend3", "Extend3"); + dictionary.Add("extend4", "Extend4"); + dictionary.Add("extend5", "Extend5"); } #region IMap 成员 diff --git a/AIMSExtension/PublicMethod.cs b/AIMSExtension/PublicMethod.cs index 12fcc62..e6e87f2 100644 --- a/AIMSExtension/PublicMethod.cs +++ b/AIMSExtension/PublicMethod.cs @@ -13,6 +13,7 @@ namespace AIMSExtension { public class PublicMethod { + public static string HospitalName; public static int OperatorId = 1; public static string OperatorNo = "admin"; public static string OperatorName = "admin"; @@ -44,7 +45,7 @@ namespace AIMSExtension return DateTime.Now;// HelperDB.DbHelperSQL.SystemDate(); } - public static string GetHospitalName() + public static string GetHospital() { string strSql = "SELECT HospitalName FROM dbo.HospitalInfo"; DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql); diff --git a/DocumentManagement/DocumentEntity/EventCodeCompiler.cs b/DocumentManagement/DocumentEntity/EventCodeCompiler.cs index e83f8cc..703ed38 100644 --- a/DocumentManagement/DocumentEntity/EventCodeCompiler.cs +++ b/DocumentManagement/DocumentEntity/EventCodeCompiler.cs @@ -9,6 +9,9 @@ using DCSoft.Writer.Controls; using DCSoft.Writer; using DCSoft.Writer.Dom; using System.Windows.Forms; +using System.Runtime.CompilerServices; +using System.Xml; +using HelperDB; namespace DocumentManagement { @@ -23,11 +26,16 @@ namespace DocumentManagement //string strMouseClickEvent = string.Empty; //string strContentChangedEvent = string.Empty; + private XTextInputFieldElement SelElement; + private string SelElementName; + private string SelElementValue; + public bool IsLoad = false; public EventCodeCompiler(ref WriterControl myEditControl, string strMouseClickEvent, string strContentChangedEvent) { eet = new ElementEventTemplate(); eet.MouseClick += new ElementMouseEventHandler(eetChk_MouseClick); + eet.MouseDblClick += Eet_MouseDblClick; eet.ContentChanged += new ContentChangedEventHandler(eet_ContentChanged); myEditControl.GlobalEventTemplate_Element = eet; @@ -175,5 +183,46 @@ namespace DocumentManagement } } + private void Eet_MouseDblClick(object eventSender, ElementMouseEventArgs args) + { + if (eventSender is XTextImageElement && IsLoad == true) + { + frmSelectPersonDoc personDoc = new frmSelectPersonDoc(); + personDoc.PersonType = (eventSender as XTextImageElement).Alt == "" ? "麻醉医生" : (eventSender as XTextImageElement).Alt; + personDoc.ShowDialog(); + if (personDoc.SelectPersonData > 0) + { + int PersonId = personDoc.SelectPersonData; + string SignatureStr = GetSignatureStr(PersonId); + DCSoft.Drawing.XImageValue img = new DCSoft.Drawing.XImageValue(); + img.ImageDataBase64String = SignatureStr; + (eventSender as XTextImageElement).Image = img; + (eventSender as XTextImageElement).Alt = "麻醉医生"; + (eventSender as XTextImageElement).Title = PersonId.ToString(); + (eventSender as XTextImageElement).EditorRefreshView(); + } + else + { + //清空图片 + (eventSender as XTextImageElement).Image = null; + (eventSender as XTextImageElement).Alt = "麻醉医生"; + (eventSender as XTextImageElement).Title = ""; + (eventSender as XTextImageElement).EditorRefreshView(); + } + + //属性赋值判断 + // (eventSender as XTextImageElement).Image.Value==null 判断是否有图片 是否签名 + // (eventSender as XTextImageElement).Alt =="签名" 改为已签名或签名ID + // (eventSender as XTextImageElement).Title =="标题" 存储对应ca人员介质 + // (eventSender as XTextImageElement).ID =="image3" 标识Id用于定位赋值图片 + } + } + public string GetSignatureStr(int SelectPersonData) + { + string SignatureStr = ""; + string sql = "select SignatureStr from Person where id=" + SelectPersonData; + SignatureStr = DBHelper.ExecuteScalar(sql).ToString(); + return SignatureStr; + } } } diff --git a/DocumentManagement/DocumentManagement.csproj b/DocumentManagement/DocumentManagement.csproj index 449ccb1..a390b16 100644 --- a/DocumentManagement/DocumentManagement.csproj +++ b/DocumentManagement/DocumentManagement.csproj @@ -146,6 +146,12 @@ frmParentSelect.cs + + Form + + + frmSelectPerson.cs + Form @@ -203,6 +209,9 @@ frmParentSelect.cs + + frmSelectPerson.cs + frmTemplate.cs diff --git a/DocumentManagement/UI/frmSelectPerson.Designer.cs b/DocumentManagement/UI/frmSelectPerson.Designer.cs new file mode 100644 index 0000000..7de0e99 --- /dev/null +++ b/DocumentManagement/UI/frmSelectPerson.Designer.cs @@ -0,0 +1,210 @@ +namespace DocumentManagement +{ + partial class frmSelectPersonDoc + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.panel1 = new System.Windows.Forms.Panel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.dgvSelectPerson = new System.Windows.Forms.DataGridView(); + this.IdColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.workno = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.label2 = new System.Windows.Forms.Label(); + this.btnOk = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.txtHelpCode = new System.Windows.Forms.TextBox(); + this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); + this.groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvSelectPerson)).BeginInit(); + this.SuspendLayout(); + // + // panel1 + // + 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(398, 482); + this.panel1.TabIndex = 0; + // + // panel2 + // + this.panel2.BackColor = System.Drawing.Color.AliceBlue; + this.panel2.Controls.Add(this.groupBox2); + this.panel2.Controls.Add(this.label2); + this.panel2.Controls.Add(this.btnOk); + this.panel2.Controls.Add(this.label1); + this.panel2.Controls.Add(this.txtHelpCode); + 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(398, 482); + this.panel2.TabIndex = 2; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.dgvSelectPerson); + this.groupBox2.Font = new System.Drawing.Font("宋体", 9.5F); + this.groupBox2.Location = new System.Drawing.Point(3, 48); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(395, 431); + this.groupBox2.TabIndex = 15; + this.groupBox2.TabStop = false; + // + // dgvSelectPerson + // + this.dgvSelectPerson.AllowUserToAddRows = false; + this.dgvSelectPerson.BackgroundColor = System.Drawing.Color.White; + this.dgvSelectPerson.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvSelectPerson.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.IdColumn, + this.CheckBoxColumn, + this.NameColumn, + this.workno}); + this.dgvSelectPerson.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvSelectPerson.Location = new System.Drawing.Point(3, 18); + this.dgvSelectPerson.Name = "dgvSelectPerson"; + this.dgvSelectPerson.RowHeadersVisible = false; + this.dgvSelectPerson.RowTemplate.Height = 23; + this.dgvSelectPerson.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dgvSelectPerson.Size = new System.Drawing.Size(389, 410); + this.dgvSelectPerson.TabIndex = 3; + this.dgvSelectPerson.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectPerson_CellClick); + // + // IdColumn + // + this.IdColumn.DataPropertyName = "Id"; + this.IdColumn.Frozen = true; + this.IdColumn.HeaderText = "Id"; + this.IdColumn.Name = "IdColumn"; + this.IdColumn.ReadOnly = true; + this.IdColumn.Visible = false; + // + // CheckBoxColumn + // + this.CheckBoxColumn.HeaderText = "选择"; + this.CheckBoxColumn.Name = "CheckBoxColumn"; + this.CheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.CheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.CheckBoxColumn.Width = 70; + // + // NameColumn + // + this.NameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.NameColumn.DataPropertyName = "Name"; + this.NameColumn.HeaderText = "名称"; + this.NameColumn.Name = "NameColumn"; + this.NameColumn.ReadOnly = true; + // + // workno + // + this.workno.DataPropertyName = "No"; + this.workno.HeaderText = "工号"; + this.workno.Name = "workno"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("宋体", 12F); + this.label2.Location = new System.Drawing.Point(40, 18); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(39, 16); + this.label2.TabIndex = 7; + this.label2.Text = "查询"; + // + // btnOk + // + this.btnOk.Font = new System.Drawing.Font("宋体", 9.5F); + this.btnOk.Location = new System.Drawing.Point(290, 12); + this.btnOk.Name = "btnOk"; + this.btnOk.Size = new System.Drawing.Size(80, 30); + this.btnOk.TabIndex = 6; + this.btnOk.Text = "确定"; + this.btnOk.UseVisualStyleBackColor = true; + this.btnOk.Click += new System.EventHandler(this.btnOk_Click); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(-75, 127); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(53, 12); + this.label1.TabIndex = 5; + this.label1.Text = "诊断查询"; + // + // txtHelpCode + // + this.txtHelpCode.Font = new System.Drawing.Font("宋体", 12F); + this.txtHelpCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.txtHelpCode.Location = new System.Drawing.Point(86, 14); + this.txtHelpCode.Name = "txtHelpCode"; + this.txtHelpCode.Size = new System.Drawing.Size(192, 26); + this.txtHelpCode.TabIndex = 4; + this.txtHelpCode.Click += new System.EventHandler(this.txtHelpCode_Click); + this.txtHelpCode.TextChanged += new System.EventHandler(this.txtHelpCode_TextChanged); + // + // frmSelectPersonDoc + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(398, 482); + this.Controls.Add(this.panel1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "frmSelectPersonDoc"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Load += new System.EventHandler(this.frmSelectPersonDoc_Load); + this.panel1.ResumeLayout(false); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.groupBox2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvSelectPerson)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Button btnOk; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox txtHelpCode; + private System.Windows.Forms.DataGridView dgvSelectPerson; + private System.Windows.Forms.DataGridViewTextBoxColumn IdColumn; + private System.Windows.Forms.DataGridViewCheckBoxColumn CheckBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn workno; + } +} \ No newline at end of file diff --git a/DocumentManagement/UI/frmSelectPerson.cs b/DocumentManagement/UI/frmSelectPerson.cs new file mode 100644 index 0000000..1ce09e7 --- /dev/null +++ b/DocumentManagement/UI/frmSelectPerson.cs @@ -0,0 +1,111 @@ +using System; +using System.Collections.Generic; +using System.Data; +using System.Drawing; +using System.Windows.Forms; + +namespace DocumentManagement +{ + public partial class frmSelectPersonDoc : Form + { + /// + /// 医生 麻醉医生 麻醉护士 + /// + public string PersonType = ""; + public int SelectPersonData ; + + public frmSelectPersonDoc() + { + InitializeComponent(); + } + + private void frmSelectPersonDoc_Load(object sender, EventArgs e) + { + SetDgvAttribute(dgvSelectPerson); + + dgvSelectPerson.Select(); + this.txtHelpCode.Text = "简拼/汉字/ICD码"; + + for (int i = 0; i < dgvSelectPerson.Rows.Count; i++) + { + if (SelectPersonData==int.Parse(dgvSelectPerson.Rows[i].Cells["IdColumn"].Value.ToString())) + { + dgvSelectPerson.Rows[i].Cells["CheckBoxColumn"].Value = true; + } + } + } + + private void txtHelpCode_Click(object sender, EventArgs e) + { + this.txtHelpCode.Text = ""; + this.txtHelpCode.ForeColor = Color.Black; + } + + private void btnOk_Click(object sender, EventArgs e) + { + Close(); + } + + private void txtHelpCode_TextChanged(object sender, EventArgs e) + { + dgvSelectPerson.DataSource = GetPersonDataTableByDepId( txtHelpCode.Text.Trim(), PersonType); + } + + private void dgvSelectPerson_CellClick(object sender, DataGridViewCellEventArgs e) + { + if (Convert.ToBoolean(dgvSelectPerson.CurrentRow.Cells["CheckBoxColumn"].EditedFormattedValue) == false) + { + SelectPersonData=int.Parse(dgvSelectPerson.CurrentRow.Cells["IdColumn"].Value.ToString()); + dgvSelectPerson.CurrentRow.Cells["CheckBoxColumn"].Value = true; + } + else + { + SelectPersonData = -1; + dgvSelectPerson.CurrentRow.Cells["CheckBoxColumn"].Value = false; + } + } + public static void SetDgvAttribute(System.Windows.Forms.DataGridView dgv) + { + dgv.AllowUserToResizeColumns = false; + dgv.AllowUserToResizeRows = false; + dgv.AllowUserToAddRows = false; + dgv.AllowUserToDeleteRows = false; + dgv.ReadOnly = true; + dgv.BackgroundColor = System.Drawing.Color.Snow; + + } + public static DataTable GetPersonDataTableByDepId( string HelpCode, string PersonType) + { + string strSql = ""; + + if (HelpCode == "简拼/汉字/ICD码") + { + HelpCode = ""; + } + if (PersonType == "医生") + { + strSql = "SELECT p.Id,p.Name,p.[No] FROM Person p WHERE p.IsValid=1 AND p.PersonType ='医生' AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%')"; + } + if (PersonType == "麻醉医生") + { + strSql = "SELECT p.Id,p.Name,p.[No] FROM Person p WHERE p.IsValid=1 AND p.PersonType ='麻醉医生' AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%')"; + } + if (PersonType == "麻醉护士") + { + strSql = "SELECT p.Id,p.Name,p.[No] FROM Person p WHERE p.IsValid=1 AND p.PersonType ='麻醉护士' AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%')"; + + } + if (PersonType == "手术室护士") + { + strSql = "SELECT p.Id,p.Name,p.[No] FROM Person p WHERE p.IsValid=1 AND p.PersonType ='手术室护士' AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%')"; + + } + if (PersonType == "护士") + { + strSql = "SELECT p.Id,p.Name,p.[No] FROM Person p WHERE p.IsValid=1 AND p.PersonType like '%护士%' AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%')"; + } + return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); + } + + } +} diff --git a/DocumentManagement/UI/frmSelectPerson.resx b/DocumentManagement/UI/frmSelectPerson.resx new file mode 100644 index 0000000..69c6b57 --- /dev/null +++ b/DocumentManagement/UI/frmSelectPerson.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + True + + + True + + + True + + \ No newline at end of file diff --git a/DrawGraph/AreaManage/IconManage.cs b/DrawGraph/AreaManage/IconManage.cs index 276163a..8b6393d 100644 --- a/DrawGraph/AreaManage/IconManage.cs +++ b/DrawGraph/AreaManage/IconManage.cs @@ -45,10 +45,11 @@ namespace DrawGraph eventendy = H5pack.RealEndY; } IconPpack = template.GetPackObjectOTag("IconManage_RectangleFramePackObj_2"); - if (IconPpack != null) + if (IconPpack != null) { eventy = IconPpack.RealY; eventendy = IconPpack.RealEndY; + eventendX = IconPpack.RealEndX + 0.02; } LinePackObj line = template.GetPackObjectOTag("IconManage_LinePackObj_6"); if (line != null) @@ -125,7 +126,7 @@ namespace DrawGraph double span = getYPositionByListIndex(1, eventy, eventendy, 2); List eventListstr = new List(); eventListstr.Add("【事件】"); - myOpeRecord.FactEventsList.Sort(new FactEventsComparer()); + myOpeRecord.FactEventsList.Sort(new FactEventsComparer()); //循环加药集体 for (int i = 0; i < myOpeRecord.FactEventsList.Count; i++) { diff --git a/DrawGraphManagement/AIMS.xml b/DrawGraphManagement/AIMS.xml index a1d6e41..71c6330 100644 --- a/DrawGraphManagement/AIMS.xml +++ b/DrawGraphManagement/AIMS.xml @@ -1,6 +1,6 @@  - Data Source=.;Initial Catalog=AIMSDB_QHDSGRYY;User ID=sa;Password=Test2020; + Data Source=.;Initial Catalog=AIMSDB_DLSJZQZYYY;User ID=sa;Password=Test2020; Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020; Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39;