351 lines
19 KiB
C#
351 lines
19 KiB
C#
using AIMS.OremrUserControl;
|
|
|
|
namespace AIMS.PublicUI.UI
|
|
{
|
|
partial class frmFactOutputLiquidsNew
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = 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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFactOutputLiquidsNew));
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.dgvOutput = new DevComponents.DotNetBar.Controls.DataGridViewX();
|
|
this.TypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.OutputName = new AIMS.PublicUI.UI.DataGridViewComboEditTipBoxColumn();
|
|
this.Dose = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.DoseUnit = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
|
this.BeginTime = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
|
|
this.Continue = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.EndTime = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
|
|
this.Remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.btnDelete = new DevComponents.DotNetBar.ButtonX();
|
|
this.btnSave = new DevComponents.DotNetBar.ButtonX();
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.calendarColumn1 = new AIMS.OremrUserControl.CalendarColumn();
|
|
this.calendarColumn2 = new AIMS.OremrUserControl.CalendarColumn();
|
|
this.panel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvOutput)).BeginInit();
|
|
this.panel2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.dgvOutput);
|
|
this.panel1.Controls.Add(this.panel2);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(1035, 421);
|
|
this.panel1.TabIndex = 1;
|
|
//
|
|
// dgvOutput
|
|
//
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream;
|
|
this.dgvOutput.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dgvOutput.BackgroundColor = System.Drawing.Color.White;
|
|
this.dgvOutput.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgvOutput.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
this.dgvOutput.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvOutput.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.TypeName,
|
|
this.OutputName,
|
|
this.Dose,
|
|
this.DoseUnit,
|
|
this.BeginTime,
|
|
this.Continue,
|
|
this.EndTime,
|
|
this.Remark});
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dgvOutput.DefaultCellStyle = dataGridViewCellStyle3;
|
|
this.dgvOutput.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dgvOutput.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
|
this.dgvOutput.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
|
this.dgvOutput.Location = new System.Drawing.Point(0, 42);
|
|
this.dgvOutput.Name = "dgvOutput";
|
|
this.dgvOutput.RowHeadersVisible = false;
|
|
this.dgvOutput.RowTemplate.Height = 23;
|
|
this.dgvOutput.ShowCellErrors = false;
|
|
this.dgvOutput.ShowCellToolTips = false;
|
|
this.dgvOutput.Size = new System.Drawing.Size(1035, 379);
|
|
this.dgvOutput.TabIndex = 3;
|
|
this.dgvOutput.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvOutput_CellClick);
|
|
this.dgvOutput.CurrentCellDirtyStateChanged += new System.EventHandler(this.dgvDrugs_CurrentCellDirtyStateChanged);
|
|
this.dgvOutput.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvOutput_DataError);
|
|
this.dgvOutput.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgvOutput_EditingControlShowing);
|
|
this.dgvOutput.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvEvents_RowsAdded);
|
|
//
|
|
// TypeName
|
|
//
|
|
this.TypeName.HeaderText = "类型";
|
|
this.TypeName.Name = "TypeName";
|
|
this.TypeName.Visible = false;
|
|
this.TypeName.Width = 60;
|
|
//
|
|
// OutputName
|
|
//
|
|
this.OutputName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.OutputName.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox;
|
|
this.OutputName.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.OutputName.HeaderText = "出量名称";
|
|
this.OutputName.Name = "OutputName";
|
|
this.OutputName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.OutputName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// Dose
|
|
//
|
|
this.Dose.HeaderText = "计量";
|
|
this.Dose.Name = "Dose";
|
|
//
|
|
// DoseUnit
|
|
//
|
|
this.DoseUnit.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
|
|
this.DoseUnit.HeaderText = "计量单位";
|
|
this.DoseUnit.Name = "DoseUnit";
|
|
this.DoseUnit.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.DoseUnit.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// BeginTime
|
|
//
|
|
this.BeginTime.AutoAdvance = true;
|
|
//
|
|
//
|
|
//
|
|
this.BeginTime.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
|
|
this.BeginTime.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
|
this.BeginTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.BeginTime.BackgroundStyle.TextColor = System.Drawing.SystemColors.ControlText;
|
|
this.BeginTime.ButtonDropDown.Visible = true;
|
|
this.BeginTime.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
|
|
this.BeginTime.HeaderText = "开始时间";
|
|
this.BeginTime.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.BeginTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.BeginTime.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
|
//
|
|
//
|
|
//
|
|
this.BeginTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.BeginTime.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
|
|
this.BeginTime.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
|
//
|
|
//
|
|
//
|
|
this.BeginTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.BeginTime.MonthCalendar.Visible = false;
|
|
this.BeginTime.Name = "BeginTime";
|
|
this.BeginTime.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
//
|
|
// Continue
|
|
//
|
|
this.Continue.HeaderText = "持续";
|
|
this.Continue.Name = "Continue";
|
|
this.Continue.Width = 60;
|
|
//
|
|
// EndTime
|
|
//
|
|
this.EndTime.AutoAdvance = true;
|
|
//
|
|
//
|
|
//
|
|
this.EndTime.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
|
|
this.EndTime.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
|
this.EndTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.EndTime.BackgroundStyle.TextColor = System.Drawing.SystemColors.ControlText;
|
|
this.EndTime.ButtonDropDown.Visible = true;
|
|
this.EndTime.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
|
|
this.EndTime.HeaderText = "结束时间";
|
|
this.EndTime.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.EndTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.EndTime.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
|
//
|
|
//
|
|
//
|
|
this.EndTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.EndTime.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
|
|
this.EndTime.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
|
//
|
|
//
|
|
//
|
|
this.EndTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.EndTime.MonthCalendar.Visible = false;
|
|
this.EndTime.Name = "EndTime";
|
|
this.EndTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
//
|
|
// Remark
|
|
//
|
|
this.Remark.HeaderText = "备注";
|
|
this.Remark.Name = "Remark";
|
|
this.Remark.Width = 400;
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.BackColor = System.Drawing.Color.Transparent;
|
|
this.panel2.Controls.Add(this.btnDelete);
|
|
this.panel2.Controls.Add(this.btnSave);
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel2.Location = new System.Drawing.Point(0, 0);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(1035, 42);
|
|
this.panel2.TabIndex = 0;
|
|
this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
|
|
//
|
|
// btnDelete
|
|
//
|
|
this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
|
this.btnDelete.Location = new System.Drawing.Point(674, 7);
|
|
this.btnDelete.Name = "btnDelete";
|
|
this.btnDelete.Size = new System.Drawing.Size(86, 30);
|
|
this.btnDelete.TabIndex = 2;
|
|
this.btnDelete.Text = "删除";
|
|
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
|
this.btnSave.Location = new System.Drawing.Point(766, 7);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(86, 30);
|
|
this.btnSave.TabIndex = 1;
|
|
this.btnSave.Text = "保存";
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// dataGridViewTextBoxColumn1
|
|
//
|
|
this.dataGridViewTextBoxColumn1.HeaderText = "类型";
|
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
|
this.dataGridViewTextBoxColumn1.Visible = false;
|
|
this.dataGridViewTextBoxColumn1.Width = 60;
|
|
//
|
|
// dataGridViewTextBoxColumn2
|
|
//
|
|
this.dataGridViewTextBoxColumn2.HeaderText = "计量";
|
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
|
//
|
|
// dataGridViewTextBoxColumn3
|
|
//
|
|
this.dataGridViewTextBoxColumn3.HeaderText = "持续";
|
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
|
this.dataGridViewTextBoxColumn3.Width = 60;
|
|
//
|
|
// dataGridViewTextBoxColumn4
|
|
//
|
|
this.dataGridViewTextBoxColumn4.HeaderText = "备注";
|
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
|
this.dataGridViewTextBoxColumn4.Width = 250;
|
|
//
|
|
// calendarColumn1
|
|
//
|
|
this.calendarColumn1.HeaderText = "开始时间";
|
|
this.calendarColumn1.Name = "calendarColumn1";
|
|
this.calendarColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.calendarColumn1.ShowUpDown = false;
|
|
this.calendarColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// calendarColumn2
|
|
//
|
|
this.calendarColumn2.HeaderText = "结束时间";
|
|
this.calendarColumn2.Name = "calendarColumn2";
|
|
this.calendarColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.calendarColumn2.ShowUpDown = false;
|
|
this.calendarColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// frmFactOutputLiquidsNew
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1035, 421);
|
|
this.Controls.Add(this.panel1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "frmFactOutputLiquidsNew";
|
|
this.ShowIcon = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "出量管理";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmFactOutputLiquidsNew_FormClosing);
|
|
this.Load += new System.EventHandler(this.frmFactOutputLiquidsNew_Load);
|
|
this.panel1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvOutput)).EndInit();
|
|
this.panel2.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
private DevComponents.DotNetBar.Controls.DataGridViewX dgvOutput;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private DevComponents.DotNetBar.ButtonX btnDelete;
|
|
private DevComponents.DotNetBar.ButtonX btnSave;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
private CalendarColumn calendarColumn1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
|
private CalendarColumn calendarColumn2;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn TypeName;
|
|
private DataGridViewComboEditTipBoxColumn OutputName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Dose;
|
|
private System.Windows.Forms.DataGridViewComboBoxColumn DoseUnit;
|
|
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn BeginTime;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Continue;
|
|
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn EndTime;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Remark;
|
|
}
|
|
} |