コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle1     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle2     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle5     = new System.Windows.Forms.DataGridViewCellStyle();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle3     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle4     = new System.Windows.Forms.DataGridViewCellStyle();
     this.expandablePanel1    = new DevComponents.DotNetBar.ExpandablePanel();
     this.trvTempList         = new DevComponents.AdvTree.AdvTree();
     this.TempManage          = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.tolAddTemp          = new System.Windows.Forms.ToolStripMenuItem();
     this.tolUpdTemp          = new System.Windows.Forms.ToolStripMenuItem();
     this.tolDelTemp          = new System.Windows.Forms.ToolStripMenuItem();
     this.tolOperationTemp    = new System.Windows.Forms.ToolStripMenuItem();
     this.node1               = new DevComponents.AdvTree.Node();
     this.nodeConnector1      = new DevComponents.AdvTree.NodeConnector();
     this.elementStyle1       = new DevComponents.DotNetBar.ElementStyle();
     this.expandableSplitter2 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.expandablePanel2    = new DevComponents.DotNetBar.ExpandablePanel();
     this.grdTempList         = new EfwControls.CustomControl.GridBoxCard();
     this.bar1        = new DevComponents.DotNetBar.Bar();
     this.btnAddTemp  = new DevComponents.DotNetBar.ButtonItem();
     this.btnUpdTemp  = new DevComponents.DotNetBar.ButtonItem();
     this.btnDelTemp  = new DevComponents.DotNetBar.ButtonItem();
     this.btnSaveTemp = new DevComponents.DotNetBar.ButtonItem();
     this.btnCancel   = new DevComponents.DotNetBar.ButtonItem();
     this.panelEx1    = new DevComponents.DotNetBar.PanelEx();
     this.LocalCode   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ItemName    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Type        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Price       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Count       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.expandablePanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trvTempList)).BeginInit();
     this.TempManage.SuspendLayout();
     this.expandablePanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdTempList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.panelEx1.SuspendLayout();
     this.SuspendLayout();
     //
     // expandablePanel1
     //
     this.expandablePanel1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.expandablePanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.expandablePanel1.Controls.Add(this.trvTempList);
     this.expandablePanel1.Dock = System.Windows.Forms.DockStyle.Left;
     this.expandablePanel1.ExpandButtonVisible = false;
     this.expandablePanel1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.expandablePanel1.HideControlsWhenCollapsed = true;
     this.expandablePanel1.Location            = new System.Drawing.Point(0, 0);
     this.expandablePanel1.Margin              = new System.Windows.Forms.Padding(2);
     this.expandablePanel1.Name                = "expandablePanel1";
     this.expandablePanel1.Size                = new System.Drawing.Size(191, 730);
     this.expandablePanel1.Style.Alignment     = System.Drawing.StringAlignment.Center;
     this.expandablePanel1.Style.Border        = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandablePanel1.Style.GradientAngle = 90;
     this.expandablePanel1.TabIndex            = 8;
     this.expandablePanel1.TitleHeight         = 30;
     this.expandablePanel1.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandablePanel1.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.expandablePanel1.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner;
     this.expandablePanel1.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandablePanel1.TitleStyle.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.expandablePanel1.TitleStyle.GradientAngle = 90;
     this.expandablePanel1.TitleText = "模板列表";
     //
     // trvTempList
     //
     this.trvTempList.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline;
     this.trvTempList.AllowDrop      = true;
     this.trvTempList.BackColor      = System.Drawing.SystemColors.Window;
     //
     //
     //
     this.trvTempList.BackgroundStyle.Class      = "TreeBorderKey";
     this.trvTempList.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.trvTempList.ContextMenuStrip           = this.TempManage;
     this.trvTempList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.trvTempList.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.trvTempList.Location = new System.Drawing.Point(0, 30);
     this.trvTempList.Margin   = new System.Windows.Forms.Padding(2);
     this.trvTempList.Name     = "trvTempList";
     this.trvTempList.Nodes.AddRange(new DevComponents.AdvTree.Node[] {
         this.node1
     });
     this.trvTempList.NodesConnector        = this.nodeConnector1;
     this.trvTempList.NodeStyle             = this.elementStyle1;
     this.trvTempList.PathSeparator         = ";";
     this.trvTempList.Size                  = new System.Drawing.Size(191, 700);
     this.trvTempList.TabIndex              = 4;
     this.trvTempList.Text                  = "advTree1";
     this.trvTempList.SelectedIndexChanged += new System.EventHandler(this.trvTempList_SelectedIndexChanged);
     //
     // TempManage
     //
     this.TempManage.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tolAddTemp,
         this.tolUpdTemp,
         this.tolDelTemp,
         this.tolOperationTemp
     });
     this.TempManage.Name     = "contextMenuStrip1";
     this.TempManage.Size     = new System.Drawing.Size(125, 92);
     this.TempManage.Text     = "模板管理";
     this.TempManage.Opening += new System.ComponentModel.CancelEventHandler(this.TempManage_Opening);
     //
     // tolAddTemp
     //
     this.tolAddTemp.Name   = "tolAddTemp";
     this.tolAddTemp.Size   = new System.Drawing.Size(124, 22);
     this.tolAddTemp.Text   = "新增模板";
     this.tolAddTemp.Click += new System.EventHandler(this.tolAddTemp_Click);
     //
     // tolUpdTemp
     //
     this.tolUpdTemp.Name   = "tolUpdTemp";
     this.tolUpdTemp.Size   = new System.Drawing.Size(124, 22);
     this.tolUpdTemp.Text   = "重命名";
     this.tolUpdTemp.Click += new System.EventHandler(this.tolUpdTemp_Click);
     //
     // tolDelTemp
     //
     this.tolDelTemp.Name   = "tolDelTemp";
     this.tolDelTemp.Size   = new System.Drawing.Size(124, 22);
     this.tolDelTemp.Text   = "停用模板";
     this.tolDelTemp.Click += new System.EventHandler(this.tolDelTemp_Click);
     //
     // tolOperationTemp
     //
     this.tolOperationTemp.Name   = "tolOperationTemp";
     this.tolOperationTemp.Size   = new System.Drawing.Size(124, 22);
     this.tolOperationTemp.Text   = "启用模板";
     this.tolOperationTemp.Click += new System.EventHandler(this.tolOperationTemp_Click);
     //
     // node1
     //
     this.node1.Expanded = true;
     this.node1.Name     = "node1";
     this.node1.Text     = "全部模板";
     //
     // nodeConnector1
     //
     this.nodeConnector1.LineColor = System.Drawing.SystemColors.ControlText;
     //
     // elementStyle1
     //
     this.elementStyle1.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.elementStyle1.Name       = "elementStyle1";
     this.elementStyle1.TextColor  = System.Drawing.SystemColors.ControlText;
     //
     // expandableSplitter2
     //
     this.expandableSplitter2.BackColor2                   = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter2.BackColor2SchemePart         = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter2.BackColorSchemePart          = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter2.ExpandFillColor              = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter2.ExpandFillColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter2.ExpandLineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter2.ExpandLineColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter2.GripDarkColor                = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter2.GripDarkColorSchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter2.GripLightColor               = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter2.GripLightColorSchemePart     = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter2.HotBackColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.expandableSplitter2.HotBackColor2                = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.expandableSplitter2.HotBackColor2SchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter2.HotBackColorSchemePart       = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter2.HotExpandFillColor           = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter2.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter2.HotExpandLineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter2.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter2.HotGripDarkColor             = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter2.HotGripDarkColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter2.HotGripLightColor            = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter2.HotGripLightColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter2.Location = new System.Drawing.Point(191, 0);
     this.expandableSplitter2.Margin   = new System.Windows.Forms.Padding(2);
     this.expandableSplitter2.Name     = "expandableSplitter2";
     this.expandableSplitter2.Size     = new System.Drawing.Size(4, 730);
     this.expandableSplitter2.Style    = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter2.TabIndex = 10;
     this.expandableSplitter2.TabStop  = false;
     //
     // expandablePanel2
     //
     this.expandablePanel2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.expandablePanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.expandablePanel2.Controls.Add(this.grdTempList);
     this.expandablePanel2.Controls.Add(this.bar1);
     this.expandablePanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.expandablePanel2.ExpandButtonVisible = false;
     this.expandablePanel2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.expandablePanel2.HideControlsWhenCollapsed = true;
     this.expandablePanel2.Location        = new System.Drawing.Point(195, 0);
     this.expandablePanel2.Margin          = new System.Windows.Forms.Padding(2);
     this.expandablePanel2.Name            = "expandablePanel2";
     this.expandablePanel2.Size            = new System.Drawing.Size(1069, 730);
     this.expandablePanel2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.expandablePanel2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandablePanel2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.expandablePanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandablePanel2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.expandablePanel2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandablePanel2.Style.GradientAngle = 90;
     this.expandablePanel2.TabIndex            = 9;
     this.expandablePanel2.TitleHeight         = 30;
     this.expandablePanel2.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandablePanel2.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.expandablePanel2.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner;
     this.expandablePanel2.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandablePanel2.TitleStyle.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.expandablePanel2.TitleStyle.GradientAngle = 90;
     this.expandablePanel2.TitleText = "账单模板明细";
     //
     // grdTempList
     //
     this.grdTempList.AllowSortWhenClickColumnHeader = false;
     this.grdTempList.AllowUserToAddRows             = false;
     this.grdTempList.AllowUserToDeleteRows          = false;
     this.grdTempList.AllowUserToResizeColumns       = false;
     this.grdTempList.AllowUserToResizeRows          = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.AliceBlue;
     this.grdTempList.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.grdTempList.BackgroundColor               = System.Drawing.Color.White;
     this.grdTempList.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle2.Alignment               = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor               = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                    = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, 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.grdTempList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.grdTempList.ColumnHeadersHeight           = 27;
     this.grdTempList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.LocalCode,
         this.ItemName,
         this.Type,
         this.Price,
         this.Count
     });
     dataGridViewCellStyle5.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle5.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle5.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle5.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle5.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.grdTempList.DefaultCellStyle         = dataGridViewCellStyle5;
     this.grdTempList.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.grdTempList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.grdTempList.HideSelectionCardWhenCustomInput = false;
     this.grdTempList.HighlightSelectedColumnHeaders   = false;
     this.grdTempList.IsInputNumSelectedCard           = false;
     this.grdTempList.IsShowLetter              = false;
     this.grdTempList.IsShowPage                = true;
     this.grdTempList.Location                  = new System.Drawing.Point(0, 55);
     this.grdTempList.Margin                    = new System.Windows.Forms.Padding(2);
     this.grdTempList.Name                      = "grdTempList";
     this.grdTempList.ReadOnly                  = true;
     this.grdTempList.RowHeadersWidth           = 30;
     this.grdTempList.RowTemplate.Height        = 23;
     this.grdTempList.SelectAllSignVisible      = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     this.grdTempList.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1
     };
     this.grdTempList.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.grdTempList.SelectionNumKeyBoards = null;
     this.grdTempList.SeqVisible            = true;
     this.grdTempList.SetCustomStyle        = true;
     this.grdTempList.Size     = new System.Drawing.Size(1069, 675);
     this.grdTempList.TabIndex = 4;
     this.grdTempList.SelectCardRowSelected += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.grdTempList_SelectCardRowSelected);
     //
     // bar1
     //
     this.bar1.AntiAlias          = true;
     this.bar1.Dock               = System.Windows.Forms.DockStyle.Top;
     this.bar1.DockSide           = DevComponents.DotNetBar.eDockSide.Document;
     this.bar1.DockTabStripHeight = 30;
     this.bar1.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnAddTemp,
         this.btnUpdTemp,
         this.btnDelTemp,
         this.btnSaveTemp,
         this.btnCancel
     });
     this.bar1.Location    = new System.Drawing.Point(0, 30);
     this.bar1.Margin      = new System.Windows.Forms.Padding(2);
     this.bar1.Name        = "bar1";
     this.bar1.PaddingLeft = 22;
     this.bar1.Size        = new System.Drawing.Size(1069, 25);
     this.bar1.Stretch     = true;
     this.bar1.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex    = 3;
     this.bar1.TabStop     = false;
     this.bar1.Text        = "bar1";
     //
     // btnAddTemp
     //
     this.btnAddTemp.Name   = "btnAddTemp";
     this.btnAddTemp.Text   = "新增(&N)";
     this.btnAddTemp.Click += new System.EventHandler(this.btnAddTemp_Click);
     //
     // btnUpdTemp
     //
     this.btnUpdTemp.Name   = "btnUpdTemp";
     this.btnUpdTemp.Text   = "修改(&U)";
     this.btnUpdTemp.Click += new System.EventHandler(this.btnUpdTemp_Click);
     //
     // btnDelTemp
     //
     this.btnDelTemp.Name   = "btnDelTemp";
     this.btnDelTemp.Text   = "删除(&D)";
     this.btnDelTemp.Click += new System.EventHandler(this.btnDelTemp_Click);
     //
     // btnSaveTemp
     //
     this.btnSaveTemp.Name   = "btnSaveTemp";
     this.btnSaveTemp.Text   = "保存(&S)";
     this.btnSaveTemp.Click += new System.EventHandler(this.btnSaveTemp_Click);
     //
     // btnCancel
     //
     this.btnCancel.Name   = "btnCancel";
     this.btnCancel.Text   = "关闭(&C)";
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.expandablePanel2);
     this.panelEx1.Controls.Add(this.expandableSplitter2);
     this.panelEx1.Controls.Add(this.expandablePanel1);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(1264, 730);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 0;
     //
     // LocalCode
     //
     this.LocalCode.DataPropertyName = "ItemCode";
     this.LocalCode.FillWeight       = 180F;
     this.LocalCode.HeaderText       = "本院编码";
     this.LocalCode.Name             = "LocalCode";
     this.LocalCode.ReadOnly         = true;
     this.LocalCode.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.LocalCode.Width            = 180;
     //
     // ItemName
     //
     this.ItemName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ItemName.DataPropertyName = "ItemName";
     this.ItemName.FillWeight       = 350F;
     this.ItemName.HeaderText       = "项目名称";
     this.ItemName.MinimumWidth     = 350;
     this.ItemName.Name             = "ItemName";
     this.ItemName.ReadOnly         = true;
     this.ItemName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Type
     //
     this.Type.DataPropertyName = "ItemClassName";
     this.Type.FillWeight       = 180F;
     this.Type.HeaderText       = "项目类型";
     this.Type.Name             = "Type";
     this.Type.ReadOnly         = true;
     this.Type.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Type.Width            = 180;
     //
     // Price
     //
     this.Price.DataPropertyName      = "UnitPrice";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle3.Format    = "N4";
     dataGridViewCellStyle3.NullValue = null;
     this.Price.DefaultCellStyle      = dataGridViewCellStyle3;
     this.Price.FillWeight            = 150F;
     this.Price.HeaderText            = "单价";
     this.Price.Name     = "Price";
     this.Price.ReadOnly = true;
     this.Price.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Price.Width    = 150;
     //
     // Count
     //
     this.Count.DataPropertyName      = "ItemAmount";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Count.DefaultCellStyle      = dataGridViewCellStyle4;
     this.Count.HeaderText            = "数量";
     this.Count.Name     = "Count";
     this.Count.ReadOnly = true;
     this.Count.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Count.Width    = 110;
     //
     // FrmDoctorTempManage
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1264, 730);
     this.Controls.Add(this.panelEx1);
     this.Font              = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.MaximizeBox       = false;
     this.MinimizeBox       = false;
     this.Name              = "FrmDoctorTempManage";
     this.ShowIcon          = false;
     this.Text              = "账单模板管理";
     this.OpenWindowBefore += new System.EventHandler(this.FrmDoctorTempManage_OpenWindowBefore);
     this.expandablePanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.trvTempList)).EndInit();
     this.TempManage.ResumeLayout(false);
     this.expandablePanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grdTempList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.panelEx1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle1     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle2     = 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();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard2 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     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.ComponentModel.ComponentResourceManager      resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSetLimits));
     this.panelEx1      = new DevComponents.DotNetBar.PanelEx();
     this.panelEx3      = new DevComponents.DotNetBar.PanelEx();
     this.dgLimit       = new EfwControls.CustomControl.GridBoxCard();
     this.MaterialID    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.CenterMatName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Spec          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ProductName   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Place         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Amount        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.UnitName      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.UpperLimit    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.LowerLimit    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.StorageID     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.DeptID        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bar1          = new DevComponents.DotNetBar.Bar();
     this.btn_Setting   = new DevComponents.DotNetBar.ButtonItem();
     this.btn_Save      = new DevComponents.DotNetBar.ButtonItem();
     this.btn_Cancel    = new DevComponents.DotNetBar.ButtonItem();
     this.panelEx2      = new DevComponents.DotNetBar.PanelEx();
     this.cmbStatus     = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.labelX3       = new DevComponents.DotNetBar.LabelX();
     this.btnQuery      = new DevComponents.DotNetBar.ButtonX();
     this.cmb_StoreRoom = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.labelX2       = new DevComponents.DotNetBar.LabelX();
     this.btn_Close     = new DevComponents.DotNetBar.ButtonX();
     this.txt_Code      = new EfwControls.CustomControl.TextBoxCard(this.components);
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.panelEx1.SuspendLayout();
     this.panelEx3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgLimit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.panelEx2.SuspendLayout();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.panelEx3);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(984, 466);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 0;
     //
     // panelEx3
     //
     this.panelEx3.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx3.Controls.Add(this.dgLimit);
     this.panelEx3.Controls.Add(this.bar1);
     this.panelEx3.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx3.Location        = new System.Drawing.Point(0, 40);
     this.panelEx3.Name            = "panelEx3";
     this.panelEx3.Size            = new System.Drawing.Size(984, 426);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx3.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx3.Style.GradientAngle = 90;
     this.panelEx3.TabIndex            = 1;
     this.panelEx3.Text = "panelEx3";
     //
     // dgLimit
     //
     this.dgLimit.AllowSortWhenClickColumnHeader  = false;
     this.dgLimit.AllowUserToAddRows              = false;
     this.dgLimit.AllowUserToDeleteRows           = false;
     this.dgLimit.AllowUserToResizeColumns        = false;
     this.dgLimit.AllowUserToResizeRows           = false;
     dataGridViewCellStyle1.BackColor             = System.Drawing.Color.AliceBlue;
     this.dgLimit.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgLimit.BackgroundColor               = System.Drawing.Color.White;
     this.dgLimit.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle2.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor           = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                = new System.Drawing.Font("宋体", 9.75F, 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.dgLimit.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgLimit.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.MaterialID,
         this.CenterMatName,
         this.Spec,
         this.ProductName,
         this.Place,
         this.Amount,
         this.UnitName,
         this.UpperLimit,
         this.LowerLimit,
         this.StorageID,
         this.DeptID
     });
     dataGridViewCellStyle6.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle6.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle6.Font               = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle6.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle6.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgLimit.DefaultCellStyle             = dataGridViewCellStyle6;
     this.dgLimit.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dgLimit.EnableHeadersVisualStyles = false;
     this.dgLimit.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgLimit.HideSelectionCardWhenCustomInput = false;
     this.dgLimit.HighlightSelectedColumnHeaders   = false;
     this.dgLimit.IsInputNumSelectedCard           = true;
     this.dgLimit.IsShowLetter                  = false;
     this.dgLimit.IsShowPage                    = false;
     this.dgLimit.Location                      = new System.Drawing.Point(0, 25);
     this.dgLimit.MultiSelect                   = false;
     this.dgLimit.Name                          = "dgLimit";
     this.dgLimit.ReadOnly                      = true;
     dataGridViewCellStyle7.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle7.BackColor           = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle7.Font                = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle7.ForeColor           = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle7.SelectionBackColor  = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle7.SelectionForeColor  = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle7.WrapMode            = System.Windows.Forms.DataGridViewTriState.True;
     this.dgLimit.RowHeadersDefaultCellStyle    = dataGridViewCellStyle7;
     this.dgLimit.RowHeadersWidth               = 30;
     this.dgLimit.RowTemplate.Height            = 23;
     this.dgLimit.SelectAllSignVisible          = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     dataGridViewSelectionCard2.BindColumnIndex      = 0;
     dataGridViewSelectionCard2.CardColumn           = null;
     dataGridViewSelectionCard2.CardSize             = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard2.DataSource           = null;
     dataGridViewSelectionCard2.FilterResult         = null;
     dataGridViewSelectionCard2.IsPage          = true;
     dataGridViewSelectionCard2.Memo            = null;
     dataGridViewSelectionCard2.PageTotalRecord = 0;
     dataGridViewSelectionCard2.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard2.QueryFieldsString    = "";
     dataGridViewSelectionCard2.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard2.ShowCardColumns      = null;
     this.dgLimit.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1,
         dataGridViewSelectionCard2
     };
     this.dgLimit.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgLimit.SelectionNumKeyBoards = null;
     this.dgLimit.SeqVisible            = true;
     this.dgLimit.SetCustomStyle        = true;
     this.dgLimit.Size     = new System.Drawing.Size(984, 401);
     this.dgLimit.TabIndex = 4;
     this.dgLimit.DataGridViewCellPressEnterKey += new EfwControls.CustomControl.OnDataGridViewCellPressEnterKeyHandle(this.dgLimit_DataGridViewCellPressEnterKey);
     this.dgLimit.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgLimit_DataError);
     //
     // MaterialID
     //
     this.MaterialID.DataPropertyName = "MaterialID";
     this.MaterialID.HeaderText       = "编码";
     this.MaterialID.Name             = "MaterialID";
     this.MaterialID.ReadOnly         = true;
     this.MaterialID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.MaterialID.Width            = 60;
     //
     // CenterMatName
     //
     this.CenterMatName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.CenterMatName.DataPropertyName = "CenterMatName";
     this.CenterMatName.HeaderText       = "名称";
     this.CenterMatName.Name             = "CenterMatName";
     this.CenterMatName.ReadOnly         = true;
     this.CenterMatName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Spec
     //
     this.Spec.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.Spec.DataPropertyName = "Spec";
     this.Spec.HeaderText       = "规格";
     this.Spec.Name             = "Spec";
     this.Spec.ReadOnly         = true;
     this.Spec.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ProductName
     //
     this.ProductName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ProductName.DataPropertyName = "ProductName";
     this.ProductName.HeaderText       = "生产厂家";
     this.ProductName.Name             = "ProductName";
     this.ProductName.ReadOnly         = true;
     this.ProductName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Place
     //
     this.Place.DataPropertyName = "Place";
     this.Place.HeaderText       = "库位名称";
     this.Place.Name             = "Place";
     this.Place.ReadOnly         = true;
     this.Place.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Amount
     //
     this.Amount.DataPropertyName     = "Amount";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle3.Format    = "0";
     dataGridViewCellStyle3.NullValue = "0";
     this.Amount.DefaultCellStyle     = dataGridViewCellStyle3;
     this.Amount.HeaderText           = "库存数";
     this.Amount.Name     = "Amount";
     this.Amount.ReadOnly = true;
     this.Amount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Amount.Width    = 75;
     //
     // UnitName
     //
     this.UnitName.DataPropertyName = "UnitName";
     this.UnitName.HeaderText       = "单位";
     this.UnitName.Name             = "UnitName";
     this.UnitName.ReadOnly         = true;
     this.UnitName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.UnitName.Width            = 45;
     //
     // UpperLimit
     //
     this.UpperLimit.DataPropertyName = "UpperLimit";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle4.Format    = "0";
     dataGridViewCellStyle4.NullValue = "0";
     this.UpperLimit.DefaultCellStyle = dataGridViewCellStyle4;
     this.UpperLimit.HeaderText       = "库存上限";
     this.UpperLimit.Name             = "UpperLimit";
     this.UpperLimit.ReadOnly         = true;
     this.UpperLimit.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.UpperLimit.Width            = 80;
     //
     // LowerLimit
     //
     this.LowerLimit.DataPropertyName = "LowerLimit";
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle5.Format    = "0";
     dataGridViewCellStyle5.NullValue = "0";
     this.LowerLimit.DefaultCellStyle = dataGridViewCellStyle5;
     this.LowerLimit.HeaderText       = "库存下限";
     this.LowerLimit.Name             = "LowerLimit";
     this.LowerLimit.ReadOnly         = true;
     this.LowerLimit.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.LowerLimit.Width            = 80;
     //
     // StorageID
     //
     this.StorageID.DataPropertyName = "StorageID";
     this.StorageID.HeaderText       = "StorageID";
     this.StorageID.Name             = "StorageID";
     this.StorageID.ReadOnly         = true;
     this.StorageID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.StorageID.Visible          = false;
     //
     // DeptID
     //
     this.DeptID.DataPropertyName = "DeptID";
     this.DeptID.HeaderText       = "DeptID";
     this.DeptID.Name             = "DeptID";
     this.DeptID.ReadOnly         = true;
     this.DeptID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.DeptID.Visible          = false;
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.DockSide  = DevComponents.DotNetBar.eDockSide.Document;
     this.bar1.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btn_Setting,
         this.btn_Save,
         this.btn_Cancel
     });
     this.bar1.Location    = new System.Drawing.Point(0, 0);
     this.bar1.Margin      = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.bar1.Name        = "bar1";
     this.bar1.PaddingLeft = 22;
     this.bar1.Size        = new System.Drawing.Size(984, 25);
     this.bar1.Stretch     = true;
     this.bar1.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex    = 3;
     this.bar1.TabStop     = false;
     this.bar1.Text        = "bar1";
     //
     // btn_Setting
     //
     this.btn_Setting.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btn_Setting.Image       = ((System.Drawing.Image)(resources.GetObject("btn_Setting.Image")));
     this.btn_Setting.Name        = "btn_Setting";
     this.btn_Setting.Text        = "设置库存上下限(&T)";
     this.btn_Setting.Click      += new System.EventHandler(this.btn_Setting_Click);
     //
     // btn_Save
     //
     this.btn_Save.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btn_Save.Enabled     = false;
     this.btn_Save.Image       = ((System.Drawing.Image)(resources.GetObject("btn_Save.Image")));
     this.btn_Save.Name        = "btn_Save";
     this.btn_Save.Text        = "保存库存上下限(&S)";
     this.btn_Save.Click      += new System.EventHandler(this.btn_Save_Click);
     //
     // btn_Cancel
     //
     this.btn_Cancel.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btn_Cancel.Enabled     = false;
     this.btn_Cancel.Image       = ((System.Drawing.Image)(resources.GetObject("btn_Cancel.Image")));
     this.btn_Cancel.Name        = "btn_Cancel";
     this.btn_Cancel.Text        = "取消(&X)";
     this.btn_Cancel.Click      += new System.EventHandler(this.btn_Cancel_Click);
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.cmbStatus);
     this.panelEx2.Controls.Add(this.labelX3);
     this.panelEx2.Controls.Add(this.btnQuery);
     this.panelEx2.Controls.Add(this.cmb_StoreRoom);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Controls.Add(this.btn_Close);
     this.panelEx2.Controls.Add(this.txt_Code);
     this.panelEx2.Controls.Add(this.labelX1);
     this.panelEx2.Dock            = System.Windows.Forms.DockStyle.Top;
     this.panelEx2.Location        = new System.Drawing.Point(0, 0);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(984, 40);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 0;
     //
     // cmbStatus
     //
     this.cmbStatus.DisplayMember     = "Text";
     this.cmbStatus.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbStatus.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbStatus.FormattingEnabled = true;
     this.cmbStatus.ItemHeight        = 15;
     this.cmbStatus.Location          = new System.Drawing.Point(483, 10);
     this.cmbStatus.Name     = "cmbStatus";
     this.cmbStatus.Size     = new System.Drawing.Size(100, 21);
     this.cmbStatus.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.cmbStatus.TabIndex = 24;
     //
     // labelX3
     //
     this.labelX3.AutoSize = true;
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Font        = new System.Drawing.Font("宋体", 9F);
     this.labelX3.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(90)))), ((int)(((byte)(171)))));
     this.labelX3.Location    = new System.Drawing.Point(449, 11);
     this.labelX3.Name        = "labelX3";
     this.labelX3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX3.Size        = new System.Drawing.Size(31, 18);
     this.labelX3.TabIndex    = 23;
     this.labelX3.Text        = "状态";
     //
     // btnQuery
     //
     this.btnQuery.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnQuery.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnQuery.Image          = ((System.Drawing.Image)(resources.GetObject("btnQuery.Image")));
     this.btnQuery.Location       = new System.Drawing.Point(605, 9);
     this.btnQuery.Name           = "btnQuery";
     this.btnQuery.Size           = new System.Drawing.Size(75, 22);
     this.btnQuery.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnQuery.TabIndex       = 22;
     this.btnQuery.Text           = "查询(&Q)";
     this.btnQuery.Click         += new System.EventHandler(this.btnQuery_Click);
     //
     // cmb_StoreRoom
     //
     this.cmb_StoreRoom.DisplayMember     = "Text";
     this.cmb_StoreRoom.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmb_StoreRoom.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_StoreRoom.FormattingEnabled = true;
     this.cmb_StoreRoom.ItemHeight        = 15;
     this.cmb_StoreRoom.Location          = new System.Drawing.Point(56, 10);
     this.cmb_StoreRoom.Name     = "cmb_StoreRoom";
     this.cmb_StoreRoom.Size     = new System.Drawing.Size(90, 21);
     this.cmb_StoreRoom.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.cmb_StoreRoom.TabIndex = 21;
     //
     // labelX2
     //
     this.labelX2.AutoSize = true;
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Font        = new System.Drawing.Font("宋体", 9F);
     this.labelX2.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(90)))), ((int)(((byte)(171)))));
     this.labelX2.Location    = new System.Drawing.Point(22, 11);
     this.labelX2.Name        = "labelX2";
     this.labelX2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX2.Size        = new System.Drawing.Size(31, 18);
     this.labelX2.TabIndex    = 20;
     this.labelX2.Text        = "库房";
     //
     // btn_Close
     //
     this.btn_Close.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btn_Close.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btn_Close.Image          = ((System.Drawing.Image)(resources.GetObject("btn_Close.Image")));
     this.btn_Close.Location       = new System.Drawing.Point(686, 9);
     this.btn_Close.Name           = "btn_Close";
     this.btn_Close.Size           = new System.Drawing.Size(75, 22);
     this.btn_Close.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btn_Close.TabIndex       = 3;
     this.btn_Close.Text           = "关闭(&C)";
     this.btn_Close.Click         += new System.EventHandler(this.btn_Close_Click);
     //
     // txt_Code
     //
     //
     //
     //
     this.txt_Code.Border.Class         = "TextBoxBorder";
     this.txt_Code.Border.CornerType    = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_Code.ButtonCustom.Image   = ((System.Drawing.Image)(resources.GetObject("txt_Code.ButtonCustom.Image")));
     this.txt_Code.ButtonCustom.Visible = true;
     this.txt_Code.CardColumn           = null;
     this.txt_Code.DisplayField         = "";
     this.txt_Code.IsEnterShowCard      = true;
     this.txt_Code.IsNumSelected        = false;
     this.txt_Code.IsPage       = true;
     this.txt_Code.IsShowLetter = false;
     this.txt_Code.IsShowPage   = false;
     this.txt_Code.IsShowSeq    = true;
     this.txt_Code.Location     = new System.Drawing.Point(227, 10);
     this.txt_Code.MatchMode    = EfwControls.CustomControl.MatchModes.ByAnyString;
     this.txt_Code.MemberField  = "";
     this.txt_Code.MemberValue  = null;
     this.txt_Code.Name         = "txt_Code";
     this.txt_Code.QueryFields  = new string[] {
         ""
     };
     this.txt_Code.QueryFieldsString = "";
     this.txt_Code.SelectedValue     = null;
     this.txt_Code.ShowCardColumns   = new System.Windows.Forms.DataGridViewTextBoxColumn[] {
         this.dataGridViewTextBoxColumn1
     };
     this.txt_Code.ShowCardDataSource = null;
     this.txt_Code.ShowCardHeight     = 0;
     this.txt_Code.ShowCardWidth      = 0;
     this.txt_Code.Size              = new System.Drawing.Size(200, 21);
     this.txt_Code.TabIndex          = 1;
     this.txt_Code.AfterSelectedRow += new EfwControls.CustomControl.AfterSelectedRowHandler(this.txt_Code_AfterSelectedRow);
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     //
     // labelX1
     //
     this.labelX1.AutoSize = true;
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Font        = new System.Drawing.Font("宋体", 9F);
     this.labelX1.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(90)))), ((int)(((byte)(171)))));
     this.labelX1.Location    = new System.Drawing.Point(168, 11);
     this.labelX1.Name        = "labelX1";
     this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX1.Size        = new System.Drawing.Size(56, 18);
     this.labelX1.TabIndex    = 0;
     this.labelX1.Text        = "查询代码";
     //
     // FrmSetLimits
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(984, 466);
     this.Controls.Add(this.panelEx1);
     this.Font              = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Name              = "FrmSetLimits";
     this.Text              = "库存上下限";
     this.OpenWindowBefore += new System.EventHandler(this.FrmSetLimit_OpenWindowBefore);
     this.panelEx1.ResumeLayout(false);
     this.panelEx3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgLimit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.panelEx2.ResumeLayout(false);
     this.panelEx2.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     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();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     System.ComponentModel.ComponentResourceManager      resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMaterialRelateDept));
     this.panelEx1            = new DevComponents.DotNetBar.PanelEx();
     this.panelEx3            = new DevComponents.DotNetBar.PanelEx();
     this.panelEx6            = new DevComponents.DotNetBar.PanelEx();
     this.dg_deptlist         = new EfwControls.CustomControl.GridBoxCard();
     this.RelationDeptName    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RelationDeptType    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.DrugDeptID          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RelationDeptID      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panelEx7            = new DevComponents.DotNetBar.PanelEx();
     this.btn_Close           = new DevComponents.DotNetBar.ButtonX();
     this.btn_del             = new DevComponents.DotNetBar.ButtonX();
     this.btn_Save            = new DevComponents.DotNetBar.ButtonX();
     this.txtc_ds             = new EfwControls.CustomControl.TextBoxCard(this.components);
     this.labelX2             = new DevComponents.DotNetBar.LabelX();
     this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.panelEx2            = new DevComponents.DotNetBar.PanelEx();
     this.panelEx5            = new DevComponents.DotNetBar.PanelEx();
     this.treeView1           = new System.Windows.Forms.TreeView();
     this.panelEx4            = new DevComponents.DotNetBar.PanelEx();
     this.txtc_dept           = new EfwControls.CustomControl.TextBoxCard(this.components);
     this.labelX1             = new DevComponents.DotNetBar.LabelX();
     this.panelEx1.SuspendLayout();
     this.panelEx3.SuspendLayout();
     this.panelEx6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dg_deptlist)).BeginInit();
     this.panelEx7.SuspendLayout();
     this.panelEx2.SuspendLayout();
     this.panelEx5.SuspendLayout();
     this.panelEx4.SuspendLayout();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.panelEx3);
     this.panelEx1.Controls.Add(this.expandableSplitter1);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(884, 311);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 0;
     this.panelEx1.Text = "panelEx1";
     //
     // panelEx3
     //
     this.panelEx3.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx3.Controls.Add(this.panelEx6);
     this.panelEx3.Controls.Add(this.panelEx7);
     this.panelEx3.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx3.Location        = new System.Drawing.Point(228, 0);
     this.panelEx3.Name            = "panelEx3";
     this.panelEx3.Size            = new System.Drawing.Size(656, 311);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx3.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx3.Style.GradientAngle = 90;
     this.panelEx3.TabIndex            = 1;
     this.panelEx3.Text = "panelEx3";
     //
     // panelEx6
     //
     this.panelEx6.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx6.Controls.Add(this.dg_deptlist);
     this.panelEx6.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx6.Location        = new System.Drawing.Point(0, 40);
     this.panelEx6.Margin          = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.panelEx6.Name            = "panelEx6";
     this.panelEx6.Size            = new System.Drawing.Size(656, 271);
     this.panelEx6.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx6.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx6.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx6.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx6.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx6.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx6.Style.GradientAngle = 90;
     this.panelEx6.TabIndex            = 4;
     this.panelEx6.Text = "panelEx6";
     //
     // dg_deptlist
     //
     this.dg_deptlist.AllowSortWhenClickColumnHeader = false;
     this.dg_deptlist.AllowUserToAddRows             = false;
     this.dg_deptlist.AllowUserToDeleteRows          = false;
     this.dg_deptlist.AllowUserToResizeColumns       = false;
     this.dg_deptlist.AllowUserToResizeRows          = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.AliceBlue;
     this.dg_deptlist.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dg_deptlist.BackgroundColor               = System.Drawing.Color.White;
     this.dg_deptlist.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle2.Alignment               = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor               = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                    = new System.Drawing.Font("宋体", 9.75F, 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.dg_deptlist.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dg_deptlist.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.RelationDeptName,
         this.RelationDeptType,
         this.DrugDeptID,
         this.RelationDeptID
     });
     dataGridViewCellStyle3.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle3.Font               = new System.Drawing.Font("宋体", 9.75F, 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.dg_deptlist.DefaultCellStyle         = dataGridViewCellStyle3;
     this.dg_deptlist.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dg_deptlist.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dg_deptlist.HideSelectionCardWhenCustomInput = false;
     this.dg_deptlist.HighlightSelectedColumnHeaders   = false;
     this.dg_deptlist.IsInputNumSelectedCard           = true;
     this.dg_deptlist.IsShowLetter              = false;
     this.dg_deptlist.IsShowPage                = false;
     this.dg_deptlist.Location                  = new System.Drawing.Point(0, 0);
     this.dg_deptlist.Margin                    = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.dg_deptlist.MultiSelect               = false;
     this.dg_deptlist.Name                      = "dg_deptlist";
     this.dg_deptlist.RowHeadersWidth           = 30;
     this.dg_deptlist.RowTemplate.Height        = 23;
     this.dg_deptlist.SelectAllSignVisible      = false;
     dataGridViewSelectionCard1.BindColumnIndex = 1;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     this.dg_deptlist.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1
     };
     this.dg_deptlist.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dg_deptlist.SelectionNumKeyBoards = null;
     this.dg_deptlist.SeqVisible            = true;
     this.dg_deptlist.SetCustomStyle        = true;
     this.dg_deptlist.Size     = new System.Drawing.Size(656, 271);
     this.dg_deptlist.TabIndex = 2;
     this.dg_deptlist.SelectCardRowSelected         += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.dg_deptlist_SelectCardRowSelected);
     this.dg_deptlist.DataGridViewCellPressEnterKey += new EfwControls.CustomControl.OnDataGridViewCellPressEnterKeyHandle(this.dg_deptlist_DataGridViewCellPressEnterKey);
     //
     // RelationDeptName
     //
     this.RelationDeptName.DataPropertyName = "RelationDeptName";
     this.RelationDeptName.HeaderText       = "科室名称";
     this.RelationDeptName.Name             = "RelationDeptName";
     this.RelationDeptName.ReadOnly         = true;
     this.RelationDeptName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.RelationDeptName.Width            = 500;
     //
     // RelationDeptType
     //
     this.RelationDeptType.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.RelationDeptType.DataPropertyName = "RelationDeptTypeName";
     this.RelationDeptType.HeaderText       = "科室类别";
     this.RelationDeptType.Name             = "RelationDeptType";
     this.RelationDeptType.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // DrugDeptID
     //
     this.DrugDeptID.DataPropertyName = "DrugDeptID";
     this.DrugDeptID.HeaderText       = "DrugDeptID";
     this.DrugDeptID.Name             = "DrugDeptID";
     this.DrugDeptID.ReadOnly         = true;
     this.DrugDeptID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.DrugDeptID.Visible          = false;
     //
     // RelationDeptID
     //
     this.RelationDeptID.DataPropertyName = "RelationDeptID";
     this.RelationDeptID.HeaderText       = "RelationDeptID";
     this.RelationDeptID.Name             = "RelationDeptID";
     this.RelationDeptID.ReadOnly         = true;
     this.RelationDeptID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.RelationDeptID.Visible          = false;
     //
     // panelEx7
     //
     this.panelEx7.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx7.Controls.Add(this.btn_Close);
     this.panelEx7.Controls.Add(this.btn_del);
     this.panelEx7.Controls.Add(this.btn_Save);
     this.panelEx7.Controls.Add(this.txtc_ds);
     this.panelEx7.Controls.Add(this.labelX2);
     this.panelEx7.Dock            = System.Windows.Forms.DockStyle.Top;
     this.panelEx7.Location        = new System.Drawing.Point(0, 0);
     this.panelEx7.Name            = "panelEx7";
     this.panelEx7.Size            = new System.Drawing.Size(656, 40);
     this.panelEx7.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx7.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx7.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx7.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx7.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx7.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx7.Style.GradientAngle = 90;
     this.panelEx7.TabIndex            = 3;
     //
     // btn_Close
     //
     this.btn_Close.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btn_Close.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btn_Close.Image          = ((System.Drawing.Image)(resources.GetObject("btn_Close.Image")));
     this.btn_Close.Location       = new System.Drawing.Point(504, 9);
     this.btn_Close.Name           = "btn_Close";
     this.btn_Close.Size           = new System.Drawing.Size(75, 22);
     this.btn_Close.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btn_Close.TabIndex       = 6;
     this.btn_Close.Text           = "关闭(&C)";
     this.btn_Close.Click         += new System.EventHandler(this.btn_Close_Click);
     //
     // btn_del
     //
     this.btn_del.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btn_del.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btn_del.Image          = ((System.Drawing.Image)(resources.GetObject("btn_del.Image")));
     this.btn_del.Location       = new System.Drawing.Point(423, 9);
     this.btn_del.Name           = "btn_del";
     this.btn_del.Size           = new System.Drawing.Size(75, 22);
     this.btn_del.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btn_del.TabIndex       = 5;
     this.btn_del.Text           = "删除(&D)";
     this.btn_del.Click         += new System.EventHandler(this.btn_del_Click);
     //
     // btn_Save
     //
     this.btn_Save.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btn_Save.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btn_Save.Image          = ((System.Drawing.Image)(resources.GetObject("btn_Save.Image")));
     this.btn_Save.Location       = new System.Drawing.Point(342, 9);
     this.btn_Save.Name           = "btn_Save";
     this.btn_Save.Size           = new System.Drawing.Size(75, 22);
     this.btn_Save.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btn_Save.TabIndex       = 4;
     this.btn_Save.Text           = "保存(&S)";
     this.btn_Save.Click         += new System.EventHandler(this.btn_Save_Click);
     //
     // txtc_ds
     //
     //
     //
     //
     this.txtc_ds.Border.Class         = "TextBoxBorder";
     this.txtc_ds.Border.CornerType    = DevComponents.DotNetBar.eCornerType.Square;
     this.txtc_ds.ButtonCustom.Image   = ((System.Drawing.Image)(resources.GetObject("txtc_ds.ButtonCustom.Image")));
     this.txtc_ds.ButtonCustom.Visible = true;
     this.txtc_ds.CardColumn           = "40";
     this.txtc_ds.DisplayField         = "";
     this.txtc_ds.IsEnterShowCard      = true;
     this.txtc_ds.IsNumSelected        = false;
     this.txtc_ds.IsPage       = true;
     this.txtc_ds.IsShowLetter = false;
     this.txtc_ds.IsShowPage   = false;
     this.txtc_ds.IsShowSeq    = true;
     this.txtc_ds.Location     = new System.Drawing.Point(90, 10);
     this.txtc_ds.MatchMode    = EfwControls.CustomControl.MatchModes.ByAnyString;
     this.txtc_ds.MemberField  = "";
     this.txtc_ds.MemberValue  = null;
     this.txtc_ds.Name         = "txtc_ds";
     this.txtc_ds.QueryFields  = new string[] {
         ""
     };
     this.txtc_ds.QueryFieldsString  = "";
     this.txtc_ds.SelectedValue      = null;
     this.txtc_ds.ShowCardColumns    = null;
     this.txtc_ds.ShowCardDataSource = null;
     this.txtc_ds.ShowCardHeight     = 0;
     this.txtc_ds.ShowCardWidth      = 0;
     this.txtc_ds.Size              = new System.Drawing.Size(230, 21);
     this.txtc_ds.TabIndex          = 3;
     this.txtc_ds.AfterSelectedRow += new EfwControls.CustomControl.AfterSelectedRowHandler(this.txtc_ds_AfterSelectedRow);
     //
     // labelX2
     //
     this.labelX2.AutoSize = true;
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Font        = new System.Drawing.Font("宋体", 10F);
     this.labelX2.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(90)))), ((int)(((byte)(171)))));
     this.labelX2.Location    = new System.Drawing.Point(22, 11);
     this.labelX2.Name        = "labelX2";
     this.labelX2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX2.Size        = new System.Drawing.Size(62, 19);
     this.labelX2.TabIndex    = 2;
     this.labelX2.Text        = "物资库房";
     //
     // expandableSplitter1
     //
     this.expandableSplitter1.BackColor2                   = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.BackColor2SchemePart         = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.BackColorSchemePart          = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter1.ExpandableControl            = this.panelEx2;
     this.expandableSplitter1.ExpandActionClick            = false;
     this.expandableSplitter1.ExpandActionDoubleClick      = true;
     this.expandableSplitter1.ExpandFillColor              = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.ExpandFillColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.ExpandLineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.ExpandLineColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripDarkColor                = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.GripDarkColorSchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripLightColor               = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter1.GripLightColorSchemePart     = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.HotBackColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.expandableSplitter1.HotBackColor2                = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.expandableSplitter1.HotBackColor2SchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter1.HotBackColorSchemePart       = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter1.HotExpandFillColor           = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotExpandLineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.HotGripDarkColor             = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.HotGripDarkColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotGripLightColor            = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter1.HotGripLightColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.Location = new System.Drawing.Point(222, 0);
     this.expandableSplitter1.Name     = "expandableSplitter1";
     this.expandableSplitter1.Size     = new System.Drawing.Size(6, 311);
     this.expandableSplitter1.Style    = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter1.TabIndex = 2;
     this.expandableSplitter1.TabStop  = false;
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.panelEx5);
     this.panelEx2.Controls.Add(this.panelEx4);
     this.panelEx2.Dock            = System.Windows.Forms.DockStyle.Left;
     this.panelEx2.Location        = new System.Drawing.Point(0, 0);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(222, 311);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 0;
     this.panelEx2.Text = "panelEx2";
     //
     // panelEx5
     //
     this.panelEx5.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx5.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx5.Controls.Add(this.treeView1);
     this.panelEx5.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx5.Location        = new System.Drawing.Point(0, 40);
     this.panelEx5.Name            = "panelEx5";
     this.panelEx5.Size            = new System.Drawing.Size(222, 271);
     this.panelEx5.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx5.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx5.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx5.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx5.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx5.Style.GradientAngle = 90;
     this.panelEx5.TabIndex            = 2;
     this.panelEx5.Text = "panelEx5";
     //
     // treeView1
     //
     this.treeView1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.FullRowSelect = true;
     this.treeView1.HideSelection = false;
     this.treeView1.Location      = new System.Drawing.Point(0, 0);
     this.treeView1.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.treeView1.Name          = "treeView1";
     this.treeView1.Size          = new System.Drawing.Size(222, 271);
     this.treeView1.TabIndex      = 0;
     this.treeView1.DoubleClick  += new System.EventHandler(this.treeView1_DoubleClick);
     //
     // panelEx4
     //
     this.panelEx4.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx4.Controls.Add(this.txtc_dept);
     this.panelEx4.Controls.Add(this.labelX1);
     this.panelEx4.Dock            = System.Windows.Forms.DockStyle.Top;
     this.panelEx4.Location        = new System.Drawing.Point(0, 0);
     this.panelEx4.Name            = "panelEx4";
     this.panelEx4.Size            = new System.Drawing.Size(222, 40);
     this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx4.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx4.Style.GradientAngle = 90;
     this.panelEx4.TabIndex            = 1;
     //
     // txtc_dept
     //
     this.txtc_dept.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.txtc_dept.Border.Class         = "TextBoxBorder";
     this.txtc_dept.Border.CornerType    = DevComponents.DotNetBar.eCornerType.Square;
     this.txtc_dept.ButtonCustom.Image   = ((System.Drawing.Image)(resources.GetObject("txtc_dept.ButtonCustom.Image")));
     this.txtc_dept.ButtonCustom.Visible = true;
     this.txtc_dept.CardColumn           = "40";
     this.txtc_dept.DisplayField         = "";
     this.txtc_dept.IsEnterShowCard      = true;
     this.txtc_dept.IsNumSelected        = false;
     this.txtc_dept.IsPage       = true;
     this.txtc_dept.IsShowLetter = false;
     this.txtc_dept.IsShowPage   = false;
     this.txtc_dept.IsShowSeq    = true;
     this.txtc_dept.Location     = new System.Drawing.Point(78, 10);
     this.txtc_dept.MatchMode    = EfwControls.CustomControl.MatchModes.ByAnyString;
     this.txtc_dept.MemberField  = "";
     this.txtc_dept.MemberValue  = null;
     this.txtc_dept.Name         = "txtc_dept";
     this.txtc_dept.QueryFields  = new string[] {
         ""
     };
     this.txtc_dept.QueryFieldsString  = "";
     this.txtc_dept.SelectedValue      = null;
     this.txtc_dept.ShowCardColumns    = null;
     this.txtc_dept.ShowCardDataSource = null;
     this.txtc_dept.ShowCardHeight     = 0;
     this.txtc_dept.ShowCardWidth      = 0;
     this.txtc_dept.Size              = new System.Drawing.Size(135, 21);
     this.txtc_dept.TabIndex          = 1;
     this.txtc_dept.AfterSelectedRow += new EfwControls.CustomControl.AfterSelectedRowHandler(this.txtc_dept_AfterSelectedRow);
     //
     // labelX1
     //
     this.labelX1.AutoSize = true;
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Font        = new System.Drawing.Font("宋体", 10F);
     this.labelX1.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(90)))), ((int)(((byte)(171)))));
     this.labelX1.Location    = new System.Drawing.Point(14, 11);
     this.labelX1.Name        = "labelX1";
     this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX1.Size        = new System.Drawing.Size(62, 19);
     this.labelX1.TabIndex    = 0;
     this.labelX1.Text        = "定位查询";
     //
     // FrmMaterialRelateDept
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(884, 311);
     this.Controls.Add(this.panelEx1);
     this.Font              = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Name              = "FrmMaterialRelateDept";
     this.Text              = "往来科室配置";
     this.OpenWindowBefore += new System.EventHandler(this.FrmRelateDept_OpenWindowBefore);
     this.panelEx1.ResumeLayout(false);
     this.panelEx3.ResumeLayout(false);
     this.panelEx6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dg_deptlist)).EndInit();
     this.panelEx7.ResumeLayout(false);
     this.panelEx7.PerformLayout();
     this.panelEx2.ResumeLayout(false);
     this.panelEx5.ResumeLayout(false);
     this.panelEx4.ResumeLayout(false);
     this.panelEx4.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #4
