using AIMS.OperationAfter.UI; using AIMS.OremrUserControl; using AIMSBLL; using AIMSExtension; using AIMSModel; using DevComponents.DotNetBar; using DevComponents.DotNetBar.Controls; using DevComponents.DotNetBar.SuperGrid; using HelperDB; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace AIMS.OperationFront.UI { public partial class frmOperationSchedulePlan : Form { #region Designer private DevComponents.DotNetBar.NavigationPane navigationPane1; private DevComponents.DotNetBar.ButtonItem buttonItem1; private DevComponents.DotNetBar.NavigationPanePanel navigationPanePanel1; private DevComponents.DotNetBar.ButtonItem buttonItemAnas; private DevComponents.DotNetBar.NavigationPanePanel navigationPanePanel2; private DevComponents.DotNetBar.ButtonItem buttonInstrumentNurse; private DevComponents.DotNetBar.NavigationPanePanel navigationPanePanel4; private DevComponents.DotNetBar.ButtonItem buttonItemTourNurse; private DevComponents.DotNetBar.NavigationPanePanel navigationPanePanel5; private System.Windows.Forms.ImageList imageList1; //private StyleManager styleManager1; private System.ComponentModel.IContainer components = null; private GroupBox groupBoxsel; private Panel panel3; private GroupBox groupBox1; private Panel panel2; private DataGridView dgvWorkers; private GroupBox v; private Panel panel5; private GroupBox groupBox2; private Panel panel4; private ButtonX btnBeforeDay; private ButtonX btnAfterDay; private DevComponents.Editors.DateTimeAdv.DateTimeInput dateTimeInput1; private DevComponents.DotNetBar.Controls.TextBoxX textBoxX2; private DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn2; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn14; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn15; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn17; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn16; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn18; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn19; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn20; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn21; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn22; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn23; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn24; private DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn12; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn13; private LabelX txtjs; private LabelX labelX1; private LabelX labelX2; private LabelX labelX3; private DevComponents.Editors.DateTimeAdv.DateTimeInput dateTimeInput2; private TextBoxX textBoxX3; private TextBoxX textBoxX4; private LabelX labelX4; private LabelX labelX5; private DevComponents.Editors.DateTimeAdv.DateTimeInput dateTimeInput3; private Panel panlemian; private Panel panel1; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn25; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn26; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn27; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn28; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn29; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn30; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn31; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn32; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn33; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn34; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn35; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn36; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn37; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn38; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn39; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn40; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn41; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn42; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn43; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn44; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn45; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn46; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn47; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn48; private DataGridView dgvInstrumentNurse; private DataGridView dgvTourNurse; private Panel tcOperationRoomsPage; private Panel tcOperationRoomsPage2; private Panel tcOperationRoomsPage1; private ButtonX buttonX3; private ButtonX buttonX5; private ButtonX buttonX4; private SuperTabControl tabScheduling; private SuperTabControlPanel superTabControlPanel1; private SuperTabItem superTabItem1; private SuperTabControlPanel superTabControlPanel3; private Panel tcOperationRoomsPage3; private SuperTabItem superTabItem3; private SuperTabControlPanel superTabControlPanel2; private SuperTabItem superTabItem2; private SuperTabControlPanel superTabControlPanel4; private Panel tcOperationRoomsPage4; private SuperTabItem superTabItem4; private ComboBoxEx comboBoxExRoom; private TextBoxX txtQuery; private Label labelWeek; private System.Windows.Forms.ToolTip toolTip1; private DataGridViewX dgvApplyOrDoctor; private SuperTabControlPanel superTabControlPanel8; private SuperTabItem superTabItem8; private SuperTabControlPanel superTabControlPanel7; private SuperTabItem superTabItem7; private SuperTabControlPanel superTabControlPanel6; private SuperTabItem superTabItem6; private SuperTabControlPanel superTabControlPanel5; private SuperTabItem superTabItem5; private Panel tcOperationRoomsPage8; private Panel tcOperationRoomsPage7; private Panel tcOperationRoomsPage6; private Panel tcOperationRoomsPage5; private SplitContainer spcMain; private SplitContainer spcLeft; private DevComponents.DotNetBar.SuperGrid.SuperGridControl dgvDetail; private DevComponents.DotNetBar.SuperGrid.GridColumn colId; private DevComponents.DotNetBar.SuperGrid.GridColumn colTable; private DevComponents.DotNetBar.SuperGrid.GridColumn colPatient; private DevComponents.DotNetBar.SuperGrid.GridColumn colOperateDoctor; private DevComponents.DotNetBar.SuperGrid.GridColumn colOperationName; private DevComponents.DotNetBar.SuperGrid.GridColumn colOperationTime; private DevComponents.DotNetBar.SuperGrid.GridColumn colAnesthesiaDoctor; private DevComponents.DotNetBar.SuperGrid.GridColumn colInstrumentNurse; private DevComponents.DotNetBar.SuperGrid.GridColumn colTourNurse; private DevComponents.DotNetBar.SuperGrid.GridColumn colRemarks; private DevComponents.DotNetBar.SuperGrid.GridColumn colDel; private SplitContainer spcUP; private RichTextBoxEx rtbLog; private Button btnReOrderPlanOperationUP; private Button btnReOrderPlanOperationDown; private DataGridViewCheckBoxColumn Check; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; private DataGridViewTextBoxColumn oName; private DataGridViewTextBoxColumn DepartmentRefName; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; private DataGridViewTextBoxColumn Mon; private DataGridViewTextBoxColumn Tues; private DataGridViewTextBoxColumn Wed; private DataGridViewTextBoxColumn Thurs; private DataGridViewTextBoxColumn Fri; private DataGridViewTextBoxColumn Sat; private DataGridViewTextBoxColumn Sun; private ContextMenuStrip ctsThisRoom; private DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn3; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn49; private DataGridViewTextBoxColumn iName; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn51; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn52; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn53; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn54; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn55; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn56; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn57; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn58; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn59; private DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn4; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn60; private DataGridViewTextBoxColumn tName; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn62; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn63; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn64; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn65; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn66; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn67; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn68; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn69; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn70; private ToolStripMenuItem mnuCancelINurse; private ToolStripMenuItem mnuCancelTNurse; private ToolStripMenuItem mnuCancelADoctor; private Label label14; private Label label15; private GridColumn colHospitalNo; private Label lblcount; private ToolStripMenuItem mnuChangeOptRoomTo; private GridColumn gridColumn1; private ContextMenuStrip contextMenuStrip1; private ToolStripMenuItem 取消排程通过ToolStripMenuItem; private Label label3; private GridColumn gridColumn2; private ToolStrip toolStrip1; private ToolStripButton tsbNewOperationApply; private ToolStripButton tsbModifyOperationApply; private ToolStripButton tsbCancelOperationApply; private ToolStripSeparator toolStripSeparator4; private ToolStripButton btnpass; private ToolStripSeparator toolStripSeparator3; private ToolStripButton btnPlan; private ToolStripSeparator toolStripSeparator2; private ToolStripButton btnDataCente; private ToolStripButton button3; private ComboBoxEx CboOperationSite; private Label labelSite; private ToolStripSeparator toolStripSeparator1; private ToolStripButton tspSetting; private DataGridViewCheckBoxColumn Column1; private DataGridViewTextBoxColumn Id; private DataGridViewTextBoxColumn Index; private DataGridViewTextBoxColumn DepartmentId; private DataGridViewTextBoxColumn OperationDoctor; private DataGridViewTextBoxColumn PatientName; private DataGridViewTextBoxColumn InHospitalNo; private DataGridViewTextBoxColumn PlanTime; private DataGridViewTextBoxColumn Operation; private DataGridViewTextBoxColumn OrderOperationTime; private DataGridViewTextBoxColumn Remark; private DataGridViewTextBoxColumn AnaesthesiaMethodId; private DataGridViewTextBoxColumn Diagnose; private DataGridViewTextBoxColumn OperationType; private DataGridViewTextBoxColumn Contagion; private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpSearchTime; /// /// Clean up any resources being used. /// protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); } protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.ExStyle |= 0x02000000; return cp; } } #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.components = new System.ComponentModel.Container(); 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 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(); 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 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(); 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(); this.comboBoxExRoom = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.dtpSearchTime = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); this.btnBeforeDay = new DevComponents.DotNetBar.ButtonX(); this.btnAfterDay = new DevComponents.DotNetBar.ButtonX(); this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); this.navigationPanePanel4 = new DevComponents.DotNetBar.NavigationPanePanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.dgvInstrumentNurse = new System.Windows.Forms.DataGridView(); this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.dataGridViewTextBoxColumn49 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.iName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn51 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn52 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn53 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn54 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn55 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn56 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn57 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn58 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn59 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.buttonX4 = new DevComponents.DotNetBar.ButtonX(); this.labelX2 = new DevComponents.DotNetBar.LabelX(); this.labelX3 = new DevComponents.DotNetBar.LabelX(); this.dateTimeInput2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); this.textBoxX3 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.buttonInstrumentNurse = new DevComponents.DotNetBar.ButtonItem(); this.navigationPanePanel5 = new DevComponents.DotNetBar.NavigationPanePanel(); this.v = new System.Windows.Forms.GroupBox(); this.dgvTourNurse = new System.Windows.Forms.DataGridView(); this.dataGridViewCheckBoxColumn4 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.dataGridViewTextBoxColumn60 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn62 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn63 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn64 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn65 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn66 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn67 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn68 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn69 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn70 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel5 = new System.Windows.Forms.Panel(); this.buttonX5 = new DevComponents.DotNetBar.ButtonX(); this.labelX4 = new DevComponents.DotNetBar.LabelX(); this.labelX5 = new DevComponents.DotNetBar.LabelX(); this.dateTimeInput3 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); this.textBoxX4 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.buttonItemTourNurse = new DevComponents.DotNetBar.ButtonItem(); this.navigationPanePanel2 = new DevComponents.DotNetBar.NavigationPanePanel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dgvWorkers = new System.Windows.Forms.DataGridView(); this.Check = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.oName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.DepartmentRefName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Mon = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Tues = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Wed = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Thurs = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Fri = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Sat = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Sun = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel2 = new System.Windows.Forms.Panel(); this.buttonX3 = new DevComponents.DotNetBar.ButtonX(); this.txtjs = new DevComponents.DotNetBar.LabelX(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.dateTimeInput1 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); this.textBoxX2 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.buttonItemAnas = new DevComponents.DotNetBar.ButtonItem(); this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.panlemian = new System.Windows.Forms.Panel(); this.label15 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.btnReOrderPlanOperationDown = new System.Windows.Forms.Button(); this.btnReOrderPlanOperationUP = new System.Windows.Forms.Button(); this.dgvDetail = new DevComponents.DotNetBar.SuperGrid.SuperGridControl(); this.ctsThisRoom = new System.Windows.Forms.ContextMenuStrip(this.components); this.mnuChangeOptRoomTo = new System.Windows.Forms.ToolStripMenuItem(); this.mnuCancelADoctor = new System.Windows.Forms.ToolStripMenuItem(); this.mnuCancelINurse = new System.Windows.Forms.ToolStripMenuItem(); this.mnuCancelTNurse = new System.Windows.Forms.ToolStripMenuItem(); this.colId = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colTable = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colPatient = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colHospitalNo = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.gridColumn1 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colOperateDoctor = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colOperationName = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colOperationTime = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colAnesthesiaDoctor = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colInstrumentNurse = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colTourNurse = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colRemarks = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colDel = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.gridColumn2 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.panel1 = new System.Windows.Forms.Panel(); this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.labelSite = new System.Windows.Forms.Label(); this.lblcount = new System.Windows.Forms.Label(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.tsbNewOperationApply = new System.Windows.Forms.ToolStripButton(); this.tsbModifyOperationApply = new System.Windows.Forms.ToolStripButton(); this.tsbCancelOperationApply = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.btnpass = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.btnPlan = new System.Windows.Forms.ToolStripButton(); this.button3 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.btnDataCente = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.tspSetting = new System.Windows.Forms.ToolStripButton(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.取消排程通过ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tcOperationRoomsPage = new System.Windows.Forms.Panel(); this.tabScheduling = new DevComponents.DotNetBar.SuperTabControl(); this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.tcOperationRoomsPage1 = new System.Windows.Forms.Panel(); this.superTabItem1 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.tcOperationRoomsPage2 = new System.Windows.Forms.Panel(); this.superTabItem2 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel8 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.tcOperationRoomsPage8 = new System.Windows.Forms.Panel(); this.superTabItem8 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel7 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.tcOperationRoomsPage7 = new System.Windows.Forms.Panel(); this.superTabItem7 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel6 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.tcOperationRoomsPage6 = new System.Windows.Forms.Panel(); this.superTabItem6 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel5 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.tcOperationRoomsPage5 = new System.Windows.Forms.Panel(); this.superTabItem5 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.tcOperationRoomsPage4 = new System.Windows.Forms.Panel(); this.superTabItem4 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.tcOperationRoomsPage3 = new System.Windows.Forms.Panel(); this.superTabItem3 = new DevComponents.DotNetBar.SuperTabItem(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.spcMain = new System.Windows.Forms.SplitContainer(); this.spcLeft = new System.Windows.Forms.SplitContainer(); this.spcUP = new System.Windows.Forms.SplitContainer(); this.rtbLog = new DevComponents.DotNetBar.Controls.RichTextBoxEx(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn34 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn35 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn36 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn37 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn38 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn39 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn40 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn41 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn43 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn44 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn45 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn46 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn47 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn48 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.navigationPane1.SuspendLayout(); this.navigationPanePanel1.SuspendLayout(); this.groupBoxsel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvApplyOrDoctor)).BeginInit(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dtpSearchTime)).BeginInit(); this.navigationPanePanel4.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvInstrumentNurse)).BeginInit(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput2)).BeginInit(); this.navigationPanePanel5.SuspendLayout(); this.v.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvTourNurse)).BeginInit(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput3)).BeginInit(); this.navigationPanePanel2.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvWorkers)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput1)).BeginInit(); this.panlemian.SuspendLayout(); this.ctsThisRoom.SuspendLayout(); this.panel1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.tcOperationRoomsPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabScheduling)).BeginInit(); this.tabScheduling.SuspendLayout(); this.superTabControlPanel1.SuspendLayout(); this.superTabControlPanel2.SuspendLayout(); this.superTabControlPanel8.SuspendLayout(); this.superTabControlPanel7.SuspendLayout(); this.superTabControlPanel6.SuspendLayout(); this.superTabControlPanel5.SuspendLayout(); this.superTabControlPanel4.SuspendLayout(); this.superTabControlPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.spcMain)).BeginInit(); this.spcMain.Panel1.SuspendLayout(); this.spcMain.Panel2.SuspendLayout(); this.spcMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.spcLeft)).BeginInit(); this.spcLeft.Panel1.SuspendLayout(); this.spcLeft.Panel2.SuspendLayout(); this.spcLeft.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.spcUP)).BeginInit(); this.spcUP.Panel1.SuspendLayout(); this.spcUP.Panel2.SuspendLayout(); this.spcUP.SuspendLayout(); this.SuspendLayout(); // // navigationPane1 // this.navigationPane1.AutoSizeButtonImage = false; this.navigationPane1.BackColor = System.Drawing.SystemColors.Control; this.navigationPane1.ConfigureAddRemoveVisible = false; this.navigationPane1.ConfigureItemVisible = false; this.navigationPane1.ConfigureNavOptionsVisible = false; this.navigationPane1.ConfigureShowHideVisible = false; this.navigationPane1.Controls.Add(this.navigationPanePanel1); this.navigationPane1.Controls.Add(this.navigationPanePanel4); this.navigationPane1.Controls.Add(this.navigationPanePanel5); this.navigationPane1.Controls.Add(this.navigationPanePanel2); this.navigationPane1.Dock = System.Windows.Forms.DockStyle.Fill; this.navigationPane1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.navigationPane1.ForeColor = System.Drawing.Color.Black; this.navigationPane1.ImageSizeSummaryLine = new System.Drawing.Size(25, 25); this.navigationPane1.ItemPaddingBottom = 2; this.navigationPane1.ItemPaddingTop = 2; this.navigationPane1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem1, this.buttonItemAnas, this.buttonInstrumentNurse, this.buttonItemTourNurse}); this.navigationPane1.Location = new System.Drawing.Point(0, 0); this.navigationPane1.Name = "navigationPane1"; this.navigationPane1.NavigationBarHeight = 190; this.navigationPane1.Padding = new System.Windows.Forms.Padding(1); this.navigationPane1.Size = new System.Drawing.Size(320, 737); this.navigationPane1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPane1.TabIndex = 0; // // // this.navigationPane1.TitlePanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.navigationPane1.TitlePanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPane1.TitlePanel.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPane1.TitlePanel.Dock = System.Windows.Forms.DockStyle.Top; this.navigationPane1.TitlePanel.Font = new System.Drawing.Font("微软雅黑", 11.5F, System.Drawing.FontStyle.Bold); this.navigationPane1.TitlePanel.Location = new System.Drawing.Point(1, 1); this.navigationPane1.TitlePanel.Margin = new System.Windows.Forms.Padding(1); this.navigationPane1.TitlePanel.Name = "panelEx1"; this.navigationPane1.TitlePanel.Size = new System.Drawing.Size(347, 26); this.navigationPane1.TitlePanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.navigationPane1.TitlePanel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(56)))), ((int)(((byte)(148))))); this.navigationPane1.TitlePanel.Style.Border = DevComponents.DotNetBar.eBorderType.RaisedInner; this.navigationPane1.TitlePanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.navigationPane1.TitlePanel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom; this.navigationPane1.TitlePanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.navigationPane1.TitlePanel.Style.GradientAngle = 90; this.navigationPane1.TitlePanel.Style.MarginLeft = 4; this.navigationPane1.TitlePanel.TabIndex = 0; this.navigationPane1.TitlePanel.Text = "当前申请"; this.navigationPane1.TitlePanel.Visible = false; // // navigationPanePanel1 // this.navigationPanePanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPanePanel1.Controls.Add(this.groupBoxsel); this.navigationPanePanel1.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPanePanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.navigationPanePanel1.Font = new System.Drawing.Font("微软雅黑", 8.5F); this.navigationPanePanel1.Location = new System.Drawing.Point(1, 1); this.navigationPanePanel1.Margin = new System.Windows.Forms.Padding(0); this.navigationPanePanel1.Name = "navigationPanePanel1"; this.navigationPanePanel1.ParentItem = this.buttonItem1; this.navigationPanePanel1.Size = new System.Drawing.Size(318, 545); this.navigationPanePanel1.Style.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.navigationPanePanel1.Style.BackColor2.Color = System.Drawing.Color.DodgerBlue; this.navigationPanePanel1.Style.BackgroundImagePosition = DevComponents.DotNetBar.eBackgroundImagePosition.Center; this.navigationPanePanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.navigationPanePanel1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.navigationPanePanel1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.navigationPanePanel1.Style.GradientAngle = 90; this.navigationPanePanel1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel1.StyleMouseDown.CornerDiameter = 30; this.navigationPanePanel1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel1.TabIndex = 2; // // groupBoxsel // this.groupBoxsel.BackColor = System.Drawing.Color.White; this.groupBoxsel.Controls.Add(this.dgvApplyOrDoctor); this.groupBoxsel.Controls.Add(this.panel3); this.groupBoxsel.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBoxsel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.groupBoxsel.Font = new System.Drawing.Font("微软雅黑", 10F); this.groupBoxsel.Location = new System.Drawing.Point(0, 0); this.groupBoxsel.Margin = new System.Windows.Forms.Padding(0); this.groupBoxsel.Name = "groupBoxsel"; this.groupBoxsel.Padding = new System.Windows.Forms.Padding(0); this.groupBoxsel.Size = new System.Drawing.Size(318, 545); this.groupBoxsel.TabIndex = 459; this.groupBoxsel.TabStop = false; this.groupBoxsel.Text = "当前申请"; // // dgvApplyOrDoctor // this.dgvApplyOrDoctor.AllowUserToAddRows = false; this.dgvApplyOrDoctor.AllowUserToResizeRows = false; this.dgvApplyOrDoctor.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; this.dgvApplyOrDoctor.BackgroundColor = System.Drawing.Color.White; this.dgvApplyOrDoctor.BorderStyle = System.Windows.Forms.BorderStyle.None; 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, this.Id, this.Index, this.DepartmentId, this.OperationDoctor, this.PatientName, this.InHospitalNo, this.PlanTime, this.Operation, this.OrderOperationTime, this.Remark, this.AnaesthesiaMethodId, this.Diagnose, this.OperationType, this.Contagion}); 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)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dgvApplyOrDoctor.Location = new System.Drawing.Point(0, 89); this.dgvApplyOrDoctor.Name = "dgvApplyOrDoctor"; this.dgvApplyOrDoctor.ReadOnly = true; 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; this.dgvApplyOrDoctor.Size = new System.Drawing.Size(318, 456); this.dgvApplyOrDoctor.TabIndex = 74; this.dgvApplyOrDoctor.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvApplyOrDoctor_CellClick); 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"; 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; // // panel3 // this.panel3.BackColor = System.Drawing.Color.White; this.panel3.Controls.Add(this.labelWeek); this.panel3.Controls.Add(this.txtQuery); this.panel3.Controls.Add(this.comboBoxExRoom); this.panel3.Controls.Add(this.dtpSearchTime); this.panel3.Controls.Add(this.btnBeforeDay); this.panel3.Controls.Add(this.btnAfterDay); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 18); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(318, 71); this.panel3.TabIndex = 2; // // labelWeek // this.labelWeek.AutoSize = true; this.labelWeek.Font = new System.Drawing.Font("微软雅黑", 11.2F); this.labelWeek.ForeColor = System.Drawing.Color.Red; this.labelWeek.Location = new System.Drawing.Point(153, 41); this.labelWeek.Name = "labelWeek"; this.labelWeek.Size = new System.Drawing.Size(0, 20); this.labelWeek.TabIndex = 457; // // txtQuery // this.txtQuery.BackColor = System.Drawing.Color.White; // // // this.txtQuery.Border.Class = "TextBoxBorder"; this.txtQuery.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtQuery.DisabledBackColor = System.Drawing.Color.White; this.txtQuery.ForeColor = System.Drawing.Color.Black; this.txtQuery.Location = new System.Drawing.Point(192, 40); this.txtQuery.Name = "txtQuery"; this.txtQuery.PreventEnterBeep = true; this.txtQuery.Size = new System.Drawing.Size(151, 25); this.txtQuery.TabIndex = 456; this.txtQuery.WatermarkText = "术者姓名/简拼"; this.txtQuery.TextChanged += new System.EventHandler(this.txtQuery_TextChanged); // // comboBoxExRoom // this.comboBoxExRoom.DisplayMember = "Text"; this.comboBoxExRoom.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxExRoom.ForeColor = System.Drawing.Color.Black; this.comboBoxExRoom.FormattingEnabled = true; this.comboBoxExRoom.ItemHeight = 19; this.comboBoxExRoom.Location = new System.Drawing.Point(191, 39); this.comboBoxExRoom.Name = "comboBoxExRoom"; this.comboBoxExRoom.Size = new System.Drawing.Size(153, 25); this.comboBoxExRoom.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.comboBoxExRoom.TabIndex = 455; this.comboBoxExRoom.Visible = false; // // dtpSearchTime // // // // this.dtpSearchTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dtpSearchTime.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; this.dtpSearchTime.ButtonDropDown.Visible = true; this.dtpSearchTime.FocusHighlightColor = System.Drawing.Color.White; this.dtpSearchTime.IsPopupCalendarOpen = false; this.dtpSearchTime.Location = new System.Drawing.Point(11, 39); // // // // // // this.dtpSearchTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.dtpSearchTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dtpSearchTime.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); // // // this.dtpSearchTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dtpSearchTime.Name = "dtpSearchTime"; this.dtpSearchTime.Size = new System.Drawing.Size(141, 25); this.dtpSearchTime.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.dtpSearchTime.TabIndex = 453; // // btnBeforeDay // this.btnBeforeDay.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnBeforeDay.Font = new System.Drawing.Font("微软雅黑", 11F); this.btnBeforeDay.Location = new System.Drawing.Point(11, 7); this.btnBeforeDay.Name = "btnBeforeDay"; this.btnBeforeDay.Size = new System.Drawing.Size(160, 29); this.btnBeforeDay.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnBeforeDay.TabIndex = 451; this.btnBeforeDay.Text = "前一天"; this.btnBeforeDay.Click += new System.EventHandler(this.btnBeforeDay_Click); // // btnAfterDay // this.btnAfterDay.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnAfterDay.Font = new System.Drawing.Font("微软雅黑", 11F); this.btnAfterDay.Location = new System.Drawing.Point(177, 8); this.btnAfterDay.Name = "btnAfterDay"; this.btnAfterDay.Size = new System.Drawing.Size(167, 29); this.btnAfterDay.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnAfterDay.TabIndex = 451; this.btnAfterDay.Text = "后一天"; this.btnAfterDay.Click += new System.EventHandler(this.btnAfterDay_Click); // // buttonItem1 // this.buttonItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItem1.Checked = true; this.buttonItem1.Image = global::AIMSControls.Properties.Resources.Table1; this.buttonItem1.ImagePaddingHorizontal = 15; this.buttonItem1.ImagePaddingVertical = 0; this.buttonItem1.Name = "buttonItem1"; this.buttonItem1.NotificationMarkPosition = DevComponents.DotNetBar.eNotificationMarkPosition.BottomLeft; this.buttonItem1.OptionGroup = "navBar"; this.buttonItem1.SubItemsExpandWidth = 11; this.buttonItem1.Text = "当前申请"; this.buttonItem1.Click += new System.EventHandler(this.buttonItemApply_Click); // // navigationPanePanel4 // this.navigationPanePanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPanePanel4.Controls.Add(this.groupBox2); this.navigationPanePanel4.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPanePanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.navigationPanePanel4.Location = new System.Drawing.Point(1, 1); this.navigationPanePanel4.Margin = new System.Windows.Forms.Padding(0); this.navigationPanePanel4.Name = "navigationPanePanel4"; this.navigationPanePanel4.ParentItem = this.buttonInstrumentNurse; this.navigationPanePanel4.Size = new System.Drawing.Size(318, 545); this.navigationPanePanel4.Style.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.navigationPanePanel4.Style.BackgroundImagePosition = DevComponents.DotNetBar.eBackgroundImagePosition.Tile; this.navigationPanePanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.navigationPanePanel4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.navigationPanePanel4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.navigationPanePanel4.Style.GradientAngle = 90; this.navigationPanePanel4.Style.WordWrap = true; this.navigationPanePanel4.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel4.StyleMouseDown.WordWrap = true; this.navigationPanePanel4.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel4.StyleMouseOver.WordWrap = true; this.navigationPanePanel4.TabIndex = 5; this.navigationPanePanel4.Text = "Drop your controls here and erase Text property"; // // groupBox2 // this.groupBox2.BackColor = System.Drawing.Color.White; this.groupBox2.Controls.Add(this.dgvInstrumentNurse); this.groupBox2.Controls.Add(this.panel4); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.groupBox2.Font = new System.Drawing.Font("微软雅黑", 10F); this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Margin = new System.Windows.Forms.Padding(0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Padding = new System.Windows.Forms.Padding(0); this.groupBox2.Size = new System.Drawing.Size(318, 545); this.groupBox2.TabIndex = 461; this.groupBox2.TabStop = false; this.groupBox2.Text = "洗手护士"; // // dgvInstrumentNurse // this.dgvInstrumentNurse.AllowUserToAddRows = false; this.dgvInstrumentNurse.AllowUserToDeleteRows = false; this.dgvInstrumentNurse.AllowUserToResizeColumns = false; this.dgvInstrumentNurse.AllowUserToResizeRows = false; this.dgvInstrumentNurse.BackgroundColor = System.Drawing.Color.White; this.dgvInstrumentNurse.BorderStyle = System.Windows.Forms.BorderStyle.None; 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, this.dataGridViewTextBoxColumn49, this.iName, this.dataGridViewTextBoxColumn51, this.dataGridViewTextBoxColumn52, this.dataGridViewTextBoxColumn53, this.dataGridViewTextBoxColumn54, this.dataGridViewTextBoxColumn55, this.dataGridViewTextBoxColumn56, this.dataGridViewTextBoxColumn57, this.dataGridViewTextBoxColumn58, this.dataGridViewTextBoxColumn59}); 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; 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; this.dgvInstrumentNurse.Size = new System.Drawing.Size(318, 450); this.dgvInstrumentNurse.TabIndex = 4; this.dgvInstrumentNurse.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvWorkers_CellDoubleClick); // // dataGridViewCheckBoxColumn3 // this.dataGridViewCheckBoxColumn3.HeaderText = ""; this.dataGridViewCheckBoxColumn3.Name = "dataGridViewCheckBoxColumn3"; this.dataGridViewCheckBoxColumn3.ReadOnly = true; this.dataGridViewCheckBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewCheckBoxColumn3.Visible = false; this.dataGridViewCheckBoxColumn3.Width = 40; // // dataGridViewTextBoxColumn49 // this.dataGridViewTextBoxColumn49.DataPropertyName = "Id"; dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle12; this.dataGridViewTextBoxColumn49.HeaderText = "编号"; this.dataGridViewTextBoxColumn49.Name = "dataGridViewTextBoxColumn49"; this.dataGridViewTextBoxColumn49.ReadOnly = true; this.dataGridViewTextBoxColumn49.Visible = false; this.dataGridViewTextBoxColumn49.Width = 80; // // iName // this.iName.DataPropertyName = "Name"; 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; this.iName.Width = 80; // // dataGridViewTextBoxColumn51 // this.dataGridViewTextBoxColumn51.DataPropertyName = "deptName"; this.dataGridViewTextBoxColumn51.HeaderText = "科室"; this.dataGridViewTextBoxColumn51.Name = "dataGridViewTextBoxColumn51"; this.dataGridViewTextBoxColumn51.ReadOnly = true; this.dataGridViewTextBoxColumn51.Visible = false; // // dataGridViewTextBoxColumn52 // this.dataGridViewTextBoxColumn52.DataPropertyName = "RowNumber"; dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn52.DefaultCellStyle = dataGridViewCellStyle14; this.dataGridViewTextBoxColumn52.HeaderText = "序号"; this.dataGridViewTextBoxColumn52.Name = "dataGridViewTextBoxColumn52"; this.dataGridViewTextBoxColumn52.ReadOnly = true; this.dataGridViewTextBoxColumn52.Visible = false; this.dataGridViewTextBoxColumn52.Width = 80; // // dataGridViewTextBoxColumn53 // dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle15; this.dataGridViewTextBoxColumn53.HeaderText = "Mon"; this.dataGridViewTextBoxColumn53.Name = "dataGridViewTextBoxColumn53"; this.dataGridViewTextBoxColumn53.ReadOnly = true; this.dataGridViewTextBoxColumn53.Width = 65; // // dataGridViewTextBoxColumn54 // dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn54.DefaultCellStyle = dataGridViewCellStyle16; this.dataGridViewTextBoxColumn54.HeaderText = "Tues"; this.dataGridViewTextBoxColumn54.Name = "dataGridViewTextBoxColumn54"; this.dataGridViewTextBoxColumn54.ReadOnly = true; this.dataGridViewTextBoxColumn54.Width = 65; // // dataGridViewTextBoxColumn55 // dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn55.DefaultCellStyle = dataGridViewCellStyle17; this.dataGridViewTextBoxColumn55.HeaderText = "Wed"; this.dataGridViewTextBoxColumn55.Name = "dataGridViewTextBoxColumn55"; this.dataGridViewTextBoxColumn55.ReadOnly = true; this.dataGridViewTextBoxColumn55.Width = 65; // // dataGridViewTextBoxColumn56 // dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn56.DefaultCellStyle = dataGridViewCellStyle18; this.dataGridViewTextBoxColumn56.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn56.Name = "dataGridViewTextBoxColumn56"; this.dataGridViewTextBoxColumn56.ReadOnly = true; this.dataGridViewTextBoxColumn56.Width = 65; // // dataGridViewTextBoxColumn57 // dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn57.DefaultCellStyle = dataGridViewCellStyle19; this.dataGridViewTextBoxColumn57.HeaderText = "Fri"; this.dataGridViewTextBoxColumn57.Name = "dataGridViewTextBoxColumn57"; this.dataGridViewTextBoxColumn57.ReadOnly = true; this.dataGridViewTextBoxColumn57.Width = 65; // // dataGridViewTextBoxColumn58 // dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn58.DefaultCellStyle = dataGridViewCellStyle20; this.dataGridViewTextBoxColumn58.HeaderText = "Sat"; this.dataGridViewTextBoxColumn58.Name = "dataGridViewTextBoxColumn58"; this.dataGridViewTextBoxColumn58.ReadOnly = true; this.dataGridViewTextBoxColumn58.Width = 65; // // dataGridViewTextBoxColumn59 // dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn59.DefaultCellStyle = dataGridViewCellStyle21; this.dataGridViewTextBoxColumn59.HeaderText = "Sun"; this.dataGridViewTextBoxColumn59.Name = "dataGridViewTextBoxColumn59"; this.dataGridViewTextBoxColumn59.ReadOnly = true; this.dataGridViewTextBoxColumn59.Width = 65; // // panel4 // this.panel4.BackColor = System.Drawing.Color.White; this.panel4.Controls.Add(this.buttonX4); this.panel4.Controls.Add(this.labelX2); this.panel4.Controls.Add(this.labelX3); this.panel4.Controls.Add(this.dateTimeInput2); this.panel4.Controls.Add(this.textBoxX3); this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Location = new System.Drawing.Point(0, 18); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(318, 77); this.panel4.TabIndex = 2; // // buttonX4 // this.buttonX4.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX4.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX4.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonX4.Location = new System.Drawing.Point(234, 15); this.buttonX4.Name = "buttonX4"; this.buttonX4.Size = new System.Drawing.Size(78, 52); this.buttonX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX4.TabIndex = 462; this.buttonX4.Text = "清空"; this.buttonX4.Click += new System.EventHandler(this.buttonX3_Click); // // labelX2 // // // // this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX2.Location = new System.Drawing.Point(20, 44); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(64, 23); this.labelX2.TabIndex = 460; this.labelX2.Text = "拼音检索"; // // labelX3 // // // // this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX3.Location = new System.Drawing.Point(20, 15); this.labelX3.Name = "labelX3"; this.labelX3.Size = new System.Drawing.Size(64, 23); this.labelX3.TabIndex = 461; this.labelX3.Text = "排班日期"; // // dateTimeInput2 // // // // this.dateTimeInput2.BackgroundStyle.Class = "DateTimeInputBackground"; this.dateTimeInput2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; this.dateTimeInput2.ButtonDropDown.Visible = true; this.dateTimeInput2.FocusHighlightColor = System.Drawing.Color.White; this.dateTimeInput2.IsPopupCalendarOpen = false; this.dateTimeInput2.Location = new System.Drawing.Point(89, 12); // // // // // // this.dateTimeInput2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); this.dateTimeInput2.MonthCalendar.ClearButtonVisible = true; // // // this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90; this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1; this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); this.dateTimeInput2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; // // // this.dateTimeInput2.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.dateTimeInput2.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90; this.dateTimeInput2.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.dateTimeInput2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput2.MonthCalendar.TodayButtonVisible = true; this.dateTimeInput2.Name = "dateTimeInput2"; this.dateTimeInput2.Size = new System.Drawing.Size(139, 25); this.dateTimeInput2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.dateTimeInput2.TabIndex = 459; // // textBoxX3 // this.textBoxX3.BackColor = System.Drawing.Color.White; // // // this.textBoxX3.Border.Class = "TextBoxBorder"; this.textBoxX3.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.textBoxX3.DisabledBackColor = System.Drawing.Color.White; this.textBoxX3.ForeColor = System.Drawing.Color.Black; this.textBoxX3.Location = new System.Drawing.Point(89, 43); this.textBoxX3.Name = "textBoxX3"; this.textBoxX3.PreventEnterBeep = true; this.textBoxX3.Size = new System.Drawing.Size(139, 25); this.textBoxX3.TabIndex = 458; this.textBoxX3.TextChanged += new System.EventHandler(this.textBoxX3_TextChanged); // // buttonInstrumentNurse // this.buttonInstrumentNurse.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonInstrumentNurse.Image = global::AIMSControls.Properties.Resources.BookNoteWhite; this.buttonInstrumentNurse.ImagePaddingHorizontal = 15; this.buttonInstrumentNurse.ImagePaddingVertical = 0; this.buttonInstrumentNurse.Name = "buttonInstrumentNurse"; this.buttonInstrumentNurse.OptionGroup = "navBar"; this.buttonInstrumentNurse.SubItemsExpandWidth = 11; this.buttonInstrumentNurse.Text = "洗手护士"; this.buttonInstrumentNurse.Click += new System.EventHandler(this.buttonInstrumentNurse_Click); // // navigationPanePanel5 // this.navigationPanePanel5.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPanePanel5.Controls.Add(this.v); this.navigationPanePanel5.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPanePanel5.Dock = System.Windows.Forms.DockStyle.Fill; this.navigationPanePanel5.Location = new System.Drawing.Point(1, 1); this.navigationPanePanel5.Margin = new System.Windows.Forms.Padding(0); this.navigationPanePanel5.Name = "navigationPanePanel5"; this.navigationPanePanel5.ParentItem = this.buttonItemTourNurse; this.navigationPanePanel5.Size = new System.Drawing.Size(318, 545); this.navigationPanePanel5.Style.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel5.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.navigationPanePanel5.Style.BackgroundImagePosition = DevComponents.DotNetBar.eBackgroundImagePosition.Tile; this.navigationPanePanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.navigationPanePanel5.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.navigationPanePanel5.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.navigationPanePanel5.Style.GradientAngle = 90; this.navigationPanePanel5.Style.WordWrap = true; this.navigationPanePanel5.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel5.StyleMouseDown.WordWrap = true; this.navigationPanePanel5.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel5.StyleMouseOver.WordWrap = true; this.navigationPanePanel5.TabIndex = 6; this.navigationPanePanel5.Text = "Drop your controls here and erase Text property"; // // v // this.v.BackColor = System.Drawing.Color.White; this.v.Controls.Add(this.dgvTourNurse); this.v.Controls.Add(this.panel5); this.v.Dock = System.Windows.Forms.DockStyle.Fill; this.v.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.v.Font = new System.Drawing.Font("微软雅黑", 10F); this.v.Location = new System.Drawing.Point(0, 0); this.v.Margin = new System.Windows.Forms.Padding(0); this.v.Name = "v"; this.v.Padding = new System.Windows.Forms.Padding(0); this.v.Size = new System.Drawing.Size(318, 545); this.v.TabIndex = 461; this.v.TabStop = false; this.v.Text = "巡回护士"; // // dgvTourNurse // this.dgvTourNurse.AllowUserToAddRows = false; this.dgvTourNurse.AllowUserToDeleteRows = false; this.dgvTourNurse.AllowUserToResizeColumns = false; this.dgvTourNurse.AllowUserToResizeRows = false; this.dgvTourNurse.BackgroundColor = System.Drawing.Color.White; this.dgvTourNurse.BorderStyle = System.Windows.Forms.BorderStyle.None; 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, this.dataGridViewTextBoxColumn60, this.tName, this.dataGridViewTextBoxColumn62, this.dataGridViewTextBoxColumn63, this.dataGridViewTextBoxColumn64, this.dataGridViewTextBoxColumn65, this.dataGridViewTextBoxColumn66, this.dataGridViewTextBoxColumn67, this.dataGridViewTextBoxColumn68, this.dataGridViewTextBoxColumn69, this.dataGridViewTextBoxColumn70}); 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; 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; this.dgvTourNurse.Size = new System.Drawing.Size(318, 450); this.dgvTourNurse.TabIndex = 4; this.dgvTourNurse.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvWorkers_CellDoubleClick); // // dataGridViewCheckBoxColumn4 // this.dataGridViewCheckBoxColumn4.HeaderText = ""; this.dataGridViewCheckBoxColumn4.Name = "dataGridViewCheckBoxColumn4"; this.dataGridViewCheckBoxColumn4.ReadOnly = true; this.dataGridViewCheckBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewCheckBoxColumn4.Visible = false; this.dataGridViewCheckBoxColumn4.Width = 40; // // dataGridViewTextBoxColumn60 // this.dataGridViewTextBoxColumn60.DataPropertyName = "Id"; dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn60.DefaultCellStyle = dataGridViewCellStyle25; this.dataGridViewTextBoxColumn60.HeaderText = "编号"; this.dataGridViewTextBoxColumn60.Name = "dataGridViewTextBoxColumn60"; this.dataGridViewTextBoxColumn60.ReadOnly = true; this.dataGridViewTextBoxColumn60.Visible = false; this.dataGridViewTextBoxColumn60.Width = 80; // // tName // this.tName.DataPropertyName = "Name"; 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; this.tName.Width = 80; // // dataGridViewTextBoxColumn62 // this.dataGridViewTextBoxColumn62.DataPropertyName = "deptName"; this.dataGridViewTextBoxColumn62.HeaderText = "科室"; this.dataGridViewTextBoxColumn62.Name = "dataGridViewTextBoxColumn62"; this.dataGridViewTextBoxColumn62.ReadOnly = true; this.dataGridViewTextBoxColumn62.Visible = false; // // dataGridViewTextBoxColumn63 // this.dataGridViewTextBoxColumn63.DataPropertyName = "RowNumber"; dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle27; this.dataGridViewTextBoxColumn63.HeaderText = "序号"; this.dataGridViewTextBoxColumn63.Name = "dataGridViewTextBoxColumn63"; this.dataGridViewTextBoxColumn63.ReadOnly = true; this.dataGridViewTextBoxColumn63.Visible = false; this.dataGridViewTextBoxColumn63.Width = 80; // // dataGridViewTextBoxColumn64 // dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn64.DefaultCellStyle = dataGridViewCellStyle28; this.dataGridViewTextBoxColumn64.HeaderText = "Mon"; this.dataGridViewTextBoxColumn64.Name = "dataGridViewTextBoxColumn64"; this.dataGridViewTextBoxColumn64.ReadOnly = true; this.dataGridViewTextBoxColumn64.Width = 65; // // dataGridViewTextBoxColumn65 // dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn65.DefaultCellStyle = dataGridViewCellStyle29; this.dataGridViewTextBoxColumn65.HeaderText = "Tues"; this.dataGridViewTextBoxColumn65.Name = "dataGridViewTextBoxColumn65"; this.dataGridViewTextBoxColumn65.ReadOnly = true; this.dataGridViewTextBoxColumn65.Width = 65; // // dataGridViewTextBoxColumn66 // dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn66.DefaultCellStyle = dataGridViewCellStyle30; this.dataGridViewTextBoxColumn66.HeaderText = "Wed"; this.dataGridViewTextBoxColumn66.Name = "dataGridViewTextBoxColumn66"; this.dataGridViewTextBoxColumn66.ReadOnly = true; this.dataGridViewTextBoxColumn66.Width = 65; // // dataGridViewTextBoxColumn67 // dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn67.DefaultCellStyle = dataGridViewCellStyle31; this.dataGridViewTextBoxColumn67.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn67.Name = "dataGridViewTextBoxColumn67"; this.dataGridViewTextBoxColumn67.ReadOnly = true; this.dataGridViewTextBoxColumn67.Width = 65; // // dataGridViewTextBoxColumn68 // dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn68.DefaultCellStyle = dataGridViewCellStyle32; this.dataGridViewTextBoxColumn68.HeaderText = "Fri"; this.dataGridViewTextBoxColumn68.Name = "dataGridViewTextBoxColumn68"; this.dataGridViewTextBoxColumn68.ReadOnly = true; this.dataGridViewTextBoxColumn68.Width = 65; // // dataGridViewTextBoxColumn69 // dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn69.DefaultCellStyle = dataGridViewCellStyle33; this.dataGridViewTextBoxColumn69.HeaderText = "Sat"; this.dataGridViewTextBoxColumn69.Name = "dataGridViewTextBoxColumn69"; this.dataGridViewTextBoxColumn69.ReadOnly = true; this.dataGridViewTextBoxColumn69.Width = 65; // // dataGridViewTextBoxColumn70 // dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn70.DefaultCellStyle = dataGridViewCellStyle34; this.dataGridViewTextBoxColumn70.HeaderText = "Sun"; this.dataGridViewTextBoxColumn70.Name = "dataGridViewTextBoxColumn70"; this.dataGridViewTextBoxColumn70.ReadOnly = true; this.dataGridViewTextBoxColumn70.Width = 65; // // panel5 // this.panel5.BackColor = System.Drawing.Color.White; this.panel5.Controls.Add(this.buttonX5); this.panel5.Controls.Add(this.labelX4); this.panel5.Controls.Add(this.labelX5); this.panel5.Controls.Add(this.dateTimeInput3); this.panel5.Controls.Add(this.textBoxX4); this.panel5.Dock = System.Windows.Forms.DockStyle.Top; this.panel5.Location = new System.Drawing.Point(0, 18); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(318, 77); this.panel5.TabIndex = 2; // // buttonX5 // this.buttonX5.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX5.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX5.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonX5.Location = new System.Drawing.Point(234, 15); this.buttonX5.Name = "buttonX5"; this.buttonX5.Size = new System.Drawing.Size(78, 52); this.buttonX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX5.TabIndex = 466; this.buttonX5.Text = "清空"; this.buttonX5.Click += new System.EventHandler(this.buttonX3_Click); // // labelX4 // // // // this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX4.Location = new System.Drawing.Point(20, 44); this.labelX4.Name = "labelX4"; this.labelX4.Size = new System.Drawing.Size(64, 23); this.labelX4.TabIndex = 464; this.labelX4.Text = "拼音检索"; // // labelX5 // // // // this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX5.Location = new System.Drawing.Point(20, 15); this.labelX5.Name = "labelX5"; this.labelX5.Size = new System.Drawing.Size(64, 23); this.labelX5.TabIndex = 465; this.labelX5.Text = "排班日期"; // // dateTimeInput3 // // // // this.dateTimeInput3.BackgroundStyle.Class = "DateTimeInputBackground"; this.dateTimeInput3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput3.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; this.dateTimeInput3.ButtonDropDown.Visible = true; this.dateTimeInput3.FocusHighlightColor = System.Drawing.Color.White; this.dateTimeInput3.IsPopupCalendarOpen = false; this.dateTimeInput3.Location = new System.Drawing.Point(89, 12); // // // // // // this.dateTimeInput3.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput3.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); this.dateTimeInput3.MonthCalendar.ClearButtonVisible = true; // // // this.dateTimeInput3.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.dateTimeInput3.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90; this.dateTimeInput3.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.dateTimeInput3.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.dateTimeInput3.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; this.dateTimeInput3.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1; this.dateTimeInput3.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput3.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); this.dateTimeInput3.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; // // // this.dateTimeInput3.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.dateTimeInput3.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90; this.dateTimeInput3.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.dateTimeInput3.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput3.MonthCalendar.TodayButtonVisible = true; this.dateTimeInput3.Name = "dateTimeInput3"; this.dateTimeInput3.Size = new System.Drawing.Size(139, 25); this.dateTimeInput3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.dateTimeInput3.TabIndex = 463; // // textBoxX4 // this.textBoxX4.BackColor = System.Drawing.Color.White; // // // this.textBoxX4.Border.Class = "TextBoxBorder"; this.textBoxX4.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.textBoxX4.DisabledBackColor = System.Drawing.Color.White; this.textBoxX4.ForeColor = System.Drawing.Color.Black; this.textBoxX4.Location = new System.Drawing.Point(89, 43); this.textBoxX4.Name = "textBoxX4"; this.textBoxX4.PreventEnterBeep = true; this.textBoxX4.Size = new System.Drawing.Size(139, 25); this.textBoxX4.TabIndex = 462; this.textBoxX4.TextChanged += new System.EventHandler(this.textBoxX4_TextChanged); // // buttonItemTourNurse // this.buttonItemTourNurse.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItemTourNurse.Image = global::AIMSControls.Properties.Resources.BookNoteWhite; this.buttonItemTourNurse.ImagePaddingHorizontal = 15; this.buttonItemTourNurse.ImagePaddingVertical = 0; this.buttonItemTourNurse.Name = "buttonItemTourNurse"; this.buttonItemTourNurse.OptionGroup = "navBar"; this.buttonItemTourNurse.SubItemsExpandWidth = 11; this.buttonItemTourNurse.Text = "巡回护士"; this.buttonItemTourNurse.Click += new System.EventHandler(this.buttonItemTourNurse_Click); // // navigationPanePanel2 // this.navigationPanePanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPanePanel2.Controls.Add(this.groupBox1); this.navigationPanePanel2.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPanePanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.navigationPanePanel2.Location = new System.Drawing.Point(1, 1); this.navigationPanePanel2.Margin = new System.Windows.Forms.Padding(0); this.navigationPanePanel2.Name = "navigationPanePanel2"; this.navigationPanePanel2.ParentItem = this.buttonItemAnas; this.navigationPanePanel2.Size = new System.Drawing.Size(318, 545); this.navigationPanePanel2.Style.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.navigationPanePanel2.Style.BackgroundImagePosition = DevComponents.DotNetBar.eBackgroundImagePosition.Tile; this.navigationPanePanel2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.navigationPanePanel2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.navigationPanePanel2.Style.GradientAngle = 90; this.navigationPanePanel2.Style.WordWrap = true; this.navigationPanePanel2.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel2.StyleMouseDown.WordWrap = true; this.navigationPanePanel2.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel2.StyleMouseOver.WordWrap = true; this.navigationPanePanel2.TabIndex = 3; // // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.White; this.groupBox1.Controls.Add(this.dgvWorkers); this.groupBox1.Controls.Add(this.panel2); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 10F); this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Margin = new System.Windows.Forms.Padding(0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(0); this.groupBox1.Size = new System.Drawing.Size(318, 545); this.groupBox1.TabIndex = 460; this.groupBox1.TabStop = false; this.groupBox1.Text = "主麻医师"; // // dgvWorkers // this.dgvWorkers.AllowUserToAddRows = false; this.dgvWorkers.AllowUserToDeleteRows = false; this.dgvWorkers.AllowUserToResizeColumns = false; this.dgvWorkers.AllowUserToResizeRows = false; this.dgvWorkers.BackgroundColor = System.Drawing.Color.White; this.dgvWorkers.BorderStyle = System.Windows.Forms.BorderStyle.None; 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, this.dataGridViewTextBoxColumn2, this.oName, this.DepartmentRefName, this.dataGridViewTextBoxColumn1, this.Mon, this.Tues, this.Wed, this.Thurs, this.Fri, this.Sat, this.Sun}); 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; 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; this.dgvWorkers.Size = new System.Drawing.Size(318, 453); this.dgvWorkers.TabIndex = 3; this.dgvWorkers.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvWorkers_CellDoubleClick); // // Check // this.Check.HeaderText = ""; this.Check.Name = "Check"; this.Check.ReadOnly = true; this.Check.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.Check.Visible = false; this.Check.Width = 40; // // dataGridViewTextBoxColumn2 // this.dataGridViewTextBoxColumn2.DataPropertyName = "Id"; dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle38; this.dataGridViewTextBoxColumn2.HeaderText = "编号"; this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; this.dataGridViewTextBoxColumn2.ReadOnly = true; this.dataGridViewTextBoxColumn2.Visible = false; this.dataGridViewTextBoxColumn2.Width = 80; // // oName // this.oName.DataPropertyName = "Name"; 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; this.oName.Width = 80; // // DepartmentRefName // this.DepartmentRefName.DataPropertyName = "deptName"; this.DepartmentRefName.HeaderText = "科室"; this.DepartmentRefName.Name = "DepartmentRefName"; this.DepartmentRefName.ReadOnly = true; this.DepartmentRefName.Visible = false; // // dataGridViewTextBoxColumn1 // this.dataGridViewTextBoxColumn1.DataPropertyName = "RowNumber"; dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle40; this.dataGridViewTextBoxColumn1.HeaderText = "序号"; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; this.dataGridViewTextBoxColumn1.ReadOnly = true; this.dataGridViewTextBoxColumn1.Visible = false; this.dataGridViewTextBoxColumn1.Width = 80; // // Mon // dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Mon.DefaultCellStyle = dataGridViewCellStyle41; this.Mon.HeaderText = "Mon"; this.Mon.Name = "Mon"; this.Mon.ReadOnly = true; this.Mon.Width = 65; // // Tues // dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Tues.DefaultCellStyle = dataGridViewCellStyle42; this.Tues.HeaderText = "Tues"; this.Tues.Name = "Tues"; this.Tues.ReadOnly = true; this.Tues.Width = 65; // // Wed // dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Wed.DefaultCellStyle = dataGridViewCellStyle43; this.Wed.HeaderText = "Wed"; this.Wed.Name = "Wed"; this.Wed.ReadOnly = true; this.Wed.Width = 65; // // Thurs // dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Thurs.DefaultCellStyle = dataGridViewCellStyle44; this.Thurs.HeaderText = "Thurs"; this.Thurs.Name = "Thurs"; this.Thurs.ReadOnly = true; this.Thurs.Width = 65; // // Fri // dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Fri.DefaultCellStyle = dataGridViewCellStyle45; this.Fri.HeaderText = "Fri"; this.Fri.Name = "Fri"; this.Fri.ReadOnly = true; this.Fri.Width = 65; // // Sat // dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Sat.DefaultCellStyle = dataGridViewCellStyle46; this.Sat.HeaderText = "Sat"; this.Sat.Name = "Sat"; this.Sat.ReadOnly = true; this.Sat.Width = 65; // // Sun // dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Sun.DefaultCellStyle = dataGridViewCellStyle47; this.Sun.HeaderText = "Sun"; this.Sun.Name = "Sun"; this.Sun.ReadOnly = true; this.Sun.Width = 65; // // panel2 // this.panel2.BackColor = System.Drawing.Color.White; this.panel2.Controls.Add(this.buttonX3); this.panel2.Controls.Add(this.txtjs); this.panel2.Controls.Add(this.labelX1); this.panel2.Controls.Add(this.dateTimeInput1); this.panel2.Controls.Add(this.textBoxX2); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 18); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(318, 74); this.panel2.TabIndex = 2; // // buttonX3 // this.buttonX3.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX3.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX3.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonX3.Location = new System.Drawing.Point(234, 7); this.buttonX3.Name = "buttonX3"; this.buttonX3.Size = new System.Drawing.Size(78, 52); this.buttonX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX3.TabIndex = 458; this.buttonX3.Text = "清空"; this.buttonX3.Click += new System.EventHandler(this.buttonX3_Click); // // txtjs // // // // this.txtjs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtjs.Location = new System.Drawing.Point(18, 34); this.txtjs.Name = "txtjs"; this.txtjs.Size = new System.Drawing.Size(64, 23); this.txtjs.TabIndex = 457; this.txtjs.Text = "拼音检索"; // // labelX1 // // // // this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX1.Location = new System.Drawing.Point(18, 7); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(64, 23); this.labelX1.TabIndex = 457; this.labelX1.Text = "排班日期"; // // dateTimeInput1 // // // // this.dateTimeInput1.BackgroundStyle.Class = "DateTimeInputBackground"; this.dateTimeInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput1.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; this.dateTimeInput1.ButtonDropDown.Visible = true; this.dateTimeInput1.FocusHighlightColor = System.Drawing.Color.White; this.dateTimeInput1.IsPopupCalendarOpen = false; this.dateTimeInput1.Location = new System.Drawing.Point(89, 4); // // // // // // this.dateTimeInput1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); this.dateTimeInput1.MonthCalendar.ClearButtonVisible = true; // // // this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90; this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1; this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput1.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); this.dateTimeInput1.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; // // // this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90; this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.dateTimeInput1.MonthCalendar.TodayButtonVisible = true; this.dateTimeInput1.Name = "dateTimeInput1"; this.dateTimeInput1.Size = new System.Drawing.Size(139, 25); this.dateTimeInput1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.dateTimeInput1.TabIndex = 456; // // textBoxX2 // this.textBoxX2.BackColor = System.Drawing.Color.White; // // // this.textBoxX2.Border.Class = "TextBoxBorder"; this.textBoxX2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.textBoxX2.DisabledBackColor = System.Drawing.Color.White; this.textBoxX2.ForeColor = System.Drawing.Color.Black; this.textBoxX2.Location = new System.Drawing.Point(89, 35); this.textBoxX2.Name = "textBoxX2"; this.textBoxX2.PreventEnterBeep = true; this.textBoxX2.Size = new System.Drawing.Size(139, 25); this.textBoxX2.TabIndex = 455; this.textBoxX2.TextChanged += new System.EventHandler(this.textBoxX2_TextChanged); // // buttonItemAnas // this.buttonItemAnas.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.buttonItemAnas.Image = global::AIMSControls.Properties.Resources.BookNote; this.buttonItemAnas.ImagePaddingHorizontal = 15; this.buttonItemAnas.ImagePaddingVertical = 0; this.buttonItemAnas.Name = "buttonItemAnas"; this.buttonItemAnas.OptionGroup = "navBar"; this.buttonItemAnas.SubItemsExpandWidth = 11; this.buttonItemAnas.Text = "主麻医师"; this.buttonItemAnas.Click += new System.EventHandler(this.buttonItemDoctor_Click); // // dataGridViewCheckBoxColumn2 // this.dataGridViewCheckBoxColumn2.HeaderText = ""; this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2"; this.dataGridViewCheckBoxColumn2.ReadOnly = true; this.dataGridViewCheckBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewCheckBoxColumn2.Width = 40; // // dataGridViewCheckBoxColumn1 // this.dataGridViewCheckBoxColumn1.HeaderText = ""; this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1"; this.dataGridViewCheckBoxColumn1.ReadOnly = true; this.dataGridViewCheckBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewCheckBoxColumn1.Width = 40; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); // // panlemian // this.panlemian.Controls.Add(this.label15); this.panlemian.Controls.Add(this.label3); this.panlemian.Controls.Add(this.label14); this.panlemian.Controls.Add(this.btnReOrderPlanOperationDown); this.panlemian.Controls.Add(this.btnReOrderPlanOperationUP); this.panlemian.Controls.Add(this.dgvDetail); this.panlemian.Controls.Add(this.panel1); this.panlemian.Dock = System.Windows.Forms.DockStyle.Fill; this.panlemian.Location = new System.Drawing.Point(0, 0); this.panlemian.Name = "panlemian"; this.panlemian.Size = new System.Drawing.Size(1028, 277); this.panlemian.TabIndex = 465; // // label15 // this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label15.AutoSize = true; this.label15.BackColor = System.Drawing.Color.DeepSkyBlue; this.label15.Location = new System.Drawing.Point(92, 256); this.label15.Margin = new System.Windows.Forms.Padding(3); this.label15.Name = "label15"; this.label15.Padding = new System.Windows.Forms.Padding(2); this.label15.Size = new System.Drawing.Size(33, 16); this.label15.TabIndex = 12; this.label15.Text = "日间"; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.Color.Purple; this.label3.Location = new System.Drawing.Point(144, 256); this.label3.Margin = new System.Windows.Forms.Padding(3); this.label3.Name = "label3"; this.label3.Padding = new System.Windows.Forms.Padding(2); this.label3.Size = new System.Drawing.Size(33, 16); this.label3.TabIndex = 11; this.label3.Text = "感染"; // // label14 // this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label14.AutoSize = true; this.label14.BackColor = System.Drawing.Color.MistyRose; this.label14.Location = new System.Drawing.Point(42, 256); this.label14.Margin = new System.Windows.Forms.Padding(3); this.label14.Name = "label14"; this.label14.Padding = new System.Windows.Forms.Padding(2); this.label14.Size = new System.Drawing.Size(33, 16); this.label14.TabIndex = 11; this.label14.Text = "急诊"; // // btnReOrderPlanOperationDown // this.btnReOrderPlanOperationDown.BackColor = System.Drawing.Color.Transparent; this.btnReOrderPlanOperationDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnReOrderPlanOperationDown.Cursor = System.Windows.Forms.Cursors.Hand; this.btnReOrderPlanOperationDown.FlatAppearance.BorderSize = 0; this.btnReOrderPlanOperationDown.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnReOrderPlanOperationDown.Font = new System.Drawing.Font("宋体", 23F); this.btnReOrderPlanOperationDown.Location = new System.Drawing.Point(6, 87); this.btnReOrderPlanOperationDown.Name = "btnReOrderPlanOperationDown"; this.btnReOrderPlanOperationDown.Size = new System.Drawing.Size(23, 36); this.btnReOrderPlanOperationDown.TabIndex = 10; this.btnReOrderPlanOperationDown.Text = "↓"; this.btnReOrderPlanOperationDown.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.toolTip1.SetToolTip(this.btnReOrderPlanOperationDown, "下移"); this.btnReOrderPlanOperationDown.UseVisualStyleBackColor = false; this.btnReOrderPlanOperationDown.Click += new System.EventHandler(this.btnReOrderPlanOperationDown_Click); // // btnReOrderPlanOperationUP // this.btnReOrderPlanOperationUP.BackColor = System.Drawing.Color.Transparent; this.btnReOrderPlanOperationUP.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnReOrderPlanOperationUP.Cursor = System.Windows.Forms.Cursors.Hand; this.btnReOrderPlanOperationUP.FlatAppearance.BorderSize = 0; this.btnReOrderPlanOperationUP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnReOrderPlanOperationUP.Font = new System.Drawing.Font("宋体", 23F); this.btnReOrderPlanOperationUP.Location = new System.Drawing.Point(6, 45); this.btnReOrderPlanOperationUP.Name = "btnReOrderPlanOperationUP"; this.btnReOrderPlanOperationUP.Size = new System.Drawing.Size(23, 36); this.btnReOrderPlanOperationUP.TabIndex = 9; this.btnReOrderPlanOperationUP.Text = "↑"; this.btnReOrderPlanOperationUP.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.toolTip1.SetToolTip(this.btnReOrderPlanOperationUP, "上移"); this.btnReOrderPlanOperationUP.UseVisualStyleBackColor = false; this.btnReOrderPlanOperationUP.Click += new System.EventHandler(this.btnReOrderPlanOperationUP_Click); // // dgvDetail // this.dgvDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dgvDetail.BackColor = System.Drawing.SystemColors.Control; 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; 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, 51); this.dgvDetail.Name = "dgvDetail"; // // // this.dgvDetail.PrimaryGrid.AllowRowHeaderResize = true; this.dgvDetail.PrimaryGrid.AllowRowResize = true; this.dgvDetail.PrimaryGrid.AutoExpandSetGroup = true; this.dgvDetail.PrimaryGrid.Columns.Add(this.colId); this.dgvDetail.PrimaryGrid.Columns.Add(this.colTable); this.dgvDetail.PrimaryGrid.Columns.Add(this.colPatient); this.dgvDetail.PrimaryGrid.Columns.Add(this.colHospitalNo); this.dgvDetail.PrimaryGrid.Columns.Add(this.gridColumn1); this.dgvDetail.PrimaryGrid.Columns.Add(this.colOperateDoctor); this.dgvDetail.PrimaryGrid.Columns.Add(this.colOperationName); this.dgvDetail.PrimaryGrid.Columns.Add(this.colOperationTime); this.dgvDetail.PrimaryGrid.Columns.Add(this.colAnesthesiaDoctor); this.dgvDetail.PrimaryGrid.Columns.Add(this.colInstrumentNurse); this.dgvDetail.PrimaryGrid.Columns.Add(this.colTourNurse); this.dgvDetail.PrimaryGrid.Columns.Add(this.colRemarks); this.dgvDetail.PrimaryGrid.Columns.Add(this.colDel); this.dgvDetail.PrimaryGrid.Columns.Add(this.gridColumn2); 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; this.dgvDetail.PrimaryGrid.SelectionGranularity = DevComponents.DotNetBar.SuperGrid.SelectionGranularity.RowWithCellHighlight; this.dgvDetail.PrimaryGrid.UseAlternateRowStyle = true; this.dgvDetail.Size = new System.Drawing.Size(968, 201); this.dgvDetail.SizingStyle = DevComponents.DotNetBar.SuperGrid.Style.StyleType.Selected; this.dgvDetail.TabIndex = 1; this.dgvDetail.Text = "superGridControl1"; this.dgvDetail.CellClick += new System.EventHandler(this.sgcDetail_CellClick); this.dgvDetail.CellMouseUp += new System.EventHandler(this.dgvDetail_CellMouseUp); this.dgvDetail.ColumnHeaderClick += new System.EventHandler(this.sgcDetail_ColumnHeaderClick); this.dgvDetail.RowActivated += new System.EventHandler(this.sgcDetail_RowActivated); this.dgvDetail.RowHeaderClick += new System.EventHandler(this.sgcDetail_RowHeaderClick); // // ctsThisRoom // this.ctsThisRoom.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuChangeOptRoomTo, this.mnuCancelADoctor, this.mnuCancelINurse, this.mnuCancelTNurse}); this.ctsThisRoom.Name = "ctsThisRoom"; this.ctsThisRoom.Size = new System.Drawing.Size(149, 92); this.ctsThisRoom.Opening += new System.ComponentModel.CancelEventHandler(this.ctsThisRoom_Opening); // // mnuChangeOptRoomTo // this.mnuChangeOptRoomTo.Name = "mnuChangeOptRoomTo"; this.mnuChangeOptRoomTo.Size = new System.Drawing.Size(148, 22); this.mnuChangeOptRoomTo.Text = "更换手术间至"; // // mnuCancelADoctor // this.mnuCancelADoctor.Name = "mnuCancelADoctor"; this.mnuCancelADoctor.Size = new System.Drawing.Size(148, 22); this.mnuCancelADoctor.Text = "取消麻醉排程"; this.mnuCancelADoctor.Click += new System.EventHandler(this.mnuCancelADoctor_Click); // // mnuCancelINurse // this.mnuCancelINurse.Name = "mnuCancelINurse"; this.mnuCancelINurse.Size = new System.Drawing.Size(148, 22); this.mnuCancelINurse.Text = "取消洗手护士"; this.mnuCancelINurse.Click += new System.EventHandler(this.mnuCancelINurse_Click); // // mnuCancelTNurse // this.mnuCancelTNurse.Name = "mnuCancelTNurse"; this.mnuCancelTNurse.Size = new System.Drawing.Size(148, 22); this.mnuCancelTNurse.Text = "取消巡回护士"; this.mnuCancelTNurse.Click += new System.EventHandler(this.mnuCancelTNurse_Click); // // colId // this.colId.Name = "Id"; this.colId.Visible = false; // // colTable // this.colTable.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colTable.HeaderText = "台"; this.colTable.Name = "Table"; this.colTable.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None; this.colTable.Width = 30; // // colPatient // this.colPatient.CellStyles.Default.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.colPatient.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colPatient.HeaderText = "患者"; this.colPatient.Name = "Patient"; this.colPatient.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None; // // colHospitalNo // this.colHospitalNo.CellStyles.Default.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.colHospitalNo.HeaderText = "住院号"; this.colHospitalNo.Name = "HospitalNo"; this.colHospitalNo.Width = 75; // // gridColumn1 // this.gridColumn1.AutoSizeMode = DevComponents.DotNetBar.SuperGrid.ColumnAutoSizeMode.None; this.gridColumn1.CellStyles.Default.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True; this.gridColumn1.CellStyles.Default.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.gridColumn1.HeaderText = "病区-床号"; this.gridColumn1.Name = "BedNo"; this.gridColumn1.Width = 75; // // colOperateDoctor // this.colOperateDoctor.CellStyles.Default.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.colOperateDoctor.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colOperateDoctor.HeaderText = "手术医生"; this.colOperateDoctor.Name = "OperateDoctor"; this.colOperateDoctor.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None; this.colOperateDoctor.Width = 60; // // colOperationName // this.colOperationName.AutoSizeMode = DevComponents.DotNetBar.SuperGrid.ColumnAutoSizeMode.Fill; this.colOperationName.CellStyles.Default.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True; this.colOperationName.CellStyles.Default.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.colOperationName.CellStyles.Default.TextColor = System.Drawing.Color.Black; this.colOperationName.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colOperationName.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridLabelXEditControl); this.colOperationName.FilterRowStyles.SelectedMouseOver.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True; this.colOperationName.HeaderText = "手术名称"; this.colOperationName.MinimumWidth = 200; this.colOperationName.Name = "OperationName"; this.colOperationName.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None; this.colOperationName.Width = 250; // // colOperationTime // this.colOperationTime.CellHighlightMode = DevComponents.DotNetBar.SuperGrid.Style.CellHighlightMode.Partial; this.colOperationTime.CellStyles.Default.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.colOperationTime.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colOperationTime.HeaderText = "手术时间"; this.colOperationTime.Name = "OperationTime"; this.colOperationTime.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None; this.colOperationTime.Width = 60; // // colAnesthesiaDoctor // this.colAnesthesiaDoctor.AllowEdit = false; this.colAnesthesiaDoctor.CellHighlightMode = DevComponents.DotNetBar.SuperGrid.Style.CellHighlightMode.Partial; this.colAnesthesiaDoctor.CellStyles.Default.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.colAnesthesiaDoctor.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colAnesthesiaDoctor.HeaderText = "麻醉医生"; this.colAnesthesiaDoctor.Name = "AnesthesiaDoctor"; this.colAnesthesiaDoctor.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None; this.colAnesthesiaDoctor.Width = 90; // // colInstrumentNurse // this.colInstrumentNurse.CellStyles.Default.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.colInstrumentNurse.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colInstrumentNurse.HeaderText = "洗手护士"; this.colInstrumentNurse.Name = "InstrumentNurse"; this.colInstrumentNurse.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None; this.colInstrumentNurse.Width = 75; // // colTourNurse // this.colTourNurse.CellStyles.Default.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.colTourNurse.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colTourNurse.HeaderText = "巡回护士"; this.colTourNurse.Name = "TourNurse"; this.colTourNurse.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None; this.colTourNurse.Width = 75; // // colRemarks // this.colRemarks.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colRemarks.HeaderText = "备注"; this.colRemarks.Name = "Remarks"; this.colRemarks.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None; this.colRemarks.Width = 50; // // colDel // this.colDel.AllowEdit = false; this.colDel.CellHighlightMode = DevComponents.DotNetBar.SuperGrid.Style.CellHighlightMode.Partial; this.colDel.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter; this.colDel.CellStyles.Default.TextColor = System.Drawing.Color.Red; this.colDel.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None; this.colDel.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridLabelXEditControl); this.colDel.HeaderText = "删除"; this.colDel.Name = "Del"; this.colDel.Width = 30; // // gridColumn2 // this.gridColumn2.Name = "state"; this.gridColumn2.Visible = false; // // panel1 // this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Controls.Add(this.CboOperationSite); this.panel1.Controls.Add(this.labelSite); this.panel1.Controls.Add(this.lblcount); this.panel1.Controls.Add(this.toolStrip1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1028, 48); this.panel1.TabIndex = 0; // // CboOperationSite // this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.CboOperationSite.DisplayMember = "Text"; this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F); this.CboOperationSite.FormattingEnabled = true; this.CboOperationSite.ItemHeight = 19; this.CboOperationSite.Location = new System.Drawing.Point(885, 11); this.CboOperationSite.Name = "CboOperationSite"; this.CboOperationSite.Size = new System.Drawing.Size(115, 25); this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.CboOperationSite.TabIndex = 505; // // labelSite // this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelSite.AutoSize = true; this.labelSite.BackColor = System.Drawing.Color.AliceBlue; this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F); this.labelSite.Location = new System.Drawing.Point(819, 13); this.labelSite.Name = "labelSite"; this.labelSite.Size = new System.Drawing.Size(65, 20); this.labelSite.TabIndex = 506; this.labelSite.Text = "手术地点"; this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // lblcount // this.lblcount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblcount.AutoSize = true; this.lblcount.BackColor = System.Drawing.Color.AliceBlue; this.lblcount.Font = new System.Drawing.Font("微软雅黑", 15F); this.lblcount.Location = new System.Drawing.Point(606, 8); this.lblcount.Name = "lblcount"; this.lblcount.Size = new System.Drawing.Size(45, 27); this.lblcount.TabIndex = 501; this.lblcount.Text = "0/0"; this.lblcount.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // toolStrip1 // this.toolStrip1.BackColor = System.Drawing.Color.AliceBlue; this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F); this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbNewOperationApply, this.tsbModifyOperationApply, this.tsbCancelOperationApply, this.toolStripSeparator4, this.btnpass, this.toolStripSeparator3, this.btnPlan, this.button3, this.toolStripSeparator2, this.btnDataCente, this.toolStripSeparator1, this.tspSetting}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(1028, 49); this.toolStrip1.TabIndex = 504; this.toolStrip1.Text = "toolStrip1"; // // tsbNewOperationApply // this.tsbNewOperationApply.Font = new System.Drawing.Font("微软雅黑", 9F); this.tsbNewOperationApply.Image = global::AIMSControls.Properties.Resources.图标_手术排程; this.tsbNewOperationApply.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbNewOperationApply.Name = "tsbNewOperationApply"; this.tsbNewOperationApply.Size = new System.Drawing.Size(68, 46); this.tsbNewOperationApply.Text = " 新增申请"; this.tsbNewOperationApply.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.tsbNewOperationApply.Click += new System.EventHandler(this.tsbNewOperationApply_Click); // // tsbModifyOperationApply // this.tsbModifyOperationApply.Font = new System.Drawing.Font("微软雅黑", 9F); this.tsbModifyOperationApply.Image = global::AIMSControls.Properties.Resources.图标_申请修改; this.tsbModifyOperationApply.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbModifyOperationApply.Name = "tsbModifyOperationApply"; this.tsbModifyOperationApply.Size = new System.Drawing.Size(68, 46); this.tsbModifyOperationApply.Text = " 修改申请"; this.tsbModifyOperationApply.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.tsbModifyOperationApply.Click += new System.EventHandler(this.tsbModifyOperationApply_Click); // // tsbCancelOperationApply // this.tsbCancelOperationApply.Font = new System.Drawing.Font("微软雅黑", 9F); this.tsbCancelOperationApply.Image = global::AIMSControls.Properties.Resources.图标_申请作废; this.tsbCancelOperationApply.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbCancelOperationApply.Name = "tsbCancelOperationApply"; this.tsbCancelOperationApply.Size = new System.Drawing.Size(68, 46); this.tsbCancelOperationApply.Text = " 停止申请"; this.tsbCancelOperationApply.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.tsbCancelOperationApply.Click += new System.EventHandler(this.tsbCancelOperationApply_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 49); // // btnpass // this.btnpass.Font = new System.Drawing.Font("微软雅黑", 9F); this.btnpass.Image = global::AIMSControls.Properties.Resources.图标_排程通过; this.btnpass.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnpass.Name = "btnpass"; this.btnpass.Size = new System.Drawing.Size(68, 46); this.btnpass.Text = " 排程通过"; this.btnpass.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnpass.Click += new System.EventHandler(this.button1_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49); // // btnPlan // this.btnPlan.Font = new System.Drawing.Font("微软雅黑", 9F); this.btnPlan.Image = global::AIMSControls.Properties.Resources.图标_打印; this.btnPlan.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnPlan.Name = "btnPlan"; this.btnPlan.Size = new System.Drawing.Size(76, 46); this.btnPlan.Text = " 打印排程表"; this.btnPlan.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnPlan.Click += new System.EventHandler(this.btnPlan_Click); // // button3 // this.button3.Font = new System.Drawing.Font("微软雅黑", 9F); this.button3.Image = global::AIMSControls.Properties.Resources.图标_打印; this.button3.ImageTransparentColor = System.Drawing.Color.Magenta; this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(76, 46); this.button3.Text = " 打印通知单"; this.button3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.button3.Click += new System.EventHandler(this.button3_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49); // // btnDataCente // this.btnDataCente.Font = new System.Drawing.Font("微软雅黑", 9F); this.btnDataCente.Image = global::AIMSControls.Properties.Resources.图标_回顾恢复; this.btnDataCente.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnDataCente.Name = "btnDataCente"; this.btnDataCente.Size = new System.Drawing.Size(68, 46); this.btnDataCente.Text = " 数据中心"; this.btnDataCente.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnDataCente.Visible = false; this.btnDataCente.Click += new System.EventHandler(this.btnDataCente_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49); this.toolStripSeparator1.Visible = false; // // tspSetting // this.tspSetting.Font = new System.Drawing.Font("微软雅黑", 9F); this.tspSetting.Image = global::AIMSControls.Properties.Resources.图标_设置; this.tspSetting.ImageTransparentColor = System.Drawing.Color.Magenta; this.tspSetting.Name = "tspSetting"; this.tspSetting.Size = new System.Drawing.Size(68, 46); this.tspSetting.Text = " 显示设置"; this.tspSetting.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.tspSetting.Click += new System.EventHandler(this.tspSetting_Click); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.取消排程通过ToolStripMenuItem}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(149, 26); // // 取消排程通过ToolStripMenuItem // this.取消排程通过ToolStripMenuItem.Name = "取消排程通过ToolStripMenuItem"; this.取消排程通过ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.取消排程通过ToolStripMenuItem.Text = "取消排程通过"; this.取消排程通过ToolStripMenuItem.Click += new System.EventHandler(this.取消排程通过ToolStripMenuItem_Click); // // tcOperationRoomsPage // this.tcOperationRoomsPage.Controls.Add(this.tabScheduling); this.tcOperationRoomsPage.Dock = System.Windows.Forms.DockStyle.Fill; this.tcOperationRoomsPage.Location = new System.Drawing.Point(0, 0); this.tcOperationRoomsPage.Name = "tcOperationRoomsPage"; this.tcOperationRoomsPage.Size = new System.Drawing.Size(1028, 405); this.tcOperationRoomsPage.TabIndex = 5; // // tabScheduling // this.tabScheduling.BackColor = System.Drawing.Color.White; // // // // // // this.tabScheduling.ControlBox.CloseBox.Name = ""; // // // this.tabScheduling.ControlBox.MenuBox.Name = ""; this.tabScheduling.ControlBox.Name = ""; this.tabScheduling.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.tabScheduling.ControlBox.MenuBox, this.tabScheduling.ControlBox.CloseBox}); this.tabScheduling.Controls.Add(this.superTabControlPanel1); this.tabScheduling.Controls.Add(this.superTabControlPanel2); this.tabScheduling.Controls.Add(this.superTabControlPanel8); this.tabScheduling.Controls.Add(this.superTabControlPanel7); this.tabScheduling.Controls.Add(this.superTabControlPanel6); this.tabScheduling.Controls.Add(this.superTabControlPanel5); this.tabScheduling.Controls.Add(this.superTabControlPanel4); this.tabScheduling.Controls.Add(this.superTabControlPanel3); this.tabScheduling.Dock = System.Windows.Forms.DockStyle.Fill; this.tabScheduling.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.tabScheduling.ForeColor = System.Drawing.Color.Black; this.tabScheduling.Location = new System.Drawing.Point(0, 0); this.tabScheduling.Name = "tabScheduling"; this.tabScheduling.ReorderTabsEnabled = true; this.tabScheduling.SelectedTabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold); this.tabScheduling.SelectedTabIndex = 0; this.tabScheduling.Size = new System.Drawing.Size(1028, 405); this.tabScheduling.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Bottom; this.tabScheduling.TabFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.tabScheduling.TabIndex = 1; this.tabScheduling.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.superTabItem1, this.superTabItem2, this.superTabItem3, this.superTabItem4, this.superTabItem5, this.superTabItem6, this.superTabItem7, this.superTabItem8}); this.tabScheduling.TabStyle = DevComponents.DotNetBar.eSuperTabStyle.WinMediaPlayer12; this.tabScheduling.Text = "superTabControl1"; this.tabScheduling.SelectedTabChanged += new System.EventHandler(this.tabScheduling_SelectedTabChanged); // // superTabControlPanel1 // this.superTabControlPanel1.Controls.Add(this.tcOperationRoomsPage1); this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel1.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel1.Name = "superTabControlPanel1"; this.superTabControlPanel1.Size = new System.Drawing.Size(1028, 377); this.superTabControlPanel1.TabIndex = 1; this.superTabControlPanel1.TabItem = this.superTabItem1; // // tcOperationRoomsPage1 // this.tcOperationRoomsPage1.BackColor = System.Drawing.SystemColors.Control; this.tcOperationRoomsPage1.Dock = System.Windows.Forms.DockStyle.Fill; this.tcOperationRoomsPage1.Location = new System.Drawing.Point(0, 0); this.tcOperationRoomsPage1.Name = "tcOperationRoomsPage1"; this.tcOperationRoomsPage1.Size = new System.Drawing.Size(1028, 377); this.tcOperationRoomsPage1.TabIndex = 0; this.tcOperationRoomsPage1.Resize += new System.EventHandler(this.tcOperationRoomsPage1_Resize); // // superTabItem1 // this.superTabItem1.AttachedControl = this.superTabControlPanel1; this.superTabItem1.GlobalItem = false; this.superTabItem1.Name = "superTabItem1"; this.superTabItem1.TextAlignment = DevComponents.DotNetBar.eItemAlignment.Center; // // superTabControlPanel2 // this.superTabControlPanel2.Controls.Add(this.tcOperationRoomsPage2); this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel2.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel2.Name = "superTabControlPanel2"; this.superTabControlPanel2.Size = new System.Drawing.Size(1062, 413); this.superTabControlPanel2.TabIndex = 0; this.superTabControlPanel2.TabItem = this.superTabItem2; // // tcOperationRoomsPage2 // this.tcOperationRoomsPage2.Dock = System.Windows.Forms.DockStyle.Fill; this.tcOperationRoomsPage2.Location = new System.Drawing.Point(0, 0); this.tcOperationRoomsPage2.Name = "tcOperationRoomsPage2"; this.tcOperationRoomsPage2.Size = new System.Drawing.Size(1062, 413); this.tcOperationRoomsPage2.TabIndex = 0; this.tcOperationRoomsPage2.Resize += new System.EventHandler(this.tcOperationRoomsPage1_Resize); // // superTabItem2 // this.superTabItem2.AttachedControl = this.superTabControlPanel2; this.superTabItem2.GlobalItem = false; this.superTabItem2.Name = "superTabItem2"; // // superTabControlPanel8 // this.superTabControlPanel8.Controls.Add(this.tcOperationRoomsPage8); this.superTabControlPanel8.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel8.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel8.Name = "superTabControlPanel8"; this.superTabControlPanel8.Size = new System.Drawing.Size(1062, 359); this.superTabControlPanel8.TabIndex = 0; this.superTabControlPanel8.TabItem = this.superTabItem8; // // tcOperationRoomsPage8 // this.tcOperationRoomsPage8.Dock = System.Windows.Forms.DockStyle.Fill; this.tcOperationRoomsPage8.Location = new System.Drawing.Point(0, 0); this.tcOperationRoomsPage8.Name = "tcOperationRoomsPage8"; this.tcOperationRoomsPage8.Size = new System.Drawing.Size(1062, 359); this.tcOperationRoomsPage8.TabIndex = 1; // // superTabItem8 // this.superTabItem8.AttachedControl = this.superTabControlPanel8; this.superTabItem8.GlobalItem = false; this.superTabItem8.Name = "superTabItem8"; // // superTabControlPanel7 // this.superTabControlPanel7.Controls.Add(this.tcOperationRoomsPage7); this.superTabControlPanel7.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel7.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel7.Name = "superTabControlPanel7"; this.superTabControlPanel7.Size = new System.Drawing.Size(1062, 359); this.superTabControlPanel7.TabIndex = 0; this.superTabControlPanel7.TabItem = this.superTabItem7; // // tcOperationRoomsPage7 // this.tcOperationRoomsPage7.Dock = System.Windows.Forms.DockStyle.Fill; this.tcOperationRoomsPage7.Location = new System.Drawing.Point(0, 0); this.tcOperationRoomsPage7.Name = "tcOperationRoomsPage7"; this.tcOperationRoomsPage7.Size = new System.Drawing.Size(1062, 359); this.tcOperationRoomsPage7.TabIndex = 1; // // superTabItem7 // this.superTabItem7.AttachedControl = this.superTabControlPanel7; this.superTabItem7.GlobalItem = false; this.superTabItem7.Name = "superTabItem7"; // // superTabControlPanel6 // this.superTabControlPanel6.Controls.Add(this.tcOperationRoomsPage6); this.superTabControlPanel6.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel6.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel6.Name = "superTabControlPanel6"; this.superTabControlPanel6.Size = new System.Drawing.Size(1062, 359); this.superTabControlPanel6.TabIndex = 0; this.superTabControlPanel6.TabItem = this.superTabItem6; // // tcOperationRoomsPage6 // this.tcOperationRoomsPage6.Dock = System.Windows.Forms.DockStyle.Fill; this.tcOperationRoomsPage6.Location = new System.Drawing.Point(0, 0); this.tcOperationRoomsPage6.Name = "tcOperationRoomsPage6"; this.tcOperationRoomsPage6.Size = new System.Drawing.Size(1062, 359); this.tcOperationRoomsPage6.TabIndex = 1; // // superTabItem6 // this.superTabItem6.AttachedControl = this.superTabControlPanel6; this.superTabItem6.GlobalItem = false; this.superTabItem6.Name = "superTabItem6"; // // superTabControlPanel5 // this.superTabControlPanel5.Controls.Add(this.tcOperationRoomsPage5); this.superTabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel5.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel5.Name = "superTabControlPanel5"; this.superTabControlPanel5.Size = new System.Drawing.Size(1062, 359); this.superTabControlPanel5.TabIndex = 0; this.superTabControlPanel5.TabItem = this.superTabItem5; // // tcOperationRoomsPage5 // this.tcOperationRoomsPage5.Dock = System.Windows.Forms.DockStyle.Fill; this.tcOperationRoomsPage5.Location = new System.Drawing.Point(0, 0); this.tcOperationRoomsPage5.Name = "tcOperationRoomsPage5"; this.tcOperationRoomsPage5.Size = new System.Drawing.Size(1062, 359); this.tcOperationRoomsPage5.TabIndex = 1; // // superTabItem5 // this.superTabItem5.AttachedControl = this.superTabControlPanel5; this.superTabItem5.GlobalItem = false; this.superTabItem5.Name = "superTabItem5"; // // superTabControlPanel4 // this.superTabControlPanel4.Controls.Add(this.tcOperationRoomsPage4); this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel4.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel4.Name = "superTabControlPanel4"; this.superTabControlPanel4.Size = new System.Drawing.Size(1062, 359); this.superTabControlPanel4.TabIndex = 0; this.superTabControlPanel4.TabItem = this.superTabItem4; // // tcOperationRoomsPage4 // this.tcOperationRoomsPage4.Dock = System.Windows.Forms.DockStyle.Fill; this.tcOperationRoomsPage4.Location = new System.Drawing.Point(0, 0); this.tcOperationRoomsPage4.Name = "tcOperationRoomsPage4"; this.tcOperationRoomsPage4.Size = new System.Drawing.Size(1062, 359); this.tcOperationRoomsPage4.TabIndex = 2; // // superTabItem4 // this.superTabItem4.AttachedControl = this.superTabControlPanel4; this.superTabItem4.GlobalItem = false; this.superTabItem4.Name = "superTabItem4"; // // superTabControlPanel3 // this.superTabControlPanel3.Controls.Add(this.tcOperationRoomsPage3); this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel3.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel3.Name = "superTabControlPanel3"; this.superTabControlPanel3.Size = new System.Drawing.Size(1062, 359); this.superTabControlPanel3.TabIndex = 0; this.superTabControlPanel3.TabItem = this.superTabItem3; // // tcOperationRoomsPage3 // this.tcOperationRoomsPage3.Dock = System.Windows.Forms.DockStyle.Fill; this.tcOperationRoomsPage3.Location = new System.Drawing.Point(0, 0); this.tcOperationRoomsPage3.Name = "tcOperationRoomsPage3"; this.tcOperationRoomsPage3.Size = new System.Drawing.Size(1062, 359); this.tcOperationRoomsPage3.TabIndex = 1; this.tcOperationRoomsPage3.Resize += new System.EventHandler(this.tcOperationRoomsPage1_Resize); // // superTabItem3 // this.superTabItem3.AttachedControl = this.superTabControlPanel3; this.superTabItem3.GlobalItem = false; this.superTabItem3.Name = "superTabItem3"; // // toolTip1 // this.toolTip1.AutomaticDelay = 0; this.toolTip1.OwnerDraw = true; this.toolTip1.ShowAlways = true; // // spcMain // this.spcMain.Dock = System.Windows.Forms.DockStyle.Fill; this.spcMain.Location = new System.Drawing.Point(0, 0); this.spcMain.Name = "spcMain"; // // spcMain.Panel1 // this.spcMain.Panel1.Controls.Add(this.navigationPane1); // // spcMain.Panel2 // this.spcMain.Panel2.Controls.Add(this.spcLeft); this.spcMain.Size = new System.Drawing.Size(1358, 737); this.spcMain.SplitterDistance = 320; this.spcMain.SplitterWidth = 8; this.spcMain.TabIndex = 466; // // spcLeft // this.spcLeft.Dock = System.Windows.Forms.DockStyle.Fill; this.spcLeft.Location = new System.Drawing.Point(0, 0); this.spcLeft.Name = "spcLeft"; this.spcLeft.Orientation = System.Windows.Forms.Orientation.Horizontal; // // spcLeft.Panel1 // this.spcLeft.Panel1.Controls.Add(this.spcUP); // // spcLeft.Panel2 // this.spcLeft.Panel2.Controls.Add(this.rtbLog); this.spcLeft.Size = new System.Drawing.Size(1030, 737); this.spcLeft.SplitterDistance = 690; this.spcLeft.SplitterWidth = 6; this.spcLeft.TabIndex = 466; // // spcUP // this.spcUP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.spcUP.Dock = System.Windows.Forms.DockStyle.Fill; this.spcUP.Location = new System.Drawing.Point(0, 0); this.spcUP.Name = "spcUP"; this.spcUP.Orientation = System.Windows.Forms.Orientation.Horizontal; // // spcUP.Panel1 // this.spcUP.Panel1.Controls.Add(this.panlemian); // // spcUP.Panel2 // this.spcUP.Panel2.Controls.Add(this.tcOperationRoomsPage); this.spcUP.Size = new System.Drawing.Size(1030, 690); this.spcUP.SplitterDistance = 279; this.spcUP.TabIndex = 466; // // rtbLog // this.rtbLog.BackColorRichTextBox = System.Drawing.SystemColors.Info; // // // this.rtbLog.BackgroundStyle.Class = "RichTextBoxBorder"; this.rtbLog.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.rtbLog.Dock = System.Windows.Forms.DockStyle.Fill; this.rtbLog.Location = new System.Drawing.Point(0, 0); this.rtbLog.Name = "rtbLog"; this.rtbLog.ReadOnly = true; this.rtbLog.Rtf = "{\\rtf1\\ansi\\ansicpg936\\deff0\\nouicompat\\deflang1033\\deflangfe2052{\\fonttbl{\\f0\\fn" + "il\\fcharset134 \\\'cb\\\'ce\\\'cc\\\'e5;}}\r\n{\\*\\generator Riched20 10.0.22621}\\viewkind4" + "\\uc1 \r\n\\pard\\f0\\fs18\\lang2052\\par\r\n}\r\n"; this.rtbLog.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.rtbLog.Size = new System.Drawing.Size(1030, 41); this.rtbLog.TabIndex = 0; // // dataGridViewTextBoxColumn3 // this.dataGridViewTextBoxColumn3.DataPropertyName = "Id"; this.dataGridViewTextBoxColumn3.HeaderText = "编号"; this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; this.dataGridViewTextBoxColumn3.ReadOnly = true; this.dataGridViewTextBoxColumn3.Visible = false; // // dataGridViewTextBoxColumn4 // this.dataGridViewTextBoxColumn4.DataPropertyName = "Name"; dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle50; this.dataGridViewTextBoxColumn4.HeaderText = "姓名"; this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; this.dataGridViewTextBoxColumn4.ReadOnly = true; this.dataGridViewTextBoxColumn4.Visible = false; this.dataGridViewTextBoxColumn4.Width = 80; // // dataGridViewTextBoxColumn5 // this.dataGridViewTextBoxColumn5.DataPropertyName = "deptName"; dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle51; this.dataGridViewTextBoxColumn5.HeaderText = "科室"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.ReadOnly = true; this.dataGridViewTextBoxColumn5.Visible = false; this.dataGridViewTextBoxColumn5.Width = 65; // // dataGridViewTextBoxColumn6 // dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle52; this.dataGridViewTextBoxColumn6.HeaderText = "Mon"; this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; this.dataGridViewTextBoxColumn6.ReadOnly = true; this.dataGridViewTextBoxColumn6.Width = 65; // // dataGridViewTextBoxColumn7 // this.dataGridViewTextBoxColumn7.DataPropertyName = "RowNumber"; dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle53; this.dataGridViewTextBoxColumn7.HeaderText = "序号"; this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; this.dataGridViewTextBoxColumn7.ReadOnly = true; this.dataGridViewTextBoxColumn7.Visible = false; this.dataGridViewTextBoxColumn7.Width = 65; // // dataGridViewTextBoxColumn8 // dataGridViewCellStyle54.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle54; this.dataGridViewTextBoxColumn8.HeaderText = "Tues"; this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; this.dataGridViewTextBoxColumn8.ReadOnly = true; this.dataGridViewTextBoxColumn8.Width = 65; // // dataGridViewTextBoxColumn9 // dataGridViewCellStyle55.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle55; this.dataGridViewTextBoxColumn9.HeaderText = "Wed"; this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; this.dataGridViewTextBoxColumn9.ReadOnly = true; this.dataGridViewTextBoxColumn9.Width = 65; // // dataGridViewTextBoxColumn10 // dataGridViewCellStyle56.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle56; this.dataGridViewTextBoxColumn10.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; this.dataGridViewTextBoxColumn10.ReadOnly = true; this.dataGridViewTextBoxColumn10.Width = 65; // // dataGridViewTextBoxColumn11 // dataGridViewCellStyle57.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle57; this.dataGridViewTextBoxColumn11.HeaderText = "Fri"; this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; this.dataGridViewTextBoxColumn11.ReadOnly = true; this.dataGridViewTextBoxColumn11.Width = 65; // // dataGridViewTextBoxColumn12 // this.dataGridViewTextBoxColumn12.DataPropertyName = "Id"; dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle58; this.dataGridViewTextBoxColumn12.HeaderText = "Sat"; this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; this.dataGridViewTextBoxColumn12.ReadOnly = true; this.dataGridViewTextBoxColumn12.Visible = false; this.dataGridViewTextBoxColumn12.Width = 65; // // dataGridViewTextBoxColumn13 // this.dataGridViewTextBoxColumn13.DataPropertyName = "Name"; dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle59; this.dataGridViewTextBoxColumn13.HeaderText = "Sun"; this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; this.dataGridViewTextBoxColumn13.ReadOnly = true; this.dataGridViewTextBoxColumn13.Visible = false; this.dataGridViewTextBoxColumn13.Width = 65; // // dataGridViewTextBoxColumn14 // this.dataGridViewTextBoxColumn14.DataPropertyName = "Id"; dataGridViewCellStyle60.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle60; this.dataGridViewTextBoxColumn14.HeaderText = "编号"; this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; this.dataGridViewTextBoxColumn14.ReadOnly = true; this.dataGridViewTextBoxColumn14.Visible = false; this.dataGridViewTextBoxColumn14.Width = 65; // // dataGridViewTextBoxColumn15 // this.dataGridViewTextBoxColumn15.DataPropertyName = "Name"; dataGridViewCellStyle61.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle61; this.dataGridViewTextBoxColumn15.HeaderText = "姓名"; this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; this.dataGridViewTextBoxColumn15.ReadOnly = true; this.dataGridViewTextBoxColumn15.Visible = false; this.dataGridViewTextBoxColumn15.Width = 80; // // dataGridViewTextBoxColumn16 // this.dataGridViewTextBoxColumn16.DataPropertyName = "RowNumber"; dataGridViewCellStyle62.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn16.DefaultCellStyle = dataGridViewCellStyle62; this.dataGridViewTextBoxColumn16.HeaderText = "序号"; this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; this.dataGridViewTextBoxColumn16.ReadOnly = true; this.dataGridViewTextBoxColumn16.Visible = false; this.dataGridViewTextBoxColumn16.Width = 65; // // dataGridViewTextBoxColumn17 // this.dataGridViewTextBoxColumn17.DataPropertyName = "deptName"; dataGridViewCellStyle63.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle63; this.dataGridViewTextBoxColumn17.HeaderText = "科室"; this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; this.dataGridViewTextBoxColumn17.ReadOnly = true; this.dataGridViewTextBoxColumn17.Visible = false; this.dataGridViewTextBoxColumn17.Width = 65; // // dataGridViewTextBoxColumn18 // dataGridViewCellStyle64.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle64; this.dataGridViewTextBoxColumn18.HeaderText = "Mon"; this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; this.dataGridViewTextBoxColumn18.ReadOnly = true; this.dataGridViewTextBoxColumn18.Width = 65; // // dataGridViewTextBoxColumn19 // dataGridViewCellStyle65.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle65; this.dataGridViewTextBoxColumn19.HeaderText = "Tues"; this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; this.dataGridViewTextBoxColumn19.ReadOnly = true; this.dataGridViewTextBoxColumn19.Width = 65; // // dataGridViewTextBoxColumn20 // dataGridViewCellStyle66.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn20.DefaultCellStyle = dataGridViewCellStyle66; this.dataGridViewTextBoxColumn20.HeaderText = "Wed"; this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; this.dataGridViewTextBoxColumn20.ReadOnly = true; this.dataGridViewTextBoxColumn20.Width = 65; // // dataGridViewTextBoxColumn21 // this.dataGridViewTextBoxColumn21.DataPropertyName = "Id"; dataGridViewCellStyle67.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle67; this.dataGridViewTextBoxColumn21.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; this.dataGridViewTextBoxColumn21.ReadOnly = true; this.dataGridViewTextBoxColumn21.Visible = false; this.dataGridViewTextBoxColumn21.Width = 65; // // dataGridViewTextBoxColumn22 // this.dataGridViewTextBoxColumn22.DataPropertyName = "Name"; dataGridViewCellStyle68.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle68; this.dataGridViewTextBoxColumn22.HeaderText = "Fri"; this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; this.dataGridViewTextBoxColumn22.ReadOnly = true; this.dataGridViewTextBoxColumn22.Width = 65; // // dataGridViewTextBoxColumn23 // this.dataGridViewTextBoxColumn23.DataPropertyName = "Id"; dataGridViewCellStyle69.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle69; this.dataGridViewTextBoxColumn23.HeaderText = "Sat"; this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; this.dataGridViewTextBoxColumn23.ReadOnly = true; this.dataGridViewTextBoxColumn23.Visible = false; this.dataGridViewTextBoxColumn23.Width = 65; // // dataGridViewTextBoxColumn24 // this.dataGridViewTextBoxColumn24.DataPropertyName = "Name"; dataGridViewCellStyle70.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle70; this.dataGridViewTextBoxColumn24.HeaderText = "Sun"; this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; this.dataGridViewTextBoxColumn24.ReadOnly = true; this.dataGridViewTextBoxColumn24.Visible = false; this.dataGridViewTextBoxColumn24.Width = 65; // // dataGridViewTextBoxColumn25 // this.dataGridViewTextBoxColumn25.DataPropertyName = "deptName"; dataGridViewCellStyle71.Font = new System.Drawing.Font("微软雅黑", 12F); this.dataGridViewTextBoxColumn25.DefaultCellStyle = dataGridViewCellStyle71; this.dataGridViewTextBoxColumn25.HeaderText = "科室"; this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25"; this.dataGridViewTextBoxColumn25.ReadOnly = true; this.dataGridViewTextBoxColumn25.Visible = false; this.dataGridViewTextBoxColumn25.Width = 130; // // dataGridViewTextBoxColumn26 // this.dataGridViewTextBoxColumn26.DataPropertyName = "RowNumber"; dataGridViewCellStyle72.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle72; this.dataGridViewTextBoxColumn26.HeaderText = "序号"; this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26"; this.dataGridViewTextBoxColumn26.ReadOnly = true; this.dataGridViewTextBoxColumn26.Visible = false; this.dataGridViewTextBoxColumn26.Width = 70; // // dataGridViewTextBoxColumn27 // dataGridViewCellStyle73.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle73; this.dataGridViewTextBoxColumn27.HeaderText = "Mon"; this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27"; this.dataGridViewTextBoxColumn27.ReadOnly = true; this.dataGridViewTextBoxColumn27.Width = 65; // // dataGridViewTextBoxColumn28 // dataGridViewCellStyle74.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle74; this.dataGridViewTextBoxColumn28.HeaderText = "Tues"; this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28"; this.dataGridViewTextBoxColumn28.ReadOnly = true; this.dataGridViewTextBoxColumn28.Width = 65; // // dataGridViewTextBoxColumn29 // dataGridViewCellStyle75.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn29.DefaultCellStyle = dataGridViewCellStyle75; this.dataGridViewTextBoxColumn29.HeaderText = "Wed"; this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29"; this.dataGridViewTextBoxColumn29.ReadOnly = true; this.dataGridViewTextBoxColumn29.Width = 65; // // dataGridViewTextBoxColumn30 // dataGridViewCellStyle76.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn30.DefaultCellStyle = dataGridViewCellStyle76; this.dataGridViewTextBoxColumn30.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30"; this.dataGridViewTextBoxColumn30.ReadOnly = true; this.dataGridViewTextBoxColumn30.Width = 65; // // dataGridViewTextBoxColumn31 // dataGridViewCellStyle77.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle77; this.dataGridViewTextBoxColumn31.HeaderText = "Fri"; this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31"; this.dataGridViewTextBoxColumn31.ReadOnly = true; this.dataGridViewTextBoxColumn31.Width = 65; // // dataGridViewTextBoxColumn32 // dataGridViewCellStyle78.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle78; this.dataGridViewTextBoxColumn32.HeaderText = "Sat"; this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32"; this.dataGridViewTextBoxColumn32.ReadOnly = true; this.dataGridViewTextBoxColumn32.Width = 65; // // dataGridViewTextBoxColumn33 // this.dataGridViewTextBoxColumn33.DataPropertyName = "Id"; dataGridViewCellStyle79.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn33.DefaultCellStyle = dataGridViewCellStyle79; this.dataGridViewTextBoxColumn33.HeaderText = "Sun"; this.dataGridViewTextBoxColumn33.Name = "dataGridViewTextBoxColumn33"; this.dataGridViewTextBoxColumn33.ReadOnly = true; this.dataGridViewTextBoxColumn33.Visible = false; this.dataGridViewTextBoxColumn33.Width = 65; // // dataGridViewTextBoxColumn34 // this.dataGridViewTextBoxColumn34.DataPropertyName = "Name"; 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; this.dataGridViewTextBoxColumn34.Visible = false; this.dataGridViewTextBoxColumn34.Width = 65; // // dataGridViewTextBoxColumn35 // this.dataGridViewTextBoxColumn35.DataPropertyName = "deptName"; this.dataGridViewTextBoxColumn35.HeaderText = "序号"; this.dataGridViewTextBoxColumn35.Name = "dataGridViewTextBoxColumn35"; this.dataGridViewTextBoxColumn35.ReadOnly = true; this.dataGridViewTextBoxColumn35.Visible = false; this.dataGridViewTextBoxColumn35.Width = 40; // // dataGridViewTextBoxColumn36 // this.dataGridViewTextBoxColumn36.DataPropertyName = "RowNumber"; dataGridViewCellStyle81.Font = new System.Drawing.Font("微软雅黑", 14F); this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle81; this.dataGridViewTextBoxColumn36.HeaderText = "科室"; this.dataGridViewTextBoxColumn36.Name = "dataGridViewTextBoxColumn36"; this.dataGridViewTextBoxColumn36.ReadOnly = true; this.dataGridViewTextBoxColumn36.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn36.Visible = false; this.dataGridViewTextBoxColumn36.Width = 140; // // dataGridViewTextBoxColumn37 // this.dataGridViewTextBoxColumn37.DataPropertyName = "OperationPriorityId "; dataGridViewCellStyle82.Font = new System.Drawing.Font("微软雅黑", 14F); this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle82; this.dataGridViewTextBoxColumn37.HeaderText = "医师"; this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37"; this.dataGridViewTextBoxColumn37.ReadOnly = true; this.dataGridViewTextBoxColumn37.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn37.Width = 70; // // dataGridViewTextBoxColumn38 // dataGridViewCellStyle83.Font = new System.Drawing.Font("微软雅黑", 14F); this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle83; this.dataGridViewTextBoxColumn38.HeaderText = "时间"; this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38"; this.dataGridViewTextBoxColumn38.ReadOnly = true; this.dataGridViewTextBoxColumn38.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn38.Width = 50; // // dataGridViewTextBoxColumn39 // dataGridViewCellStyle84.Font = new System.Drawing.Font("微软雅黑", 11F); this.dataGridViewTextBoxColumn39.DefaultCellStyle = dataGridViewCellStyle84; this.dataGridViewTextBoxColumn39.HeaderText = "手术"; this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39"; this.dataGridViewTextBoxColumn39.ReadOnly = true; this.dataGridViewTextBoxColumn39.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn39.Width = 65; // // dataGridViewTextBoxColumn40 // dataGridViewCellStyle85.Font = new System.Drawing.Font("微软雅黑", 11F); this.dataGridViewTextBoxColumn40.DefaultCellStyle = dataGridViewCellStyle85; this.dataGridViewTextBoxColumn40.HeaderText = "姓名"; this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40"; this.dataGridViewTextBoxColumn40.ReadOnly = true; this.dataGridViewTextBoxColumn40.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn40.Width = 80; // // dataGridViewTextBoxColumn41 // dataGridViewCellStyle86.Font = new System.Drawing.Font("微软雅黑", 12F); this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle86; this.dataGridViewTextBoxColumn41.HeaderText = "年龄"; this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41"; this.dataGridViewTextBoxColumn41.ReadOnly = true; this.dataGridViewTextBoxColumn41.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn41.Visible = false; this.dataGridViewTextBoxColumn41.Width = 65; // // dataGridViewTextBoxColumn42 // dataGridViewCellStyle87.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle87; this.dataGridViewTextBoxColumn42.HeaderText = "备注"; this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42"; this.dataGridViewTextBoxColumn42.ReadOnly = true; this.dataGridViewTextBoxColumn42.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn42.Visible = false; this.dataGridViewTextBoxColumn42.Width = 80; // // dataGridViewTextBoxColumn43 // dataGridViewCellStyle88.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn43.DefaultCellStyle = dataGridViewCellStyle88; this.dataGridViewTextBoxColumn43.HeaderText = "住院号"; this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43"; this.dataGridViewTextBoxColumn43.ReadOnly = true; this.dataGridViewTextBoxColumn43.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn43.Width = 80; // // dataGridViewTextBoxColumn44 // this.dataGridViewTextBoxColumn44.HeaderText = "性别"; this.dataGridViewTextBoxColumn44.Name = "dataGridViewTextBoxColumn44"; this.dataGridViewTextBoxColumn44.ReadOnly = true; this.dataGridViewTextBoxColumn44.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn44.Width = 65; // // dataGridViewTextBoxColumn45 // this.dataGridViewTextBoxColumn45.DataPropertyName = "OperationPriorityId "; this.dataGridViewTextBoxColumn45.HeaderText = "床号"; this.dataGridViewTextBoxColumn45.Name = "dataGridViewTextBoxColumn45"; this.dataGridViewTextBoxColumn45.ReadOnly = true; this.dataGridViewTextBoxColumn45.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn45.Width = 65; // // dataGridViewTextBoxColumn46 // this.dataGridViewTextBoxColumn46.HeaderText = "诊断"; this.dataGridViewTextBoxColumn46.Name = "dataGridViewTextBoxColumn46"; this.dataGridViewTextBoxColumn46.Width = 80; // // dataGridViewTextBoxColumn47 // this.dataGridViewTextBoxColumn47.HeaderText = "拟施麻醉"; this.dataGridViewTextBoxColumn47.Name = "dataGridViewTextBoxColumn47"; // // dataGridViewTextBoxColumn48 // this.dataGridViewTextBoxColumn48.DataPropertyName = "OperationPriorityId "; this.dataGridViewTextBoxColumn48.HeaderText = "类别"; this.dataGridViewTextBoxColumn48.Name = "dataGridViewTextBoxColumn48"; // // frmOperationSchedulePlan // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(1358, 737); this.Controls.Add(this.spcMain); this.DoubleBuffered = true; this.Name = "frmOperationSchedulePlan"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "排程卡片"; this.Load += new System.EventHandler(this.frmOperationSchedulePlans_Load); this.navigationPane1.ResumeLayout(false); this.navigationPanePanel1.ResumeLayout(false); this.groupBoxsel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvApplyOrDoctor)).EndInit(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dtpSearchTime)).EndInit(); this.navigationPanePanel4.ResumeLayout(false); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvInstrumentNurse)).EndInit(); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput2)).EndInit(); this.navigationPanePanel5.ResumeLayout(false); this.v.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvTourNurse)).EndInit(); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput3)).EndInit(); this.navigationPanePanel2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvWorkers)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput1)).EndInit(); this.panlemian.ResumeLayout(false); this.panlemian.PerformLayout(); this.ctsThisRoom.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); this.tcOperationRoomsPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabScheduling)).EndInit(); this.tabScheduling.ResumeLayout(false); this.superTabControlPanel1.ResumeLayout(false); this.superTabControlPanel2.ResumeLayout(false); this.superTabControlPanel8.ResumeLayout(false); this.superTabControlPanel7.ResumeLayout(false); this.superTabControlPanel6.ResumeLayout(false); this.superTabControlPanel5.ResumeLayout(false); this.superTabControlPanel4.ResumeLayout(false); this.superTabControlPanel3.ResumeLayout(false); this.spcMain.Panel1.ResumeLayout(false); this.spcMain.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.spcMain)).EndInit(); this.spcMain.ResumeLayout(false); this.spcLeft.Panel1.ResumeLayout(false); this.spcLeft.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.spcLeft)).EndInit(); this.spcLeft.ResumeLayout(false); this.spcUP.Panel1.ResumeLayout(false); this.spcUP.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.spcUP)).EndInit(); this.spcUP.ResumeLayout(false); this.ResumeLayout(false); } #endregion #endregion #region 初始化属性函数 /// /// 当前选择人员类型 /// public workerType _workerType; /// /// 当前选中项 /// public string selApply; /// /// 当前选择人员列表 /// public DataTable SchedulingTable; /// /// 所有手术间 /// public List operationRooms; public SelOperationRooms selOperationRooms; public static int hiscount = 0; public Panel SelectPanel; public List ucOpeRooms; /// /// 控件垂直间隔 /// private const int TopBottomMargin = 3; /// /// 控件水平间隔 /// private const int LeftRightMargin = 6; public int CurrentRoom = 0; string outMsg = ""; int _rowColumnOfPage = 0; public int OpeCount = 0; public int RoomCount = 5; public List SSSDept; public List MZKDept; public DataTable NowPatientDataTable; public SysConfig exportConfig; public string DataGridViewPath = ""; public frmOperationSchedulePlan() { try { InitializeComponent(); //不自动生成列 dgvApplyOrDoctor.AutoGenerateColumns = false; dgvWorkers.AutoGenerateColumns = false; dgvTourNurse.AutoGenerateColumns = false; dgvInstrumentNurse.AutoGenerateColumns = false; this.dgvApplyOrDoctor.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvApplyOrDoctor_DataError); this.dgvWorkers.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvApplyOrDoctor_DataError); this.dgvInstrumentNurse.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvApplyOrDoctor_DataError); this.dgvTourNurse.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvApplyOrDoctor_DataError); this.dgvDetail.DataError += DgvDetail_DataError; for (int i = 0; i < this.dgvWorkers.Columns.Count; i++) { dgvWorkers.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable; } for (int i = 0; i < dgvInstrumentNurse.Columns.Count; i++) { dgvInstrumentNurse.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable; } for (int i = 0; i < dgvTourNurse.Columns.Count; i++) { dgvTourNurse.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable; } dgvApplyOrDoctor.BackgroundColor = SystemColors.Control; dgvWorkers.BackgroundColor = SystemColors.Control; dgvInstrumentNurse.BackgroundColor = SystemColors.Control; dgvTourNurse.BackgroundColor = SystemColors.Control; DataGridViewPath = GetControlPath(dgvApplyOrDoctor); exportConfig = BSysConfig.SelectSingle(" Note='" + DataGridViewPath + "' ", null, RecursiveType.None, 0);// if (exportConfig != null) ConfigDataGridView(exportConfig); } catch (Exception ex) { PublicMethod.WriteLog(ex); } } private void frmOperationSchedulePlans_Load(object sender, EventArgs e) { try { RoomCardManage.IsAllowPat = RoomCardManage.GetRolePermission("排程患者"); RoomCardManage.IsAllowAns = RoomCardManage.GetRolePermission("排程麻醉"); RoomCardManage.IsAllowNur = RoomCardManage.GetRolePermission("排程护士"); RoomCardManage.IsAllowStopOpe = RoomCardManage.GetRolePermission("停止手术"); RoomCardManage.IsAllowPassOpe = RoomCardManage.GetRolePermission("排程通过"); if (PublicMethod.OperatorNo == "admin" || PublicMethod.RoleName.Contains("数据中心")) { btnDataCente.Visible = true; toolStripSeparator1.Visible = true; } tsbCancelOperationApply.Visible = RoomCardManage.IsAllowStopOpe; if (RoomCardManage.IsAllowAns == false) { buttonItemAnas.Click -= new EventHandler(buttonItemDoctor_Click); this.navigationPane1.Controls.Remove(this.navigationPanePanel2); this.navigationPane1.Items.Remove(this.buttonItemAnas); mnuCancelADoctor.Visible = false; } if (RoomCardManage.IsAllowNur == false) { buttonInstrumentNurse.Click -= new EventHandler(buttonInstrumentNurse_Click); buttonItemTourNurse.Click -= new EventHandler(buttonItemTourNurse_Click); this.navigationPane1.Controls.Remove(this.navigationPanePanel4); this.navigationPane1.Controls.Remove(this.navigationPanePanel5); this.navigationPane1.Items.Remove(this.buttonInstrumentNurse); this.navigationPane1.Items.Remove(this.buttonItemTourNurse); mnuCancelINurse.Visible = false; mnuCancelTNurse.Visible = false; } if (!RoomCardManage.IsAllowPat) { mnuChangeOptRoomTo.Visible = false; } dtpSearchTime.Value = DateTime.Now; string week = Day[Convert.ToInt32(dtpSearchTime.Value.DayOfWeek.ToString("d"))].ToString(); labelWeek.Text = week; if (RoomCardManage.IsAllowPassOpe == true) { btnpass.Visible = true; toolStripSeparator3.Visible = true; } else { btnpass.Visible = false; toolStripSeparator3.Visible = false; } SSSDept = BDepartment.Select(" NAME ='手术室' and IsValid=1 ", null, RecursiveType.None, 0); MZKDept = BDepartment.Select(" NAME ='麻醉科' and IsValid=1 ", null, RecursiveType.None, 0); if ((MZKDept == null || MZKDept.Count <= 0) && SSSDept != null) MZKDept = SSSDept; ControlExtension.GetOperationSite(labelSite, CboOperationSite); FirstLoad(); this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged); } catch (Exception ex) { PublicMethod.WriteLog(ex); } } private void frmOperationSchedulePlans_VisibleChanged(object sender, EventArgs e) { if (this.Visible == false) return; RoomCardManage.SelectIds = null; } #endregion #region 加载手术室页面中控件的数量 public void FirstLoad() { if (CboOperationSite.Visible == true && CboOperationSite.Text != "") { operationRooms = BOperationRoom.Select(" IsValid=1 and Site='" + CboOperationSite.Text + "' order by [RoomOrder]", null, RecursiveType.None, 0); } else { operationRooms = BOperationRoom.Select(" IsValid=1 and Site<>'恢复室' order by [RoomOrder]", null, RecursiveType.None, 0); } txtQuery.Visible = true; comboBoxExRoom.Visible = false; RoomCardManage.SelectDgv = dgvApplyOrDoctor; RoomCardManage.OnDataSaved = marksManager_OnDataSaved; NowPatientDataTable = BOperationApply.GetOperationFrontDataTable(dtpSearchTime.Value.ToString("yyyy-MM-dd 00:00:00"), dtpSearchTime.Value.ToString("yyyy-MM-dd 23:59:59")); LoadOperationRooms(); tabScheduling_SelectedTabChanged(null, null); dtpSearchTime.Focus(); navigationPane1.ShowMoreButtons(); dgvApplyOrDoctor.ClearSelection(); dtpSearchTime.ValueChanged -= new EventHandler(dtpSearchTime_ValueChanged); this.VisibleChanged -= new EventHandler(frmOperationSchedulePlans_VisibleChanged); dtpSearchTime.ValueChanged += new EventHandler(dtpSearchTime_ValueChanged); this.VisibleChanged += new EventHandler(frmOperationSchedulePlans_VisibleChanged); } private void tabScheduling_SelectedTabChanged(object sender, SuperTabStripSelectedTabChangedEventArgs e) { selOperationRooms = tabScheduling.SelectedTab.Tag as SelOperationRooms; if (tabScheduling.SelectedTab.Name == "superTabItem1") { SelectPanel = tcOperationRoomsPage1; SelectPanel.Controls.Clear(); } else if (tabScheduling.SelectedTab.Name == "superTabItem2") { SelectPanel = tcOperationRoomsPage2; SelectPanel.Controls.Clear(); } else if (tabScheduling.SelectedTab.Name == "superTabItem3") { SelectPanel = tcOperationRoomsPage3; SelectPanel.Controls.Clear(); } else if (tabScheduling.SelectedTab.Name == "superTabItem4") { SelectPanel = tcOperationRoomsPage4; SelectPanel.Controls.Clear(); } else if (tabScheduling.SelectedTab.Name == "superTabItem5") { SelectPanel = tcOperationRoomsPage5; SelectPanel.Controls.Clear(); } else if (tabScheduling.SelectedTab.Name == "superTabItem6") { SelectPanel = tcOperationRoomsPage6; SelectPanel.Controls.Clear(); } else if (tabScheduling.SelectedTab.Name == "superTabItem7") { SelectPanel = tcOperationRoomsPage7; SelectPanel.Controls.Clear(); } else if (tabScheduling.SelectedTab.Name == "superTabItem8") { SelectPanel = tcOperationRoomsPage8; SelectPanel.Controls.Clear(); } ucOpeRooms = new List(); int width = (SelectPanel.Width - 30) / RoomCount; int row = 0; int column = 0; for (int i = 0; i < selOperationRooms.Rooms.Count; i++) { ucPlanOperationRoomCard ucOpeRoom = new ucPlanOperationRoomCard(selOperationRooms.Rooms[i], operationRooms); ucOpeRoom.Width = width; ucOpeRoom.Height = 135; ucOpeRoom.dgvDetail = dgvDetail; if (row != i / RoomCount) { column = 0; row = i / RoomCount; } ucOpeRoom.Location = new Point(column * (ucOpeRoom.Width + LeftRightMargin) + LeftRightMargin, row * (ucOpeRoom.Height + TopBottomMargin) + TopBottomMargin); SelectPanel.Controls.Add(ucOpeRoom); ucOpeRooms.Add(ucOpeRoom); column++; } LoadOperationInfo(); } public void LoadOperationRooms() { for (int i = 0; i < tabScheduling.Tabs.Count; i++) { tabScheduling.Tabs[i].Text = ""; tabScheduling.Tabs[i].Tag = null; if (i != 0) tabScheduling.Tabs[i].Visible = false; } _rowColumnOfPage = RoomCount * 3; List rooms = operationRooms; int allpage = 0; int pages = rooms.Count / _rowColumnOfPage; if (pages * _rowColumnOfPage < rooms.Count) pages++; List roms = new List(); for (int i = 0; i < pages; i++) { roms = new List(); tabScheduling.Tabs["superTabItem" + (allpage + i + 1)].Text = (i * _rowColumnOfPage + 1) + "间-" + (_rowColumnOfPage * (i + 1)) + "间"; for (int j = i * _rowColumnOfPage; j < rooms.Count; j++) { if (j < _rowColumnOfPage + _rowColumnOfPage * i) roms.Add(rooms[j]); } SelOperationRooms selOperationRooms = new SelOperationRooms(); selOperationRooms.Rooms = roms; selOperationRooms.ExecDeparmentId = 0; tabScheduling.Tabs["superTabItem" + (allpage + i + 1)].Tag = selOperationRooms; } allpage += pages; mnuChangeOptRoomTo.DropDownItems.Clear(); foreach (OperationRoom opeRoom in operationRooms) { #region 指定某个 ToolStripItem toolStripItem2 = new ToolStripMenuItem(opeRoom.Name); toolStripItem2.Tag = opeRoom; toolStripItem2.Click += ToolStripItem2_Click; mnuChangeOptRoomTo.DropDownItems.Add(toolStripItem2); #endregion } for (int i = 0; i < tabScheduling.Tabs.Count; i++) { if (tabScheduling.Tabs[i].Tag != null) tabScheduling.Tabs[i].Visible = true; } } private void marksManager_OnDataSaved(ucPlanOperationRoomCard infoMark, OperationRoom _operoom, bool isAll, int currentPage) { try { if (RoomCardManage.SelectDgv.Name == "dgvApplyOrDoctor") { LoadSelectDate(txtQuery.Text.Trim()); lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; } else FullWorkerDgv(""); if (isAll == true) { LoadOperationInfo(); } else LoadOperationInfo(_operoom.Id.Value); if (RoomCardManage.lastSelectOpeRoom != null) RoomCardManage.lastSelectOpeRoom.ShowDetial(RoomCardManage.lastSelectOpeRoom); } catch (Exception ex) { PublicMethod.WriteLog(ex); } } private void tcOperationRoomsPage1_Resize(object sender, EventArgs e) { //Panel pe = sender as Panel; //if (SelectPanel != null && SelectPanel.Tag != null) //{ // OperationInfoMarksManagerSDY manager = SelectPanel.Tag as OperationInfoMarksManagerSDY; // if (manager != null) // { // manager.ShowOperationInfoControls(pe.Width); // } // SelectPanel.Invalidate(); //} } #endregion #region 加载手术信息 private readonly static object _Sync = new object(); public void LoadOperationInfo() { //Task.Factory.StartNew(() => //{ // lock (_Sync) // { foreach (ucPlanOperationRoomCard item in ucOpeRooms) { item.PlanOperationTime = dtpSearchTime.Value; DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "OperationRoomId ='" + item.OperationRoomId + "' and State <> '退回' ", "PlanOrder"); item.LoadInfo(Newdt); } //SelectPanel.Invalidate(); // } //}); } public void LoadOperationInfo(int UpdateRoom) { NowPatientDataTable = BOperationApply.GetOperationFrontDataTable(dtpSearchTime.Value.ToString("yyyy-MM-dd 00:00:00"), dtpSearchTime.Value.ToString("yyyy-MM-dd 23:59:59")); if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0) { NowPatientDataTable = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", "PlanOrder"); } foreach (ucPlanOperationRoomCard item in ucOpeRooms) { if (item.operationRoom.Id.Value != UpdateRoom) continue; item.PlanOperationTime = dtpSearchTime.Value; DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "OperationRoomId ='" + item.OperationRoomId + "' and State <> '退回' ", "PlanOrder"); item.LoadInfo(Newdt); } //SelectPanel.Invalidate(); } public void LoadOperationInfoDgv(int UpdateRoom) { NowPatientDataTable = BOperationApply.GetOperationFrontDataTable(dtpSearchTime.Value.ToString("yyyy-MM-dd 00:00:00"), dtpSearchTime.Value.ToString("yyyy-MM-dd 23:59:59")); if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0) { NowPatientDataTable = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", "PlanOrder"); } foreach (ucPlanOperationRoomCard item in ucOpeRooms) { if (item.operationRoom.Id.Value != UpdateRoom) continue; item.PlanOperationTime = dtpSearchTime.Value; DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "OperationRoomId ='" + item.OperationRoomId + "' and State <> '退回' ", "PlanOrder"); item.LoadInfo(Newdt); item.FillRoomDetail(); } //SelectPanel.Invalidate(); } /// /// 点击查询加载DGV数据 /// public void LoadSelectDate(string selname) { NowPatientDataTable = BOperationApply.GetOperationFrontDataTable(dtpSearchTime.Value.ToString("yyyy-MM-dd 00:00:00"), dtpSearchTime.Value.ToString("yyyy-MM-dd 23:59:59")); DataTable Newdt = new DataTable(); if (selname == "") Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "State IN ('已审核') ", ""); else Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "State IN ('已审核') and (OperationDoctor LIKE '%" + selname + "%' or OperationDoctorcode LIKE '%" + selname + "%' ) ", ""); if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0) { Newdt = AIMSExtension.PublicMethod.GetNewDataTable(Newdt, "OperationSite = '" + CboOperationSite.Text + "' ", ""); } dgvApplyOrDoctor.AutoGenerateColumns = false; dgvApplyOrDoctor.DataSource = Newdt; foreach (DataGridViewRow item in dgvApplyOrDoctor.Rows) { if (item.Cells["OperationType"].Value != null && item.Cells["OperationType"].Value.ToString() == "急诊") { item.DefaultCellStyle.BackColor = Color.MistyRose; } if (item.Cells["OperationType"].Value != null && item.Cells["OperationType"].Value.ToString() == "日间") { item.DefaultCellStyle.BackColor = Color.DeepSkyBlue; } if (item.Cells["Contagion"].Value != null && item.Cells["Contagion"].Value.ToString() != "" && item.Cells["Contagion"].Value.ToString() != "无" && item.Cells["Contagion"].ToString() != "未报") { item.DefaultCellStyle.BackColor = Color.Purple; } } dgvApplyOrDoctor.ClearSelection(); OpeCount = NowPatientDataTable.Rows.Count; } #endregion #region 前一天 后一天 时间查询事件 private void btnSearchOperation_Click(object sender, EventArgs e) { RoomCardManage.SelectDgv = dgvApplyOrDoctor; dgvDetail.PrimaryGrid.Rows.Clear(); if (RoomCardManage.lastSelectOpeRoom != null) RoomCardManage.lastSelectOpeRoom.panelExMain.Style.BackColor1.Color = System.Drawing.SystemColors.Control; RoomCardManage.lastSelectOpeRoom = null; LoadSelectDate(txtQuery.Text.Trim()); LoadOperationInfo(); lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; } private void txtQuery_TextChanged(object sender, EventArgs e) { RoomCardManage.SelectDgv = dgvApplyOrDoctor; LoadSelectDate(txtQuery.Text.Trim()); lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; } private void btnBeforeDay_Click(object sender, EventArgs e) { dtpSearchTime.Value = dtpSearchTime.Value.AddDays(-1); } private void btnAfterDay_Click(object sender, EventArgs e) { dtpSearchTime.Value = dtpSearchTime.Value.AddDays(1); } private string[] Day = new string[] { "周日", "周一", "周二", "周三", "周四", "周五", "周六" }; private void dtpSearchTime_ValueChanged(object sender, EventArgs e) { string week = Day[Convert.ToInt32(dtpSearchTime.Value.DayOfWeek.ToString("d"))].ToString(); labelWeek.Text = week; //labelWeek.Text = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.GetDayName(dtpSearchTime.Value.DayOfWeek); btnSearchOperation_Click(null, null); } #endregion #region dgv选择人员患者 private void dgv_CellClick(object sender, DataGridViewCellEventArgs e) { //RoomCardManage.SelectDgv = sender as DataGridView; //if (RoomCardManage.SelectDgv.CurrentRow == null || e.RowIndex <= -1) return; //foreach (DataGridViewRow item in RoomCardManage.SelectDgv.SelectedRows) //{ // DataGridViewCell senderdgvr = item.Cells[0]; // senderdgvr.Value = (senderdgvr.EditedFormattedValue.ToString() == "True") ? false : true; //} //if (RoomCardManage.SelectDgv.CurrentRow == null) return; //if (RoomCardManage.SelectIds == null) RoomCardManage.SelectIds = new List(); //int id = Convert.ToInt32(RoomCardManage.SelectDgv.CurrentRow.Cells[1].Value); //RoomCardManage.SelectIds.Clear(); //RoomCardManage.SelectIds.Add(id); ////RoomCardManage.SelectIds = GetSelectIds(); } /// /// 选择要排程的申请ID /// /// private List GetSelectIds() { List opas = new List(); foreach (DataGridViewRow item in RoomCardManage.SelectDgv.Rows) { bool isChoose = bool.Parse(item.Cells[0].EditedFormattedValue.ToString()); if (isChoose) { string SelectId = item.Cells[1].Value.ToString();// as string; if (SelectId != "") opas.Add(Convert.ToInt32(SelectId)); } } return opas; } public void ClearSelectDoctor() { if (RoomCardManage.SelectIds != null && RoomCardManage.SelectIds.Count > 0) for (int i = 0; i < RoomCardManage.SelectDgv.Rows.Count;) { DataGridViewRow row = RoomCardManage.SelectDgv.Rows[i]; bool isChoose = bool.Parse(row.Cells[0].EditedFormattedValue.ToString()); if (isChoose) { row.Cells[0].Value = false; //RoomCardManage.SelectDgv.Rows.Remove(row); } else i++; } RoomCardManage.SelectIds = new List(); } private int SaveApplyScheduling(int room, int applyID) { if (CurrentRoom <= 0) return 0; OperationApply opeapply = BOperationApply.SelectSingle(applyID, RecursiveType.None, 0); if (RoomCardManage.IsAllowPassOpe == true) { opeapply.State = 3; } else { opeapply.State = 4; } opeapply.OperationRoomId = room; opeapply.PlanOperationTime = dtpSearchTime.Value; opeapply.PlanOrder = BOperationApply.GetMaxPlanOrder(opeapply.PlanOperationTime.Value, opeapply.OperationRoomId.Value) + 1; return BOperationApply.Update(opeapply); } /// /// 保存麻醉医生 /// /// /// /// private int SaveAnasDoctor(int applyId, string dnIDs, bool IsUpload = false) { int res = 0; if (_workerType == workerType.AnesthesiaDoctor) { BApplyPersonDuty.Delete(applyId, 5, int.Parse(dnIDs)); ApplyPersonDuty ApplyPersonDutyAnesthesiaDoctor = new ApplyPersonDuty(); ApplyPersonDutyAnesthesiaDoctor.OperationApplyId = applyId; ApplyPersonDutyAnesthesiaDoctor.PersonDutyId = 5; // 麻醉医生 ApplyPersonDutyAnesthesiaDoctor.PersonId = int.Parse(dnIDs); ApplyPersonDutyAnesthesiaDoctor.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; ApplyPersonDutyAnesthesiaDoctor.OperatorName = AIMSExtension.PublicMethod.OperatorName; ApplyPersonDutyAnesthesiaDoctor.OperateDate = DateTime.Now; res += BApplyPersonDuty.Add(ApplyPersonDutyAnesthesiaDoctor); } else { if (_workerType == workerType.InstrumentNurse) { BApplyPersonDuty.Delete(applyId, 6, int.Parse(dnIDs)); ApplyPersonDuty ApplyPersonDutyAnesthesiaDoctor = new ApplyPersonDuty(); ApplyPersonDutyAnesthesiaDoctor.OperationApplyId = applyId; ApplyPersonDutyAnesthesiaDoctor.PersonDutyId = 6; ApplyPersonDutyAnesthesiaDoctor.PersonId = int.Parse(dnIDs); ApplyPersonDutyAnesthesiaDoctor.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; ApplyPersonDutyAnesthesiaDoctor.OperatorName = AIMSExtension.PublicMethod.OperatorName; ApplyPersonDutyAnesthesiaDoctor.OperateDate = DateTime.Now; res += BApplyPersonDuty.Add(ApplyPersonDutyAnesthesiaDoctor); } if (_workerType == workerType.TourNurse) { BApplyPersonDuty.Delete(applyId, 7, int.Parse(dnIDs)); ApplyPersonDuty ApplyPersonDutyAnesthesiaDoctor = new ApplyPersonDuty(); ApplyPersonDutyAnesthesiaDoctor.OperationApplyId = applyId; ApplyPersonDutyAnesthesiaDoctor.PersonDutyId = 7; ApplyPersonDutyAnesthesiaDoctor.PersonId = int.Parse(dnIDs); ApplyPersonDutyAnesthesiaDoctor.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; ApplyPersonDutyAnesthesiaDoctor.OperatorName = AIMSExtension.PublicMethod.OperatorName; ApplyPersonDutyAnesthesiaDoctor.OperateDate = DateTime.Now; res += BApplyPersonDuty.Add(ApplyPersonDutyAnesthesiaDoctor); } } return res; } #endregion #region 顶部功能项 /// /// 添加手术申请信息事件 /// /// /// private void tsbNewOperationApply_Click(object sender, EventArgs e) { frmOperationApplyDetail frmOperationApplyDetail = new frmOperationApplyDetail(); frmOperationApplyDetail.State = AIMSExtension.EditState.ADD; frmOperationApplyDetail.FormClosed += (s, er) => LoadSelectDate(txtQuery.Text.Trim()); frmOperationApplyDetail.ShowDialog(); } /// /// 修改手术申请信息事件 /// /// /// private void tsbModifyOperationApply_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") return; frmOperationApplyDetail frmOperationApplyDetail = new frmOperationApplyDetail(); frmOperationApplyDetail.State = AIMSExtension.EditState.EDIT; frmOperationApplyDetail.EditApplyId = int.Parse(selApply); frmOperationApplyDetail.FormClosed += (s, er) => { LoadSelectDate(txtQuery.Text.Trim()); LoadOperationInfo(); //dgvDetail.PrimaryGrid.Rows.Clear(); try { if (grCurrentSub != null) { OperationApply apply = BOperationApply.SelectSingle(int.Parse(selApply)); if (apply.PlanOperationTime == null || apply.PlanOperationTime.Value.ToShortDateString() != dtpSearchTime.Value.ToShortDateString()) { dgvDetail.PrimaryGrid.Rows.Remove(grCurrentSub); } } } catch (Exception ex) { PublicMethod.WriteLog(ex); } selApply = null; RoomCardManage.SelectIds = null; lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; }; frmOperationApplyDetail.ShowDialog(); } /// /// 取消已申请手术信息事件 /// /// /// private void tsbCancelOperationApply_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") return; frmStopOperation frmStop = new frmStopOperation(); frmStop.ApplyIdList = new List() { int.Parse(selApply) }; DialogResult ddr = frmStop.ShowDialog(); if (ddr == System.Windows.Forms.DialogResult.OK) { LoadSelectDate(""); selApply = null; RoomCardManage.SelectIds = null; if (grCurrentSub != null) { BOperationApply.UpdteOperationOrder(dtpSearchTime.Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); outMsg = string.Format("{2} 停止 患者:{0} 手术:{1} 成功!", grCurrentSub.Cells["Patient"].Value, grCurrentSub.Cells["OperationName"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); RoomCardManage.WriteMsg(rtbLog, outMsg); LoadOperationInfoDgv(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); dgvDetail.PrimaryGrid.Rows.Remove(grCurrentSub); } } } private void ToolStripItem2_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") return; try { OperationApply opeapply = BOperationApply.SelectSingle(int.Parse(selApply), RecursiveType.None, 0); if (opeapply.State > 5) { MessageBox.Show("该申请已手术 请于术中切换手术间!"); return; } OperationRoom opeRoom = (sender as ToolStripItem).Tag as OperationRoom; BOperationApply.UpdateApplyRoom(int.Parse(selApply), opeRoom.Id.Value, dtpSearchTime.Value); BOperationApply.UpdteOperationOrder(dtpSearchTime.Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); outMsg = string.Format("{2} 更换 患者:{0} 手术间{1} 成功!", grCurrentSub.Cells["Patient"].Value, opeRoom, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); RoomCardManage.WriteMsg(rtbLog, outMsg); LoadOperationInfo(opeRoom.Id.Value); LoadOperationInfoDgv(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); //dgvDetail.PrimaryGrid.Rows.Remove(grCurrentSub); } catch (Exception ex) { MessageBox.Show(ex.Message); } } private void 取消排程通过ToolStripMenuItem_Click(object sender, EventArgs e) { DataTable dt = BOperationApply.GetOperationFrontDataTable(dtpSearchTime.Value.ToString("yyyy-MM-dd"), dtpSearchTime.Value.AddDays(1).ToString("yyyy-MM-dd")); DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(dt, "OperationType <>'特急' and State IN ('预排程','已排程')", ""); if (Newdt.Rows.Count > 0) { for (int i = 0; i < Newdt.Rows.Count; i++) { int ApplyId = int.Parse(Newdt.Rows[i]["ApplyId"].ToString()); BOperationApply.UpdateApplyState(ApplyId, 3); } MessageBox.Show("取消通过成功!", "系统提示"); LoadSelectDate(""); LoadOperationInfo(); } } private void btnPlan_Click(object sender, EventArgs e) { frmSelectiveOperationsPrint frm = new frmSelectiveOperationsPrint(); frm.beginTime = dtpSearchTime.Value.Date; frm.endTime = dtpSearchTime.Value.Date.AddHours(23).AddMinutes(59); frm.Show(); } private void button3_Click(object sender, EventArgs e) { NowPatientDataTable = BOperationApply.GetOperationFrontDataTable(dtpSearchTime.Value.ToString("yyyy-MM-dd 00:00:00"), dtpSearchTime.Value.ToString("yyyy-MM-dd 23:59:59")); DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, " State <> '退回' ", "PlanOrder"); if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0) { Newdt = AIMSExtension.PublicMethod.GetNewDataTable(Newdt, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", "PlanOrder"); } if (Newdt == null || Newdt.Rows.Count <= 0) return; frmPrintingArrangemen frm = new frmPrintingArrangemen(); frm.dt = Newdt; frm.beginTime = dtpSearchTime.Value.Date; frm.endTime = dtpSearchTime.Value.Date.AddHours(23).AddMinutes(59); frm.ShowDialog(); } private void btnWorkPlan_Click(object sender, EventArgs e) { frmPersonSchedul fw = new frmPersonSchedul(); fw.Show(); } #endregion #region 选择申请或人员 private void dgvApplyOrDoctor_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (RoomCardManage.lastSelectOpeRoom == null) return; CurrentRoom = RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value; int returnValue = 0; int rowIndex = e.RowIndex; int rowIndexLastDisplayed = 0; bool IsUpdate = false; if (RoomCardManage.SelectIds == null) return; if (RoomCardManage.IsAllowPat == false) { MessageBox.Show("您没有排程权限!", "系统提示"); return; } RoomCardManage.SelectIds.ForEach(s => { returnValue = SaveApplyScheduling(CurrentRoom, s); if (returnValue > 0) IsUpdate = true; }); if (IsUpdate == true) { LoadOperationInfo(CurrentRoom); //dgvApplyOrDoctor.Rows.RemoveAt(dgvApplyOrDoctor.CurrentRow.Index); RoomCardManage.SelectIds = new List(); for (int i = dgvApplyOrDoctor.Rows.Count - 1; i >= 0; i--) { DataGridViewCell senderdgvr = dgvApplyOrDoctor.Rows[i].Cells[0]; if (senderdgvr.EditedFormattedValue.ToString() == "True") { string outMsg = string.Format("患者:{0} 手术:{1} --> {2}成功!", dgvApplyOrDoctor.Rows[i].Cells["PatientName"].Value, dgvApplyOrDoctor.Rows[i].Cells["Operation"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); RoomCardManage.WriteMsg(rtbLog, outMsg); dgvApplyOrDoctor.Rows.RemoveAt(senderdgvr.RowIndex); } } foreach (DataGridViewRow item in dgvApplyOrDoctor.Rows) { if (item.Displayed == true) rowIndexLastDisplayed = item.Index; DataGridViewCell senderdgvr = item.Cells[0]; senderdgvr.Value = false; } RoomCardManage.lastSelectOpeRoom.ShowDetial(RoomCardManage.lastSelectOpeRoom); //manager.OnDataSaved(null, manager.lastSelectOpeRoom.OpeRoom, true, 1); lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; } #region 选中下一条手术申请并让其可见 if (rowIndex >= dgvApplyOrDoctor.Rows.Count) { rowIndex = dgvApplyOrDoctor.Rows.Count - 1; rowIndexLastDisplayed = rowIndex; } //增加判断dgvApplyOrDoctor.Rows.Count>0 if (rowIndex >= 0 && dgvApplyOrDoctor.Rows.Count > 0) { dgvApplyOrDoctor.Rows[rowIndex].Selected = true; if (dgvApplyOrDoctor.Rows[rowIndex].Displayed == false) { dgvApplyOrDoctor.FirstDisplayedScrollingRowIndex = rowIndexLastDisplayed; } } #endregion } private void buttonItemApply_Click(object sender, EventArgs e) { txtQuery.Text = ""; RoomCardManage.SelectIds = null; SchedulingTable = new DataTable(); btnSearchOperation_Click(null, null); } private void buttonItemDoctor_Click(object sender, EventArgs e) { textBoxX2.Text = ""; RoomCardManage.SelectIds = null; _workerType = workerType.AnesthesiaDoctor; RoomCardManage.SelectDgv = dgvWorkers; dateTimeInput1.Value = dtpSearchTime.Value; FullWorkerDgv(textBoxX2.Text.Trim()); } private void textBoxX2_TextChanged(object sender, EventArgs e) { FullWorkerDgv(textBoxX2.Text.Trim()); } private void buttonInstrumentNurse_Click(object sender, EventArgs e) { textBoxX3.Text = ""; RoomCardManage.SelectIds = null; _workerType = workerType.InstrumentNurse; RoomCardManage.SelectDgv = dgvInstrumentNurse; dateTimeInput2.Value = dtpSearchTime.Value; FullWorkerDgv(textBoxX3.Text.Trim()); } private void textBoxX3_TextChanged(object sender, EventArgs e) { FullWorkerDgv(textBoxX3.Text.Trim()); } private void buttonItemTourNurse_Click(object sender, EventArgs e) { textBoxX4.Text = ""; RoomCardManage.SelectIds = null; _workerType = workerType.TourNurse; RoomCardManage.SelectDgv = dgvTourNurse; dateTimeInput3.Value = dtpSearchTime.Value; FullWorkerDgv(textBoxX4.Text.Trim()); } private void textBoxX4_TextChanged(object sender, EventArgs e) { FullWorkerDgv(textBoxX4.Text.Trim()); } private void buttonX3_Click(object sender, EventArgs e) { textBoxX2.Text = ""; textBoxX3.Text = ""; textBoxX4.Text = ""; //RoomCardManage.SelectIds = new List(); ClearSelectDoctor(); } private void FullWorkerDgv(string selname) { if (RoomCardManage.SelectDgv == null) return; RoomCardManage.SelectIds = null; ChineseCalendar cc; if (RoomCardManage.SelectDgv != dgvApplyOrDoctor) { for (int i = 0; i < 7; i++) { cc = new ChineseCalendar(dtpSearchTime.Value.AddDays(i)); RoomCardManage.SelectDgv.Columns[5 + i].HeaderText = dtpSearchTime.Value.AddDays(i).ToString("MM-dd") + System.Environment.NewLine + cc.WeekDayStr; RoomCardManage.SelectDgv.Columns[5 + i].DataPropertyName = dtpSearchTime.Value.AddDays(i).ToString("yyyy-MM-dd"); } } if (_workerType == workerType.AnesthesiaDoctor) { SchedulingTable = BPerson.GetSchedulingForSelect(dtpSearchTime.Value, "麻醉医生");//MZKDept[0].Id.Value RoomCardManage.SelectDgv.DataSource = SchedulingTable; } else { SchedulingTable = BPerson.GetSchedulingForSelect(dtpSearchTime.Value, "手术室护士");//SSSDept[0].Id.Value RoomCardManage.SelectDgv.DataSource = SchedulingTable; } } public enum workerType { /// /// 手术申请 /// OperationApply = 0, /// /// 麻醉医师 /// AnesthesiaDoctor = 1, /// /// 洗手护士 /// InstrumentNurse = 2, /// /// 巡回护士 /// TourNurse = 3 } public class SelOperationRooms { public List Rooms { get; set; } public int ExecDeparmentId { get; set; } } #endregion #region 排程功能 private GridRow grCurrentSub; private int oldGridHight = 22; private void sgcDetail_CellClick(object sender, DevComponents.DotNetBar.SuperGrid.GridCellClickEventArgs e) { if (e.GridCell == null) return; grCurrentSub = (GridRow)e.GridCell.GridRow; int iRowID = int.Parse(grCurrentSub.Cells["Id"].Value.ToString()); //int StateId = int.Parse(grCurrentSub.Cells["State"].Value.ToString()); selApply = iRowID.ToString(); RoomCardManage.IsFillAll = false; if (e.GridCell.Value != null) { if (e.GridCell.Value.ToString() == "Χ") { if (RoomCardManage.IsAllowPat == false) { MessageBox.Show("您没有排程权限!", "系统提示"); return; } #region 取消排程操作 OperationApply opeapply = BOperationApply.SelectSingle(iRowID, RecursiveType.None, 0); if (opeapply.State > 5) { MessageBox.Show("该申请已手术 不允许删除!"); return; } opeapply.State = 2; opeapply.OperationRoomId = null; opeapply.PlanOperationTime = null; opeapply.PlanOrder = null; if (BOperationApply.Update(opeapply) > 0) { BApplyPersonDuty.Delete(" PersonDutyId in(5,6,7,8,9,10) and OperationApplyId=" + iRowID, null); outMsg = string.Format("{2} 移除 患者:{0} 手术:{1} 成功!", grCurrentSub.Cells["Patient"].Value, grCurrentSub.Cells["OperationName"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); BOperationApply.UpdteOperationOrder(dtpSearchTime.Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); RoomCardManage.WriteMsg(rtbLog, outMsg); LoadSelectDate(""); LoadOperationInfoDgv(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); } #endregion } } } private List lstOrderStr = new List { "台", "患者", "住院号", "床号", "手术医生", "手术名称", "手术时间" }; private void dgvWorkers_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (RoomCardManage.lastSelectOpeRoom == null) return; if (RoomCardManage.SelectIds == null) RoomCardManage.SelectIds = new List(); int id = Convert.ToInt32(RoomCardManage.SelectDgv.CurrentRow.Cells[1].Value); RoomCardManage.SelectIds.Clear(); RoomCardManage.SelectIds.Add(id); int iRet = 0; int rowId = e.RowIndex; CurrentRoom = RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value; if (RoomCardManage.SelectDgv != dgvApplyOrDoctor) { string DoctorNures = RoomCardManage.SelectIds.FirstOrDefault().ToString(); if (_workerType == workerType.AnesthesiaDoctor) { #region 麻醉医生保存 foreach (DataRow item in RoomCardManage.lastSelectOpeRoom.pDataTable.Rows) { if (RoomCardManage.IsFillAll == true || item["ApplyID"].ToString() == selApply) iRet = SaveAnasDoctor(int.Parse(item["ApplyID"].ToString()), DoctorNures); } if (iRet != -1) outMsg = string.Format("麻醉医生:{0} --> {1}成功!", dgvWorkers.CurrentRow.Cells["oName"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); #endregion } else { #region 护士保存 if (_workerType == workerType.InstrumentNurse) { foreach (DataRow item in RoomCardManage.lastSelectOpeRoom.pDataTable.Rows) { if (RoomCardManage.IsFillAll == true || item["ApplyID"].ToString() == selApply) iRet = SaveAnasDoctor(int.Parse(item["ApplyID"].ToString()), DoctorNures); } if (iRet != -1) outMsg = string.Format("洗手护士:{0} --> {1}成功!", dgvInstrumentNurse.CurrentRow.Cells[2].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); } if (_workerType == workerType.TourNurse) { foreach (DataRow item in RoomCardManage.lastSelectOpeRoom.pDataTable.Rows) { if (RoomCardManage.IsFillAll == true || item["ApplyID"].ToString() == selApply) iRet = SaveAnasDoctor(int.Parse(item["ApplyID"].ToString()), DoctorNures); } if (iRet != -1) outMsg = string.Format(" 巡回护士:{0} --> {1}成功!", dgvTourNurse.CurrentRow.Cells[2].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); } #endregion } #region 刷新页面 RoomCardManage.WriteMsg(rtbLog, outMsg); LoadOperationInfoDgv(CurrentRoom); //RoomCardManage.SelectDgv.Rows[rowId].Selected = true; //if (RoomCardManage.SelectDgv.Rows[rowId].Displayed == false) //{ // RoomCardManage.SelectDgv.FirstDisplayedScrollingRowIndex = rowId; //} #endregion } } private void SwapByStep(int step) { if (dgvDetail.PrimaryGrid.Rows.Count == 0 || dgvDetail.PrimaryGrid.Rows.Count == 1) return; GridRow SelGridRow = null; GridRow stepGridRow = null; foreach (GridRow item in dgvDetail.PrimaryGrid.Rows) { if (item.Cells[0].Value.ToString() == selApply.ToString()) { try { SelGridRow = item; stepGridRow = (GridRow)dgvDetail.PrimaryGrid.Rows[item.RowIndex + step]; } catch (Exception) { } } } if (SelGridRow == null || stepGridRow == null || RoomCardManage.IsAllowPat == false) return; BOperationApply.UpdatePlanOrder(Convert.ToInt32(SelGridRow.Cells[0].Value), Convert.ToInt32(stepGridRow.Cells[1].Value)); BOperationApply.UpdatePlanOrder(Convert.ToInt32(stepGridRow.Cells[0].Value), Convert.ToInt32(SelGridRow.Cells[1].Value)); LoadOperationInfoDgv(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); foreach (GridRow grCurrent in dgvDetail.PrimaryGrid.Rows) { if (grCurrent.Cells["Id"].Value.ToString() == selApply) { grCurrent.SetActive(true); break; ; } } } private void btnReOrderPlanOperationUP_Click(object sender, EventArgs e) { SwapByStep(-1); } private void btnReOrderPlanOperationDown_Click(object sender, EventArgs e) { SwapByStep(1); } private void sgcDetail_RowHeaderClick(object sender, GridRowHeaderClickEventArgs e) { grCurrentSub = (GridRow)e.GridRow; int iRowID = int.Parse(grCurrentSub.Cells["Id"].Value.ToString()); selApply = iRowID.ToString(); } private void ctsThisRoom_Opening(object sender, CancelEventArgs e) { if (selApply == null || selApply == "") return; mnuCancelADoctor.DropDownItems.Clear(); mnuCancelINurse.DropDownItems.Clear(); mnuCancelTNurse.DropDownItems.Clear(); if (selApply == "") return; if (RoomCardManage.lastSelectOpeRoom == null) return; System.Data.DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(RoomCardManage.lastSelectOpeRoom.pDataTable, " ApplyID=" + selApply, ""); if (Newdt != null && Newdt.Rows.Count > 0) { DataRow item = Newdt.Rows[0]; #region 麻醉医生处理 string sAnesthesiaDoctor = item["AnesthesiaDoctor"].ToString(); if (!string.IsNullOrWhiteSpace(sAnesthesiaDoctor)) { List Anesthesia = sAnesthesiaDoctor.Split(',').ToList(); List AnesthesiaId = item["AnesthesiaDoctorId"].ToString().Split(',').ToList(); if (Anesthesia.Count > 0 && AnesthesiaId.Count > 0) { for (int i = 0; i < AnesthesiaId.Count; i++) { ToolStripItem tspAnes = new ToolStripMenuItem(Anesthesia[i]); tspAnes.Tag = AnesthesiaId[i]; tspAnes.Click += TspAnes_Click; mnuCancelADoctor.DropDownItems.Add(tspAnes); } } } #endregion #region 洗手护士处理 string sInstrumentNurse = item["InstrumentNurse"].ToString(); if (!string.IsNullOrWhiteSpace(sInstrumentNurse)) { List Instrument = sInstrumentNurse.Split(',').ToList(); List InstrumentId = item["InstrumentNurseId"].ToString().Split(',').ToList(); if (Instrument.Count > 0 && InstrumentId.Count > 0) { for (int i = 0; i < InstrumentId.Count; i++) { ToolStripItem tspIns = new ToolStripMenuItem(Instrument[i]); tspIns.Tag = InstrumentId[i]; tspIns.Click += TspNurse1_Click; mnuCancelINurse.DropDownItems.Add(tspIns); } } } #endregion #region 巡回护士处理 string sTourNurse = item["TourNurse"].ToString(); if (!string.IsNullOrWhiteSpace(sTourNurse)) { List Tour = sTourNurse.Split(',').ToList(); List TourId = item["TourNurseId"].ToString().Split(',').ToList(); if (Tour.Count > 0 && TourId.Count > 0) { for (int i = 0; i < TourId.Count; i++) { ToolStripItem tspNurse2 = new ToolStripMenuItem(Tour[i]); tspNurse2.Tag = TourId[i]; tspNurse2.Click += TspNurse2_Click; mnuCancelTNurse.DropDownItems.Add(tspNurse2); } } } #endregion } } private void TspAnes_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") return; int dict = int.Parse((sender as ToolStripItem).Tag.ToString()); BApplyPersonDuty.Delete(" PersonId='" + dict + "' and PersonDutyId in(5) and OperationApplyId=" + selApply, null); LoadOperationInfoDgv(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); MessageBox.Show("撤销麻醉医生成功!"); } private void TspNurse1_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") return; int dict = int.Parse((sender as ToolStripItem).Tag.ToString()); BApplyPersonDuty.Delete(" PersonId='" + dict + "' and PersonDutyId in(6) and OperationApplyId=" + selApply, null); LoadOperationInfoDgv(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); MessageBox.Show("撤销洗手护士成功!"); } private void TspNurse2_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") return; int dict = int.Parse((sender as ToolStripItem).Tag.ToString()); BApplyPersonDuty.Delete(" PersonId='" + dict + "' and PersonDutyId in(7) and OperationApplyId=" + selApply, null); LoadOperationInfoDgv(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); MessageBox.Show("撤销巡回护士成功!"); } private void sgcDetail_RowActivated(object sender, GridRowActivatedEventArgs e) { if (e.NewActiveRow != null) grCurrentSub = (GridRow)e.NewActiveRow; else grCurrentSub = (GridRow)e.OldActiveRow; int iRowID = int.Parse(grCurrentSub.Cells["Id"].Value.ToString()); selApply = iRowID.ToString(); } private void sgcDetail_ColumnHeaderClick(object sender, GridColumnHeaderClickEventArgs e) { if (lstOrderStr.Contains(e.GridColumn.HeaderText)) { RoomCardManage.CallObjectEvent(buttonItem1, "OnClick"); buttonItemApply_Click(buttonItem1, new EventArgs()); //setCellBackground(0); } else if (e.GridColumn.HeaderText == "麻醉医生") { e.GridColumn.AllowSelection = true; RoomCardManage.CallObjectEvent(buttonItemAnas, "OnClick"); buttonItemDoctor_Click(buttonItemAnas, new EventArgs()); RoomCardManage.IsFillAll = true; //setCellBackground(e.GridColumn.ColumnIndex); } else if (e.GridColumn.HeaderText == "洗手护士") { RoomCardManage.CallObjectEvent(buttonInstrumentNurse, "OnClick"); buttonInstrumentNurse_Click(buttonInstrumentNurse, new EventArgs()); RoomCardManage.IsFillAll = true; //setCellBackground(e.GridColumn.ColumnIndex); } else if (e.GridColumn.HeaderText == "巡回护士") { RoomCardManage.CallObjectEvent(buttonItemTourNurse, "OnClick"); buttonItemTourNurse_Click(buttonItemTourNurse, new EventArgs()); RoomCardManage.IsFillAll = true; //setCellBackground(e.GridColumn.ColumnIndex); } } private void dgvApplyOrDoctor_CellClick(object sender, DataGridViewCellEventArgs e) { try { RoomCardManage.SelectDgv = sender as DataGridView; if (RoomCardManage.SelectDgv.CurrentRow == null || e.RowIndex <= -1 || e.ColumnIndex != 0) return; foreach (DataGridViewRow item in RoomCardManage.SelectDgv.SelectedRows) { DataGridViewCell senderdgvr = item.Cells[0]; senderdgvr.Value = (senderdgvr.EditedFormattedValue.ToString() == "True") ? false : true; break; } if (RoomCardManage.SelectDgv.CurrentRow == null) return; if (RoomCardManage.SelectIds == null) RoomCardManage.SelectIds = new List(); int id = Convert.ToInt32(RoomCardManage.SelectDgv.CurrentRow.Cells[1].Value); if (RoomCardManage.SelectDgv.CurrentRow.Cells[0].EditedFormattedValue.ToString() == "True") { if (!RoomCardManage.SelectIds.Contains(id)) { RoomCardManage.SelectIds.Add(id); selApply = id.ToString(); } } else { if (RoomCardManage.SelectIds.Contains(id)) { RoomCardManage.SelectIds.Remove(id); } } //if (IsAllowPat == false) //{ // RoomCardManage.SelectIds .Clear(); //} } finally { RoomCardManage.SelectDgv.ClearSelection(); } } private void dgvApplyOrDoctor_ColumnHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e) { if (e.ColumnIndex == 0) { foreach (DataGridViewRow item in dgvApplyOrDoctor.Rows) { DataGridViewCell senderdgvr = item.Cells[0]; senderdgvr.Value = (senderdgvr.EditedFormattedValue.ToString() == "True") ? false : true; } RoomCardManage.SelectIds = GetSelectIds(); } } private void button1_Click(object sender, EventArgs e) { DataTable dt = BOperationApply.GetOperationFrontDataTable(dtpSearchTime.Value.ToString("yyyy-MM-dd"), dtpSearchTime.Value.AddDays(1).ToString("yyyy-MM-dd")); DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(dt, "OperationType <>'特急' and State IN ('预排程')", ""); if (Newdt.Rows.Count > 0) { for (int i = 0; i < Newdt.Rows.Count; i++) { int ApplyId = int.Parse(Newdt.Rows[i]["ApplyId"].ToString()); BOperationApply.UpdateApplyState(ApplyId, 4); } LoadSelectDate(""); LoadOperationInfo(); MessageBox.Show("排程通过成功!", "系统提示"); } } private void mnuCancelINurse_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") return; try { BApplyPersonDuty.Delete(" PersonDutyId in(6) and OperationApplyId=" + int.Parse(selApply), null); outMsg = string.Format("{2} 取消 患者:{0} 洗手护士 成功!", grCurrentSub.Cells["Patient"].Value, grCurrentSub.Cells["OperationName"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); RoomCardManage.WriteMsg(rtbLog, outMsg); grCurrentSub.Cells["InstrumentNurse"].Value = ""; LoadOperationInfo(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); } catch (Exception ex) { MessageBox.Show(ex.Message); } } private void mnuCancelTNurse_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") return; try { BApplyPersonDuty.Delete(" PersonDutyId in(7) and OperationApplyId=" + int.Parse(selApply), null); outMsg = string.Format("{2} 取消 患者:{0} 巡回护士 成功!", grCurrentSub.Cells["Patient"].Value, grCurrentSub.Cells["OperationName"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); RoomCardManage.WriteMsg(rtbLog, outMsg); grCurrentSub.Cells["TourNurse"].Value = ""; LoadOperationInfo(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); } catch (Exception ex) { MessageBox.Show(ex.Message); } } private void mnuCancelADoctor_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") return; try { BApplyPersonDuty.Delete(" PersonDutyId in(5) and OperationApplyId=" + int.Parse(selApply), null); outMsg = string.Format("{2} 取消 患者:{0} 麻醉医生 成功!", grCurrentSub.Cells["Patient"].Value, grCurrentSub.Cells["OperationName"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); RoomCardManage.WriteMsg(rtbLog, outMsg); grCurrentSub.Cells["AnesthesiaDoctor"].Value = ""; LoadOperationInfo(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value); } catch (Exception ex) { MessageBox.Show(ex.Message); } } #endregion private void dgvDetail_CellMouseUp(object sender, GridCellMouseEventArgs e) { if (e.Button != System.Windows.Forms.MouseButtons.Left) return; if (e.GridPanel.DefaultRowHeight == oldGridHight) e.GridPanel.DefaultRowHeight = 0; else e.GridPanel.DefaultRowHeight = oldGridHight; } private void btnDataCente_Click(object sender, EventArgs e) { if (selApply == null || selApply == "") { MessageBox.Show("请选择患者!", "系统提示"); return; } EMRExtension.OpenEMRS(0, int.Parse(selApply)); } private void dgvApplyOrDoctor_DataError(object sender, DataGridViewDataErrorEventArgs e) { } private void DgvDetail_DataError(object sender, GridDataErrorEventArgs e) { } private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e) { ControlExtension.SetOperationSite(CboOperationSite); FirstLoad(); btnSearchOperation_Click(null, null); } private void tspSetting_Click(object sender, EventArgs e) { frmExportConfig2 formDataGridViewConfig = new frmExportConfig2(dgvApplyOrDoctor, exportConfig, DataGridViewPath, this.Text); if (formDataGridViewConfig.ShowDialog() == DialogResult.OK) { exportConfig = formDataGridViewConfig.exportConfig; ConfigDataGridView(formDataGridViewConfig.exportConfig); } } private void ConfigDataGridView(SysConfig exportConfig) { try { spcMain.SplitterDistance = int.Parse(exportConfig.Name); ExportConfig dataGridViewSetting = JsonConvert.DeserializeObject(exportConfig.Value); RoomCount = dataGridViewSetting.FontSize; foreach (DataGridViewColumn column in dgvApplyOrDoctor.Columns) { foreach (var item in dataGridViewSetting.Exports) { if (column.Name == item.Name) { column.Visible = item.IsVisible; column.Width = item.Width; column.DisplayIndex = item.ColumnOrder; } } } } catch (Exception ex) { PublicMethod.WriteLog(ex); } } private static string GetControlPath(Control control) { StringBuilder controlPathStringBuilder = new StringBuilder(); controlPathStringBuilder.Append(control.Name); while (control.Parent != null) { control = control.Parent; controlPathStringBuilder.Append("." + control.Name); } return controlPathStringBuilder.ToString(); } } }