0
 /// <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.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle4     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle5     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle12    = new System.Windows.Forms.DataGridViewCellStyle();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     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          dataGridViewCellStyle9     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle10    = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle11    = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager      resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmOutApply));
     this.panelEx1            = new DevComponents.DotNetBar.PanelEx();
     this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.panelEx4            = new DevComponents.DotNetBar.PanelEx();
     this.panelEx5            = new DevComponents.DotNetBar.PanelEx();
     this.dgBillHead          = new EfwControls.CustomControl.DataGrid();
     this.ApplyHeadID         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.BatchNOH            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RegEmpNameH         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RegTimeH            = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
     this.AuditEmpNameH       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.AuditTimeH          = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
     this.Column1             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RemarkH             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panelEx3            = new DevComponents.DotNetBar.PanelEx();
     this.panelEx7            = new DevComponents.DotNetBar.PanelEx();
     this.dgDetails           = new EfwControls.CustomControl.GridBoxCard();
     this.DrugID      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ChemName    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Spec        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ProductName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.BatchNO     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Amount      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.UnitName    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.totalNum    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.StockFee    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RetailFee   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.StockPrice  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RetailPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panelEx2    = new DevComponents.DotNetBar.PanelEx();
     this.btnOk       = new DevComponents.DotNetBar.ButtonX();
     this.btnClose    = new DevComponents.DotNetBar.ButtonX();
     this.panelEx1.SuspendLayout();
     this.panelEx4.SuspendLayout();
     this.panelEx5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgBillHead)).BeginInit();
     this.panelEx3.SuspendLayout();
     this.panelEx7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgDetails)).BeginInit();
     this.panelEx2.SuspendLayout();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.expandableSplitter1);
     this.panelEx1.Controls.Add(this.panelEx4);
     this.panelEx1.Controls.Add(this.panelEx3);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Margin          = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(927, 389);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 1;
     this.panelEx1.Text = "panelEx1";
     //
     // expandableSplitter1
     //
     this.expandableSplitter1.BackColor2           = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.BackColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter1.Dock                         = System.Windows.Forms.DockStyle.Bottom;
     this.expandableSplitter1.ExpandFillColor              = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.ExpandFillColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.ExpandLineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.ExpandLineColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripDarkColor                = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.GripDarkColorSchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripLightColor               = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter1.GripLightColorSchemePart     = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.HotBackColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.expandableSplitter1.HotBackColor2                = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.expandableSplitter1.HotBackColor2SchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter1.HotBackColorSchemePart       = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter1.HotExpandFillColor           = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotExpandLineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.HotGripDarkColor             = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.HotGripDarkColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotGripLightColor            = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter1.HotGripLightColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.Location                     = new System.Drawing.Point(0, 166);
     this.expandableSplitter1.Name                         = "expandableSplitter1";
     this.expandableSplitter1.Size                         = new System.Drawing.Size(927, 10);
     this.expandableSplitter1.Style                        = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter1.TabIndex                     = 3;
     this.expandableSplitter1.TabStop                      = false;
     //
     // panelEx4
     //
     this.panelEx4.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx4.Controls.Add(this.panelEx5);
     this.panelEx4.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx4.Location        = new System.Drawing.Point(0, 40);
     this.panelEx4.Margin          = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.panelEx4.Name            = "panelEx4";
     this.panelEx4.Size            = new System.Drawing.Size(927, 136);
     this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx4.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx4.Style.GradientAngle = 90;
     this.panelEx4.TabIndex            = 2;
     this.panelEx4.Text = "panelEx4";
     //
     // panelEx5
     //
     this.panelEx5.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx5.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx5.Controls.Add(this.dgBillHead);
     this.panelEx5.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx5.Location        = new System.Drawing.Point(0, 0);
     this.panelEx5.Margin          = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.panelEx5.Name            = "panelEx5";
     this.panelEx5.Size            = new System.Drawing.Size(927, 136);
     this.panelEx5.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx5.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx5.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx5.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx5.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx5.Style.GradientAngle = 90;
     this.panelEx5.TabIndex            = 2;
     this.panelEx5.Text = "panelEx5";
     //
     // dgBillHead
     //
     this.dgBillHead.AllowSortWhenClickColumnHeader = false;
     this.dgBillHead.AllowUserToAddRows             = false;
     this.dgBillHead.AllowUserToDeleteRows          = false;
     this.dgBillHead.AllowUserToResizeColumns       = false;
     this.dgBillHead.AllowUserToResizeRows          = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.dgBillHead.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgBillHead.BackgroundColor               = System.Drawing.Color.White;
     this.dgBillHead.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle2.Alignment              = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor              = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                   = new System.Drawing.Font("宋体", 9F, 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.dgBillHead.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgBillHead.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.ApplyHeadID,
         this.BatchNOH,
         this.RegEmpNameH,
         this.RegTimeH,
         this.AuditEmpNameH,
         this.AuditTimeH,
         this.Column1,
         this.RemarkH
     });
     dataGridViewCellStyle3.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle3.Font               = new System.Drawing.Font("宋体", 9F, 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.dgBillHead.DefaultCellStyle          = dataGridViewCellStyle3;
     this.dgBillHead.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgBillHead.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgBillHead.HighlightSelectedColumnHeaders = false;
     this.dgBillHead.Location             = new System.Drawing.Point(0, 0);
     this.dgBillHead.Margin               = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.dgBillHead.Name                 = "dgBillHead";
     this.dgBillHead.ReadOnly             = true;
     this.dgBillHead.RowHeadersWidth      = 25;
     this.dgBillHead.RowTemplate.Height   = 23;
     this.dgBillHead.SelectAllSignVisible = false;
     this.dgBillHead.SelectionMode        = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgBillHead.SeqVisible           = true;
     this.dgBillHead.SetCustomStyle       = false;
     this.dgBillHead.Size                 = new System.Drawing.Size(927, 136);
     this.dgBillHead.TabIndex             = 0;
     this.dgBillHead.CurrentCellChanged  += new System.EventHandler(this.dgBillHead_CurrentCellChanged);
     //
     // ApplyHeadID
     //
     this.ApplyHeadID.DataPropertyName = "ApplyHeadID";
     this.ApplyHeadID.HeaderText       = "编号";
     this.ApplyHeadID.Name             = "ApplyHeadID";
     this.ApplyHeadID.ReadOnly         = true;
     this.ApplyHeadID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.ApplyHeadID.Visible          = false;
     this.ApplyHeadID.Width            = 55;
     //
     // BatchNOH
     //
     this.BatchNOH.DataPropertyName = "BillNO";
     this.BatchNOH.HeaderText       = "单据号";
     this.BatchNOH.MinimumWidth     = 100;
     this.BatchNOH.Name             = "BatchNOH";
     this.BatchNOH.ReadOnly         = true;
     this.BatchNOH.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.BatchNOH.Width            = 120;
     //
     // RegEmpNameH
     //
     this.RegEmpNameH.DataPropertyName = "RegEmpName";
     this.RegEmpNameH.HeaderText       = "登记人";
     this.RegEmpNameH.MinimumWidth     = 80;
     this.RegEmpNameH.Name             = "RegEmpNameH";
     this.RegEmpNameH.ReadOnly         = true;
     this.RegEmpNameH.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // RegTimeH
     //
     this.RegTimeH.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     //
     //
     //
     this.RegTimeH.BackgroundStyle.Class      = "DataGridViewDateTimeBorder";
     this.RegTimeH.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.RegTimeH.CustomFormat             = "yyyy-MM-dd";
     this.RegTimeH.DataPropertyName         = "RegTime";
     this.RegTimeH.Format                   = DevComponents.Editors.eDateTimePickerFormat.Custom;
     this.RegTimeH.HeaderText               = "登记时间";
     this.RegTimeH.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
     //
     //
     //
     this.RegTimeH.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.RegTimeH.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.RegTimeH.MonthCalendar.CalendarDimensions         = new System.Drawing.Size(1, 1);
     //
     //
     //
     this.RegTimeH.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.RegTimeH.MonthCalendar.DisplayMonth       = new System.DateTime(2016, 9, 1, 0, 0, 0, 0);
     this.RegTimeH.MonthCalendar.MarkedDates        = new System.DateTime[0];
     this.RegTimeH.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.RegTimeH.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.RegTimeH.MonthCalendar.WeeklyMarkedDays = new System.DayOfWeek[0];
     this.RegTimeH.Name      = "RegTimeH";
     this.RegTimeH.ReadOnly  = true;
     this.RegTimeH.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.RegTimeH.SortMode  = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // AuditEmpNameH
     //
     this.AuditEmpNameH.DataPropertyName = "AuditEmpName";
     this.AuditEmpNameH.HeaderText       = "审核人";
     this.AuditEmpNameH.MinimumWidth     = 80;
     this.AuditEmpNameH.Name             = "AuditEmpNameH";
     this.AuditEmpNameH.ReadOnly         = true;
     this.AuditEmpNameH.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.AuditEmpNameH.Visible          = false;
     //
     // AuditTimeH
     //
     //
     //
     //
     this.AuditTimeH.BackgroundStyle.Class      = "DataGridViewDateTimeBorder";
     this.AuditTimeH.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.AuditTimeH.CustomFormat             = "yyyy-MM-dd";
     this.AuditTimeH.DataPropertyName         = "AuditTime";
     this.AuditTimeH.Format                   = DevComponents.Editors.eDateTimePickerFormat.Custom;
     this.AuditTimeH.HeaderText               = "审核时间";
     this.AuditTimeH.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
     //
     //
     //
     this.AuditTimeH.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.AuditTimeH.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.AuditTimeH.MonthCalendar.CalendarDimensions         = new System.Drawing.Size(1, 1);
     //
     //
     //
     this.AuditTimeH.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.AuditTimeH.MonthCalendar.DisplayMonth       = new System.DateTime(2016, 9, 1, 0, 0, 0, 0);
     this.AuditTimeH.MonthCalendar.MarkedDates        = new System.DateTime[0];
     this.AuditTimeH.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.AuditTimeH.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.AuditTimeH.MonthCalendar.WeeklyMarkedDays = new System.DayOfWeek[0];
     this.AuditTimeH.Name      = "AuditTimeH";
     this.AuditTimeH.ReadOnly  = true;
     this.AuditTimeH.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.AuditTimeH.SortMode  = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.AuditTimeH.Visible   = false;
     this.AuditTimeH.Width     = 246;
     //
     // Column1
     //
     this.Column1.DataPropertyName = "ApplyDeptName";
     this.Column1.HeaderText       = "申请科室";
     this.Column1.Name             = "Column1";
     this.Column1.ReadOnly         = true;
     this.Column1.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // RemarkH
     //
     this.RemarkH.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.RemarkH.DataPropertyName = "Remark";
     this.RemarkH.HeaderText       = "备注";
     this.RemarkH.Name             = "RemarkH";
     this.RemarkH.ReadOnly         = true;
     this.RemarkH.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // panelEx3
     //
     this.panelEx3.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx3.Controls.Add(this.panelEx7);
     this.panelEx3.Dock            = System.Windows.Forms.DockStyle.Bottom;
     this.panelEx3.Location        = new System.Drawing.Point(0, 176);
     this.panelEx3.Margin          = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.panelEx3.Name            = "panelEx3";
     this.panelEx3.Size            = new System.Drawing.Size(927, 213);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx3.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx3.Style.GradientAngle = 90;
     this.panelEx3.TabIndex            = 1;
     this.panelEx3.Text = "panelEx3";
     //
     // panelEx7
     //
     this.panelEx7.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx7.Controls.Add(this.dgDetails);
     this.panelEx7.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx7.Location        = new System.Drawing.Point(0, 0);
     this.panelEx7.Margin          = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.panelEx7.Name            = "panelEx7";
     this.panelEx7.Size            = new System.Drawing.Size(927, 213);
     this.panelEx7.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx7.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx7.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx7.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx7.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx7.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx7.Style.GradientAngle = 90;
     this.panelEx7.TabIndex            = 3;
     this.panelEx7.Text = "panelEx7";
     //
     // dgDetails
     //
     this.dgDetails.AllowSortWhenClickColumnHeader = false;
     this.dgDetails.AllowUserToAddRows             = false;
     this.dgDetails.AllowUserToDeleteRows          = false;
     this.dgDetails.AllowUserToResizeColumns       = false;
     this.dgDetails.AllowUserToResizeRows          = false;
     dataGridViewCellStyle4.BackColor = System.Drawing.Color.WhiteSmoke;
     this.dgDetails.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
     this.dgDetails.BackgroundColor               = System.Drawing.Color.White;
     this.dgDetails.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle5.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle5.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle5.Font                  = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle5.ForeColor             = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle5.SelectionBackColor    = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle5.SelectionForeColor    = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle5.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgDetails.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
     this.dgDetails.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.DrugID,
         this.ChemName,
         this.Spec,
         this.ProductName,
         this.BatchNO,
         this.Amount,
         this.UnitName,
         this.totalNum,
         this.StockFee,
         this.RetailFee,
         this.StockPrice,
         this.RetailPrice
     });
     dataGridViewCellStyle12.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle12.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle12.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle12.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle12.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgDetails.DefaultCellStyle            = dataGridViewCellStyle12;
     this.dgDetails.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgDetails.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgDetails.HideSelectionCardWhenCustomInput = false;
     this.dgDetails.HighlightSelectedColumnHeaders   = false;
     this.dgDetails.IsInputNumSelectedCard           = true;
     this.dgDetails.IsShowLetter                = false;
     this.dgDetails.IsShowPage                  = false;
     this.dgDetails.Location                    = new System.Drawing.Point(0, 0);
     this.dgDetails.Margin                      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.dgDetails.MultiSelect                 = false;
     this.dgDetails.Name                        = "dgDetails";
     this.dgDetails.ReadOnly                    = true;
     this.dgDetails.RowHeadersWidth             = 25;
     this.dgDetails.RowTemplate.Height          = 23;
     this.dgDetails.SelectAllSignVisible        = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     this.dgDetails.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1
     };
     this.dgDetails.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgDetails.SelectionNumKeyBoards = null;
     this.dgDetails.SeqVisible            = true;
     this.dgDetails.SetCustomStyle        = false;
     this.dgDetails.Size     = new System.Drawing.Size(927, 213);
     this.dgDetails.TabIndex = 1;
     //
     // DrugID
     //
     this.DrugID.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.DrugID.DataPropertyName = "DrugID";
     this.DrugID.HeaderText       = "编号";
     this.DrugID.MinimumWidth     = 80;
     this.DrugID.Name             = "DrugID";
     this.DrugID.ReadOnly         = true;
     this.DrugID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ChemName
     //
     this.ChemName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ChemName.DataPropertyName = "ChemName";
     this.ChemName.HeaderText       = "药品名称";
     this.ChemName.MinimumWidth     = 150;
     this.ChemName.Name             = "ChemName";
     this.ChemName.ReadOnly         = true;
     this.ChemName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Spec
     //
     this.Spec.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.Spec.DataPropertyName = "Spec";
     this.Spec.HeaderText       = "规格";
     this.Spec.MinimumWidth     = 120;
     this.Spec.Name             = "Spec";
     this.Spec.ReadOnly         = true;
     this.Spec.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ProductName
     //
     this.ProductName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ProductName.DataPropertyName = "ProductName";
     this.ProductName.HeaderText       = "生产厂家";
     this.ProductName.MinimumWidth     = 150;
     this.ProductName.Name             = "ProductName";
     this.ProductName.ReadOnly         = true;
     this.ProductName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // BatchNO
     //
     this.BatchNO.DataPropertyName = "BatchNO";
     this.BatchNO.HeaderText       = "批次";
     this.BatchNO.Name             = "BatchNO";
     this.BatchNO.ReadOnly         = true;
     this.BatchNO.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Amount
     //
     this.Amount.DataPropertyName     = "Amount";
     dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Amount.DefaultCellStyle     = dataGridViewCellStyle6;
     this.Amount.HeaderText           = "数量";
     this.Amount.Name     = "Amount";
     this.Amount.ReadOnly = true;
     this.Amount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Amount.Width    = 55;
     //
     // UnitName
     //
     this.UnitName.DataPropertyName = "UnitName";
     this.UnitName.HeaderText       = "单位";
     this.UnitName.Name             = "UnitName";
     this.UnitName.ReadOnly         = true;
     this.UnitName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.UnitName.Width            = 55;
     //
     // totalNum
     //
     this.totalNum.DataPropertyName   = "totalNum";
     dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle7.Format    = "0.00";
     this.totalNum.DefaultCellStyle   = dataGridViewCellStyle7;
     this.totalNum.HeaderText         = "库存量";
     this.totalNum.Name     = "totalNum";
     this.totalNum.ReadOnly = true;
     this.totalNum.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.totalNum.Width    = 55;
     //
     // StockFee
     //
     this.StockFee.DataPropertyName   = "StockFee";
     dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle8.Format    = "0.00";
     this.StockFee.DefaultCellStyle   = dataGridViewCellStyle8;
     this.StockFee.HeaderText         = "零售价";
     this.StockFee.Name     = "StockFee";
     this.StockFee.ReadOnly = true;
     this.StockFee.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.StockFee.Width    = 55;
     //
     // RetailFee
     //
     this.RetailFee.DataPropertyName  = "RetailFee";
     dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle9.Format    = "0.00";
     this.RetailFee.DefaultCellStyle  = dataGridViewCellStyle9;
     this.RetailFee.HeaderText        = "零售金额";
     this.RetailFee.Name     = "RetailFee";
     this.RetailFee.ReadOnly = true;
     this.RetailFee.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.RetailFee.Width    = 65;
     //
     // StockPrice
     //
     this.StockPrice.DataPropertyName  = "StockPrice";
     dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle10.Format    = "0.00";
     this.StockPrice.DefaultCellStyle  = dataGridViewCellStyle10;
     this.StockPrice.HeaderText        = "进货价";
     this.StockPrice.Name     = "StockPrice";
     this.StockPrice.ReadOnly = true;
     this.StockPrice.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.StockPrice.Width    = 55;
     //
     // RetailPrice
     //
     this.RetailPrice.DataPropertyName = "RetailPrice";
     dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle11.Format    = "0.00";
     this.RetailPrice.DefaultCellStyle = dataGridViewCellStyle11;
     this.RetailPrice.HeaderText       = "进货金额";
     this.RetailPrice.Name             = "RetailPrice";
     this.RetailPrice.ReadOnly         = true;
     this.RetailPrice.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.RetailPrice.Width            = 65;
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.btnOk);
     this.panelEx2.Controls.Add(this.btnClose);
     this.panelEx2.Dock            = System.Windows.Forms.DockStyle.Top;
     this.panelEx2.Location        = new System.Drawing.Point(0, 0);
     this.panelEx2.Margin          = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(927, 40);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 0;
     //
     // btnOk
     //
     this.btnOk.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnOk.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnOk.Location       = new System.Drawing.Point(12, 9);
     this.btnOk.Margin         = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnOk.Name           = "btnOk";
     this.btnOk.Size           = new System.Drawing.Size(106, 22);
     this.btnOk.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnOk.TabIndex       = 6;
     this.btnOk.Text           = "确认生成出库单";
     this.btnOk.Click         += new System.EventHandler(this.btnOk_Click);
     //
     // btnClose
     //
     this.btnClose.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnClose.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnClose.Image          = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
     this.btnClose.Location       = new System.Drawing.Point(124, 9);
     this.btnClose.Margin         = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnClose.Name           = "btnClose";
     this.btnClose.Size           = new System.Drawing.Size(75, 22);
     this.btnClose.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnClose.TabIndex       = 5;
     this.btnClose.Text           = "关闭(&C)";
     this.btnClose.Click         += new System.EventHandler(this.btnClose_Click);
     //
     // FrmOutApply
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(927, 389);
     this.Controls.Add(this.panelEx1);
     this.Name              = "FrmOutApply";
     this.Text              = "药品申请单信息";
     this.OpenWindowBefore += new System.EventHandler(this.FrmOutApply_OpenWindowBefore);
     this.Load             += new System.EventHandler(this.FrmOutApply_Load);
     this.panelEx1.ResumeLayout(false);
     this.panelEx4.ResumeLayout(false);
     this.panelEx5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgBillHead)).EndInit();
     this.panelEx3.ResumeLayout(false);
     this.panelEx7.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgDetails)).EndInit();
     this.panelEx2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #5
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle1     = 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();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard2 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     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();
     this.panelEx1    = new DevComponents.DotNetBar.PanelEx();
     this.bar2        = new DevComponents.DotNetBar.Bar();
     this.btnAdd      = new DevComponents.DotNetBar.ButtonItem();
     this.btnDel      = new DevComponents.DotNetBar.ButtonItem();
     this.btnSave     = new DevComponents.DotNetBar.ButtonItem();
     this.grdFeeList  = new EfwControls.CustomControl.GridBoxCard();
     this.ItemID      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column26    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column27    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column28    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column29    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column30    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column31    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column32    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.CalCostMode = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panelEx1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bar2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grdFeeList)).BeginInit();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.grdFeeList);
     this.panelEx1.Controls.Add(this.bar2);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(947, 255);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 0;
     //
     // bar2
     //
     this.bar2.AntiAlias = true;
     this.bar2.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar2.DockSide  = DevComponents.DotNetBar.eDockSide.Document;
     this.bar2.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.bar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnAdd,
         this.btnDel,
         this.btnSave
     });
     this.bar2.Location    = new System.Drawing.Point(0, 0);
     this.bar2.Name        = "bar2";
     this.bar2.PaddingLeft = 22;
     this.bar2.Size        = new System.Drawing.Size(947, 25);
     this.bar2.Stretch     = true;
     this.bar2.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar2.TabIndex    = 4;
     this.bar2.TabStop     = false;
     this.bar2.Text        = "bar2";
     //
     // btnAdd
     //
     this.btnAdd.Name   = "btnAdd";
     this.btnAdd.Text   = "新增(&N)";
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // btnDel
     //
     this.btnDel.Name   = "btnDel";
     this.btnDel.Text   = "删除(&D)";
     this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
     //
     // btnSave
     //
     this.btnSave.Name   = "btnSave";
     this.btnSave.Text   = "保存(&S)";
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // grdFeeList
     //
     this.grdFeeList.AllowSortWhenClickColumnHeader = false;
     this.grdFeeList.AllowUserToAddRows             = false;
     this.grdFeeList.AllowUserToDeleteRows          = false;
     this.grdFeeList.AllowUserToResizeColumns       = false;
     this.grdFeeList.AllowUserToResizeRows          = false;
     this.grdFeeList.BackgroundColor               = System.Drawing.Color.White;
     this.grdFeeList.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle1.Alignment              = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle1.BackColor              = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font                   = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle1.ForeColor              = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor     = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor     = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode               = System.Windows.Forms.DataGridViewTriState.True;
     this.grdFeeList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.grdFeeList.ColumnHeadersHeight           = 20;
     this.grdFeeList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.ItemID,
         this.Column26,
         this.Column27,
         this.Column28,
         this.Column29,
         this.Column30,
         this.Column31,
         this.Column32,
         this.CalCostMode
     });
     dataGridViewCellStyle7.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle7.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle7.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle7.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle7.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.grdFeeList.DefaultCellStyle          = dataGridViewCellStyle7;
     this.grdFeeList.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.grdFeeList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.grdFeeList.HideSelectionCardWhenCustomInput = false;
     this.grdFeeList.HighlightSelectedColumnHeaders   = false;
     this.grdFeeList.IsInputNumSelectedCard           = true;
     this.grdFeeList.IsShowLetter               = false;
     this.grdFeeList.IsShowPage                 = true;
     this.grdFeeList.Location                   = new System.Drawing.Point(0, 25);
     this.grdFeeList.Name                       = "grdFeeList";
     this.grdFeeList.ReadOnly                   = true;
     dataGridViewCellStyle8.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle8.BackColor           = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle8.Font                = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle8.ForeColor           = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle8.SelectionBackColor  = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle8.SelectionForeColor  = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle8.WrapMode            = System.Windows.Forms.DataGridViewTriState.True;
     this.grdFeeList.RowHeadersDefaultCellStyle = dataGridViewCellStyle8;
     this.grdFeeList.RowHeadersWidth            = 30;
     this.grdFeeList.RowTemplate.Height         = 23;
     this.grdFeeList.SelectAllSignVisible       = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = "ItemCode|编码|50,ItemName|项目名称|250,Standard|规格|100,UnitPrice|单价|70,StoreAmount|库存数|" +
                                                  "80,ExecDeptName|执行科室|130";
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(680, 280);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = "费用";
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         "ItemCode",
         "ItemName",
         "Pym",
         "Wbm"
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "ItemCode,ItemName,Pym,Wbm";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     dataGridViewSelectionCard2.BindColumnIndex      = 0;
     dataGridViewSelectionCard2.CardColumn           = null;
     dataGridViewSelectionCard2.CardSize             = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard2.DataSource           = null;
     dataGridViewSelectionCard2.FilterResult         = null;
     dataGridViewSelectionCard2.IsPage          = true;
     dataGridViewSelectionCard2.Memo            = null;
     dataGridViewSelectionCard2.PageTotalRecord = 0;
     dataGridViewSelectionCard2.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard2.QueryFieldsString    = "";
     dataGridViewSelectionCard2.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard2.ShowCardColumns      = null;
     this.grdFeeList.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1,
         dataGridViewSelectionCard2
     };
     this.grdFeeList.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.grdFeeList.SelectionNumKeyBoards = null;
     this.grdFeeList.SeqVisible            = true;
     this.grdFeeList.SetCustomStyle        = false;
     this.grdFeeList.Size     = new System.Drawing.Size(947, 230);
     this.grdFeeList.TabIndex = 5;
     this.grdFeeList.SelectCardRowSelected += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.grdFeeList_SelectCardRowSelected);
     this.grdFeeList.CellClick             += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdFeeList_CellClick);
     this.grdFeeList.CellValueChanged      += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdFeeList_CellValueChanged);
     this.grdFeeList.CurrentCellChanged    += new System.EventHandler(this.grdFeeList_CurrentCellChanged);
     //
     // ItemID
     //
     this.ItemID.DataPropertyName     = "ItemID";
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.ItemID.DefaultCellStyle     = dataGridViewCellStyle2;
     this.ItemID.HeaderText           = "编码";
     this.ItemID.Name     = "ItemID";
     this.ItemID.ReadOnly = true;
     this.ItemID.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.ItemID.Width    = 80;
     //
     // Column26
     //
     this.Column26.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.Column26.DataPropertyName = "ItemName";
     this.Column26.HeaderText       = "项目名称";
     this.Column26.MinimumWidth     = 160;
     this.Column26.Name             = "Column26";
     this.Column26.ReadOnly         = true;
     this.Column26.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Column27
     //
     this.Column27.DataPropertyName = "Spec";
     this.Column27.HeaderText       = "规格";
     this.Column27.Name             = "Column27";
     this.Column27.ReadOnly         = true;
     this.Column27.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column27.Width            = 120;
     //
     // Column28
     //
     this.Column28.DataPropertyName = "ExecDeptName";
     this.Column28.HeaderText       = "执行科室";
     this.Column28.Name             = "Column28";
     this.Column28.ReadOnly         = true;
     this.Column28.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Column29
     //
     this.Column29.DataPropertyName   = "SellPrice";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle3.Format    = "N4";
     dataGridViewCellStyle3.NullValue = null;
     this.Column29.DefaultCellStyle   = dataGridViewCellStyle3;
     this.Column29.HeaderText         = "价格";
     this.Column29.Name     = "Column29";
     this.Column29.ReadOnly = true;
     this.Column29.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column29.Width    = 80;
     //
     // Column30
     //
     this.Column30.DataPropertyName   = "Amount";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Column30.DefaultCellStyle   = dataGridViewCellStyle4;
     this.Column30.HeaderText         = "数量";
     this.Column30.Name     = "Column30";
     this.Column30.ReadOnly = true;
     this.Column30.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column30.Width    = 90;
     //
     // Column31
     //
     this.Column31.DataPropertyName = "Unit";
     this.Column31.HeaderText       = "单位";
     this.Column31.Name             = "Column31";
     this.Column31.ReadOnly         = true;
     this.Column31.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column31.Width            = 80;
     //
     // Column32
     //
     this.Column32.DataPropertyName   = "TotalFee";
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle5.Format    = "N2";
     dataGridViewCellStyle5.NullValue = null;
     this.Column32.DefaultCellStyle   = dataGridViewCellStyle5;
     this.Column32.HeaderText         = "金额";
     this.Column32.Name     = "Column32";
     this.Column32.ReadOnly = true;
     this.Column32.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column32.Width    = 90;
     //
     // CalCostMode
     //
     this.CalCostMode.DataPropertyName = "CalCostModeName";
     dataGridViewCellStyle6.Alignment  = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.CalCostMode.DefaultCellStyle = dataGridViewCellStyle6;
     this.CalCostMode.HeaderText       = "计费模式";
     this.CalCostMode.Name             = "CalCostMode";
     this.CalCostMode.ReadOnly         = true;
     this.CalCostMode.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.CalCostMode.Width            = 80;
     //
     // OrderFee
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoValidate        = System.Windows.Forms.AutoValidate.Disable;
     this.Controls.Add(this.panelEx1);
     this.Name = "OrderFee";
     this.Size = new System.Drawing.Size(947, 255);
     this.panelEx1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.bar2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grdFeeList)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <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();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle3     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle4     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle6     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle5     = new System.Windows.Forms.DataGridViewCellStyle();
     this.panelEx1     = new DevComponents.DotNetBar.PanelEx();
     this.btnClose     = new DevComponents.DotNetBar.ButtonX();
     this.btnQuery     = new DevComponents.DotNetBar.ButtonX();
     this.txtQueryName = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX2      = new DevComponents.DotNetBar.LabelX();
     this.cbbWork      = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.labelX1      = new DevComponents.DotNetBar.LabelX();
     this.bar1         = new DevComponents.DotNetBar.Bar();
     this.btnNew       = new DevComponents.DotNetBar.ButtonItem();
     this.btnEdit      = new DevComponents.DotNetBar.ButtonItem();
     this.btnStop      = new DevComponents.DotNetBar.ButtonItem();
     this.panInfo      = new DevComponents.DotNetBar.PanelEx();
     this.dgChannel    = new EfwControls.CustomControl.GridBoxCard();
     this.ChannelID    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ChannelName  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.btnDelete    = new DevComponents.DotNetBar.Controls.DataGridViewButtonXColumn();
     this.intCode      = new DevComponents.Editors.IntegerInput();
     this.labelX4      = new DevComponents.DotNetBar.LabelX();
     this.btnSave      = new DevComponents.DotNetBar.ButtonX();
     this.btnCancel    = new DevComponents.DotNetBar.ButtonX();
     this.txtName      = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX3      = new DevComponents.DotNetBar.LabelX();
     this.dgExecBill   = new EfwControls.CustomControl.DataGrid();
     this.BillName     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PYCode       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.WBCode       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ReportFile   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.UseFalgDesc  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panelEx1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.panInfo.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgChannel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.intCode)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgExecBill)).BeginInit();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.btnClose);
     this.panelEx1.Controls.Add(this.btnQuery);
     this.panelEx1.Controls.Add(this.txtQueryName);
     this.panelEx1.Controls.Add(this.labelX2);
     this.panelEx1.Controls.Add(this.cbbWork);
     this.panelEx1.Controls.Add(this.labelX1);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Top;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(1029, 40);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 1;
     //
     // btnClose
     //
     this.btnClose.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnClose.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnClose.Location       = new System.Drawing.Point(681, 9);
     this.btnClose.Name           = "btnClose";
     this.btnClose.Size           = new System.Drawing.Size(75, 23);
     this.btnClose.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnClose.TabIndex       = 11;
     this.btnClose.Text           = "关闭(&C)";
     this.btnClose.Click         += new System.EventHandler(this.btnClose_Click);
     //
     // btnQuery
     //
     this.btnQuery.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnQuery.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnQuery.Location       = new System.Drawing.Point(589, 9);
     this.btnQuery.Name           = "btnQuery";
     this.btnQuery.Size           = new System.Drawing.Size(75, 23);
     this.btnQuery.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnQuery.TabIndex       = 10;
     this.btnQuery.Text           = "查询(&Q)";
     this.btnQuery.Click         += new System.EventHandler(this.btnQuery_Click);
     //
     // txtQueryName
     //
     //
     //
     //
     this.txtQueryName.Border.Class      = "TextBoxBorder";
     this.txtQueryName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtQueryName.Location          = new System.Drawing.Point(353, 10);
     this.txtQueryName.Name     = "txtQueryName";
     this.txtQueryName.Size     = new System.Drawing.Size(221, 21);
     this.txtQueryName.TabIndex = 9;
     //
     // labelX2
     //
     this.labelX2.AutoSize = true;
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Location = new System.Drawing.Point(297, 12);
     this.labelX2.Name     = "labelX2";
     this.labelX2.Size     = new System.Drawing.Size(56, 18);
     this.labelX2.TabIndex = 8;
     this.labelX2.Text     = "检索条件";
     //
     // cbbWork
     //
     this.cbbWork.DisplayMember     = "WORKNAME";
     this.cbbWork.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cbbWork.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbbWork.FormattingEnabled = true;
     this.cbbWork.ItemHeight        = 15;
     this.cbbWork.Location          = new System.Drawing.Point(96, 10);
     this.cbbWork.Name                  = "cbbWork";
     this.cbbWork.Size                  = new System.Drawing.Size(184, 21);
     this.cbbWork.Style                 = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.cbbWork.TabIndex              = 7;
     this.cbbWork.ValueMember           = "WORKID";
     this.cbbWork.SelectedIndexChanged += new System.EventHandler(this.cbbWork_SelectedIndexChanged);
     //
     // labelX1
     //
     this.labelX1.AutoSize = true;
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(34, 12);
     this.labelX1.Name     = "labelX1";
     this.labelX1.Size     = new System.Drawing.Size(56, 18);
     this.labelX1.TabIndex = 6;
     this.labelX1.Text     = "医疗机构";
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnNew,
         this.btnEdit,
         this.btnStop
     });
     this.bar1.Location    = new System.Drawing.Point(0, 40);
     this.bar1.Name        = "bar1";
     this.bar1.PaddingLeft = 28;
     this.bar1.Size        = new System.Drawing.Size(1029, 25);
     this.bar1.Stretch     = true;
     this.bar1.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex    = 2;
     this.bar1.TabStop     = false;
     this.bar1.Text        = "bar1";
     //
     // btnNew
     //
     this.btnNew.Name   = "btnNew";
     this.btnNew.Text   = "新增(&N)";
     this.btnNew.Click += new System.EventHandler(this.btnNew_Click);
     //
     // btnEdit
     //
     this.btnEdit.Name   = "btnEdit";
     this.btnEdit.Text   = "编辑(&E)";
     this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
     //
     // btnStop
     //
     this.btnStop.Name   = "btnStop";
     this.btnStop.Text   = "停用";
     this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
     //
     // panInfo
     //
     this.panInfo.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panInfo.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panInfo.Controls.Add(this.dgChannel);
     this.panInfo.Controls.Add(this.intCode);
     this.panInfo.Controls.Add(this.labelX4);
     this.panInfo.Controls.Add(this.btnSave);
     this.panInfo.Controls.Add(this.btnCancel);
     this.panInfo.Controls.Add(this.txtName);
     this.panInfo.Controls.Add(this.labelX3);
     this.panInfo.Dock            = System.Windows.Forms.DockStyle.Right;
     this.panInfo.Location        = new System.Drawing.Point(741, 65);
     this.panInfo.Name            = "panInfo";
     this.panInfo.Size            = new System.Drawing.Size(288, 384);
     this.panInfo.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panInfo.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panInfo.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panInfo.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panInfo.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panInfo.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panInfo.Style.GradientAngle = 90;
     this.panInfo.TabIndex            = 3;
     //
     // dgChannel
     //
     this.dgChannel.AllowSortWhenClickColumnHeader = false;
     this.dgChannel.AllowUserToAddRows             = false;
     this.dgChannel.AllowUserToDeleteRows          = false;
     this.dgChannel.AllowUserToResizeColumns       = false;
     this.dgChannel.AllowUserToResizeRows          = false;
     this.dgChannel.BackgroundColor               = System.Drawing.Color.White;
     this.dgChannel.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle1.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle1.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font                  = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle1.ForeColor             = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor    = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor    = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgChannel.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dgChannel.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgChannel.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.ChannelID,
         this.ChannelName,
         this.btnDelete
     });
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle2.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgChannel.DefaultCellStyle           = dataGridViewCellStyle2;
     this.dgChannel.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgChannel.HideSelectionCardWhenCustomInput = false;
     this.dgChannel.HighlightSelectedColumnHeaders   = false;
     this.dgChannel.IsInputNumSelectedCard           = true;
     this.dgChannel.IsShowLetter                = false;
     this.dgChannel.IsShowPage                  = false;
     this.dgChannel.Location                    = new System.Drawing.Point(6, 83);
     this.dgChannel.Name                        = "dgChannel";
     this.dgChannel.ReadOnly                    = true;
     this.dgChannel.RowHeadersWidth             = 30;
     this.dgChannel.RowTemplate.Height          = 23;
     this.dgChannel.SelectAllSignVisible        = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     this.dgChannel.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1
     };
     this.dgChannel.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgChannel.SelectionNumKeyBoards = null;
     this.dgChannel.SeqVisible            = true;
     this.dgChannel.SetCustomStyle        = false;
     this.dgChannel.Size     = new System.Drawing.Size(277, 250);
     this.dgChannel.TabIndex = 26;
     this.dgChannel.SelectCardRowSelected += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.dgChannel_SelectCardRowSelected);
     this.dgChannel.CellClick             += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgChannel_CellClick);
     //
     // ChannelID
     //
     this.ChannelID.DataPropertyName = "ChannelID";
     this.ChannelID.HeaderText       = "编码";
     this.ChannelID.Name             = "ChannelID";
     this.ChannelID.ReadOnly         = true;
     this.ChannelID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.ChannelID.Width            = 60;
     //
     // ChannelName
     //
     this.ChannelName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ChannelName.DataPropertyName = "ChannelName";
     this.ChannelName.HeaderText       = "用法";
     this.ChannelName.Name             = "ChannelName";
     this.ChannelName.ReadOnly         = true;
     this.ChannelName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // btnDelete
     //
     this.btnDelete.FillWeight = 40F;
     this.btnDelete.HeaderText = "删除";
     this.btnDelete.Name       = "btnDelete";
     this.btnDelete.ReadOnly   = true;
     this.btnDelete.Text       = "X";
     this.btnDelete.UseColumnTextForButtonValue = true;
     this.btnDelete.Width = 40;
     //
     // intCode
     //
     //
     //
     //
     this.intCode.BackgroundStyle.Class      = "DateTimeInputBackground";
     this.intCode.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.intCode.ButtonFreeText.Shortcut    = DevComponents.DotNetBar.eShortcut.F2;
     this.intCode.Location = new System.Drawing.Point(90, 51);
     this.intCode.MinValue = 1;
     this.intCode.Name     = "intCode";
     this.intCode.Size     = new System.Drawing.Size(193, 21);
     this.intCode.TabIndex = 25;
     this.intCode.Value    = 1;
     //
     // labelX4
     //
     this.labelX4.AutoSize = true;
     //
     //
     //
     this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX4.Location = new System.Drawing.Point(5, 54);
     this.labelX4.Name     = "labelX4";
     this.labelX4.Size     = new System.Drawing.Size(81, 18);
     this.labelX4.TabIndex = 24;
     this.labelX4.Text     = "报表文件编码";
     //
     // btnSave
     //
     this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnSave.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnSave.Enabled        = false;
     this.btnSave.Location       = new System.Drawing.Point(197, 349);
     this.btnSave.Name           = "btnSave";
     this.btnSave.Size           = new System.Drawing.Size(75, 23);
     this.btnSave.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnSave.TabIndex       = 21;
     this.btnSave.Text           = "保存(&S)";
     this.btnSave.Click         += new System.EventHandler(this.btnSave_Click);
     //
     // btnCancel
     //
     this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnCancel.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnCancel.Enabled        = false;
     this.btnCancel.Location       = new System.Drawing.Point(106, 349);
     this.btnCancel.Name           = "btnCancel";
     this.btnCancel.Size           = new System.Drawing.Size(75, 23);
     this.btnCancel.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnCancel.TabIndex       = 20;
     this.btnCancel.Text           = "取消(&C)";
     this.btnCancel.Click         += new System.EventHandler(this.btnCancel_Click);
     //
     // txtName
     //
     //
     //
     //
     this.txtName.Border.Class      = "TextBoxBorder";
     this.txtName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtName.Location          = new System.Drawing.Point(90, 17);
     this.txtName.MaxLength         = 30;
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(193, 21);
     this.txtName.TabIndex = 8;
     //
     // labelX3
     //
     this.labelX3.AutoSize = true;
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Location = new System.Drawing.Point(18, 20);
     this.labelX3.Name     = "labelX3";
     this.labelX3.Size     = new System.Drawing.Size(68, 18);
     this.labelX3.TabIndex = 7;
     this.labelX3.Text     = "执行单名称";
     //
     // dgExecBill
     //
     this.dgExecBill.AllowSortWhenClickColumnHeader = false;
     this.dgExecBill.AllowUserToAddRows             = false;
     this.dgExecBill.AllowUserToDeleteRows          = false;
     this.dgExecBill.AllowUserToResizeColumns       = false;
     this.dgExecBill.AllowUserToResizeRows          = false;
     dataGridViewCellStyle3.BackColor = System.Drawing.Color.AliceBlue;
     this.dgExecBill.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
     this.dgExecBill.BackgroundColor               = System.Drawing.Color.White;
     this.dgExecBill.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle4.Alignment              = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle4.BackColor              = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle4.Font                   = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle4.ForeColor              = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle4.SelectionBackColor     = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle4.SelectionForeColor     = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle4.WrapMode               = System.Windows.Forms.DataGridViewTriState.True;
     this.dgExecBill.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
     this.dgExecBill.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgExecBill.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.BillName,
         this.PYCode,
         this.WBCode,
         this.ReportFile,
         this.UseFalgDesc
     });
     dataGridViewCellStyle6.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle6.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle6.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle6.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle6.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgExecBill.DefaultCellStyle          = dataGridViewCellStyle6;
     this.dgExecBill.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgExecBill.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgExecBill.HighlightSelectedColumnHeaders = false;
     this.dgExecBill.Location             = new System.Drawing.Point(0, 65);
     this.dgExecBill.MultiSelect          = false;
     this.dgExecBill.Name                 = "dgExecBill";
     this.dgExecBill.ReadOnly             = true;
     this.dgExecBill.RowHeadersWidth      = 30;
     this.dgExecBill.RowTemplate.Height   = 23;
     this.dgExecBill.SelectAllSignVisible = false;
     this.dgExecBill.SelectionMode        = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgExecBill.SeqVisible           = true;
     this.dgExecBill.SetCustomStyle       = false;
     this.dgExecBill.Size                 = new System.Drawing.Size(741, 384);
     this.dgExecBill.TabIndex             = 4;
     this.dgExecBill.CurrentCellChanged  += new System.EventHandler(this.dgExecBill_CurrentCellChanged);
     //
     // BillName
     //
     this.BillName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.BillName.DataPropertyName = "BillName";
     this.BillName.HeaderText       = "执行单名称";
     this.BillName.Name             = "BillName";
     this.BillName.ReadOnly         = true;
     this.BillName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // PYCode
     //
     this.PYCode.DataPropertyName = "PYCode";
     this.PYCode.HeaderText       = "拼音码";
     this.PYCode.MinimumWidth     = 150;
     this.PYCode.Name             = "PYCode";
     this.PYCode.ReadOnly         = true;
     this.PYCode.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.PYCode.Width            = 150;
     //
     // WBCode
     //
     this.WBCode.DataPropertyName = "WBCode";
     this.WBCode.HeaderText       = "五笔码";
     this.WBCode.MinimumWidth     = 150;
     this.WBCode.Name             = "WBCode";
     this.WBCode.ReadOnly         = true;
     this.WBCode.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.WBCode.Width            = 150;
     //
     // ReportFile
     //
     this.ReportFile.DataPropertyName = "ReportFile";
     this.ReportFile.HeaderText       = "报表文件编码";
     this.ReportFile.MinimumWidth     = 80;
     this.ReportFile.Name             = "ReportFile";
     this.ReportFile.ReadOnly         = true;
     this.ReportFile.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // UseFalgDesc
     //
     this.UseFalgDesc.DataPropertyName = "UseFalgDesc";
     dataGridViewCellStyle5.Alignment  = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.UseFalgDesc.DefaultCellStyle = dataGridViewCellStyle5;
     this.UseFalgDesc.HeaderText       = "状态";
     this.UseFalgDesc.Name             = "UseFalgDesc";
     this.UseFalgDesc.ReadOnly         = true;
     this.UseFalgDesc.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // FrmExecBill
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1029, 449);
     this.Controls.Add(this.dgExecBill);
     this.Controls.Add(this.panInfo);
     this.Controls.Add(this.bar1);
     this.Controls.Add(this.panelEx1);
     this.Name              = "FrmExecBill";
     this.Text              = "FrmExecBill";
     this.OpenWindowBefore += new System.EventHandler(this.FrmExecBill_OpenWindowBefore);
     this.panelEx1.ResumeLayout(false);
     this.panelEx1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.panInfo.ResumeLayout(false);
     this.panInfo.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgChannel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.intCode)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgExecBill)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle1     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle2     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle9     = new System.Windows.Forms.DataGridViewCellStyle();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     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.ComponentModel.ComponentResourceManager      resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAdjPriceDetail));
     this.panelEx1         = new DevComponents.DotNetBar.PanelEx();
     this.panelEx3         = new DevComponents.DotNetBar.PanelEx();
     this.dgDetails        = new EfwControls.CustomControl.GridBoxCard();
     this.DrugID           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ChemName         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Spec             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ProductName      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.BatchNO          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.AdjAmount        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PackUnit         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PackUnitID       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.MiniUnit         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.MiniUnitID       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.OldRetailPrice   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NewRetailPrice   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.AdjRetailFee     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bar1             = new DevComponents.DotNetBar.Bar();
     this.btnNewDetail     = new DevComponents.DotNetBar.ButtonItem();
     this.btnDelDetail     = new DevComponents.DotNetBar.ButtonItem();
     this.btnRefreshDetail = new DevComponents.DotNetBar.ButtonItem();
     this.btnExcute        = new DevComponents.DotNetBar.ButtonItem();
     this.panelEx2         = new DevComponents.DotNetBar.PanelEx();
     this.txtAdjRemark     = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txtAdjCode       = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX2          = new DevComponents.DotNetBar.LabelX();
     this.labelX1          = new DevComponents.DotNetBar.LabelX();
     this.frmAdjPrice      = new EfwControls.CustomControl.frmForm(this.components);
     this.panelEx1.SuspendLayout();
     this.panelEx3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgDetails)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.panelEx2.SuspendLayout();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.AntiAlias        = false;
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.panelEx3);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(985, 490);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 1;
     //
     // panelEx3
     //
     this.panelEx3.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx3.Controls.Add(this.dgDetails);
     this.panelEx3.Controls.Add(this.bar1);
     this.panelEx3.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx3.Location        = new System.Drawing.Point(0, 40);
     this.panelEx3.Name            = "panelEx3";
     this.panelEx3.Size            = new System.Drawing.Size(985, 450);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx3.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx3.Style.GradientAngle = 90;
     this.panelEx3.TabIndex            = 1;
     this.panelEx3.Text = "panelEx3";
     //
     // dgDetails
     //
     this.dgDetails.AllowSortWhenClickColumnHeader = false;
     this.dgDetails.AllowUserToAddRows             = false;
     this.dgDetails.AllowUserToDeleteRows          = false;
     this.dgDetails.AllowUserToResizeColumns       = false;
     this.dgDetails.AllowUserToResizeRows          = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.dgDetails.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgDetails.BackgroundColor               = System.Drawing.Color.White;
     this.dgDetails.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle2.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                  = new System.Drawing.Font("宋体", 9F, 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.dgDetails.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgDetails.ColumnHeadersHeight           = 32;
     this.dgDetails.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.DrugID,
         this.ChemName,
         this.Spec,
         this.ProductName,
         this.BatchNO,
         this.AdjAmount,
         this.PackUnit,
         this.PackUnitID,
         this.MiniUnit,
         this.MiniUnitID,
         this.OldRetailPrice,
         this.NewRetailPrice,
         this.AdjRetailFee
     });
     dataGridViewCellStyle9.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle9.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle9.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle9.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle9.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgDetails.DefaultCellStyle           = dataGridViewCellStyle9;
     this.dgDetails.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgDetails.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgDetails.HideSelectionCardWhenCustomInput = false;
     this.dgDetails.HighlightSelectedColumnHeaders   = false;
     this.dgDetails.IsInputNumSelectedCard           = false;
     this.dgDetails.IsShowLetter                = false;
     this.dgDetails.IsShowPage                  = false;
     this.dgDetails.Location                    = new System.Drawing.Point(0, 25);
     this.dgDetails.Name                        = "dgDetails";
     this.dgDetails.RowHeadersWidth             = 25;
     this.dgDetails.RowTemplate.Height          = 23;
     this.dgDetails.SelectAllSignVisible        = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     this.dgDetails.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1
     };
     this.dgDetails.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgDetails.SelectionNumKeyBoards = null;
     this.dgDetails.SeqVisible            = true;
     this.dgDetails.SetCustomStyle        = false;
     this.dgDetails.Size     = new System.Drawing.Size(985, 425);
     this.dgDetails.TabIndex = 2;
     this.dgDetails.SelectCardRowSelected += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.dgDetails_SelectCardRowSelected);
     this.dgDetails.CellValueChanged      += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgDetails_CellValueChanged);
     //
     // DrugID
     //
     this.DrugID.DataPropertyName     = "DrugID";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.DrugID.DefaultCellStyle     = dataGridViewCellStyle3;
     this.DrugID.HeaderText           = "编码";
     this.DrugID.Name     = "DrugID";
     this.DrugID.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.DrugID.Width    = 55;
     //
     // ChemName
     //
     this.ChemName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ChemName.DataPropertyName = "ChemName";
     this.ChemName.HeaderText       = "名称";
     this.ChemName.Name             = "ChemName";
     this.ChemName.ReadOnly         = true;
     this.ChemName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Spec
     //
     this.Spec.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.Spec.DataPropertyName = "Spec";
     this.Spec.HeaderText       = "规格";
     this.Spec.Name             = "Spec";
     this.Spec.ReadOnly         = true;
     this.Spec.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ProductName
     //
     this.ProductName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ProductName.DataPropertyName = "ProductName";
     this.ProductName.HeaderText       = "生产厂家";
     this.ProductName.Name             = "ProductName";
     this.ProductName.ReadOnly         = true;
     this.ProductName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // BatchNO
     //
     this.BatchNO.DataPropertyName    = "BatchNO";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.BatchNO.DefaultCellStyle    = dataGridViewCellStyle4;
     this.BatchNO.HeaderText          = "批次";
     this.BatchNO.Name     = "BatchNO";
     this.BatchNO.ReadOnly = true;
     this.BatchNO.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.BatchNO.Width    = 90;
     //
     // AdjAmount
     //
     this.AdjAmount.DataPropertyName  = "AdjAmount";
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.AdjAmount.DefaultCellStyle  = dataGridViewCellStyle5;
     this.AdjAmount.HeaderText        = "库存量";
     this.AdjAmount.Name     = "AdjAmount";
     this.AdjAmount.ReadOnly = true;
     this.AdjAmount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.AdjAmount.Width    = 55;
     //
     // PackUnit
     //
     this.PackUnit.DataPropertyName = "PackUnit";
     this.PackUnit.HeaderText       = "包装单位";
     this.PackUnit.Name             = "PackUnit";
     this.PackUnit.ReadOnly         = true;
     this.PackUnit.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.PackUnit.Width            = 40;
     //
     // PackUnitID
     //
     this.PackUnitID.DataPropertyName = "PackUnitID";
     this.PackUnitID.HeaderText       = "单位ID";
     this.PackUnitID.Name             = "PackUnitID";
     this.PackUnitID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.PackUnitID.Visible          = false;
     //
     // MiniUnit
     //
     this.MiniUnit.DataPropertyName = "MiniUnit";
     this.MiniUnit.HeaderText       = "基本单位";
     this.MiniUnit.Name             = "MiniUnit";
     this.MiniUnit.ReadOnly         = true;
     this.MiniUnit.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.MiniUnit.Width            = 40;
     //
     // MiniUnitID
     //
     this.MiniUnitID.DataPropertyName = "MiniUnitID";
     this.MiniUnitID.HeaderText       = "基本单位ID";
     this.MiniUnitID.Name             = "MiniUnitID";
     this.MiniUnitID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.MiniUnitID.Visible          = false;
     //
     // OldRetailPrice
     //
     this.OldRetailPrice.DataPropertyName = "OldRetailPrice";
     dataGridViewCellStyle6.Alignment     = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle6.Format        = "0.00";
     this.OldRetailPrice.DefaultCellStyle = dataGridViewCellStyle6;
     this.OldRetailPrice.HeaderText       = "原零售价";
     this.OldRetailPrice.Name             = "OldRetailPrice";
     this.OldRetailPrice.ReadOnly         = true;
     this.OldRetailPrice.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.OldRetailPrice.Width            = 75;
     //
     // NewRetailPrice
     //
     this.NewRetailPrice.DataPropertyName = "NewRetailPrice";
     dataGridViewCellStyle7.Alignment     = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle7.Format        = "0.00";
     this.NewRetailPrice.DefaultCellStyle = dataGridViewCellStyle7;
     this.NewRetailPrice.HeaderText       = "现零售价";
     this.NewRetailPrice.Name             = "NewRetailPrice";
     this.NewRetailPrice.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.NewRetailPrice.Width            = 75;
     //
     // AdjRetailFee
     //
     this.AdjRetailFee.DataPropertyName = "AdjRetailFee";
     dataGridViewCellStyle8.Alignment   = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle8.Format      = "0.00";
     this.AdjRetailFee.DefaultCellStyle = dataGridViewCellStyle8;
     this.AdjRetailFee.HeaderText       = "调整金额";
     this.AdjRetailFee.Name             = "AdjRetailFee";
     this.AdjRetailFee.ReadOnly         = true;
     this.AdjRetailFee.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.AdjRetailFee.Width            = 75;
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.DockSide  = DevComponents.DotNetBar.eDockSide.Document;
     this.bar1.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnNewDetail,
         this.btnDelDetail,
         this.btnRefreshDetail,
         this.btnExcute
     });
     this.bar1.Location    = new System.Drawing.Point(0, 0);
     this.bar1.Name        = "bar1";
     this.bar1.PaddingLeft = 22;
     this.bar1.Size        = new System.Drawing.Size(985, 25);
     this.bar1.Stretch     = true;
     this.bar1.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex    = 3;
     this.bar1.TabStop     = false;
     this.bar1.Text        = "bar1";
     //
     // btnNewDetail
     //
     this.btnNewDetail.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnNewDetail.Image       = ((System.Drawing.Image)(resources.GetObject("btnNewDetail.Image")));
     this.btnNewDetail.Name        = "btnNewDetail";
     this.btnNewDetail.Text        = "新增明细";
     this.btnNewDetail.Click      += new System.EventHandler(this.btnNewDetail_Click);
     //
     // btnDelDetail
     //
     this.btnDelDetail.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnDelDetail.Image       = ((System.Drawing.Image)(resources.GetObject("btnDelDetail.Image")));
     this.btnDelDetail.Name        = "btnDelDetail";
     this.btnDelDetail.Text        = "删除明细";
     this.btnDelDetail.Click      += new System.EventHandler(this.btnDelDetail_Click);
     //
     // btnRefreshDetail
     //
     this.btnRefreshDetail.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnRefreshDetail.Image       = ((System.Drawing.Image)(resources.GetObject("btnRefreshDetail.Image")));
     this.btnRefreshDetail.Name        = "btnRefreshDetail";
     this.btnRefreshDetail.Text        = "网格刷新";
     this.btnRefreshDetail.Click      += new System.EventHandler(this.btnRefreshDetail_Click);
     //
     // btnExcute
     //
     this.btnExcute.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnExcute.Image       = ((System.Drawing.Image)(resources.GetObject("btnExcute.Image")));
     this.btnExcute.Name        = "btnExcute";
     this.btnExcute.Text        = "执行调价单";
     this.btnExcute.Click      += new System.EventHandler(this.btnExcute_Click);
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.txtAdjRemark);
     this.panelEx2.Controls.Add(this.txtAdjCode);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Controls.Add(this.labelX1);
     this.panelEx2.Dock            = System.Windows.Forms.DockStyle.Top;
     this.panelEx2.Location        = new System.Drawing.Point(0, 0);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(985, 40);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 0;
     //
     // txtAdjRemark
     //
     //
     //
     //
     this.txtAdjRemark.Border.Class      = "TextBoxBorder";
     this.txtAdjRemark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtAdjRemark.Location          = new System.Drawing.Point(387, 10);
     this.txtAdjRemark.Name     = "txtAdjRemark";
     this.txtAdjRemark.Size     = new System.Drawing.Size(380, 21);
     this.txtAdjRemark.TabIndex = 37;
     //
     // txtAdjCode
     //
     //
     //
     //
     this.txtAdjCode.Border.Class      = "TextBoxBorder";
     this.txtAdjCode.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtAdjCode.Location          = new System.Drawing.Point(106, 10);
     this.txtAdjCode.Name     = "txtAdjCode";
     this.txtAdjCode.Size     = new System.Drawing.Size(200, 21);
     this.txtAdjCode.TabIndex = 1;
     //
     // labelX2
     //
     this.labelX2.AutoSize = true;
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Location    = new System.Drawing.Point(328, 11);
     this.labelX2.Name        = "labelX2";
     this.labelX2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX2.Size        = new System.Drawing.Size(56, 18);
     this.labelX2.TabIndex    = 38;
     this.labelX2.Text        = "备注说明";
     //
     // labelX1
     //
     this.labelX1.AutoSize = true;
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location    = new System.Drawing.Point(22, 11);
     this.labelX1.Name        = "labelX1";
     this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX1.Size        = new System.Drawing.Size(81, 18);
     this.labelX1.TabIndex    = 36;
     this.labelX1.Text        = "调价文书编号";
     //
     // frmAdjPrice
     //
     this.frmAdjPrice.IsSkip = true;
     //
     // FrmAdjPriceDetail
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(985, 490);
     this.Controls.Add(this.panelEx1);
     this.Name              = "FrmAdjPriceDetail";
     this.Text              = "调价单添加";
     this.OpenWindowBefore += new System.EventHandler(this.FrmAdjPriceDetail_OpenWindowBefore);
     this.panelEx1.ResumeLayout(false);
     this.panelEx3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgDetails)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.panelEx2.ResumeLayout(false);
     this.panelEx2.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle1     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle2     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle5     = new System.Windows.Forms.DataGridViewCellStyle();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle3     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle4     = new System.Windows.Forms.DataGridViewCellStyle();
     this.panelEx1       = new DevComponents.DotNetBar.PanelEx();
     this.grdBedFreeList = new EfwControls.CustomControl.GridBoxCard();
     this.Column1        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column3        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column4        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column2        = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.panelEx3       = new DevComponents.DotNetBar.PanelEx();
     this.btnCancel      = new DevComponents.DotNetBar.ButtonX();
     this.btnBedSave     = new DevComponents.DotNetBar.ButtonX();
     this.bar1           = new DevComponents.DotNetBar.Bar();
     this.panelEx2       = new DevComponents.DotNetBar.PanelEx();
     this.txtBedNo       = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX5        = new DevComponents.DotNetBar.LabelX();
     this.chkIsPlus      = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.txtNurseID     = new EfwControls.CustomControl.TextBoxCard(this.components);
     this.txtDoctorID    = new EfwControls.CustomControl.TextBoxCard(this.components);
     this.txtWardNo      = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX3        = new DevComponents.DotNetBar.LabelX();
     this.labelX2        = new DevComponents.DotNetBar.LabelX();
     this.labelX1        = new DevComponents.DotNetBar.LabelX();
     this.frmBed         = new EfwControls.CustomControl.frmForm(this.components);
     this.panelEx1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdBedFreeList)).BeginInit();
     this.panelEx3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.panelEx2.SuspendLayout();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.grdBedFreeList);
     this.panelEx1.Controls.Add(this.panelEx3);
     this.panelEx1.Controls.Add(this.bar1);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.DialogResult    = System.Windows.Forms.DialogResult.Cancel;
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(483, 522);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 0;
     //
     // grdBedFreeList
     //
     this.grdBedFreeList.AllowSortWhenClickColumnHeader = false;
     this.grdBedFreeList.AllowUserToAddRows             = false;
     this.grdBedFreeList.AllowUserToDeleteRows          = false;
     this.grdBedFreeList.AllowUserToResizeColumns       = false;
     this.grdBedFreeList.AllowUserToResizeRows          = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.AliceBlue;
     this.grdBedFreeList.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.grdBedFreeList.BackgroundColor               = System.Drawing.Color.White;
     this.grdBedFreeList.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle2.Alignment                  = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor                  = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                       = new System.Drawing.Font("宋体", 9F, 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.grdBedFreeList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.grdBedFreeList.ColumnHeadersHeight           = 30;
     this.grdBedFreeList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Column1,
         this.Column3,
         this.Column4,
         this.Column2
     });
     dataGridViewCellStyle5.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle5.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle5.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle5.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle5.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.grdBedFreeList.DefaultCellStyle      = dataGridViewCellStyle5;
     this.grdBedFreeList.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.grdBedFreeList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.grdBedFreeList.HideSelectionCardWhenCustomInput = false;
     this.grdBedFreeList.HighlightSelectedColumnHeaders   = false;
     this.grdBedFreeList.IsInputNumSelectedCard           = false;
     this.grdBedFreeList.IsShowLetter           = false;
     this.grdBedFreeList.IsShowPage             = true;
     this.grdBedFreeList.Location               = new System.Drawing.Point(0, 106);
     this.grdBedFreeList.Margin                 = new System.Windows.Forms.Padding(2);
     this.grdBedFreeList.Name                   = "grdBedFreeList";
     this.grdBedFreeList.ReadOnly               = true;
     this.grdBedFreeList.RowHeadersWidth        = 30;
     this.grdBedFreeList.SelectAllSignVisible   = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     this.grdBedFreeList.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1
     };
     this.grdBedFreeList.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.grdBedFreeList.SelectionNumKeyBoards = null;
     this.grdBedFreeList.SeqVisible            = true;
     this.grdBedFreeList.SetCustomStyle        = false;
     this.grdBedFreeList.Size     = new System.Drawing.Size(483, 381);
     this.grdBedFreeList.TabIndex = 11;
     this.grdBedFreeList.SelectCardRowSelected += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.grdBedFreeList_SelectCardRowSelected);
     this.grdBedFreeList.CellValueChanged      += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdBedFreeList_CellValueChanged);
     //
     // Column1
     //
     this.Column1.DataPropertyName = "ItemName";
     this.Column1.HeaderText       = "床位费";
     this.Column1.Name             = "Column1";
     this.Column1.ReadOnly         = true;
     this.Column1.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column1.Width            = 220;
     //
     // Column3
     //
     this.Column3.DataPropertyName    = "ItemAmount";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Column3.DefaultCellStyle    = dataGridViewCellStyle3;
     this.Column3.HeaderText          = "数量";
     this.Column3.Name     = "Column3";
     this.Column3.ReadOnly = true;
     this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column3.Width    = 80;
     //
     // Column4
     //
     this.Column4.DataPropertyName    = "UnitPrice";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle4.Format    = "N4";
     dataGridViewCellStyle4.NullValue = null;
     this.Column4.DefaultCellStyle    = dataGridViewCellStyle4;
     this.Column4.HeaderText          = "单价";
     this.Column4.Name     = "Column4";
     this.Column4.ReadOnly = true;
     this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Column2
     //
     this.Column2.DataPropertyName = "FeeType";
     this.Column2.FalseValue       = "0";
     this.Column2.HeaderText       = "包床";
     this.Column2.Name             = "Column2";
     this.Column2.ReadOnly         = true;
     this.Column2.Resizable        = System.Windows.Forms.DataGridViewTriState.True;
     this.Column2.TrueValue        = "1";
     this.Column2.Width            = 50;
     //
     // panelEx3
     //
     this.panelEx3.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx3.Controls.Add(this.btnCancel);
     this.panelEx3.Controls.Add(this.btnBedSave);
     this.panelEx3.Dock            = System.Windows.Forms.DockStyle.Bottom;
     this.panelEx3.Location        = new System.Drawing.Point(0, 487);
     this.panelEx3.Margin          = new System.Windows.Forms.Padding(2);
     this.panelEx3.Name            = "panelEx3";
     this.panelEx3.Size            = new System.Drawing.Size(483, 35);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx3.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx3.Style.GradientAngle = 90;
     this.panelEx3.TabIndex            = 12;
     //
     // btnCancel
     //
     this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnCancel.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnCancel.DialogResult   = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location       = new System.Drawing.Point(378, 6);
     this.btnCancel.Margin         = new System.Windows.Forms.Padding(2);
     this.btnCancel.Name           = "btnCancel";
     this.btnCancel.Size           = new System.Drawing.Size(75, 22);
     this.btnCancel.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnCancel.TabIndex       = 7;
     this.btnCancel.Text           = "退出(&C)";
     this.btnCancel.Click         += new System.EventHandler(this.btnCancel_Click_1);
     //
     // btnBedSave
     //
     this.btnBedSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnBedSave.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnBedSave.Location       = new System.Drawing.Point(298, 6);
     this.btnBedSave.Margin         = new System.Windows.Forms.Padding(2);
     this.btnBedSave.Name           = "btnBedSave";
     this.btnBedSave.Size           = new System.Drawing.Size(75, 22);
     this.btnBedSave.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnBedSave.TabIndex       = 6;
     this.btnBedSave.Text           = "保存(&S)";
     this.btnBedSave.Click         += new System.EventHandler(this.btnBedSave_Click);
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.DockSide  = DevComponents.DotNetBar.eDockSide.Document;
     this.bar1.Font      = new System.Drawing.Font("微软雅黑", 9F);
     this.bar1.Location  = new System.Drawing.Point(0, 104);
     this.bar1.Margin    = new System.Windows.Forms.Padding(2);
     this.bar1.Name      = "bar1";
     this.bar1.Size      = new System.Drawing.Size(483, 2);
     this.bar1.Stretch   = true;
     this.bar1.Style     = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex  = 10;
     this.bar1.TabStop   = false;
     this.bar1.Text      = "bar1";
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.txtBedNo);
     this.panelEx2.Controls.Add(this.labelX5);
     this.panelEx2.Controls.Add(this.chkIsPlus);
     this.panelEx2.Controls.Add(this.txtNurseID);
     this.panelEx2.Controls.Add(this.txtDoctorID);
     this.panelEx2.Controls.Add(this.txtWardNo);
     this.panelEx2.Controls.Add(this.labelX3);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Controls.Add(this.labelX1);
     this.panelEx2.Dock            = System.Windows.Forms.DockStyle.Top;
     this.panelEx2.Location        = new System.Drawing.Point(0, 0);
     this.panelEx2.Margin          = new System.Windows.Forms.Padding(2);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(483, 104);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 9;
     //
     // txtBedNo
     //
     //
     //
     //
     this.txtBedNo.Border.Class      = "TextBoxBorder";
     this.txtBedNo.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtBedNo.Location          = new System.Drawing.Point(300, 28);
     this.txtBedNo.Name     = "txtBedNo";
     this.txtBedNo.Size     = new System.Drawing.Size(101, 21);
     this.txtBedNo.TabIndex = 3;
     //
     // labelX5
     //
     //
     //
     //
     this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX5.Location      = new System.Drawing.Point(240, 28);
     this.labelX5.Name          = "labelX5";
     this.labelX5.Size          = new System.Drawing.Size(55, 22);
     this.labelX5.TabIndex      = 0;
     this.labelX5.Text          = "床位号";
     this.labelX5.TextAlignment = System.Drawing.StringAlignment.Far;
     //
     // chkIsPlus
     //
     //
     //
     //
     this.chkIsPlus.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.chkIsPlus.Location = new System.Drawing.Point(407, 30);
     this.chkIsPlus.Name     = "chkIsPlus";
     this.chkIsPlus.Size     = new System.Drawing.Size(60, 18);
     this.chkIsPlus.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.chkIsPlus.TabIndex = 2;
     this.chkIsPlus.Text     = "加床";
     //
     // txtNurseID
     //
     //
     //
     //
     this.txtNurseID.Border.Class         = "TextBoxBorder";
     this.txtNurseID.Border.CornerType    = DevComponents.DotNetBar.eCornerType.Square;
     this.txtNurseID.ButtonCustom.Visible = true;
     this.txtNurseID.CardColumn           = null;
     this.txtNurseID.DisplayField         = "";
     this.txtNurseID.IsEnterShowCard      = false;
     this.txtNurseID.IsNumSelected        = true;
     this.txtNurseID.IsPage       = true;
     this.txtNurseID.IsShowLetter = false;
     this.txtNurseID.IsShowPage   = false;
     this.txtNurseID.IsShowSeq    = true;
     this.txtNurseID.Location     = new System.Drawing.Point(300, 54);
     this.txtNurseID.Margin       = new System.Windows.Forms.Padding(2);
     this.txtNurseID.MatchMode    = EfwControls.CustomControl.MatchModes.ByAnyString;
     this.txtNurseID.MemberField  = "";
     this.txtNurseID.MemberValue  = null;
     this.txtNurseID.Name         = "txtNurseID";
     this.txtNurseID.QueryFields  = new string[] {
         ""
     };
     this.txtNurseID.QueryFieldsString  = "";
     this.txtNurseID.SelectedValue      = null;
     this.txtNurseID.ShowCardColumns    = null;
     this.txtNurseID.ShowCardDataSource = null;
     this.txtNurseID.ShowCardHeight     = 0;
     this.txtNurseID.ShowCardWidth      = 0;
     this.txtNurseID.Size              = new System.Drawing.Size(153, 21);
     this.txtNurseID.TabIndex          = 5;
     this.txtNurseID.AfterSelectedRow += new EfwControls.CustomControl.AfterSelectedRowHandler(this.txtNurseID_AfterSelectedRow);
     //
     // txtDoctorID
     //
     //
     //
     //
     this.txtDoctorID.Border.Class         = "TextBoxBorder";
     this.txtDoctorID.Border.CornerType    = DevComponents.DotNetBar.eCornerType.Square;
     this.txtDoctorID.ButtonCustom.Visible = true;
     this.txtDoctorID.CardColumn           = null;
     this.txtDoctorID.DisplayField         = "";
     this.txtDoctorID.IsEnterShowCard      = false;
     this.txtDoctorID.IsNumSelected        = true;
     this.txtDoctorID.IsPage       = true;
     this.txtDoctorID.IsShowLetter = false;
     this.txtDoctorID.IsShowPage   = false;
     this.txtDoctorID.IsShowSeq    = true;
     this.txtDoctorID.Location     = new System.Drawing.Point(88, 54);
     this.txtDoctorID.Margin       = new System.Windows.Forms.Padding(2);
     this.txtDoctorID.MatchMode    = EfwControls.CustomControl.MatchModes.ByAnyString;
     this.txtDoctorID.MemberField  = "";
     this.txtDoctorID.MemberValue  = null;
     this.txtDoctorID.Name         = "txtDoctorID";
     this.txtDoctorID.QueryFields  = new string[] {
         ""
     };
     this.txtDoctorID.QueryFieldsString  = "";
     this.txtDoctorID.SelectedValue      = null;
     this.txtDoctorID.ShowCardColumns    = null;
     this.txtDoctorID.ShowCardDataSource = null;
     this.txtDoctorID.ShowCardHeight     = 0;
     this.txtDoctorID.ShowCardWidth      = 0;
     this.txtDoctorID.Size     = new System.Drawing.Size(130, 21);
     this.txtDoctorID.TabIndex = 4;
     //
     // txtWardNo
     //
     //
     //
     //
     this.txtWardNo.Border.Class      = "TextBoxBorder";
     this.txtWardNo.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtWardNo.Location          = new System.Drawing.Point(88, 28);
     this.txtWardNo.Name     = "txtWardNo";
     this.txtWardNo.Size     = new System.Drawing.Size(130, 21);
     this.txtWardNo.TabIndex = 1;
     //
     // labelX3
     //
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Location      = new System.Drawing.Point(240, 54);
     this.labelX3.Name          = "labelX3";
     this.labelX3.Size          = new System.Drawing.Size(55, 22);
     this.labelX3.TabIndex      = 0;
     this.labelX3.Text          = "责任护士";
     this.labelX3.TextAlignment = System.Drawing.StringAlignment.Far;
     //
     // labelX2
     //
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Location      = new System.Drawing.Point(28, 54);
     this.labelX2.Name          = "labelX2";
     this.labelX2.Size          = new System.Drawing.Size(55, 22);
     this.labelX2.TabIndex      = 0;
     this.labelX2.Text          = "责任医生";
     this.labelX2.TextAlignment = System.Drawing.StringAlignment.Far;
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location      = new System.Drawing.Point(28, 28);
     this.labelX1.Name          = "labelX1";
     this.labelX1.Size          = new System.Drawing.Size(55, 22);
     this.labelX1.TabIndex      = 0;
     this.labelX1.Text          = "房间号";
     this.labelX1.TextAlignment = System.Drawing.StringAlignment.Far;
     //
     // frmBed
     //
     this.frmBed.IsSkip = true;
     //
     // FrmUpdateBed
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(483, 522);
     this.Controls.Add(this.panelEx1);
     this.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FrmUpdateBed";
     this.ShowIcon        = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "病床维护";
     this.Load           += new System.EventHandler(this.FrmUpdateBed_Load);
     this.Shown          += new System.EventHandler(this.FrmUpdateBed_Shown);
     this.VisibleChanged += new System.EventHandler(this.FrmUpdateBed_VisibleChanged);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.FrmUpdateBed_KeyDown);
     this.panelEx1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grdBedFreeList)).EndInit();
     this.panelEx3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.panelEx2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager      resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmReportConfigure));
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle1     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle5     = new System.Windows.Forms.DataGridViewCellStyle();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     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();
     this.bar1        = new DevComponents.DotNetBar.Bar();
     this.btnSave     = new DevComponents.DotNetBar.ButtonItem();
     this.btnSet      = new DevComponents.DotNetBar.ButtonItem();
     this.btnClose    = new DevComponents.DotNetBar.ButtonItem();
     this.gridReport  = new EfwControls.CustomControl.GridBoxCard();
     this.EnumValue   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ReportTitle = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PrintIndex  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridReport)).BeginInit();
     this.SuspendLayout();
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnSave,
         this.btnSet,
         this.btnClose
     });
     this.bar1.Location = new System.Drawing.Point(0, 0);
     this.bar1.Name     = "bar1";
     this.bar1.Size     = new System.Drawing.Size(642, 25);
     this.bar1.Stretch  = true;
     this.bar1.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex = 2;
     this.bar1.TabStop  = false;
     this.bar1.Text     = "bar1";
     //
     // btnSave
     //
     this.btnSave.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnSave.Image       = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.Name        = "btnSave";
     this.btnSave.Text        = "保存";
     this.btnSave.Click      += new System.EventHandler(this.btnSave_Click);
     //
     // btnSet
     //
     this.btnSet.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnSet.Image       = ((System.Drawing.Image)(resources.GetObject("btnSet.Image")));
     this.btnSet.Name        = "btnSet";
     this.btnSet.Text        = "批量设置";
     this.btnSet.Click      += new System.EventHandler(this.btnSet_Click);
     //
     // btnClose
     //
     this.btnClose.BeginGroup  = true;
     this.btnClose.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnClose.Image       = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
     this.btnClose.Name        = "btnClose";
     this.btnClose.Text        = "关闭";
     this.btnClose.Click      += new System.EventHandler(this.btnClose_Click);
     //
     // gridReport
     //
     this.gridReport.AllowSortWhenClickColumnHeader = false;
     this.gridReport.AllowUserToAddRows             = false;
     this.gridReport.AllowUserToDeleteRows          = false;
     this.gridReport.AllowUserToResizeColumns       = false;
     this.gridReport.AllowUserToResizeRows          = false;
     this.gridReport.BackgroundColor               = System.Drawing.Color.White;
     this.gridReport.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle1.Alignment              = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle1.BackColor              = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font                   = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle1.ForeColor              = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor     = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor     = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode               = System.Windows.Forms.DataGridViewTriState.True;
     this.gridReport.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.gridReport.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gridReport.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.EnumValue,
         this.ReportTitle,
         this.PrintIndex
     });
     dataGridViewCellStyle5.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle5.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle5.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle5.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle5.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.gridReport.DefaultCellStyle          = dataGridViewCellStyle5;
     this.gridReport.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.gridReport.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.gridReport.HideSelectionCardWhenCustomInput = false;
     this.gridReport.HighlightSelectedColumnHeaders   = false;
     this.gridReport.IsInputNumSelectedCard           = false;
     this.gridReport.IsShowLetter               = false;
     this.gridReport.IsShowPage                 = false;
     this.gridReport.Location                   = new System.Drawing.Point(0, 25);
     this.gridReport.Name                       = "gridReport";
     this.gridReport.RowHeadersWidth            = 30;
     this.gridReport.RowTemplate.Height         = 23;
     this.gridReport.SelectAllSignVisible       = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     this.gridReport.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1
     };
     this.gridReport.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.gridReport.SelectionNumKeyBoards = null;
     this.gridReport.SeqVisible            = true;
     this.gridReport.SetCustomStyle        = false;
     this.gridReport.Size     = new System.Drawing.Size(642, 346);
     this.gridReport.TabIndex = 3;
     this.gridReport.SelectCardRowSelected += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.gridReport_SelectCardRowSelected);
     //
     // EnumValue
     //
     this.EnumValue.DataPropertyName  = "EnumValue";
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.EnumValue.DefaultCellStyle  = dataGridViewCellStyle2;
     this.EnumValue.HeaderText        = "报表编号";
     this.EnumValue.MinimumWidth      = 120;
     this.EnumValue.Name     = "EnumValue";
     this.EnumValue.ReadOnly = true;
     this.EnumValue.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.EnumValue.Width    = 150;
     //
     // ReportTitle
     //
     this.ReportTitle.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ReportTitle.DataPropertyName = "ReportTitle";
     dataGridViewCellStyle3.Alignment  = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     this.ReportTitle.DefaultCellStyle = dataGridViewCellStyle3;
     this.ReportTitle.HeaderText       = "报表名称";
     this.ReportTitle.Name             = "ReportTitle";
     this.ReportTitle.ReadOnly         = true;
     this.ReportTitle.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // PrintIndex
     //
     this.PrintIndex.DataPropertyName = "PrintIndex";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.PrintIndex.DefaultCellStyle = dataGridViewCellStyle4;
     this.PrintIndex.HeaderText       = "打印机配置";
     this.PrintIndex.MinimumWidth     = 150;
     this.PrintIndex.Name             = "PrintIndex";
     this.PrintIndex.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.PrintIndex.Width            = 150;
     //
     // FrmReportConfigure
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(642, 371);
     this.Controls.Add(this.gridReport);
     this.Controls.Add(this.bar1);
     this.Name          = "FrmReportConfigure";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "报表配置打印机";
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.FrmReportConfigure_FormClosing);
     this.Load         += new System.EventHandler(this.FrmReportConfigure_Load);
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridReport)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle1     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle2     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle10    = new System.Windows.Forms.DataGridViewCellStyle();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     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          dataGridViewCellStyle9     = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager      resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmApplyDetail));
     this.panelEx1     = new DevComponents.DotNetBar.PanelEx();
     this.dgDetails    = new EfwControls.CustomControl.GridBoxCard();
     this.DrugID       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ChemName     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Spec         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ProductName  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.BatchNO      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Amount       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.UnitName     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.FactAmount   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.totalNum     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.StockPrice   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.StockFee     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RetailPrice  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RetailFee    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bar1         = new DevComponents.DotNetBar.Bar();
     this.btnAdd       = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem4  = new DevComponents.DotNetBar.ButtonItem();
     this.panelEx2     = new DevComponents.DotNetBar.PanelEx();
     this.cbWareHourse = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.labelX2      = new DevComponents.DotNetBar.LabelX();
     this.labelX4      = new DevComponents.DotNetBar.LabelX();
     this.txtRemark    = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX5      = new DevComponents.DotNetBar.LabelX();
     this.timeReg      = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
     this.barHead      = new DevComponents.DotNetBar.Bar();
     this.btnSaveBill  = new DevComponents.DotNetBar.ButtonItem();
     this.btnNewBill   = new DevComponents.DotNetBar.ButtonItem();
     this.btnClose     = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem2  = new DevComponents.DotNetBar.ButtonItem();
     this.frmCommon    = new EfwControls.CustomControl.frmForm(this.components);
     this.panelEx1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgDetails)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.panelEx2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.timeReg)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barHead)).BeginInit();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.dgDetails);
     this.panelEx1.Controls.Add(this.bar1);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Controls.Add(this.barHead);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(1204, 662);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 0;
     //
     // dgDetails
     //
     this.dgDetails.AllowSortWhenClickColumnHeader = false;
     this.dgDetails.AllowUserToAddRows             = false;
     this.dgDetails.AllowUserToDeleteRows          = false;
     this.dgDetails.AllowUserToResizeColumns       = false;
     this.dgDetails.AllowUserToResizeRows          = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.dgDetails.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgDetails.BackgroundColor               = System.Drawing.Color.White;
     this.dgDetails.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle2.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                  = new System.Drawing.Font("宋体", 9F, 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.dgDetails.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgDetails.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.DrugID,
         this.ChemName,
         this.Spec,
         this.ProductName,
         this.BatchNO,
         this.Amount,
         this.UnitName,
         this.FactAmount,
         this.totalNum,
         this.StockPrice,
         this.StockFee,
         this.RetailPrice,
         this.RetailFee
     });
     dataGridViewCellStyle10.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle10.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle10.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle10.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle10.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgDetails.DefaultCellStyle            = dataGridViewCellStyle10;
     this.dgDetails.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgDetails.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgDetails.HideSelectionCardWhenCustomInput = false;
     this.dgDetails.HighlightSelectedColumnHeaders   = false;
     this.dgDetails.IsInputNumSelectedCard           = true;
     this.dgDetails.IsShowLetter                = false;
     this.dgDetails.IsShowPage                  = false;
     this.dgDetails.Location                    = new System.Drawing.Point(0, 90);
     this.dgDetails.Margin                      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.dgDetails.MultiSelect                 = false;
     this.dgDetails.Name                        = "dgDetails";
     this.dgDetails.RowHeadersWidth             = 25;
     this.dgDetails.RowTemplate.Height          = 23;
     this.dgDetails.SelectAllSignVisible        = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     this.dgDetails.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1
     };
     this.dgDetails.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgDetails.SelectionNumKeyBoards = null;
     this.dgDetails.SeqVisible            = true;
     this.dgDetails.SetCustomStyle        = false;
     this.dgDetails.Size     = new System.Drawing.Size(1204, 572);
     this.dgDetails.TabIndex = 2;
     this.dgDetails.SelectCardRowSelected         += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.dgDetails_SelectCardRowSelected);
     this.dgDetails.DataGridViewCellPressEnterKey += new EfwControls.CustomControl.OnDataGridViewCellPressEnterKeyHandle(this.dgDetails_DataGridViewCellPressEnterKey);
     this.dgDetails.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgDetails_CellValueChanged);
     //
     // DrugID
     //
     this.DrugID.DataPropertyName = "DrugID";
     this.DrugID.HeaderText       = "编号";
     this.DrugID.MinimumWidth     = 40;
     this.DrugID.Name             = "DrugID";
     this.DrugID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.DrugID.Width            = 55;
     //
     // ChemName
     //
     this.ChemName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ChemName.DataPropertyName = "ChemName";
     this.ChemName.HeaderText       = "药品名称";
     this.ChemName.MinimumWidth     = 80;
     this.ChemName.Name             = "ChemName";
     this.ChemName.ReadOnly         = true;
     this.ChemName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Spec
     //
     this.Spec.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.Spec.DataPropertyName = "Spec";
     this.Spec.HeaderText       = "规格";
     this.Spec.MinimumWidth     = 60;
     this.Spec.Name             = "Spec";
     this.Spec.ReadOnly         = true;
     this.Spec.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ProductName
     //
     this.ProductName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ProductName.DataPropertyName = "ProductName";
     this.ProductName.HeaderText       = "生产厂家";
     this.ProductName.Name             = "ProductName";
     this.ProductName.ReadOnly         = true;
     this.ProductName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // BatchNO
     //
     this.BatchNO.DataPropertyName = "BatchNO";
     this.BatchNO.HeaderText       = "批次";
     this.BatchNO.Name             = "BatchNO";
     this.BatchNO.ReadOnly         = true;
     this.BatchNO.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.BatchNO.Width            = 90;
     //
     // Amount
     //
     this.Amount.DataPropertyName     = "Amount";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Amount.DefaultCellStyle     = dataGridViewCellStyle3;
     this.Amount.HeaderText           = "申请数";
     this.Amount.Name     = "Amount";
     this.Amount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Amount.Width    = 55;
     //
     // UnitName
     //
     this.UnitName.DataPropertyName = "UnitName";
     this.UnitName.HeaderText       = "单位";
     this.UnitName.Name             = "UnitName";
     this.UnitName.ReadOnly         = true;
     this.UnitName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.UnitName.Width            = 55;
     //
     // FactAmount
     //
     this.FactAmount.DataPropertyName = "FactAmount";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.FactAmount.DefaultCellStyle = dataGridViewCellStyle4;
     this.FactAmount.HeaderText       = "出库数";
     this.FactAmount.Name             = "FactAmount";
     this.FactAmount.ReadOnly         = true;
     this.FactAmount.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.FactAmount.Width            = 55;
     //
     // totalNum
     //
     this.totalNum.DataPropertyName   = "totalNum";
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.totalNum.DefaultCellStyle   = dataGridViewCellStyle5;
     this.totalNum.HeaderText         = "库存量";
     this.totalNum.Name     = "totalNum";
     this.totalNum.ReadOnly = true;
     this.totalNum.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.totalNum.Width    = 55;
     //
     // StockPrice
     //
     this.StockPrice.DataPropertyName = "StockPrice";
     dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle6.Format    = "0.00";
     dataGridViewCellStyle6.NullValue = null;
     this.StockPrice.DefaultCellStyle = dataGridViewCellStyle6;
     this.StockPrice.HeaderText       = "进货价";
     this.StockPrice.Name             = "StockPrice";
     this.StockPrice.ReadOnly         = true;
     this.StockPrice.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.StockPrice.Width            = 55;
     //
     // StockFee
     //
     this.StockFee.DataPropertyName   = "StockFee";
     dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle7.Format    = "0.00";
     dataGridViewCellStyle7.NullValue = null;
     this.StockFee.DefaultCellStyle   = dataGridViewCellStyle7;
     this.StockFee.HeaderText         = "进货金额";
     this.StockFee.Name     = "StockFee";
     this.StockFee.ReadOnly = true;
     this.StockFee.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.StockFee.Width    = 85;
     //
     // RetailPrice
     //
     this.RetailPrice.DataPropertyName = "RetailPrice";
     dataGridViewCellStyle8.Alignment  = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle8.Format     = "0.00";
     dataGridViewCellStyle8.NullValue  = null;
     this.RetailPrice.DefaultCellStyle = dataGridViewCellStyle8;
     this.RetailPrice.HeaderText       = "零售价";
     this.RetailPrice.Name             = "RetailPrice";
     this.RetailPrice.ReadOnly         = true;
     this.RetailPrice.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.RetailPrice.Width            = 55;
     //
     // RetailFee
     //
     this.RetailFee.DataPropertyName  = "RetailFee";
     dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle9.Format    = "0.00";
     dataGridViewCellStyle9.NullValue = null;
     this.RetailFee.DefaultCellStyle  = dataGridViewCellStyle9;
     this.RetailFee.HeaderText        = "零售金额";
     this.RetailFee.Name     = "RetailFee";
     this.RetailFee.ReadOnly = true;
     this.RetailFee.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.RetailFee.Width    = 85;
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.DockSide  = DevComponents.DotNetBar.eDockSide.Document;
     this.bar1.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnAdd,
         this.buttonItem4
     });
     this.bar1.Location    = new System.Drawing.Point(0, 65);
     this.bar1.Margin      = new System.Windows.Forms.Padding(3, 7, 3, 7);
     this.bar1.Name        = "bar1";
     this.bar1.PaddingLeft = 22;
     this.bar1.Size        = new System.Drawing.Size(1204, 25);
     this.bar1.Stretch     = true;
     this.bar1.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex    = 89;
     this.bar1.TabStop     = false;
     this.bar1.Text        = "bar2";
     //
     // btnAdd
     //
     this.btnAdd.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnAdd.Image       = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image")));
     this.btnAdd.Name        = "btnAdd";
     this.btnAdd.Text        = "新增明细(&N)";
     this.btnAdd.Click      += new System.EventHandler(this.btnAdd_Click);
     //
     // buttonItem4
     //
     this.buttonItem4.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem4.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem4.Image")));
     this.buttonItem4.Name        = "buttonItem4";
     this.buttonItem4.Text        = "删除明细(&D)";
     this.buttonItem4.Click      += new System.EventHandler(this.buttonItem4_Click);
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.cbWareHourse);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Controls.Add(this.labelX4);
     this.panelEx2.Controls.Add(this.txtRemark);
     this.panelEx2.Controls.Add(this.labelX5);
     this.panelEx2.Controls.Add(this.timeReg);
     this.panelEx2.Dock            = System.Windows.Forms.DockStyle.Top;
     this.panelEx2.Location        = new System.Drawing.Point(0, 25);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(1204, 40);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 0;
     //
     // cbWareHourse
     //
     this.cbWareHourse.DisplayMember     = "Text";
     this.cbWareHourse.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cbWareHourse.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbWareHourse.FormattingEnabled = true;
     this.cbWareHourse.ItemHeight        = 19;
     this.cbWareHourse.Location          = new System.Drawing.Point(80, 8);
     this.cbWareHourse.Name     = "cbWareHourse";
     this.cbWareHourse.Size     = new System.Drawing.Size(140, 25);
     this.cbWareHourse.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.cbWareHourse.TabIndex = 22;
     //
     // labelX2
     //
     this.labelX2.AutoSize = true;
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.ForeColor   = System.Drawing.Color.DarkViolet;
     this.labelX2.Location    = new System.Drawing.Point(21, 11);
     this.labelX2.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.labelX2.Name        = "labelX2";
     this.labelX2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX2.Size        = new System.Drawing.Size(56, 18);
     this.labelX2.TabIndex    = 17;
     this.labelX2.Text        = "选择库房";
     //
     // labelX4
     //
     this.labelX4.AutoSize = true;
     //
     //
     //
     this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX4.Location    = new System.Drawing.Point(486, 11);
     this.labelX4.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.labelX4.Name        = "labelX4";
     this.labelX4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX4.Size        = new System.Drawing.Size(31, 18);
     this.labelX4.TabIndex    = 20;
     this.labelX4.Text        = "备注";
     //
     // txtRemark
     //
     //
     //
     //
     this.txtRemark.Border.Class      = "TextBoxBorder";
     this.txtRemark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtRemark.Location          = new System.Drawing.Point(520, 10);
     this.txtRemark.Margin            = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtRemark.Name     = "txtRemark";
     this.txtRemark.Size     = new System.Drawing.Size(260, 21);
     this.txtRemark.TabIndex = 21;
     //
     // labelX5
     //
     this.labelX5.AutoSize = true;
     //
     //
     //
     this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX5.Location    = new System.Drawing.Point(242, 11);
     this.labelX5.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.labelX5.Name        = "labelX5";
     this.labelX5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX5.Size        = new System.Drawing.Size(56, 18);
     this.labelX5.TabIndex    = 18;
     this.labelX5.Text        = "单据日期";
     //
     // timeReg
     //
     //
     //
     //
     this.timeReg.BackgroundStyle.Class      = "DateTimeInputBackground";
     this.timeReg.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.timeReg.ButtonDropDown.Shortcut    = DevComponents.DotNetBar.eShortcut.AltDown;
     this.timeReg.ButtonDropDown.Visible     = true;
     this.timeReg.CustomFormat        = "yyyy-MM-dd";
     this.timeReg.Format              = DevComponents.Editors.eDateTimePickerFormat.Custom;
     this.timeReg.IsPopupCalendarOpen = false;
     this.timeReg.Location            = new System.Drawing.Point(301, 10);
     this.timeReg.Margin              = new System.Windows.Forms.Padding(3, 4, 3, 4);
     //
     //
     //
     this.timeReg.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.timeReg.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.timeReg.MonthCalendar.CalendarDimensions         = new System.Drawing.Size(1, 1);
     this.timeReg.MonthCalendar.ClearButtonVisible         = true;
     //
     //
     //
     this.timeReg.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart   = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.timeReg.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
     this.timeReg.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.timeReg.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.timeReg.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.timeReg.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth           = 1;
     this.timeReg.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.timeReg.MonthCalendar.DisplayMonth       = new System.DateTime(2016, 7, 1, 0, 0, 0, 0);
     this.timeReg.MonthCalendar.MarkedDates        = new System.DateTime[0];
     this.timeReg.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.timeReg.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.timeReg.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
     this.timeReg.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.timeReg.MonthCalendar.NavigationBackgroundStyle.CornerType             = DevComponents.DotNetBar.eCornerType.Square;
     this.timeReg.MonthCalendar.TodayButtonVisible = true;
     this.timeReg.MonthCalendar.WeeklyMarkedDays   = new System.DayOfWeek[0];
     this.timeReg.Name     = "timeReg";
     this.timeReg.Size     = new System.Drawing.Size(160, 21);
     this.timeReg.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.timeReg.TabIndex = 19;
     //
     // barHead
     //
     this.barHead.AntiAlias = true;
     this.barHead.Dock      = System.Windows.Forms.DockStyle.Top;
     this.barHead.DockSide  = DevComponents.DotNetBar.eDockSide.Document;
     this.barHead.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.barHead.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnSaveBill,
         this.btnNewBill,
         this.btnClose
     });
     this.barHead.Location    = new System.Drawing.Point(0, 0);
     this.barHead.Margin      = new System.Windows.Forms.Padding(3, 7, 3, 7);
     this.barHead.Name        = "barHead";
     this.barHead.PaddingLeft = 22;
     this.barHead.Size        = new System.Drawing.Size(1204, 25);
     this.barHead.Stretch     = true;
     this.barHead.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.barHead.TabIndex    = 88;
     this.barHead.TabStop     = false;
     this.barHead.Text        = "bar2";
     //
     // btnSaveBill
     //
     this.btnSaveBill.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnSaveBill.Image       = ((System.Drawing.Image)(resources.GetObject("btnSaveBill.Image")));
     this.btnSaveBill.Name        = "btnSaveBill";
     this.btnSaveBill.Text        = "保存单据(F2)";
     this.btnSaveBill.Click      += new System.EventHandler(this.btnSaveBill_Click);
     //
     // btnNewBill
     //
     this.btnNewBill.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnNewBill.Image       = ((System.Drawing.Image)(resources.GetObject("btnNewBill.Image")));
     this.btnNewBill.Name        = "btnNewBill";
     this.btnNewBill.Text        = "新增单据(F3)";
     this.btnNewBill.Click      += new System.EventHandler(this.btnNewBill_Click);
     //
     // btnClose
     //
     this.btnClose.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnClose.Image       = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
     this.btnClose.Name        = "btnClose";
     this.btnClose.Text        = "关闭窗体(&C)";
     this.btnClose.Click      += new System.EventHandler(this.btnClose_Click);
     //
     // buttonItem2
     //
     this.buttonItem2.AutoExpandOnClick = true;
     this.buttonItem2.Name = "buttonItem2";
     this.buttonItem2.Text = "buttonItem2";
     //
     // frmCommon
     //
     this.frmCommon.IsSkip = true;
     //
     // FrmApplyDetail
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1204, 662);
     this.Controls.Add(this.panelEx1);
     this.Name              = "FrmApplyDetail";
     this.Text              = "领药申请";
     this.OpenWindowBefore += new System.EventHandler(this.FrmApplyDetail_OpenWindowBefore);
     this.KeyDown          += new System.Windows.Forms.KeyEventHandler(this.FrmApplyDetail_KeyDown);
     this.panelEx1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgDetails)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.panelEx2.ResumeLayout(false);
     this.panelEx2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.timeReg)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barHead)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager      resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmOutStoreDetail));
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle1     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle2     = 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();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard2 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle3     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle4     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle5     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle6     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle7     = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle8     = new System.Windows.Forms.DataGridViewCellStyle();
     this.bar1         = new DevComponents.DotNetBar.Bar();
     this.btnAddDetail = new DevComponents.DotNetBar.ButtonItem();
     this.btnDelete    = new DevComponents.DotNetBar.ButtonItem();
     this.panelEx2     = new DevComponents.DotNetBar.PanelEx();
     this.timeOutData  = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
     this.cmbOpType    = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.txtDept      = new EfwControls.CustomControl.TextBoxCard(this.components);
     this.labelX3      = new DevComponents.DotNetBar.LabelX();
     this.labelX1      = new DevComponents.DotNetBar.LabelX();
     this.txtRemark    = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX2      = new DevComponents.DotNetBar.LabelX();
     this.labelX8      = new DevComponents.DotNetBar.LabelX();
     this.barHead      = new DevComponents.DotNetBar.Bar();
     this.btnSaveBill  = new DevComponents.DotNetBar.ButtonItem();
     this.btnNewBill   = new DevComponents.DotNetBar.ButtonItem();
     this.btnClose     = new DevComponents.DotNetBar.ButtonItem();
     this.dgDetails    = new EfwControls.CustomControl.GridBoxCard();
     this.MaterialID   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.MatName      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Spec         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ProductName  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.BatchNO      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.pAmount      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.UnitName     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.StockPrice   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.StockFee     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RetailPrice  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RetailFee    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.totalNum     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.frmCommon    = new EfwControls.CustomControl.frmForm(this.components);
     this.pnlStatus    = new DevComponents.DotNetBar.PanelEx();
     this.panelEx1     = new DevComponents.DotNetBar.PanelEx();
     this.panelEx3     = new DevComponents.DotNetBar.PanelEx();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.panelEx2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.timeOutData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barHead)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgDetails)).BeginInit();
     this.panelEx1.SuspendLayout();
     this.panelEx3.SuspendLayout();
     this.SuspendLayout();
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.DockSide  = DevComponents.DotNetBar.eDockSide.Document;
     this.bar1.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnAddDetail,
         this.btnDelete
     });
     this.bar1.Location    = new System.Drawing.Point(0, 65);
     this.bar1.Name        = "bar1";
     this.bar1.PaddingLeft = 22;
     this.bar1.Size        = new System.Drawing.Size(955, 25);
     this.bar1.Stretch     = true;
     this.bar1.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex    = 88;
     this.bar1.TabStop     = false;
     this.bar1.Text        = "bar1";
     //
     // btnAddDetail
     //
     this.btnAddDetail.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnAddDetail.Image       = ((System.Drawing.Image)(resources.GetObject("btnAddDetail.Image")));
     this.btnAddDetail.Name        = "btnAddDetail";
     this.btnAddDetail.Text        = "新增明细(&N)";
     this.btnAddDetail.Click      += new System.EventHandler(this.btnAddDetail_Click);
     //
     // btnDelete
     //
     this.btnDelete.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnDelete.Image       = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
     this.btnDelete.Name        = "btnDelete";
     this.btnDelete.Text        = "删除明细(&D)";
     this.btnDelete.Click      += new System.EventHandler(this.btnDelete_Click);
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.timeOutData);
     this.panelEx2.Controls.Add(this.cmbOpType);
     this.panelEx2.Controls.Add(this.txtDept);
     this.panelEx2.Controls.Add(this.labelX3);
     this.panelEx2.Controls.Add(this.labelX1);
     this.panelEx2.Controls.Add(this.txtRemark);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Controls.Add(this.labelX8);
     this.panelEx2.Dock            = System.Windows.Forms.DockStyle.Top;
     this.panelEx2.Location        = new System.Drawing.Point(0, 25);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(955, 40);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 0;
     //
     // timeOutData
     //
     //
     //
     //
     this.timeOutData.BackgroundStyle.Class      = "DateTimeInputBackground";
     this.timeOutData.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.timeOutData.ButtonDropDown.Shortcut    = DevComponents.DotNetBar.eShortcut.AltDown;
     this.timeOutData.ButtonDropDown.Visible     = true;
     this.timeOutData.CustomFormat        = "yyyy-MM-dd";
     this.timeOutData.Format              = DevComponents.Editors.eDateTimePickerFormat.Custom;
     this.timeOutData.IsPopupCalendarOpen = false;
     this.timeOutData.Location            = new System.Drawing.Point(272, 10);
     //
     //
     //
     this.timeOutData.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.timeOutData.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.timeOutData.MonthCalendar.CalendarDimensions         = new System.Drawing.Size(1, 1);
     this.timeOutData.MonthCalendar.ClearButtonVisible         = true;
     //
     //
     //
     this.timeOutData.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart   = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.timeOutData.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
     this.timeOutData.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.timeOutData.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.timeOutData.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.timeOutData.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth           = 1;
     this.timeOutData.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.timeOutData.MonthCalendar.DisplayMonth       = new System.DateTime(2016, 7, 1, 0, 0, 0, 0);
     this.timeOutData.MonthCalendar.MarkedDates        = new System.DateTime[0];
     this.timeOutData.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.timeOutData.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.timeOutData.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
     this.timeOutData.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.timeOutData.MonthCalendar.NavigationBackgroundStyle.CornerType             = DevComponents.DotNetBar.eCornerType.Square;
     this.timeOutData.MonthCalendar.TodayButtonVisible = true;
     this.timeOutData.MonthCalendar.WeeklyMarkedDays   = new System.DayOfWeek[0];
     this.timeOutData.Name     = "timeOutData";
     this.timeOutData.Size     = new System.Drawing.Size(160, 21);
     this.timeOutData.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.timeOutData.TabIndex = 1;
     //
     // cmbOpType
     //
     this.cmbOpType.DisplayMember     = "Text";
     this.cmbOpType.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbOpType.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbOpType.FormattingEnabled = true;
     this.cmbOpType.ItemHeight        = 15;
     this.cmbOpType.Location          = new System.Drawing.Point(81, 10);
     this.cmbOpType.Name     = "cmbOpType";
     this.cmbOpType.Size     = new System.Drawing.Size(110, 21);
     this.cmbOpType.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.cmbOpType.TabIndex = 0;
     //
     // txtDept
     //
     //
     //
     //
     this.txtDept.Border.Class         = "TextBoxBorder";
     this.txtDept.Border.CornerType    = DevComponents.DotNetBar.eCornerType.Square;
     this.txtDept.ButtonCustom.Image   = ((System.Drawing.Image)(resources.GetObject("txtDept.ButtonCustom.Image")));
     this.txtDept.ButtonCustom.Visible = true;
     this.txtDept.CardColumn           = null;
     this.txtDept.DisplayField         = "";
     this.txtDept.IsEnterShowCard      = true;
     this.txtDept.IsNumSelected        = false;
     this.txtDept.IsPage       = true;
     this.txtDept.IsShowLetter = false;
     this.txtDept.IsShowPage   = false;
     this.txtDept.IsShowSeq    = true;
     this.txtDept.Location     = new System.Drawing.Point(513, 10);
     this.txtDept.MatchMode    = EfwControls.CustomControl.MatchModes.ByAnyString;
     this.txtDept.MemberField  = "";
     this.txtDept.MemberValue  = null;
     this.txtDept.Name         = "txtDept";
     this.txtDept.QueryFields  = new string[] {
         ""
     };
     this.txtDept.QueryFieldsString  = "";
     this.txtDept.SelectedValue      = null;
     this.txtDept.ShowCardColumns    = null;
     this.txtDept.ShowCardDataSource = null;
     this.txtDept.ShowCardHeight     = 0;
     this.txtDept.ShowCardWidth      = 0;
     this.txtDept.Size     = new System.Drawing.Size(120, 21);
     this.txtDept.TabIndex = 2;
     //
     // labelX3
     //
     this.labelX3.AutoSize = true;
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.ForeColor   = System.Drawing.Color.DarkViolet;
     this.labelX3.Location    = new System.Drawing.Point(454, 11);
     this.labelX3.Name        = "labelX3";
     this.labelX3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX3.Size        = new System.Drawing.Size(56, 18);
     this.labelX3.TabIndex    = 84;
     this.labelX3.Text        = "往来科室";
     //
     // labelX1
     //
     this.labelX1.AutoSize = true;
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.ForeColor       = System.Drawing.Color.DarkViolet;
     this.labelX1.Location        = new System.Drawing.Point(22, 11);
     this.labelX1.Name            = "labelX1";
     this.labelX1.RightToLeft     = System.Windows.Forms.RightToLeft.Yes;
     this.labelX1.SingleLineColor = System.Drawing.Color.Magenta;
     this.labelX1.Size            = new System.Drawing.Size(56, 18);
     this.labelX1.TabIndex        = 82;
     this.labelX1.Text            = "业务类型";
     //
     // txtRemark
     //
     //
     //
     //
     this.txtRemark.Border.Class      = "TextBoxBorder";
     this.txtRemark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtRemark.Location          = new System.Drawing.Point(689, 10);
     this.txtRemark.Name     = "txtRemark";
     this.txtRemark.Size     = new System.Drawing.Size(200, 21);
     this.txtRemark.TabIndex = 3;
     //
     // labelX2
     //
     this.labelX2.AutoSize = true;
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.ForeColor   = System.Drawing.Color.DarkViolet;
     this.labelX2.Location    = new System.Drawing.Point(213, 11);
     this.labelX2.Name        = "labelX2";
     this.labelX2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX2.Size        = new System.Drawing.Size(56, 18);
     this.labelX2.TabIndex    = 2;
     this.labelX2.Text        = "出库日期";
     //
     // labelX8
     //
     this.labelX8.AutoSize = true;
     //
     //
     //
     this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX8.Location    = new System.Drawing.Point(655, 12);
     this.labelX8.Name        = "labelX8";
     this.labelX8.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.labelX8.Size        = new System.Drawing.Size(31, 18);
     this.labelX8.TabIndex    = 59;
     this.labelX8.Text        = "备注";
     //
     // barHead
     //
     this.barHead.AntiAlias = true;
     this.barHead.Dock      = System.Windows.Forms.DockStyle.Top;
     this.barHead.DockSide  = DevComponents.DotNetBar.eDockSide.Document;
     this.barHead.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.barHead.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnSaveBill,
         this.btnNewBill,
         this.btnClose
     });
     this.barHead.Location    = new System.Drawing.Point(0, 0);
     this.barHead.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.barHead.Name        = "barHead";
     this.barHead.PaddingLeft = 22;
     this.barHead.Size        = new System.Drawing.Size(955, 25);
     this.barHead.Stretch     = true;
     this.barHead.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.barHead.TabIndex    = 87;
     this.barHead.TabStop     = false;
     this.barHead.Text        = "bar2";
     //
     // btnSaveBill
     //
     this.btnSaveBill.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnSaveBill.Image       = ((System.Drawing.Image)(resources.GetObject("btnSaveBill.Image")));
     this.btnSaveBill.Name        = "btnSaveBill";
     this.btnSaveBill.Text        = "保存单据(F2)";
     this.btnSaveBill.Click      += new System.EventHandler(this.btnSaveBill_Click);
     //
     // btnNewBill
     //
     this.btnNewBill.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnNewBill.Image       = ((System.Drawing.Image)(resources.GetObject("btnNewBill.Image")));
     this.btnNewBill.Name        = "btnNewBill";
     this.btnNewBill.Text        = "新增单据(F3)";
     this.btnNewBill.Click      += new System.EventHandler(this.btnNewBill_Click);
     //
     // btnClose
     //
     this.btnClose.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnClose.Image       = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
     this.btnClose.Name        = "btnClose";
     this.btnClose.Text        = "关闭窗体(&C)";
     this.btnClose.Click      += new System.EventHandler(this.btnClose_Click);
     //
     // dgDetails
     //
     this.dgDetails.AllowSortWhenClickColumnHeader = false;
     this.dgDetails.AllowUserToAddRows             = false;
     this.dgDetails.AllowUserToDeleteRows          = false;
     this.dgDetails.AllowUserToResizeColumns       = false;
     this.dgDetails.AllowUserToResizeRows          = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.dgDetails.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgDetails.BackgroundColor               = System.Drawing.Color.White;
     this.dgDetails.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle2.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                  = new System.Drawing.Font("宋体", 9F, 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.dgDetails.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgDetails.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgDetails.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.MaterialID,
         this.MatName,
         this.Spec,
         this.ProductName,
         this.BatchNO,
         this.pAmount,
         this.UnitName,
         this.StockPrice,
         this.StockFee,
         this.RetailPrice,
         this.RetailFee,
         this.totalNum
     });
     dataGridViewCellStyle9.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle9.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle9.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle9.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle9.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgDetails.DefaultCellStyle           = dataGridViewCellStyle9;
     this.dgDetails.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgDetails.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgDetails.HideSelectionCardWhenCustomInput = false;
     this.dgDetails.HighlightSelectedColumnHeaders   = false;
     this.dgDetails.IsInputNumSelectedCard           = false;
     this.dgDetails.IsShowLetter                = false;
     this.dgDetails.IsShowPage                  = false;
     this.dgDetails.Location                    = new System.Drawing.Point(0, 0);
     this.dgDetails.MultiSelect                 = false;
     this.dgDetails.Name                        = "dgDetails";
     this.dgDetails.ReadOnly                    = true;
     dataGridViewCellStyle10.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle10.BackColor          = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle10.Font               = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle10.ForeColor          = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle10.WrapMode           = System.Windows.Forms.DataGridViewTriState.True;
     this.dgDetails.RowHeadersDefaultCellStyle  = dataGridViewCellStyle10;
     this.dgDetails.RowHeadersWidth             = 25;
     this.dgDetails.RowTemplate.Height          = 23;
     this.dgDetails.SelectAllSignVisible        = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     dataGridViewSelectionCard2.BindColumnIndex      = 0;
     dataGridViewSelectionCard2.CardColumn           = null;
     dataGridViewSelectionCard2.CardSize             = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard2.DataSource           = null;
     dataGridViewSelectionCard2.FilterResult         = null;
     dataGridViewSelectionCard2.IsPage          = true;
     dataGridViewSelectionCard2.Memo            = null;
     dataGridViewSelectionCard2.PageTotalRecord = 0;
     dataGridViewSelectionCard2.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard2.QueryFieldsString    = "";
     dataGridViewSelectionCard2.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard2.ShowCardColumns      = null;
     this.dgDetails.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1,
         dataGridViewSelectionCard2
     };
     this.dgDetails.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgDetails.SelectionNumKeyBoards = null;
     this.dgDetails.SeqVisible            = true;
     this.dgDetails.SetCustomStyle        = false;
     this.dgDetails.Size     = new System.Drawing.Size(955, 352);
     this.dgDetails.TabIndex = 0;
     this.dgDetails.SelectCardRowSelected         += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.dgDetails_SelectCardRowSelected);
     this.dgDetails.DataGridViewCellPressEnterKey += new EfwControls.CustomControl.OnDataGridViewCellPressEnterKeyHandle(this.dgDetails_DataGridViewCellPressEnterKey);
     this.dgDetails.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgDetails_CellValueChanged);
     //
     // MaterialID
     //
     this.MaterialID.DataPropertyName = "MaterialID";
     this.MaterialID.HeaderText       = "编号";
     this.MaterialID.Name             = "MaterialID";
     this.MaterialID.ReadOnly         = true;
     this.MaterialID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.MaterialID.Width            = 50;
     //
     // MatName
     //
     this.MatName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.MatName.DataPropertyName = "MatName";
     this.MatName.HeaderText       = "名称";
     this.MatName.Name             = "MatName";
     this.MatName.ReadOnly         = true;
     this.MatName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // Spec
     //
     this.Spec.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.Spec.DataPropertyName = "Spec";
     this.Spec.HeaderText       = "规格";
     this.Spec.Name             = "Spec";
     this.Spec.ReadOnly         = true;
     this.Spec.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ProductName
     //
     this.ProductName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ProductName.DataPropertyName = "ProductName";
     this.ProductName.HeaderText       = "生产厂家";
     this.ProductName.Name             = "ProductName";
     this.ProductName.ReadOnly         = true;
     this.ProductName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // BatchNO
     //
     this.BatchNO.DataPropertyName = "BatchNO";
     this.BatchNO.HeaderText       = "批次";
     this.BatchNO.Name             = "BatchNO";
     this.BatchNO.ReadOnly         = true;
     this.BatchNO.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.BatchNO.Width            = 90;
     //
     // pAmount
     //
     this.pAmount.DataPropertyName    = "pAmount";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.pAmount.DefaultCellStyle    = dataGridViewCellStyle3;
     this.pAmount.HeaderText          = "数量";
     this.pAmount.MinimumWidth        = 30;
     this.pAmount.Name     = "pAmount";
     this.pAmount.ReadOnly = true;
     this.pAmount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.pAmount.Width    = 60;
     //
     // UnitName
     //
     this.UnitName.DataPropertyName = "UnitName";
     this.UnitName.HeaderText       = "单位";
     this.UnitName.Name             = "UnitName";
     this.UnitName.ReadOnly         = true;
     this.UnitName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // StockPrice
     //
     this.StockPrice.DataPropertyName = "StockPrice";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle4.Format    = "0.00";
     this.StockPrice.DefaultCellStyle = dataGridViewCellStyle4;
     this.StockPrice.HeaderText       = "进货金额";
     this.StockPrice.Name             = "StockPrice";
     this.StockPrice.ReadOnly         = true;
     this.StockPrice.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.StockPrice.Width            = 65;
     //
     // StockFee
     //
     this.StockFee.DataPropertyName   = "StockFee";
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle5.Format    = "0.00";
     this.StockFee.DefaultCellStyle   = dataGridViewCellStyle5;
     this.StockFee.HeaderText         = "进货价";
     this.StockFee.Name     = "StockFee";
     this.StockFee.ReadOnly = true;
     this.StockFee.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.StockFee.Width    = 55;
     //
     // RetailPrice
     //
     this.RetailPrice.DataPropertyName = "RetailPrice";
     dataGridViewCellStyle6.Alignment  = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle6.Format     = "0.00";
     this.RetailPrice.DefaultCellStyle = dataGridViewCellStyle6;
     this.RetailPrice.HeaderText       = "零售金额";
     this.RetailPrice.Name             = "RetailPrice";
     this.RetailPrice.ReadOnly         = true;
     this.RetailPrice.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.RetailPrice.Width            = 65;
     //
     // RetailFee
     //
     this.RetailFee.DataPropertyName  = "RetailFee";
     dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle7.Format    = "0.00";
     this.RetailFee.DefaultCellStyle  = dataGridViewCellStyle7;
     this.RetailFee.HeaderText        = "零售价";
     this.RetailFee.Name     = "RetailFee";
     this.RetailFee.ReadOnly = true;
     this.RetailFee.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.RetailFee.Width    = 55;
     //
     // totalNum
     //
     this.totalNum.DataPropertyName   = "totalNum";
     dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.totalNum.DefaultCellStyle   = dataGridViewCellStyle8;
     this.totalNum.HeaderText         = "库存量";
     this.totalNum.Name     = "totalNum";
     this.totalNum.ReadOnly = true;
     this.totalNum.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.totalNum.Width    = 65;
     //
     // frmCommon
     //
     this.frmCommon.IsSkip = true;
     //
     // pnlStatus
     //
     this.pnlStatus.CanvasColor      = System.Drawing.SystemColors.Control;
     this.pnlStatus.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.pnlStatus.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.pnlStatus.Location         = new System.Drawing.Point(0, 352);
     this.pnlStatus.Name             = "pnlStatus";
     this.pnlStatus.Size             = new System.Drawing.Size(955, 30);
     this.pnlStatus.Style.Alignment  = System.Drawing.StringAlignment.Far;
     this.pnlStatus.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.pnlStatus.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.pnlStatus.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.pnlStatus.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.pnlStatus.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.pnlStatus.Style.GradientAngle = 90;
     this.pnlStatus.TabIndex            = 2;
     this.pnlStatus.Text = "合计零售金额:0.00  合计进货金额:0.00";
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.panelEx3);
     this.panelEx1.Controls.Add(this.bar1);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Controls.Add(this.barHead);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(955, 472);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 3;
     //
     // panelEx3
     //
     this.panelEx3.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx3.Controls.Add(this.dgDetails);
     this.panelEx3.Controls.Add(this.pnlStatus);
     this.panelEx3.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx3.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.panelEx3.Location        = new System.Drawing.Point(0, 90);
     this.panelEx3.Name            = "panelEx3";
     this.panelEx3.Size            = new System.Drawing.Size(955, 382);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx3.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx3.Style.GradientAngle = 90;
     this.panelEx3.TabIndex            = 1;
     this.panelEx3.Text = "panelEx3";
     //
     // FrmOutStoreDetail
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(955, 472);
     this.Controls.Add(this.panelEx1);
     this.Name              = "FrmOutStoreDetail";
     this.Text              = "出库单编辑";
     this.OpenWindowBefore += new System.EventHandler(this.FrmOutStoreDetail_OpenWindowBefore);
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.panelEx2.ResumeLayout(false);
     this.panelEx2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.timeOutData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barHead)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgDetails)).EndInit();
     this.panelEx1.ResumeLayout(false);
     this.panelEx3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #12
0
 /// <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();
     EfwControls.CustomControl.DataGridViewSelectionCard dataGridViewSelectionCard1 = new EfwControls.CustomControl.DataGridViewSelectionCard();
     System.ComponentModel.ComponentResourceManager      resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmRegBaseDataSet));
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle4  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle5  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle11 = 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          dataGridViewCellStyle9  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle          dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
     this.superTabControl1      = new DevComponents.DotNetBar.SuperTabControl();
     this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.panelEx1            = new DevComponents.DotNetBar.PanelEx();
     this.dgRegItemFee        = new EfwControls.CustomControl.GridBoxCard();
     this.ItemCode            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ItemID              = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ItemName            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ItemPrice           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bar1                = new DevComponents.DotNetBar.Bar();
     this.btnAddItem          = new DevComponents.DotNetBar.ButtonItem();
     this.btnSaveItem         = new DevComponents.DotNetBar.ButtonItem();
     this.btnDelItem          = new DevComponents.DotNetBar.ButtonItem();
     this.btnRefresh          = new DevComponents.DotNetBar.ButtonItem();
     this.btnClose            = new DevComponents.DotNetBar.ButtonItem();
     this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.panelEx3            = new DevComponents.DotNetBar.PanelEx();
     this.dgRegType           = new EfwControls.CustomControl.DataGrid();
     this.Flag                = new DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn();
     this.Column4             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RegTypeCode         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.TypeCodeName        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.TotalRegFee         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panelEx2            = new DevComponents.DotNetBar.PanelEx();
     this.btnSaveRegType      = new DevComponents.DotNetBar.ButtonX();
     this.btnAddRegType       = new DevComponents.DotNetBar.ButtonX();
     this.chkValid            = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.txtRegTypeName      = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX2             = new DevComponents.DotNetBar.LabelX();
     this.txtRegTypeCode      = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX1             = new DevComponents.DotNetBar.LabelX();
     this.superTabItem1       = new DevComponents.DotNetBar.SuperTabItem();
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
     this.superTabControl1.SuspendLayout();
     this.superTabControlPanel1.SuspendLayout();
     this.panelEx1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgRegItemFee)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.panelEx3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgRegType)).BeginInit();
     this.panelEx2.SuspendLayout();
     this.SuspendLayout();
     //
     // superTabControl1
     //
     //
     //
     //
     //
     //
     //
     this.superTabControl1.ControlBox.CloseBox.Name = "";
     //
     //
     //
     this.superTabControl1.ControlBox.MenuBox.Name = "";
     this.superTabControl1.ControlBox.Name         = "";
     this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.superTabControl1.ControlBox.MenuBox,
         this.superTabControl1.ControlBox.CloseBox
     });
     this.superTabControl1.Controls.Add(this.superTabControlPanel1);
     this.superTabControl1.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.superTabControl1.Location           = new System.Drawing.Point(0, 0);
     this.superTabControl1.Name               = "superTabControl1";
     this.superTabControl1.ReorderTabsEnabled = true;
     this.superTabControl1.SelectedTabFont    = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.superTabControl1.SelectedTabIndex   = 0;
     this.superTabControl1.Size               = new System.Drawing.Size(1008, 661);
     this.superTabControl1.TabFont            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.superTabControl1.TabIndex           = 0;
     this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.superTabItem1
     });
     this.superTabControl1.Text = "superTabControl1";
     //
     // superTabControlPanel1
     //
     this.superTabControlPanel1.Controls.Add(this.panelEx1);
     this.superTabControlPanel1.Controls.Add(this.expandableSplitter1);
     this.superTabControlPanel1.Controls.Add(this.panelEx3);
     this.superTabControlPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel1.Location = new System.Drawing.Point(0, 28);
     this.superTabControlPanel1.Name     = "superTabControlPanel1";
     this.superTabControlPanel1.Size     = new System.Drawing.Size(1008, 633);
     this.superTabControlPanel1.TabIndex = 1;
     this.superTabControlPanel1.TabItem  = this.superTabItem1;
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.dgRegItemFee);
     this.panelEx1.Controls.Add(this.bar1);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(358, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(650, 633);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 0;
     //
     // dgRegItemFee
     //
     this.dgRegItemFee.AllowSortWhenClickColumnHeader = false;
     this.dgRegItemFee.AllowUserToAddRows             = false;
     this.dgRegItemFee.AllowUserToResizeColumns       = false;
     this.dgRegItemFee.AllowUserToResizeRows          = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.AliceBlue;
     this.dgRegItemFee.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgRegItemFee.BackgroundColor               = System.Drawing.Color.White;
     this.dgRegItemFee.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle2.Alignment                = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor                = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                     = new System.Drawing.Font("宋体", 9.75F, 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.dgRegItemFee.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgRegItemFee.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.ItemCode,
         this.ItemID,
         this.ItemName,
         this.ItemPrice
     });
     dataGridViewCellStyle3.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle3.Font               = new System.Drawing.Font("宋体", 9.75F, 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.dgRegItemFee.DefaultCellStyle        = dataGridViewCellStyle3;
     this.dgRegItemFee.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgRegItemFee.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgRegItemFee.HideSelectionCardWhenCustomInput = false;
     this.dgRegItemFee.HighlightSelectedColumnHeaders   = false;
     this.dgRegItemFee.IsInputNumSelectedCard           = false;
     this.dgRegItemFee.IsShowLetter             = false;
     this.dgRegItemFee.IsShowPage               = false;
     this.dgRegItemFee.Location                 = new System.Drawing.Point(0, 26);
     this.dgRegItemFee.MultiSelect              = false;
     this.dgRegItemFee.Name                     = "dgRegItemFee";
     this.dgRegItemFee.ReadOnly                 = true;
     this.dgRegItemFee.RowHeadersWidth          = 30;
     this.dgRegItemFee.RowTemplate.Height       = 23;
     this.dgRegItemFee.SelectAllSignVisible     = false;
     dataGridViewSelectionCard1.BindColumnIndex = 0;
     dataGridViewSelectionCard1.CardColumn      = null;
     dataGridViewSelectionCard1.CardSize        = new System.Drawing.Size(350, 276);
     dataGridViewSelectionCard1.DataSource      = null;
     dataGridViewSelectionCard1.FilterResult    = null;
     dataGridViewSelectionCard1.IsPage          = true;
     dataGridViewSelectionCard1.Memo            = null;
     dataGridViewSelectionCard1.PageTotalRecord = 0;
     dataGridViewSelectionCard1.QueryFields     = new string[] {
         ""
     };
     dataGridViewSelectionCard1.QueryFieldsString    = "";
     dataGridViewSelectionCard1.SelectCardFilterType = EfwControls.CustomControl.MatchModes.ByAnyString;
     dataGridViewSelectionCard1.ShowCardColumns      = null;
     this.dgRegItemFee.SelectionCards = new EfwControls.CustomControl.DataGridViewSelectionCard[] {
         dataGridViewSelectionCard1
     };
     this.dgRegItemFee.SelectionMode         = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgRegItemFee.SelectionNumKeyBoards = null;
     this.dgRegItemFee.SeqVisible            = true;
     this.dgRegItemFee.SetCustomStyle        = true;
     this.dgRegItemFee.Size     = new System.Drawing.Size(650, 607);
     this.dgRegItemFee.TabIndex = 1;
     this.dgRegItemFee.SelectCardRowSelected += new EfwControls.CustomControl.OnSelectCardRowSelectedHandle(this.dgRegItemFee_SelectCardRowSelected);
     //
     // ItemCode
     //
     this.ItemCode.HeaderText = "助记码";
     this.ItemCode.Name       = "ItemCode";
     this.ItemCode.ReadOnly   = true;
     this.ItemCode.SortMode   = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ItemID
     //
     this.ItemID.DataPropertyName = "ItemID";
     this.ItemID.HeaderText       = "项目ID";
     this.ItemID.Name             = "ItemID";
     this.ItemID.ReadOnly         = true;
     this.ItemID.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ItemName
     //
     this.ItemName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ItemName.DataPropertyName = "ItemName";
     this.ItemName.HeaderText       = "项目名称";
     this.ItemName.Name             = "ItemName";
     this.ItemName.ReadOnly         = true;
     this.ItemName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ItemPrice
     //
     this.ItemPrice.DataPropertyName = "ItemPrice";
     this.ItemPrice.HeaderText       = "价格";
     this.ItemPrice.Name             = "ItemPrice";
     this.ItemPrice.ReadOnly         = true;
     this.ItemPrice.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.DockSide  = DevComponents.DotNetBar.eDockSide.Document;
     this.bar1.Font      = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold);
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.btnAddItem,
         this.btnSaveItem,
         this.btnDelItem,
         this.btnRefresh,
         this.btnClose
     });
     this.bar1.Location    = new System.Drawing.Point(0, 0);
     this.bar1.Name        = "bar1";
     this.bar1.PaddingLeft = 22;
     this.bar1.Size        = new System.Drawing.Size(650, 26);
     this.bar1.Stretch     = true;
     this.bar1.Style       = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex    = 0;
     this.bar1.TabStop     = false;
     this.bar1.Text        = "bar1";
     //
     // btnAddItem
     //
     this.btnAddItem.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnAddItem.Image       = ((System.Drawing.Image)(resources.GetObject("btnAddItem.Image")));
     this.btnAddItem.Name        = "btnAddItem";
     this.btnAddItem.Text        = "新增收费项目(&N)";
     this.btnAddItem.Click      += new System.EventHandler(this.btnAddItem_Click);
     //
     // btnSaveItem
     //
     this.btnSaveItem.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnSaveItem.Image       = ((System.Drawing.Image)(resources.GetObject("btnSaveItem.Image")));
     this.btnSaveItem.Name        = "btnSaveItem";
     this.btnSaveItem.Text        = "保存收费项目(&S)";
     this.btnSaveItem.Click      += new System.EventHandler(this.btnSaveItem_Click);
     //
     // btnDelItem
     //
     this.btnDelItem.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnDelItem.Image       = ((System.Drawing.Image)(resources.GetObject("btnDelItem.Image")));
     this.btnDelItem.Name        = "btnDelItem";
     this.btnDelItem.Text        = "删除收费项目(&D)";
     this.btnDelItem.Click      += new System.EventHandler(this.btnDelItem_Click);
     //
     // btnRefresh
     //
     this.btnRefresh.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnRefresh.Image       = ((System.Drawing.Image)(resources.GetObject("btnRefresh.Image")));
     this.btnRefresh.Name        = "btnRefresh";
     this.btnRefresh.Text        = "刷新收费项目(&F)";
     this.btnRefresh.Click      += new System.EventHandler(this.btnRefresh_Click);
     //
     // btnClose
     //
     this.btnClose.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnClose.Image       = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
     this.btnClose.Name        = "btnClose";
     this.btnClose.Text        = "关闭(&C)";
     this.btnClose.Click      += new System.EventHandler(this.btnClose_Click);
     //
     // expandableSplitter1
     //
     this.expandableSplitter1.BackColor2                   = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.BackColor2SchemePart         = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.BackColorSchemePart          = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter1.ExpandFillColor              = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.ExpandFillColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.ExpandLineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.ExpandLineColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripDarkColor                = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.GripDarkColorSchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripLightColor               = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter1.GripLightColorSchemePart     = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.HotBackColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.expandableSplitter1.HotBackColor2                = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.expandableSplitter1.HotBackColor2SchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter1.HotBackColorSchemePart       = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter1.HotExpandFillColor           = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotExpandLineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.HotGripDarkColor             = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.HotGripDarkColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotGripLightColor            = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter1.HotGripLightColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.Location = new System.Drawing.Point(352, 0);
     this.expandableSplitter1.Name     = "expandableSplitter1";
     this.expandableSplitter1.Size     = new System.Drawing.Size(6, 633);
     this.expandableSplitter1.Style    = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter1.TabIndex = 2;
     this.expandableSplitter1.TabStop  = false;
     //
     // panelEx3
     //
     this.panelEx3.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx3.Controls.Add(this.dgRegType);
     this.panelEx3.Controls.Add(this.panelEx2);
     this.panelEx3.Dock            = System.Windows.Forms.DockStyle.Left;
     this.panelEx3.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.panelEx3.Location        = new System.Drawing.Point(0, 0);
     this.panelEx3.Name            = "panelEx3";
     this.panelEx3.Size            = new System.Drawing.Size(352, 633);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx3.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx3.Style.GradientAngle = 90;
     this.panelEx3.TabIndex            = 1;
     this.panelEx3.Text = "panelEx3";
     //
     // dgRegType
     //
     this.dgRegType.AllowSortWhenClickColumnHeader = false;
     this.dgRegType.AllowUserToAddRows             = false;
     this.dgRegType.AllowUserToResizeColumns       = false;
     this.dgRegType.AllowUserToResizeRows          = false;
     dataGridViewCellStyle4.BackColor = System.Drawing.Color.AliceBlue;
     this.dgRegType.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
     this.dgRegType.BackgroundColor               = System.Drawing.Color.White;
     this.dgRegType.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridViewCellStyle5.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle5.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle5.Font                  = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle5.ForeColor             = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle5.SelectionBackColor    = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle5.SelectionForeColor    = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle5.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgRegType.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
     this.dgRegType.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Flag,
         this.Column4,
         this.RegTypeCode,
         this.TypeCodeName,
         this.TotalRegFee
     });
     dataGridViewCellStyle11.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle11.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle11.Font               = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle11.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle11.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgRegType.DefaultCellStyle            = dataGridViewCellStyle11;
     this.dgRegType.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgRegType.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgRegType.HighlightSelectedColumnHeaders = false;
     this.dgRegType.Location             = new System.Drawing.Point(0, 0);
     this.dgRegType.MultiSelect          = false;
     this.dgRegType.Name                 = "dgRegType";
     this.dgRegType.ReadOnly             = true;
     this.dgRegType.RowHeadersWidth      = 30;
     this.dgRegType.RowTemplate.Height   = 23;
     this.dgRegType.SelectAllSignVisible = false;
     this.dgRegType.SelectionMode        = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgRegType.SeqVisible           = true;
     this.dgRegType.SetCustomStyle       = true;
     this.dgRegType.Size                 = new System.Drawing.Size(352, 497);
     this.dgRegType.TabIndex             = 0;
     this.dgRegType.CurrentCellChanged  += new System.EventHandler(this.dgRegType_CurrentCellChanged);
     //
     // Flag
     //
     this.Flag.Checked                = true;
     this.Flag.CheckState             = System.Windows.Forms.CheckState.Indeterminate;
     this.Flag.CheckValue             = "N";
     this.Flag.DataPropertyName       = "Flag";
     dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.Flag.DefaultCellStyle       = dataGridViewCellStyle6;
     this.Flag.HeaderText             = "有效";
     this.Flag.Name      = "Flag";
     this.Flag.ReadOnly  = true;
     this.Flag.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.Flag.Width     = 40;
     //
     // Column4
     //
     this.Column4.DataPropertyName    = "regtypeid";
     dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     this.Column4.DefaultCellStyle    = dataGridViewCellStyle7;
     this.Column4.HeaderText          = "类型ID";
     this.Column4.Name     = "Column4";
     this.Column4.ReadOnly = true;
     this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column4.Visible  = false;
     this.Column4.Width    = 70;
     //
     // RegTypeCode
     //
     this.RegTypeCode.DataPropertyName = "RegTypeCode";
     dataGridViewCellStyle8.Alignment  = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.RegTypeCode.DefaultCellStyle = dataGridViewCellStyle8;
     this.RegTypeCode.HeaderText       = "类型代码";
     this.RegTypeCode.Name             = "RegTypeCode";
     this.RegTypeCode.ReadOnly         = true;
     this.RegTypeCode.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.RegTypeCode.Width            = 70;
     //
     // TypeCodeName
     //
     this.TypeCodeName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.TypeCodeName.DataPropertyName = "regTypeName";
     dataGridViewCellStyle9.Alignment   = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.TypeCodeName.DefaultCellStyle = dataGridViewCellStyle9;
     this.TypeCodeName.HeaderText       = "类型名称";
     this.TypeCodeName.Name             = "TypeCodeName";
     this.TypeCodeName.ReadOnly         = true;
     this.TypeCodeName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // TotalRegFee
     //
     this.TotalRegFee.DataPropertyName = "TotalRegFee";
     dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.TotalRegFee.DefaultCellStyle = dataGridViewCellStyle10;
     this.TotalRegFee.HeaderText       = "挂号金额";
     this.TotalRegFee.Name             = "TotalRegFee";
     this.TotalRegFee.ReadOnly         = true;
     this.TotalRegFee.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.btnSaveRegType);
     this.panelEx2.Controls.Add(this.btnAddRegType);
     this.panelEx2.Controls.Add(this.chkValid);
     this.panelEx2.Controls.Add(this.txtRegTypeName);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Controls.Add(this.txtRegTypeCode);
     this.panelEx2.Controls.Add(this.labelX1);
     this.panelEx2.Dock            = System.Windows.Forms.DockStyle.Bottom;
     this.panelEx2.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.panelEx2.Location        = new System.Drawing.Point(0, 497);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(352, 136);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 1;
     //
     // btnSaveRegType
     //
     this.btnSaveRegType.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnSaveRegType.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnSaveRegType.Image          = ((System.Drawing.Image)(resources.GetObject("btnSaveRegType.Image")));
     this.btnSaveRegType.Location       = new System.Drawing.Point(200, 91);
     this.btnSaveRegType.Name           = "btnSaveRegType";
     this.btnSaveRegType.Size           = new System.Drawing.Size(75, 22);
     this.btnSaveRegType.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnSaveRegType.TabIndex       = 6;
     this.btnSaveRegType.Text           = "保存类型";
     this.btnSaveRegType.Click         += new System.EventHandler(this.btnSaveRegType_Click);
     //
     // btnAddRegType
     //
     this.btnAddRegType.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnAddRegType.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnAddRegType.Image          = ((System.Drawing.Image)(resources.GetObject("btnAddRegType.Image")));
     this.btnAddRegType.Location       = new System.Drawing.Point(119, 91);
     this.btnAddRegType.Name           = "btnAddRegType";
     this.btnAddRegType.Size           = new System.Drawing.Size(75, 22);
     this.btnAddRegType.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnAddRegType.TabIndex       = 5;
     this.btnAddRegType.Text           = "新增类型";
     this.btnAddRegType.Click         += new System.EventHandler(this.btnAddRegType_Click);
     //
     // chkValid
     //
     //
     //
     //
     this.chkValid.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.chkValid.Location = new System.Drawing.Point(224, 50);
     this.chkValid.Name     = "chkValid";
     this.chkValid.Size     = new System.Drawing.Size(64, 23);
     this.chkValid.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.chkValid.TabIndex = 4;
     this.chkValid.Text     = "有效";
     //
     // txtRegTypeName
     //
     //
     //
     //
     this.txtRegTypeName.Border.Class      = "TextBoxBorder";
     this.txtRegTypeName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtRegTypeName.Location          = new System.Drawing.Point(75, 50);
     this.txtRegTypeName.Name     = "txtRegTypeName";
     this.txtRegTypeName.Size     = new System.Drawing.Size(143, 21);
     this.txtRegTypeName.TabIndex = 3;
     //
     // labelX2
     //
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.ForeColor = System.Drawing.Color.DarkViolet;
     this.labelX2.Location  = new System.Drawing.Point(8, 50);
     this.labelX2.Name      = "labelX2";
     this.labelX2.Size      = new System.Drawing.Size(61, 23);
     this.labelX2.TabIndex  = 2;
     this.labelX2.Text      = "类型名称";
     //
     // txtRegTypeCode
     //
     //
     //
     //
     this.txtRegTypeCode.Border.Class      = "TextBoxBorder";
     this.txtRegTypeCode.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtRegTypeCode.Location          = new System.Drawing.Point(75, 14);
     this.txtRegTypeCode.Name     = "txtRegTypeCode";
     this.txtRegTypeCode.Size     = new System.Drawing.Size(143, 21);
     this.txtRegTypeCode.TabIndex = 1;
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.ForeColor = System.Drawing.Color.DarkViolet;
     this.labelX1.Location  = new System.Drawing.Point(8, 14);
     this.labelX1.Name      = "labelX1";
     this.labelX1.Size      = new System.Drawing.Size(61, 23);
     this.labelX1.TabIndex  = 0;
     this.labelX1.Text      = "类型代码";
     //
     // superTabItem1
     //
     this.superTabItem1.AttachedControl = this.superTabControlPanel1;
     this.superTabItem1.GlobalItem      = false;
     this.superTabItem1.Name            = "superTabItem1";
     this.superTabItem1.Text            = "挂号基础数据维护";
     //
     // FrmRegBaseDataSet
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1008, 661);
     this.Controls.Add(this.superTabControl1);
     this.Name              = "FrmRegBaseDataSet";
     this.StartPosition     = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text              = "挂号基础数据设置";
     this.OpenWindowBefore += new System.EventHandler(this.FrmRegBaseDataSet_OpenWindowBefore);
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
     this.superTabControl1.ResumeLayout(false);
     this.superTabControlPanel1.ResumeLayout(false);
     this.panelEx1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgRegItemFee)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.panelEx3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgRegType)).EndInit();
     this.panelEx2.ResumeLayout(false);
     this.ResumeLayout(false);
 }