/// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(prescription_management));
     this.skinLabel1 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel2 = new CCWin.SkinControl.SkinLabel();
     this.dGV_recipe = new System.Windows.Forms.DataGridView();
     this.dGV_drug = new System.Windows.Forms.DataGridView();
     this.skinPanel3 = new CCWin.SkinControl.SkinPanel();
     this.txb_search = new CCWin.SkinControl.SkinWaterTextBox();
     this.skinPanel16 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel17 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel18 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel19 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel20 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel21 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel10 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel11 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel12 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel13 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel14 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel15 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel9 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel8 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel7 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel6 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel5 = new CCWin.SkinControl.SkinPanel();
     this.bt_alter = new CCWin.SkinControl.SkinButton();
     this.skinPanel4 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel1 = new CCWin.SkinControl.SkinPanel();
     this.skinLabel9 = new CCWin.SkinControl.SkinLabel();
     this.bt_delete = new CCWin.SkinControl.SkinButton();
     this.bt_confirm = new CCWin.SkinControl.SkinButton();
     this.text_method = new CCWin.SkinControl.SkinWaterTextBox();
     this.text_function = new CCWin.SkinControl.SkinWaterTextBox();
     this.text_from = new CCWin.SkinControl.SkinWaterTextBox();
     this.text_code = new CCWin.SkinControl.SkinWaterTextBox();
     this.text_name = new CCWin.SkinControl.SkinWaterTextBox();
     this.skinLabel7 = new CCWin.SkinControl.SkinLabel();
     this.skinPanel2 = new CCWin.SkinControl.SkinPanel();
     this.text_cure = new System.Windows.Forms.TextBox();
     this.skinLabel8 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel6 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel5 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel4 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel3 = new CCWin.SkinControl.SkinLabel();
     this.bt_search = new CCWin.SkinControl.SkinButton();
     ((System.ComponentModel.ISupportInitialize)(this.dGV_recipe)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dGV_drug)).BeginInit();
     this.skinPanel3.SuspendLayout();
     this.skinPanel2.SuspendLayout();
     this.SuspendLayout();
     //
     // skinLabel1
     //
     this.skinLabel1.AutoSize = true;
     this.skinLabel1.BackColor = System.Drawing.Color.Transparent;
     this.skinLabel1.BorderColor = System.Drawing.Color.White;
     this.skinLabel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.skinLabel1.Location = new System.Drawing.Point(18, 37);
     this.skinLabel1.Name = "skinLabel1";
     this.skinLabel1.Size = new System.Drawing.Size(0, 20);
     this.skinLabel1.TabIndex = 3;
     //
     // skinLabel2
     //
     this.skinLabel2.AutoSize = true;
     this.skinLabel2.BackColor = System.Drawing.Color.Transparent;
     this.skinLabel2.BorderColor = System.Drawing.Color.White;
     this.skinLabel2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.skinLabel2.Location = new System.Drawing.Point(8, 54);
     this.skinLabel2.Name = "skinLabel2";
     this.skinLabel2.Size = new System.Drawing.Size(69, 20);
     this.skinLabel2.TabIndex = 4;
     this.skinLabel2.Text = "方名搜索";
     //
     // dGV_recipe
     //
     this.dGV_recipe.BackgroundColor = System.Drawing.Color.WhiteSmoke;
     this.dGV_recipe.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dGV_recipe.Location = new System.Drawing.Point(27, 98);
     this.dGV_recipe.Name = "dGV_recipe";
     this.dGV_recipe.RowHeadersVisible = false;
     this.dGV_recipe.RowTemplate.Height = 23;
     this.dGV_recipe.Size = new System.Drawing.Size(181, 158);
     this.dGV_recipe.TabIndex = 5;
     //
     // dGV_drug
     //
     this.dGV_drug.BackgroundColor = System.Drawing.Color.WhiteSmoke;
     this.dGV_drug.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dGV_drug.Location = new System.Drawing.Point(27, 290);
     this.dGV_drug.Name = "dGV_drug";
     this.dGV_drug.RowHeadersVisible = false;
     this.dGV_drug.RowTemplate.Height = 23;
     this.dGV_drug.Size = new System.Drawing.Size(181, 215);
     this.dGV_drug.TabIndex = 7;
     //
     // skinPanel3
     //
     this.skinPanel3.BackColor = System.Drawing.Color.White;
     this.skinPanel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.skinPanel3.Controls.Add(this.txb_search);
     this.skinPanel3.Controls.Add(this.skinPanel16);
     this.skinPanel3.Controls.Add(this.skinPanel17);
     this.skinPanel3.Controls.Add(this.skinPanel18);
     this.skinPanel3.Controls.Add(this.skinPanel19);
     this.skinPanel3.Controls.Add(this.skinPanel20);
     this.skinPanel3.Controls.Add(this.skinPanel21);
     this.skinPanel3.Controls.Add(this.skinPanel10);
     this.skinPanel3.Controls.Add(this.skinPanel11);
     this.skinPanel3.Controls.Add(this.skinPanel12);
     this.skinPanel3.Controls.Add(this.skinPanel13);
     this.skinPanel3.Controls.Add(this.skinPanel14);
     this.skinPanel3.Controls.Add(this.skinPanel15);
     this.skinPanel3.Controls.Add(this.skinPanel9);
     this.skinPanel3.Controls.Add(this.skinPanel8);
     this.skinPanel3.Controls.Add(this.skinPanel7);
     this.skinPanel3.Controls.Add(this.skinPanel6);
     this.skinPanel3.Controls.Add(this.skinPanel5);
     this.skinPanel3.Controls.Add(this.bt_alter);
     this.skinPanel3.Controls.Add(this.skinPanel4);
     this.skinPanel3.Controls.Add(this.skinPanel1);
     this.skinPanel3.Controls.Add(this.skinLabel9);
     this.skinPanel3.Controls.Add(this.bt_delete);
     this.skinPanel3.Controls.Add(this.bt_confirm);
     this.skinPanel3.Controls.Add(this.text_method);
     this.skinPanel3.Controls.Add(this.text_function);
     this.skinPanel3.Controls.Add(this.text_from);
     this.skinPanel3.Controls.Add(this.text_code);
     this.skinPanel3.Controls.Add(this.text_name);
     this.skinPanel3.Controls.Add(this.skinLabel7);
     this.skinPanel3.Controls.Add(this.skinPanel2);
     this.skinPanel3.Controls.Add(this.skinLabel6);
     this.skinPanel3.Controls.Add(this.skinLabel5);
     this.skinPanel3.Controls.Add(this.skinLabel4);
     this.skinPanel3.Controls.Add(this.skinLabel3);
     this.skinPanel3.Controls.Add(this.bt_search);
     this.skinPanel3.Controls.Add(this.dGV_drug);
     this.skinPanel3.Controls.Add(this.dGV_recipe);
     this.skinPanel3.Controls.Add(this.skinLabel2);
     this.skinPanel3.Controls.Add(this.skinLabel1);
     this.skinPanel3.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel3.DownBack = null;
     this.skinPanel3.Location = new System.Drawing.Point(22, 39);
     this.skinPanel3.MouseBack = null;
     this.skinPanel3.Name = "skinPanel3";
     this.skinPanel3.NormlBack = null;
     this.skinPanel3.Size = new System.Drawing.Size(747, 519);
     this.skinPanel3.TabIndex = 9;
     //
     // txb_search
     //
     this.txb_search.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.txb_search.Location = new System.Drawing.Point(75, 54);
     this.txb_search.Name = "txb_search";
     this.txb_search.Size = new System.Drawing.Size(103, 27);
     this.txb_search.TabIndex = 10;
     this.txb_search.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.txb_search.WaterText = "";
     //
     // skinPanel16
     //
     this.skinPanel16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.skinPanel16.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel16.DownBack = null;
     this.skinPanel16.Location = new System.Drawing.Point(714, 21);
     this.skinPanel16.MouseBack = null;
     this.skinPanel16.Name = "skinPanel16";
     this.skinPanel16.NormlBack = null;
     this.skinPanel16.Size = new System.Drawing.Size(21, 35);
     this.skinPanel16.TabIndex = 48;
     //
     // skinPanel17
     //
     this.skinPanel17.BackColor = System.Drawing.Color.Teal;
     this.skinPanel17.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel17.DownBack = null;
     this.skinPanel17.Location = new System.Drawing.Point(687, 21);
     this.skinPanel17.MouseBack = null;
     this.skinPanel17.Name = "skinPanel17";
     this.skinPanel17.NormlBack = null;
     this.skinPanel17.Size = new System.Drawing.Size(21, 35);
     this.skinPanel17.TabIndex = 47;
     //
     // skinPanel18
     //
     this.skinPanel18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.skinPanel18.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel18.DownBack = null;
     this.skinPanel18.Location = new System.Drawing.Point(660, 21);
     this.skinPanel18.MouseBack = null;
     this.skinPanel18.Name = "skinPanel18";
     this.skinPanel18.NormlBack = null;
     this.skinPanel18.Size = new System.Drawing.Size(21, 35);
     this.skinPanel18.TabIndex = 46;
     //
     // skinPanel19
     //
     this.skinPanel19.BackColor = System.Drawing.Color.Teal;
     this.skinPanel19.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel19.DownBack = null;
     this.skinPanel19.Location = new System.Drawing.Point(606, 21);
     this.skinPanel19.MouseBack = null;
     this.skinPanel19.Name = "skinPanel19";
     this.skinPanel19.NormlBack = null;
     this.skinPanel19.Size = new System.Drawing.Size(21, 35);
     this.skinPanel19.TabIndex = 44;
     //
     // skinPanel20
     //
     this.skinPanel20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.skinPanel20.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel20.DownBack = null;
     this.skinPanel20.Location = new System.Drawing.Point(633, 21);
     this.skinPanel20.MouseBack = null;
     this.skinPanel20.Name = "skinPanel20";
     this.skinPanel20.NormlBack = null;
     this.skinPanel20.Size = new System.Drawing.Size(21, 35);
     this.skinPanel20.TabIndex = 45;
     //
     // skinPanel21
     //
     this.skinPanel21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.skinPanel21.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel21.DownBack = null;
     this.skinPanel21.Location = new System.Drawing.Point(579, 21);
     this.skinPanel21.MouseBack = null;
     this.skinPanel21.Name = "skinPanel21";
     this.skinPanel21.NormlBack = null;
     this.skinPanel21.Size = new System.Drawing.Size(21, 35);
     this.skinPanel21.TabIndex = 43;
     //
     // skinPanel10
     //
     this.skinPanel10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.skinPanel10.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel10.DownBack = null;
     this.skinPanel10.Location = new System.Drawing.Point(552, 21);
     this.skinPanel10.MouseBack = null;
     this.skinPanel10.Name = "skinPanel10";
     this.skinPanel10.NormlBack = null;
     this.skinPanel10.Size = new System.Drawing.Size(21, 35);
     this.skinPanel10.TabIndex = 42;
     //
     // skinPanel11
     //
     this.skinPanel11.BackColor = System.Drawing.Color.Teal;
     this.skinPanel11.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel11.DownBack = null;
     this.skinPanel11.Location = new System.Drawing.Point(525, 21);
     this.skinPanel11.MouseBack = null;
     this.skinPanel11.Name = "skinPanel11";
     this.skinPanel11.NormlBack = null;
     this.skinPanel11.Size = new System.Drawing.Size(21, 35);
     this.skinPanel11.TabIndex = 41;
     //
     // skinPanel12
     //
     this.skinPanel12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.skinPanel12.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel12.DownBack = null;
     this.skinPanel12.Location = new System.Drawing.Point(498, 21);
     this.skinPanel12.MouseBack = null;
     this.skinPanel12.Name = "skinPanel12";
     this.skinPanel12.NormlBack = null;
     this.skinPanel12.Size = new System.Drawing.Size(21, 35);
     this.skinPanel12.TabIndex = 40;
     //
     // skinPanel13
     //
     this.skinPanel13.BackColor = System.Drawing.Color.Teal;
     this.skinPanel13.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel13.DownBack = null;
     this.skinPanel13.Location = new System.Drawing.Point(444, 21);
     this.skinPanel13.MouseBack = null;
     this.skinPanel13.Name = "skinPanel13";
     this.skinPanel13.NormlBack = null;
     this.skinPanel13.Size = new System.Drawing.Size(21, 35);
     this.skinPanel13.TabIndex = 38;
     //
     // skinPanel14
     //
     this.skinPanel14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.skinPanel14.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel14.DownBack = null;
     this.skinPanel14.Location = new System.Drawing.Point(471, 21);
     this.skinPanel14.MouseBack = null;
     this.skinPanel14.Name = "skinPanel14";
     this.skinPanel14.NormlBack = null;
     this.skinPanel14.Size = new System.Drawing.Size(21, 35);
     this.skinPanel14.TabIndex = 39;
     //
     // skinPanel15
     //
     this.skinPanel15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.skinPanel15.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel15.DownBack = null;
     this.skinPanel15.Location = new System.Drawing.Point(415, 21);
     this.skinPanel15.MouseBack = null;
     this.skinPanel15.Name = "skinPanel15";
     this.skinPanel15.NormlBack = null;
     this.skinPanel15.Size = new System.Drawing.Size(21, 35);
     this.skinPanel15.TabIndex = 37;
     //
     // skinPanel9
     //
     this.skinPanel9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.skinPanel9.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel9.DownBack = null;
     this.skinPanel9.Location = new System.Drawing.Point(388, 21);
     this.skinPanel9.MouseBack = null;
     this.skinPanel9.Name = "skinPanel9";
     this.skinPanel9.NormlBack = null;
     this.skinPanel9.Size = new System.Drawing.Size(21, 35);
     this.skinPanel9.TabIndex = 36;
     //
     // skinPanel8
     //
     this.skinPanel8.BackColor = System.Drawing.Color.Teal;
     this.skinPanel8.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel8.DownBack = null;
     this.skinPanel8.Location = new System.Drawing.Point(361, 21);
     this.skinPanel8.MouseBack = null;
     this.skinPanel8.Name = "skinPanel8";
     this.skinPanel8.NormlBack = null;
     this.skinPanel8.Size = new System.Drawing.Size(21, 35);
     this.skinPanel8.TabIndex = 35;
     //
     // skinPanel7
     //
     this.skinPanel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.skinPanel7.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel7.DownBack = null;
     this.skinPanel7.Location = new System.Drawing.Point(334, 21);
     this.skinPanel7.MouseBack = null;
     this.skinPanel7.Name = "skinPanel7";
     this.skinPanel7.NormlBack = null;
     this.skinPanel7.Size = new System.Drawing.Size(21, 35);
     this.skinPanel7.TabIndex = 34;
     //
     // skinPanel6
     //
     this.skinPanel6.BackColor = System.Drawing.Color.Teal;
     this.skinPanel6.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel6.DownBack = null;
     this.skinPanel6.Location = new System.Drawing.Point(280, 21);
     this.skinPanel6.MouseBack = null;
     this.skinPanel6.Name = "skinPanel6";
     this.skinPanel6.NormlBack = null;
     this.skinPanel6.Size = new System.Drawing.Size(21, 35);
     this.skinPanel6.TabIndex = 33;
     //
     // skinPanel5
     //
     this.skinPanel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.skinPanel5.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel5.DownBack = null;
     this.skinPanel5.Location = new System.Drawing.Point(307, 21);
     this.skinPanel5.MouseBack = null;
     this.skinPanel5.Name = "skinPanel5";
     this.skinPanel5.NormlBack = null;
     this.skinPanel5.Size = new System.Drawing.Size(21, 35);
     this.skinPanel5.TabIndex = 33;
     //
     // bt_alter
     //
     this.bt_alter.BackColor = System.Drawing.Color.White;
     this.bt_alter.BaseColor = System.Drawing.Color.PowderBlue;
     this.bt_alter.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.bt_alter.DownBack = ((System.Drawing.Image)(resources.GetObject("bt_alter.DownBack")));
     this.bt_alter.FadeGlow = false;
     this.bt_alter.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel);
     this.bt_alter.ForeColor = System.Drawing.Color.White;
     this.bt_alter.Image = ((System.Drawing.Image)(resources.GetObject("bt_alter.Image")));
     this.bt_alter.ImageWidth = 102;
     this.bt_alter.Location = new System.Drawing.Point(280, 470);
     this.bt_alter.MouseBack = ((System.Drawing.Image)(resources.GetObject("bt_alter.MouseBack")));
     this.bt_alter.Name = "bt_alter";
     this.bt_alter.NormlBack = null;
     this.bt_alter.Size = new System.Drawing.Size(102, 23);
     this.bt_alter.TabIndex = 27;
     this.bt_alter.Text = "修  改";
     this.bt_alter.UseVisualStyleBackColor = false;
     this.bt_alter.Click += new System.EventHandler(this.bt_alter_Click);
     //
     // skinPanel4
     //
     this.skinPanel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.skinPanel4.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel4.DownBack = null;
     this.skinPanel4.Location = new System.Drawing.Point(252, 21);
     this.skinPanel4.MouseBack = null;
     this.skinPanel4.Name = "skinPanel4";
     this.skinPanel4.NormlBack = null;
     this.skinPanel4.Size = new System.Drawing.Size(21, 35);
     this.skinPanel4.TabIndex = 32;
     //
     // skinPanel1
     //
     this.skinPanel1.BackColor = System.Drawing.Color.Transparent;
     this.skinPanel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.skinPanel1.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel1.DownBack = null;
     this.skinPanel1.Location = new System.Drawing.Point(227, 37);
     this.skinPanel1.MouseBack = null;
     this.skinPanel1.Name = "skinPanel1";
     this.skinPanel1.NormlBack = null;
     this.skinPanel1.Size = new System.Drawing.Size(16, 480);
     this.skinPanel1.TabIndex = 31;
     //
     // skinLabel9
     //
     this.skinLabel9.AutoSize = true;
     this.skinLabel9.BackColor = System.Drawing.Color.Transparent;
     this.skinLabel9.BorderColor = System.Drawing.Color.White;
     this.skinLabel9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.skinLabel9.Location = new System.Drawing.Point(214, 37);
     this.skinLabel9.Name = "skinLabel9";
     this.skinLabel9.Size = new System.Drawing.Size(0, 20);
     this.skinLabel9.TabIndex = 30;
     this.skinLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // bt_delete
     //
     this.bt_delete.BackColor = System.Drawing.Color.White;
     this.bt_delete.BaseColor = System.Drawing.Color.PowderBlue;
     this.bt_delete.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.bt_delete.DownBack = ((System.Drawing.Image)(resources.GetObject("bt_delete.DownBack")));
     this.bt_delete.FadeGlow = false;
     this.bt_delete.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel);
     this.bt_delete.ForeColor = System.Drawing.Color.White;
     this.bt_delete.Image = ((System.Drawing.Image)(resources.GetObject("bt_delete.Image")));
     this.bt_delete.ImageWidth = 102;
     this.bt_delete.Location = new System.Drawing.Point(579, 470);
     this.bt_delete.MouseBack = ((System.Drawing.Image)(resources.GetObject("bt_delete.MouseBack")));
     this.bt_delete.Name = "bt_delete";
     this.bt_delete.NormlBack = null;
     this.bt_delete.Size = new System.Drawing.Size(102, 23);
     this.bt_delete.TabIndex = 29;
     this.bt_delete.Text = "删除";
     this.bt_delete.UseVisualStyleBackColor = false;
     this.bt_delete.Click += new System.EventHandler(this.bt_delete_Click);
     //
     // bt_confirm
     //
     this.bt_confirm.BackColor = System.Drawing.Color.White;
     this.bt_confirm.BaseColor = System.Drawing.Color.PowderBlue;
     this.bt_confirm.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.bt_confirm.DownBack = ((System.Drawing.Image)(resources.GetObject("bt_confirm.DownBack")));
     this.bt_confirm.FadeGlow = false;
     this.bt_confirm.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel);
     this.bt_confirm.ForeColor = System.Drawing.Color.White;
     this.bt_confirm.Image = ((System.Drawing.Image)(resources.GetObject("bt_confirm.Image")));
     this.bt_confirm.ImageWidth = 102;
     this.bt_confirm.Location = new System.Drawing.Point(426, 470);
     this.bt_confirm.MouseBack = ((System.Drawing.Image)(resources.GetObject("bt_confirm.MouseBack")));
     this.bt_confirm.Name = "bt_confirm";
     this.bt_confirm.NormlBack = null;
     this.bt_confirm.Size = new System.Drawing.Size(102, 23);
     this.bt_confirm.TabIndex = 28;
     this.bt_confirm.Text = "增加";
     this.bt_confirm.UseVisualStyleBackColor = false;
     this.bt_confirm.Click += new System.EventHandler(this.bt_confirm_Click);
     //
     // text_method
     //
     this.text_method.Location = new System.Drawing.Point(332, 400);
     this.text_method.Name = "text_method";
     this.text_method.Size = new System.Drawing.Size(347, 25);
     this.text_method.TabIndex = 26;
     this.text_method.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.text_method.WaterText = "";
     //
     // text_function
     //
     this.text_function.Location = new System.Drawing.Point(332, 146);
     this.text_function.Name = "text_function";
     this.text_function.Size = new System.Drawing.Size(347, 25);
     this.text_function.TabIndex = 25;
     this.text_function.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.text_function.WaterText = "";
     //
     // text_from
     //
     this.text_from.Location = new System.Drawing.Point(332, 116);
     this.text_from.Name = "text_from";
     this.text_from.Size = new System.Drawing.Size(133, 25);
     this.text_from.TabIndex = 24;
     this.text_from.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.text_from.WaterText = "";
     //
     // text_code
     //
     this.text_code.Location = new System.Drawing.Point(566, 83);
     this.text_code.Name = "text_code";
     this.text_code.Size = new System.Drawing.Size(60, 25);
     this.text_code.TabIndex = 23;
     this.text_code.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.text_code.WaterText = "";
     //
     // text_name
     //
     this.text_name.Location = new System.Drawing.Point(332, 83);
     this.text_name.Name = "text_name";
     this.text_name.Size = new System.Drawing.Size(133, 25);
     this.text_name.TabIndex = 22;
     this.text_name.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.text_name.WaterText = "";
     //
     // skinLabel7
     //
     this.skinLabel7.AutoSize = true;
     this.skinLabel7.BackColor = System.Drawing.Color.PowderBlue;
     this.skinLabel7.BorderColor = System.Drawing.Color.White;
     this.skinLabel7.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel7.Location = new System.Drawing.Point(276, 399);
     this.skinLabel7.Name = "skinLabel7";
     this.skinLabel7.Size = new System.Drawing.Size(39, 20);
     this.skinLabel7.TabIndex = 21;
     this.skinLabel7.Text = "方解";
     //
     // skinPanel2
     //
     this.skinPanel2.BackColor = System.Drawing.Color.Transparent;
     this.skinPanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.skinPanel2.Controls.Add(this.text_cure);
     this.skinPanel2.Controls.Add(this.skinLabel8);
     this.skinPanel2.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel2.DownBack = null;
     this.skinPanel2.Location = new System.Drawing.Point(279, 189);
     this.skinPanel2.MouseBack = null;
     this.skinPanel2.Name = "skinPanel2";
     this.skinPanel2.NormlBack = null;
     this.skinPanel2.Size = new System.Drawing.Size(413, 196);
     this.skinPanel2.TabIndex = 20;
     //
     // text_cure
     //
     this.text_cure.BackColor = System.Drawing.SystemColors.ButtonHighlight;
     this.text_cure.Location = new System.Drawing.Point(23, 32);
     this.text_cure.Multiline = true;
     this.text_cure.Name = "text_cure";
     this.text_cure.Size = new System.Drawing.Size(365, 145);
     this.text_cure.TabIndex = 10;
     //
     // skinLabel8
     //
     this.skinLabel8.AutoSize = true;
     this.skinLabel8.BackColor = System.Drawing.Color.PowderBlue;
     this.skinLabel8.BorderColor = System.Drawing.Color.White;
     this.skinLabel8.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel8.Location = new System.Drawing.Point(182, 8);
     this.skinLabel8.Name = "skinLabel8";
     this.skinLabel8.Size = new System.Drawing.Size(39, 20);
     this.skinLabel8.TabIndex = 9;
     this.skinLabel8.Text = "主治";
     //
     // skinLabel6
     //
     this.skinLabel6.AutoSize = true;
     this.skinLabel6.BackColor = System.Drawing.Color.PowderBlue;
     this.skinLabel6.BorderColor = System.Drawing.Color.White;
     this.skinLabel6.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel6.Location = new System.Drawing.Point(276, 144);
     this.skinLabel6.Name = "skinLabel6";
     this.skinLabel6.Size = new System.Drawing.Size(39, 20);
     this.skinLabel6.TabIndex = 19;
     this.skinLabel6.Text = "功效";
     //
     // skinLabel5
     //
     this.skinLabel5.AutoSize = true;
     this.skinLabel5.BackColor = System.Drawing.Color.PowderBlue;
     this.skinLabel5.BorderColor = System.Drawing.Color.White;
     this.skinLabel5.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel5.Location = new System.Drawing.Point(275, 113);
     this.skinLabel5.Name = "skinLabel5";
     this.skinLabel5.Size = new System.Drawing.Size(39, 20);
     this.skinLabel5.TabIndex = 18;
     this.skinLabel5.Text = "出自";
     //
     // skinLabel4
     //
     this.skinLabel4.AutoSize = true;
     this.skinLabel4.BackColor = System.Drawing.Color.PowderBlue;
     this.skinLabel4.BorderColor = System.Drawing.Color.White;
     this.skinLabel4.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel4.Location = new System.Drawing.Point(507, 80);
     this.skinLabel4.Name = "skinLabel4";
     this.skinLabel4.Size = new System.Drawing.Size(39, 20);
     this.skinLabel4.TabIndex = 17;
     this.skinLabel4.Text = "简码";
     //
     // skinLabel3
     //
     this.skinLabel3.AutoSize = true;
     this.skinLabel3.BackColor = System.Drawing.Color.PowderBlue;
     this.skinLabel3.BorderColor = System.Drawing.Color.White;
     this.skinLabel3.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel3.Location = new System.Drawing.Point(274, 81);
     this.skinLabel3.Name = "skinLabel3";
     this.skinLabel3.Size = new System.Drawing.Size(39, 20);
     this.skinLabel3.TabIndex = 16;
     this.skinLabel3.Text = "方名";
     //
     // bt_search
     //
     this.bt_search.BackColor = System.Drawing.Color.Transparent;
     this.bt_search.BaseColor = System.Drawing.Color.PowderBlue;
     this.bt_search.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.bt_search.DownBack = null;
     this.bt_search.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.bt_search.Image = ((System.Drawing.Image)(resources.GetObject("bt_search.Image")));
     this.bt_search.Location = new System.Drawing.Point(184, 50);
     this.bt_search.MouseBack = null;
     this.bt_search.Name = "bt_search";
     this.bt_search.NormlBack = null;
     this.bt_search.Size = new System.Drawing.Size(30, 30);
     this.bt_search.TabIndex = 8;
     this.bt_search.UseVisualStyleBackColor = false;
     this.bt_search.Click += new System.EventHandler(this.bt_search_Click);
     //
     // prescription_management
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.PowderBlue;
     this.CaptionFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.ClientSize = new System.Drawing.Size(786, 574);
     this.CloseDownBack = global::WinForm.Properties.Resources.CloseDownBack;
     this.CloseMouseBack = global::WinForm.Properties.Resources.CloseMouseBack;
     this.CloseNormlBack = global::WinForm.Properties.Resources.CloseNormlBack1;
     this.Controls.Add(this.skinPanel3);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MaxSize = new System.Drawing.Size(0, 0);
     this.MiniDownBack = global::WinForm.Properties.Resources.MiniDownBack;
     this.MiniMouseBack = global::WinForm.Properties.Resources.MiniMouseBack;
     this.MiniNormlBack = global::WinForm.Properties.Resources.MiniNormlBack;
     this.Name = "prescription_management";
     this.ShowBorder = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "验方管理";
     this.Load += new System.EventHandler(this.验方管理_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dGV_recipe)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dGV_drug)).EndInit();
     this.skinPanel3.ResumeLayout(false);
     this.skinPanel3.PerformLayout();
     this.skinPanel2.ResumeLayout(false);
     this.skinPanel2.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #2
0
        private void skinButton3_Click(object sender, EventArgs e)
        {
            /*
             * bool sex = false;
             *
             * sql = string.Format("SELECT * FROM student WHERE name = '{0}' and age >= {1} and age <= {2} and sex = '{3}' and height >= {4} and height <= {5} and weight >= {6} and weight <= {7}",
             *  nameTextBox.Text,
             *  ageLeastTextBox.Text,
             *  ageMostTextBox.Text,
             *  sex.ToString(),
             *  heightLeastTextBox.Text,
             *  heightMostTextBox.Text,
             *  weightLeastTextBox.Text,
             *  weightMostTextBox.Text
             *  );
             *
             * if (nameTextBox.Text == "")
             *  sql = sql.Replace(" name = '' and", "");
             * if (ageLeastTextBox.Text == "")
             *  sql = sql.Replace(" age >=  and", "");
             * if (ageMostTextBox.Text == "")
             *  sql = sql.Replace(" age <=  and", "");
             * if (maleRadioButton.Checked)
             *  sql = sql.Replace("sex = 'False'", "sex = 'True'");
             * if (allRadioButton.Checked)
             *  sql = sql.Replace(" sex = 'False' and", "");
             * if (heightLeastTextBox.Text == "")
             *  sql = sql.Replace(" height >=  and", "");
             * if (heightMostTextBox.Text == "")
             *  sql = sql.Replace(" height <=  and", "");
             * if (weightLeastTextBox.Text == "")
             *  sql = sql.Replace(" weight >=  and", "");
             * if (weightMostTextBox.Text == "")
             *  sql = sql.Replace(" weight <= ", "");
             * if (sql == "SELECT * FROM student WHERE")
             *  sql = sql.Replace(" WHERE", "");
             * if (sql.EndsWith(" and"))
             *  sql = sql.Remove(sql.Count() - 4);
             *
             * //MessageBox.Show(sql);
             *
             * if (myCon.State == ConnectionState.Open)
             * {
             *  myda = new SqlDataAdapter(sql, con);
             *  DataSet myds = new DataSet();
             *  myda.Fill(myds, "student");
             *  skinDataGridView1.DataSource = myds.Tables["student"];
             * }
             */
            SQL.Select sqlSearch;

            if (TBComboBox.SelectedItem != null)
            {
                sqlSearch = SQL.SELECT("*").From(TBComboBox.SelectedItem.ToString());
            }
            else
            {
                MessageBox.Show("没有表,呵呵哒!");
                return;
            }
            for (int box = 0; box < skinGroupBox3.Controls.Count; box++)
            {
                if (skinGroupBox3.Controls[box].GetType() == typeof(CCWin.SkinControl.SkinWaterTextBox))
                {
                    CCWin.SkinControl.SkinWaterTextBox gbox = (CCWin.SkinControl.SkinWaterTextBox)skinGroupBox3.Controls[box];
                    string name = gbox.Name.Remove(gbox.Name.Length - 8);

                    if (gbox.Text != "" && gbox.WaterText == "System.String")
                    {
                        string searchData = "'" + gbox.Text.ToString() + "'";
                        name = name + " = ?";
                        if (box == 0)
                        {
                            sqlSearch.Where(name, searchData);
                        }
                        else
                        {
                            sqlSearch.And(name, searchData);
                        }
                    }
                    else if (gbox.Text != "" && (gbox.WaterText == "System.Double" || gbox.WaterText == "System.Int32"))
                    {
                        string searchData = gbox.Text.ToString();
                        if (gbox.Name.EndsWith("1"))
                        {
                            name = name + " >= ?";
                            if (box == 0)
                            {
                                sqlSearch.Where(name, searchData);
                            }
                            else
                            {
                                sqlSearch.And(name, searchData);
                            }
                        }
                        else if (gbox.Name.EndsWith("2"))
                        {
                            name = name + " <= ?";
                            if (box == 0)
                            {
                                sqlSearch.Where(name, searchData);
                            }
                            else
                            {
                                sqlSearch.And(name, searchData);
                            }
                        }
                    }
                }

                if (skinGroupBox3.Controls[box].GetType() == typeof(CCWin.SkinControl.SkinGroupBox))
                {
                    CCWin.SkinControl.SkinGroupBox boolGbox = (CCWin.SkinControl.SkinGroupBox)skinGroupBox3.Controls[box];
                    string boolName = boolGbox.Text + " = ?";
                    foreach (CCWin.SkinControl.SkinRadioButton radioBtn in boolGbox.Controls)
                    {
                        string searchData = "'" + radioBtn.Name.ToString() + "'";
                        if (radioBtn.Checked == true && radioBtn.Name != "All")
                        {
                            if (box == 0)
                            {
                                sqlSearch.Where(boolName, searchData);
                            }
                            else
                            {
                                sqlSearch.And(boolName, searchData);
                            }
                        }
                        else
                        {
                        }
                    }
                }

                if (skinGroupBox3.Controls[box].GetType() == typeof(CCWin.SkinControl.SkinDateTimePicker) && skinGroupBox3.Controls[box].Text != "")
                {
                    CCWin.SkinControl.SkinDateTimePicker dtBox = (CCWin.SkinControl.SkinDateTimePicker)skinGroupBox3.Controls[box];
                    string dtName     = dtBox.Name + " = ?";
                    string searchData = "'" + dtBox.Text + "'";
                    if (box == 0)
                    {
                        sqlSearch.Where(dtName, searchData);
                    }
                    else
                    {
                        sqlSearch.And(dtName, searchData);
                    }
                }
            }
            Command cmdSearch = sqlSearch.toCommand();

            //  MessageBox.Show(cmdSearch.getStatement()); //DEBUG

            if (myCon.State == ConnectionState.Open)
            {
                myda = new SqlDataAdapter(cmdSearch.getStatement(), con);
                DataSet myds = new DataSet();
                myda.Fill(myds, TBComboBox.SelectedItem.ToString());
                skinDataGridView1.DataSource = myds.Tables[TBComboBox.SelectedItem.ToString()];
            }
        }
예제 #3
0
        // 连接数据库, 刷新条件查询控件
        private void skinButton1_Click(object sender, EventArgs e)
        {
            if (TBComboBox.SelectedItem != null)
            {
                sql = string.Format("SELECT * from {0}", TBComboBox.SelectedItem.ToString());
            }
            else
            {
                MessageBox.Show("没有表,连接失败,呵呵哒!");
                return;
            }

            skinGroupBox3.Controls.Clear();

            if (myCon.State == ConnectionState.Open)
            {
                myda = new SqlDataAdapter(sql, con);
                DataSet myds = new DataSet();

                //   SqlCommand cmdToTables = new SqlCommand("SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE'", myCon);
                //    SqlDataReader dr = cmdToTables.ExecuteReader();
                //    ArrayList TBList = new ArrayList();

                //    while (dr.Read())
                //    {
                //        TBList.Add(dr.GetString(0));
                //    }
                //    Array TBArray = TBList.ToArray();
                //    TBComboBox.DataSource = TBList;

                myda.Fill(myds, TBArray.GetValue(0).ToString());
                skinDataGridView1.DataSource = myds.Tables[TBArray.GetValue(0).ToString()];


                closeCommand             = myCon.CreateCommand();
                closeCommand.CommandType = CommandType.Text;

                orids = new DataSet();
                myda.Fill(orids, TBArray.GetValue(0).ToString());
                for (int i = 0; i < orids.Tables[TBArray.GetValue(0).ToString()].Rows.Count; i++)
                {
                    oriList.Add(orids.Tables[TBArray.GetValue(0).ToString()].Rows[i].ItemArray[0].ToString());
                }

                int basicX = 16, basicY = 44;

                for (int col = 0; col < skinDataGridView1.Columns.Count; col++)
                {
                    //  MessageBox.Show(skinDataGridView1.Columns[col].ValueType.ToString());     // 显示每一列的type
                    int autoTitleWidth = skinDataGridView1.Columns[col].Name.Length * (int)skinDataGridView1.HeadFont.SizeInPoints;
                    if (skinDataGridView1.Columns[col].Width < autoTitleWidth)
                    {
                        skinDataGridView1.Columns[col].Width = autoTitleWidth;
                    }
                    Color c = Color.FromArgb(100, 255, 255, 255);
                    switch (skinDataGridView1.Columns[col].ValueType.ToString())
                    {
                    case "System.String":
                        #region System.String
                        CCWin.SkinControl.SkinLabel labelN = new CCWin.SkinControl.SkinLabel();
                        labelN.Name      = skinDataGridView1.Columns[col].Name;
                        labelN.Font      = new System.Drawing.Font("微软雅黑", 12, FontStyle.Regular);
                        labelN.TextAlign = ContentAlignment.MiddleLeft;
                        labelN.Location  = new Point(basicX, basicY * (col + 1));
                        labelN.Text      = skinDataGridView1.Columns[col].Name;
                        labelN.AutoSize  = true;
                        skinGroupBox3.Controls.Add(labelN);

                        CCWin.SkinControl.SkinWaterTextBox textBoxN = new CCWin.SkinControl.SkinWaterTextBox();
                        textBoxN.Name       = skinDataGridView1.Columns[col].Name + "TextBoxN";
                        textBoxN.Font       = new System.Drawing.Font("微软雅黑", 12, FontStyle.Regular);
                        textBoxN.TextAlign  = HorizontalAlignment.Left;
                        textBoxN.Location   = new Point(labelN.Location.X + labelN.Size.Width, labelN.Location.Y);
                        textBoxN.WaterColor = c;
                        textBoxN.WaterText  = skinDataGridView1.Columns[col].ValueType.ToString();
                        skinGroupBox3.Controls.Add(textBoxN);
                        #endregion
                        break;

                    case "System.Int32":
                        #region System.Int32
                        CCWin.SkinControl.SkinLabel labelINT = new CCWin.SkinControl.SkinLabel();
                        labelINT.Name      = skinDataGridView1.Columns[col].Name;
                        labelINT.Font      = new System.Drawing.Font("微软雅黑", 12, FontStyle.Regular);
                        labelINT.TextAlign = ContentAlignment.MiddleLeft;
                        labelINT.Location  = new Point(basicX, basicY * (col + 1));
                        labelINT.Text      = skinDataGridView1.Columns[col].Name;
                        labelINT.AutoSize  = true;
                        skinGroupBox3.Controls.Add(labelINT);

                        CCWin.SkinControl.SkinWaterTextBox textBoxINT1 = new CCWin.SkinControl.SkinWaterTextBox();
                        textBoxINT1.AutoSize   = false;
                        textBoxINT1.Size       = new System.Drawing.Size(50, labelINT.Size.Height);
                        textBoxINT1.Name       = skinDataGridView1.Columns[col].Name + "TextBox1";
                        textBoxINT1.Font       = new System.Drawing.Font("微软雅黑", 12, FontStyle.Regular);
                        textBoxINT1.TextAlign  = HorizontalAlignment.Left;
                        textBoxINT1.Location   = new Point(labelINT.Location.X + labelINT.Size.Width, labelINT.Location.Y);
                        textBoxINT1.WaterColor = c;
                        textBoxINT1.WaterText  = skinDataGridView1.Columns[col].ValueType.ToString();
                        textBoxINT1.KeyPress  += new KeyPressEventHandler(textBox_Validating);
                        skinGroupBox3.Controls.Add(textBoxINT1);

                        CCWin.SkinControl.SkinLabel labelINTtag = new CCWin.SkinControl.SkinLabel();
                        labelINTtag.AutoSize  = false;
                        labelINTtag.Size      = new System.Drawing.Size(20, labelINT.Size.Height);
                        labelINTtag.Name      = "tag";
                        labelINTtag.Font      = new System.Drawing.Font("微软雅黑", 14, FontStyle.Regular);
                        labelINTtag.TextAlign = ContentAlignment.MiddleLeft;
                        labelINTtag.Location  = new Point(textBoxINT1.Location.X + textBoxINT1.Size.Width, labelINT.Location.Y);
                        labelINTtag.Text      = "~";
                        skinGroupBox3.Controls.Add(labelINTtag);

                        CCWin.SkinControl.SkinWaterTextBox textBoxINT2 = new CCWin.SkinControl.SkinWaterTextBox();
                        textBoxINT2.AutoSize   = false;
                        textBoxINT2.Size       = new System.Drawing.Size(50, labelINT.Size.Height);
                        textBoxINT2.Name       = skinDataGridView1.Columns[col].Name + "TextBox2";
                        textBoxINT2.Font       = new System.Drawing.Font("微软雅黑", 12, FontStyle.Regular);
                        textBoxINT2.TextAlign  = HorizontalAlignment.Left;
                        textBoxINT2.Location   = new Point(labelINTtag.Location.X + labelINTtag.Size.Width, labelINTtag.Location.Y);
                        textBoxINT2.WaterColor = c;
                        textBoxINT2.WaterText  = skinDataGridView1.Columns[col].ValueType.ToString();
                        textBoxINT2.KeyPress  += new KeyPressEventHandler(textBox_Validating);
                        skinGroupBox3.Controls.Add(textBoxINT2);
                        #endregion
                        break;

                    case "System.Boolean":
                        #region System.Boolean
                        CCWin.SkinControl.SkinGroupBox groupBox = new CCWin.SkinControl.SkinGroupBox();
                        groupBox.AutoSize = false;
                        groupBox.Size     = new System.Drawing.Size(285, basicY);
                        groupBox.Location = new Point(basicX, basicY * (col + 1));
                        groupBox.Text     = skinDataGridView1.Columns[col].Name;
                        skinGroupBox3.Controls.Add(groupBox);

                        CCWin.SkinControl.SkinRadioButton radioBtnTrue = new CCWin.SkinControl.SkinRadioButton();
                        radioBtnTrue.AutoSize = false;
                        radioBtnTrue.Name     = "True";
                        radioBtnTrue.Size     = new System.Drawing.Size(50, 20);
                        radioBtnTrue.Font     = new System.Drawing.Font("微软雅黑", 9, FontStyle.Regular);
                        radioBtnTrue.Location = new Point(55, 20);
                        if (groupBox.Text == "sex")
                        {
                            radioBtnTrue.Text = "男";
                        }
                        else
                        {
                            radioBtnTrue.Text = "True";
                        }
                        groupBox.Controls.Add(radioBtnTrue);

                        CCWin.SkinControl.SkinRadioButton radioBtnFalse = new CCWin.SkinControl.SkinRadioButton();
                        radioBtnFalse.AutoSize = false;
                        radioBtnFalse.Name     = "False";
                        radioBtnFalse.Size     = new System.Drawing.Size(50, 20);
                        radioBtnFalse.Font     = new System.Drawing.Font("微软雅黑", 9, FontStyle.Regular);
                        radioBtnFalse.Location = new Point(135, 20);
                        if (groupBox.Text == "sex")
                        {
                            radioBtnFalse.Text = "女";
                        }
                        else
                        {
                            radioBtnFalse.Text = "False";
                        }
                        groupBox.Controls.Add(radioBtnFalse);

                        CCWin.SkinControl.SkinRadioButton radioBtnAll = new CCWin.SkinControl.SkinRadioButton();
                        radioBtnAll.AutoSize = false;
                        radioBtnAll.Name     = "All";
                        radioBtnAll.Size     = new System.Drawing.Size(50, 20);
                        radioBtnAll.Font     = new System.Drawing.Font("微软雅黑", 9, FontStyle.Regular);
                        radioBtnAll.Location = new Point(215, 20);
                        radioBtnAll.Text     = "ALL";
                        groupBox.Controls.Add(radioBtnAll);
                        #endregion
                        break;

                    case "System.Double":
                        #region System.Double
                        CCWin.SkinControl.SkinLabel labelDouble = new CCWin.SkinControl.SkinLabel();
                        labelDouble.Name      = skinDataGridView1.Columns[col].Name;
                        labelDouble.Font      = new System.Drawing.Font("微软雅黑", 12, FontStyle.Regular);
                        labelDouble.TextAlign = ContentAlignment.MiddleLeft;
                        labelDouble.Location  = new Point(basicX, basicY * (col + 1));
                        labelDouble.Text      = skinDataGridView1.Columns[col].Name;
                        labelDouble.AutoSize  = true;
                        skinGroupBox3.Controls.Add(labelDouble);

                        CCWin.SkinControl.SkinWaterTextBox textBoxDouble1 = new CCWin.SkinControl.SkinWaterTextBox();
                        textBoxDouble1.AutoSize   = false;
                        textBoxDouble1.Size       = new System.Drawing.Size(50, labelDouble.Size.Height);
                        textBoxDouble1.Name       = skinDataGridView1.Columns[col].Name + "TextBox1";
                        textBoxDouble1.Font       = new System.Drawing.Font("微软雅黑", 12, FontStyle.Regular);
                        textBoxDouble1.TextAlign  = HorizontalAlignment.Left;
                        textBoxDouble1.Location   = new Point(labelDouble.Location.X + labelDouble.Size.Width, labelDouble.Location.Y);
                        textBoxDouble1.WaterColor = c;
                        textBoxDouble1.WaterText  = skinDataGridView1.Columns[col].ValueType.ToString();
                        textBoxDouble1.KeyPress  += new KeyPressEventHandler(double_Validating);
                        skinGroupBox3.Controls.Add(textBoxDouble1);

                        CCWin.SkinControl.SkinLabel labelDoubletag = new CCWin.SkinControl.SkinLabel();
                        labelDoubletag.AutoSize  = false;
                        labelDoubletag.Size      = new System.Drawing.Size(20, labelDouble.Size.Height);
                        labelDoubletag.Name      = "tag";
                        labelDoubletag.Font      = new System.Drawing.Font("微软雅黑", 14, FontStyle.Regular);
                        labelDoubletag.TextAlign = ContentAlignment.MiddleLeft;
                        labelDoubletag.Location  = new Point(textBoxDouble1.Location.X + textBoxDouble1.Size.Width, textBoxDouble1.Location.Y);
                        labelDoubletag.Text      = "~";
                        skinGroupBox3.Controls.Add(labelDoubletag);

                        CCWin.SkinControl.SkinWaterTextBox textBoxDouble2 = new CCWin.SkinControl.SkinWaterTextBox();
                        textBoxDouble2.AutoSize   = false;
                        textBoxDouble2.Size       = new System.Drawing.Size(50, labelDouble.Size.Height);
                        textBoxDouble2.Name       = skinDataGridView1.Columns[col].Name + "TextBox2";
                        textBoxDouble2.Font       = new System.Drawing.Font("微软雅黑", 12, FontStyle.Regular);
                        textBoxDouble2.TextAlign  = HorizontalAlignment.Left;
                        textBoxDouble2.Location   = new Point(labelDoubletag.Location.X + labelDoubletag.Size.Width, labelDoubletag.Location.Y);
                        textBoxDouble2.WaterColor = c;
                        textBoxDouble2.WaterText  = skinDataGridView1.Columns[col].ValueType.ToString();
                        textBoxDouble2.KeyPress  += new KeyPressEventHandler(double_Validating);
                        skinGroupBox3.Controls.Add(textBoxDouble2);
                        #endregion
                        break;

                    case "System.DateTime":
                        #region  System.DateTime
                        CCWin.SkinControl.SkinLabel labelTime = new CCWin.SkinControl.SkinLabel();
                        labelTime.Name      = skinDataGridView1.Columns[col].Name;
                        labelTime.Font      = new System.Drawing.Font("微软雅黑", 12, FontStyle.Regular);
                        labelTime.TextAlign = ContentAlignment.MiddleLeft;
                        labelTime.Location  = new Point(basicX, basicY * (col + 1));
                        labelTime.Text      = skinDataGridView1.Columns[col].Name;
                        labelTime.AutoSize  = true;
                        skinGroupBox3.Controls.Add(labelTime);

                        CCWin.SkinControl.SkinDateTimePicker dtPicker = new CCWin.SkinControl.SkinDateTimePicker();
                        dtPicker.Text = "";
                        dtPicker.font = new System.Drawing.Font("微软雅黑", 12, FontStyle.Bold);
                        dtPicker.Name = skinDataGridView1.Columns[col].Name;
                        skinGroupBox3.Controls.Add(dtPicker);
                        dtPicker.Location = new Point(labelTime.Location.X + labelTime.Width, labelTime.Location.Y);
                        #endregion
                        break;
                    }
                }
            }

            skinButton3.Enabled = true;
            skinButton2.Enabled = true;
        }
예제 #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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(drugs_management));
     this.skinPanel1 = new CCWin.SkinControl.SkinPanel();
     this.btn_delete = new CCWin.SkinControl.SkinButton();
     this.tx_count = new CCWin.SkinControl.SkinWaterTextBox();
     this.tb_count = new CCWin.SkinControl.SkinWaterTextBox();
     this.tx_search = new CCWin.SkinControl.SkinWaterTextBox();
     this.btn_search = new CCWin.SkinControl.SkinButton();
     this.skinLabel4 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel3 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel2 = new CCWin.SkinControl.SkinLabel();
     this.drugs_dvg = new System.Windows.Forms.DataGridView();
     this.skinLabel1 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel5 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel6 = new CCWin.SkinControl.SkinLabel();
     this.button3 = new System.Windows.Forms.Button();
     this.button1 = new System.Windows.Forms.Button();
     this.btn_export = new CCWin.SkinControl.SkinButton();
     this.sfdlgBackup = new System.Windows.Forms.SaveFileDialog();
     this.skinPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.drugs_dvg)).BeginInit();
     this.SuspendLayout();
     //
     // skinPanel1
     //
     this.skinPanel1.BackColor = System.Drawing.Color.White;
     this.skinPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.skinPanel1.Controls.Add(this.btn_export);
     this.skinPanel1.Controls.Add(this.btn_delete);
     this.skinPanel1.Controls.Add(this.tx_count);
     this.skinPanel1.Controls.Add(this.tb_count);
     this.skinPanel1.Controls.Add(this.tx_search);
     this.skinPanel1.Controls.Add(this.btn_search);
     this.skinPanel1.Controls.Add(this.skinLabel4);
     this.skinPanel1.Controls.Add(this.skinLabel3);
     this.skinPanel1.Controls.Add(this.skinLabel2);
     this.skinPanel1.Controls.Add(this.drugs_dvg);
     this.skinPanel1.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel1.DownBack = null;
     this.skinPanel1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.skinPanel1.Location = new System.Drawing.Point(26, 150);
     this.skinPanel1.MouseBack = null;
     this.skinPanel1.Name = "skinPanel1";
     this.skinPanel1.NormlBack = null;
     this.skinPanel1.Size = new System.Drawing.Size(755, 444);
     this.skinPanel1.TabIndex = 1;
     this.skinPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.skinPanel1_Paint);
     //
     // btn_delete
     //
     this.btn_delete.BackColor = System.Drawing.Color.Transparent;
     this.btn_delete.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_delete.BackgroundImage")));
     this.btn_delete.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.btn_delete.BaseColor = System.Drawing.Color.PowderBlue;
     this.btn_delete.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.btn_delete.DownBack = null;
     this.btn_delete.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.btn_delete.Font = new System.Drawing.Font("微软雅黑", 17F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel);
     this.btn_delete.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.btn_delete.Location = new System.Drawing.Point(629, 408);
     this.btn_delete.MouseBack = ((System.Drawing.Image)(resources.GetObject("btn_delete.MouseBack")));
     this.btn_delete.Name = "btn_delete";
     this.btn_delete.NormlBack = ((System.Drawing.Image)(resources.GetObject("btn_delete.NormlBack")));
     this.btn_delete.Size = new System.Drawing.Size(78, 31);
     this.btn_delete.TabIndex = 29;
     this.btn_delete.Text = "删除";
     this.btn_delete.UseVisualStyleBackColor = false;
     this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click_1);
     //
     // tx_count
     //
     this.tx_count.Location = new System.Drawing.Point(543, 44);
     this.tx_count.Name = "tx_count";
     this.tx_count.ReadOnly = true;
     this.tx_count.Size = new System.Drawing.Size(100, 25);
     this.tx_count.TabIndex = 10;
     this.tx_count.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.tx_count.WaterText = "";
     //
     // tb_count
     //
     this.tb_count.Enabled = false;
     this.tb_count.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.tb_count.Location = new System.Drawing.Point(312, 44);
     this.tb_count.Name = "tb_count";
     this.tb_count.ReadOnly = true;
     this.tb_count.Size = new System.Drawing.Size(100, 27);
     this.tb_count.TabIndex = 9;
     this.tb_count.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.tb_count.WaterText = "";
     //
     // tx_search
     //
     this.tx_search.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.tx_search.Location = new System.Drawing.Point(69, 89);
     this.tx_search.Name = "tx_search";
     this.tx_search.Size = new System.Drawing.Size(84, 27);
     this.tx_search.TabIndex = 8;
     this.tx_search.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.tx_search.WaterText = "";
     //
     // btn_search
     //
     this.btn_search.BackColor = System.Drawing.Color.Transparent;
     this.btn_search.BaseColor = System.Drawing.Color.PowderBlue;
     this.btn_search.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.btn_search.DownBack = null;
     this.btn_search.Image = ((System.Drawing.Image)(resources.GetObject("btn_search.Image")));
     this.btn_search.Location = new System.Drawing.Point(159, 86);
     this.btn_search.MouseBack = null;
     this.btn_search.Name = "btn_search";
     this.btn_search.NormlBack = null;
     this.btn_search.Size = new System.Drawing.Size(30, 30);
     this.btn_search.TabIndex = 7;
     this.btn_search.UseVisualStyleBackColor = false;
     this.btn_search.Click += new System.EventHandler(this.btn_search_Click);
     //
     // skinLabel4
     //
     this.skinLabel4.AutoSize = true;
     this.skinLabel4.BackColor = System.Drawing.Color.Transparent;
     this.skinLabel4.BorderColor = System.Drawing.Color.White;
     this.skinLabel4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.skinLabel4.Location = new System.Drawing.Point(4, 92);
     this.skinLabel4.Name = "skinLabel4";
     this.skinLabel4.Size = new System.Drawing.Size(69, 20);
     this.skinLabel4.TabIndex = 5;
     this.skinLabel4.Text = "药品查询";
     this.skinLabel4.UseMnemonic = false;
     //
     // skinLabel3
     //
     this.skinLabel3.AutoSize = true;
     this.skinLabel3.BackColor = System.Drawing.Color.PowderBlue;
     this.skinLabel3.BorderColor = System.Drawing.Color.White;
     this.skinLabel3.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel3.Location = new System.Drawing.Point(450, 45);
     this.skinLabel3.Name = "skinLabel3";
     this.skinLabel3.Size = new System.Drawing.Size(84, 20);
     this.skinLabel3.TabIndex = 3;
     this.skinLabel3.Text = "库存总量:";
     this.skinLabel3.UseMnemonic = false;
     //
     // skinLabel2
     //
     this.skinLabel2.AutoSize = true;
     this.skinLabel2.BackColor = System.Drawing.Color.PowderBlue;
     this.skinLabel2.BorderColor = System.Drawing.Color.White;
     this.skinLabel2.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel2.Location = new System.Drawing.Point(202, 45);
     this.skinLabel2.Name = "skinLabel2";
     this.skinLabel2.Size = new System.Drawing.Size(99, 20);
     this.skinLabel2.TabIndex = 1;
     this.skinLabel2.Text = "库存药种类:";
     this.skinLabel2.UseMnemonic = false;
     //
     // drugs_dvg
     //
     this.drugs_dvg.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
     this.drugs_dvg.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.drugs_dvg.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.drugs_dvg.Cursor = System.Windows.Forms.Cursors.Arrow;
     this.drugs_dvg.Location = new System.Drawing.Point(205, 82);
     this.drugs_dvg.Name = "drugs_dvg";
     this.drugs_dvg.RowHeadersVisible = false;
     this.drugs_dvg.RowTemplate.Height = 23;
     this.drugs_dvg.Size = new System.Drawing.Size(507, 320);
     this.drugs_dvg.TabIndex = 0;
     this.drugs_dvg.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.drugs_dvg_CellMouseClick);
     //
     // skinLabel1
     //
     this.skinLabel1.AutoSize = true;
     this.skinLabel1.BackColor = System.Drawing.Color.Transparent;
     this.skinLabel1.BorderColor = System.Drawing.Color.White;
     this.skinLabel1.Font = new System.Drawing.Font("微软雅黑", 22F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel1.Location = new System.Drawing.Point(346, 97);
     this.skinLabel1.Name = "skinLabel1";
     this.skinLabel1.Size = new System.Drawing.Size(186, 30);
     this.skinLabel1.TabIndex = 7;
     this.skinLabel1.Text = "药 材 库 存 状 况";
     //
     // skinLabel5
     //
     this.skinLabel5.AutoSize = true;
     this.skinLabel5.BackColor = System.Drawing.Color.Transparent;
     this.skinLabel5.BorderColor = System.Drawing.Color.White;
     this.skinLabel5.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel5.Location = new System.Drawing.Point(40, 123);
     this.skinLabel5.Name = "skinLabel5";
     this.skinLabel5.Size = new System.Drawing.Size(69, 20);
     this.skinLabel5.TabIndex = 10;
     this.skinLabel5.Text = "库存状况";
     //
     // skinLabel6
     //
     this.skinLabel6.AutoSize = true;
     this.skinLabel6.BackColor = System.Drawing.Color.Transparent;
     this.skinLabel6.BorderColor = System.Drawing.Color.White;
     this.skinLabel6.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel6.Location = new System.Drawing.Point(154, 122);
     this.skinLabel6.Name = "skinLabel6";
     this.skinLabel6.Size = new System.Drawing.Size(69, 20);
     this.skinLabel6.TabIndex = 11;
     this.skinLabel6.Text = "药品进货";
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.Color.PowderBlue;
     this.button3.Font = new System.Drawing.Font("微软雅黑", 11F);
     this.button3.Image = ((System.Drawing.Image)(resources.GetObject("button3.Image")));
     this.button3.Location = new System.Drawing.Point(141, 29);
     this.button3.Name = "button3";
     this.button3.Size = new System.Drawing.Size(95, 108);
     this.button3.TabIndex = 9;
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.PowderBlue;
     this.button1.Font = new System.Drawing.Font("微软雅黑", 11F);
     this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
     this.button1.Location = new System.Drawing.Point(26, 29);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(95, 108);
     this.button1.TabIndex = 2;
     this.button1.UseVisualStyleBackColor = false;
     //
     // btn_export
     //
     this.btn_export.BackColor = System.Drawing.Color.Transparent;
     this.btn_export.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_export.BackgroundImage")));
     this.btn_export.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.btn_export.BaseColor = System.Drawing.Color.PowderBlue;
     this.btn_export.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.btn_export.DownBack = null;
     this.btn_export.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.btn_export.Font = new System.Drawing.Font("微软雅黑", 17F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel);
     this.btn_export.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.btn_export.Location = new System.Drawing.Point(524, 408);
     this.btn_export.MouseBack = ((System.Drawing.Image)(resources.GetObject("btn_export.MouseBack")));
     this.btn_export.Name = "btn_export";
     this.btn_export.NormlBack = ((System.Drawing.Image)(resources.GetObject("btn_export.NormlBack")));
     this.btn_export.Size = new System.Drawing.Size(78, 31);
     this.btn_export.TabIndex = 30;
     this.btn_export.Text = "导出";
     this.btn_export.UseVisualStyleBackColor = false;
     this.btn_export.Click += new System.EventHandler(this.btn_export_Click);
     //
     // drugs_management
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.PowderBlue;
     this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.CaptionFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.ClientSize = new System.Drawing.Size(818, 619);
     this.CloseNormlBack = global::WinForm.Properties.Resources.CloseNormlBack1;
     this.Controls.Add(this.skinLabel6);
     this.Controls.Add(this.skinLabel5);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.skinLabel1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.skinPanel1);
     this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MaxSize = new System.Drawing.Size(0, 0);
     this.MiniNormlBack = global::WinForm.Properties.Resources.MiniNormlBack;
     this.Name = "drugs_management";
     this.ShowBorder = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "药品管理";
     this.Load += new System.EventHandler(this.drugs_management_Load);
     this.skinPanel1.ResumeLayout(false);
     this.skinPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.drugs_dvg)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #5
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(RegisterUI));
     this.skinPanel1 = new CCWin.SkinControl.SkinPanel();
     this.back_btn = new CCWin.SkinControl.SkinButton();
     this.register_btn = new CCWin.SkinControl.SkinButton();
     this.skinLabel7 = new CCWin.SkinControl.SkinLabel();
     this.gender_cb = new CCWin.SkinControl.SkinComboBox();
     this.skinLabel6 = new CCWin.SkinControl.SkinLabel();
     this.address_txb = new CCWin.SkinControl.SkinWaterTextBox();
     this.skinLabel5 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel4 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel3 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel2 = new CCWin.SkinControl.SkinLabel();
     this.skinLabel1 = new CCWin.SkinControl.SkinLabel();
     this.idcard_txb = new CCWin.SkinControl.SkinWaterTextBox();
     this.passwd_txb_1 = new CCWin.SkinControl.SkinWaterTextBox();
     this.name_txb = new CCWin.SkinControl.SkinWaterTextBox();
     this.passwd_txb_2 = new CCWin.SkinControl.SkinWaterTextBox();
     this.kebie_txb = new CCWin.SkinControl.SkinWaterTextBox();
     this.skinLabel8 = new CCWin.SkinControl.SkinLabel();
     this.skinPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // skinPanel1
     //
     this.skinPanel1.BackColor = System.Drawing.Color.Transparent;
     this.skinPanel1.BackgroundImage = global::WinForm.Properties.Resources.p2;
     this.skinPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.skinPanel1.Controls.Add(this.back_btn);
     this.skinPanel1.Controls.Add(this.register_btn);
     this.skinPanel1.Controls.Add(this.skinLabel7);
     this.skinPanel1.Controls.Add(this.gender_cb);
     this.skinPanel1.Controls.Add(this.skinLabel6);
     this.skinPanel1.Controls.Add(this.address_txb);
     this.skinPanel1.Controls.Add(this.skinLabel5);
     this.skinPanel1.Controls.Add(this.skinLabel4);
     this.skinPanel1.Controls.Add(this.skinLabel3);
     this.skinPanel1.Controls.Add(this.skinLabel2);
     this.skinPanel1.Controls.Add(this.skinLabel1);
     this.skinPanel1.Controls.Add(this.idcard_txb);
     this.skinPanel1.Controls.Add(this.passwd_txb_1);
     this.skinPanel1.Controls.Add(this.name_txb);
     this.skinPanel1.Controls.Add(this.passwd_txb_2);
     this.skinPanel1.Controls.Add(this.kebie_txb);
     this.skinPanel1.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel1.DownBack = null;
     this.skinPanel1.Location = new System.Drawing.Point(64, 124);
     this.skinPanel1.MouseBack = null;
     this.skinPanel1.Name = "skinPanel1";
     this.skinPanel1.NormlBack = null;
     this.skinPanel1.Size = new System.Drawing.Size(321, 343);
     this.skinPanel1.TabIndex = 0;
     //
     // back_btn
     //
     this.back_btn.BackColor = System.Drawing.Color.Transparent;
     this.back_btn.BackgroundImage = global::WinForm.Properties.Resources.blue_btn_move;
     this.back_btn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.back_btn.BaseColor = System.Drawing.Color.Silver;
     this.back_btn.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.back_btn.DownBack = null;
     this.back_btn.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.back_btn.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.back_btn.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.back_btn.Location = new System.Drawing.Point(179, 273);
     this.back_btn.MouseBack = global::WinForm.Properties.Resources.blue_btn_normal;
     this.back_btn.Name = "back_btn";
     this.back_btn.NormlBack = global::WinForm.Properties.Resources.blue_btn_move;
     this.back_btn.Size = new System.Drawing.Size(78, 36);
     this.back_btn.TabIndex = 15;
     this.back_btn.Text = "返回";
     this.back_btn.UseVisualStyleBackColor = false;
     this.back_btn.Click += new System.EventHandler(this.back_btn_Click);
     //
     // register_btn
     //
     this.register_btn.BackColor = System.Drawing.Color.Transparent;
     this.register_btn.BackgroundImage = global::WinForm.Properties.Resources.blue_btn_move;
     this.register_btn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.register_btn.BaseColor = System.Drawing.Color.Silver;
     this.register_btn.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.register_btn.DownBack = null;
     this.register_btn.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.register_btn.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.register_btn.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.register_btn.Location = new System.Drawing.Point(69, 273);
     this.register_btn.MouseBack = global::WinForm.Properties.Resources.blue_btn_normal;
     this.register_btn.Name = "register_btn";
     this.register_btn.NormlBack = global::WinForm.Properties.Resources.blue_btn_move;
     this.register_btn.Size = new System.Drawing.Size(78, 36);
     this.register_btn.TabIndex = 14;
     this.register_btn.Text = "注册";
     this.register_btn.UseVisualStyleBackColor = false;
     this.register_btn.Click += new System.EventHandler(this.register_btn_Click);
     //
     // skinLabel7
     //
     this.skinLabel7.AutoSize = true;
     this.skinLabel7.BackColor = System.Drawing.Color.LightSlateGray;
     this.skinLabel7.BorderColor = System.Drawing.Color.White;
     this.skinLabel7.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel7.Location = new System.Drawing.Point(54, 223);
     this.skinLabel7.Name = "skinLabel7";
     this.skinLabel7.Size = new System.Drawing.Size(94, 27);
     this.skinLabel7.TabIndex = 13;
     this.skinLabel7.Text = "     性别  ";
     //
     // gender_cb
     //
     this.gender_cb.BaseColor = System.Drawing.Color.Silver;
     this.gender_cb.BorderColor = System.Drawing.Color.Silver;
     this.gender_cb.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.gender_cb.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.gender_cb.FormattingEnabled = true;
     this.gender_cb.ItemBorderColor = System.Drawing.Color.Silver;
     this.gender_cb.Items.AddRange(new object[] {
     "男",
     "女",
     "不详 "});
     this.gender_cb.Location = new System.Drawing.Point(145, 222);
     this.gender_cb.Name = "gender_cb";
     this.gender_cb.Size = new System.Drawing.Size(136, 28);
     this.gender_cb.TabIndex = 7;
     this.gender_cb.WaterText = "";
     //
     // skinLabel6
     //
     this.skinLabel6.AutoSize = true;
     this.skinLabel6.BackColor = System.Drawing.Color.LightSlateGray;
     this.skinLabel6.BorderColor = System.Drawing.Color.White;
     this.skinLabel6.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel6.Location = new System.Drawing.Point(54, 191);
     this.skinLabel6.Name = "skinLabel6";
     this.skinLabel6.Size = new System.Drawing.Size(94, 27);
     this.skinLabel6.TabIndex = 11;
     this.skinLabel6.Text = "     地址  ";
     //
     // address_txb
     //
     this.address_txb.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.address_txb.Location = new System.Drawing.Point(146, 191);
     this.address_txb.Name = "address_txb";
     this.address_txb.Size = new System.Drawing.Size(135, 27);
     this.address_txb.TabIndex = 6;
     this.address_txb.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.address_txb.WaterText = "";
     //
     // skinLabel5
     //
     this.skinLabel5.AutoSize = true;
     this.skinLabel5.BackColor = System.Drawing.Color.LightSlateGray;
     this.skinLabel5.BorderColor = System.Drawing.Color.White;
     this.skinLabel5.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel5.Location = new System.Drawing.Point(54, 160);
     this.skinLabel5.Name = "skinLabel5";
     this.skinLabel5.Size = new System.Drawing.Size(96, 27);
     this.skinLabel5.TabIndex = 1;
     this.skinLabel5.Text = "   身份证 ";
     //
     // skinLabel4
     //
     this.skinLabel4.AutoSize = true;
     this.skinLabel4.BackColor = System.Drawing.Color.LightSlateGray;
     this.skinLabel4.BorderColor = System.Drawing.Color.White;
     this.skinLabel4.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel4.Location = new System.Drawing.Point(54, 129);
     this.skinLabel4.Name = "skinLabel4";
     this.skinLabel4.Size = new System.Drawing.Size(94, 27);
     this.skinLabel4.TabIndex = 8;
     this.skinLabel4.Text = "     科别  ";
     //
     // skinLabel3
     //
     this.skinLabel3.AutoSize = true;
     this.skinLabel3.BackColor = System.Drawing.Color.LightSlateGray;
     this.skinLabel3.BorderColor = System.Drawing.Color.White;
     this.skinLabel3.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel3.Location = new System.Drawing.Point(54, 98);
     this.skinLabel3.Name = "skinLabel3";
     this.skinLabel3.Size = new System.Drawing.Size(94, 27);
     this.skinLabel3.TabIndex = 7;
     this.skinLabel3.Text = "     密码  ";
     //
     // skinLabel2
     //
     this.skinLabel2.AutoSize = true;
     this.skinLabel2.BackColor = System.Drawing.Color.LightSlateGray;
     this.skinLabel2.BorderColor = System.Drawing.Color.White;
     this.skinLabel2.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel2.Location = new System.Drawing.Point(54, 67);
     this.skinLabel2.Name = "skinLabel2";
     this.skinLabel2.Size = new System.Drawing.Size(94, 27);
     this.skinLabel2.TabIndex = 6;
     this.skinLabel2.Text = "     密码  ";
     //
     // skinLabel1
     //
     this.skinLabel1.AutoSize = true;
     this.skinLabel1.BackColor = System.Drawing.Color.LightSlateGray;
     this.skinLabel1.BorderColor = System.Drawing.Color.White;
     this.skinLabel1.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.skinLabel1.Location = new System.Drawing.Point(54, 36);
     this.skinLabel1.Name = "skinLabel1";
     this.skinLabel1.Size = new System.Drawing.Size(94, 27);
     this.skinLabel1.TabIndex = 1;
     this.skinLabel1.Text = "     姓名  ";
     //
     // idcard_txb
     //
     this.idcard_txb.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.idcard_txb.Location = new System.Drawing.Point(145, 160);
     this.idcard_txb.Name = "idcard_txb";
     this.idcard_txb.Size = new System.Drawing.Size(136, 27);
     this.idcard_txb.TabIndex = 5;
     this.idcard_txb.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.idcard_txb.WaterText = "";
     //
     // passwd_txb_1
     //
     this.passwd_txb_1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.passwd_txb_1.Location = new System.Drawing.Point(146, 67);
     this.passwd_txb_1.Name = "passwd_txb_1";
     this.passwd_txb_1.Size = new System.Drawing.Size(136, 27);
     this.passwd_txb_1.TabIndex = 2;
     this.passwd_txb_1.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.passwd_txb_1.WaterText = "";
     //
     // name_txb
     //
     this.name_txb.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.name_txb.Location = new System.Drawing.Point(146, 36);
     this.name_txb.Name = "name_txb";
     this.name_txb.Size = new System.Drawing.Size(136, 27);
     this.name_txb.TabIndex = 1;
     this.name_txb.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.name_txb.WaterText = "";
     //
     // passwd_txb_2
     //
     this.passwd_txb_2.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.passwd_txb_2.Location = new System.Drawing.Point(146, 98);
     this.passwd_txb_2.Name = "passwd_txb_2";
     this.passwd_txb_2.Size = new System.Drawing.Size(136, 27);
     this.passwd_txb_2.TabIndex = 3;
     this.passwd_txb_2.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.passwd_txb_2.WaterText = "";
     //
     // kebie_txb
     //
     this.kebie_txb.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.kebie_txb.Location = new System.Drawing.Point(146, 129);
     this.kebie_txb.Name = "kebie_txb";
     this.kebie_txb.Size = new System.Drawing.Size(136, 27);
     this.kebie_txb.TabIndex = 4;
     this.kebie_txb.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.kebie_txb.WaterText = "";
     //
     // skinLabel8
     //
     this.skinLabel8.AutoSize = true;
     this.skinLabel8.BackColor = System.Drawing.Color.Transparent;
     this.skinLabel8.BorderColor = System.Drawing.Color.Transparent;
     this.skinLabel8.Font = new System.Drawing.Font("微软雅黑", 22F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.skinLabel8.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.skinLabel8.Location = new System.Drawing.Point(178, 66);
     this.skinLabel8.Name = "skinLabel8";
     this.skinLabel8.Size = new System.Drawing.Size(106, 31);
     this.skinLabel8.TabIndex = 1;
     this.skinLabel8.Text = "用户注册";
     //
     // RegisterUI
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.Silver;
     this.BackgroundImage = global::WinForm.Properties.Resources.bg;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.ClientSize = new System.Drawing.Size(454, 492);
     this.CloseDownBack = global::WinForm.Properties.Resources.CloseDownBack;
     this.CloseMouseBack = global::WinForm.Properties.Resources.CloseMouseBack;
     this.CloseNormlBack = global::WinForm.Properties.Resources.CloseNormlBack1;
     this.Controls.Add(this.skinLabel8);
     this.Controls.Add(this.skinPanel1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MiniDownBack = global::WinForm.Properties.Resources.MiniDownBack;
     this.MiniMouseBack = global::WinForm.Properties.Resources.MiniMouseBack;
     this.MiniNormlBack = global::WinForm.Properties.Resources.MiniNormlBack;
     this.Name = "RegisterUI";
     this.RoundStyle = CCWin.SkinClass.RoundStyle.None;
     this.ShowBorder = false;
     this.ShowDrawIcon = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.RegisterUI_FormClosed);
     this.skinPanel1.ResumeLayout(false);
     this.skinPanel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginUI));
     this.label1 = new System.Windows.Forms.Label();
     this.userName_txb = new CCWin.SkinControl.SkinWaterTextBox();
     this.passwd_txb = new CCWin.SkinControl.SkinWaterTextBox();
     this.remenber_ckb = new CCWin.SkinControl.SkinCheckBox();
     this.login_btn = new CCWin.SkinControl.SkinButton();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.forget_lb = new CCWin.SkinControl.SkinLabel();
     this.register_btn = new CCWin.SkinControl.SkinButton();
     this.skinPanel1 = new CCWin.SkinControl.SkinPanel();
     this.skinPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font = new System.Drawing.Font("微软雅黑", 23F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.label1.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.label1.Location = new System.Drawing.Point(107, 63);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(206, 31);
     this.label1.TabIndex = 0;
     this.label1.Text = "医疗处方管理系统";
     //
     // userName_txb
     //
     this.userName_txb.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.userName_txb.Location = new System.Drawing.Point(29, 99);
     this.userName_txb.Name = "userName_txb";
     this.userName_txb.Size = new System.Drawing.Size(202, 31);
     this.userName_txb.TabIndex = 1;
     this.userName_txb.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.userName_txb.WaterText = "用户名";
     //
     // passwd_txb
     //
     this.passwd_txb.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.passwd_txb.Location = new System.Drawing.Point(29, 136);
     this.passwd_txb.Name = "passwd_txb";
     this.passwd_txb.Size = new System.Drawing.Size(202, 31);
     this.passwd_txb.TabIndex = 2;
     this.passwd_txb.UseSystemPasswordChar = true;
     this.passwd_txb.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.passwd_txb.WaterText = "密码";
     //
     // remenber_ckb
     //
     this.remenber_ckb.AutoSize = true;
     this.remenber_ckb.BackColor = System.Drawing.Color.Transparent;
     this.remenber_ckb.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.remenber_ckb.DownBack = null;
     this.remenber_ckb.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.remenber_ckb.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.remenber_ckb.ForeColor = System.Drawing.Color.FloralWhite;
     this.remenber_ckb.Location = new System.Drawing.Point(29, 173);
     this.remenber_ckb.MouseBack = null;
     this.remenber_ckb.Name = "remenber_ckb";
     this.remenber_ckb.NormlBack = null;
     this.remenber_ckb.SelectedDownBack = null;
     this.remenber_ckb.SelectedMouseBack = null;
     this.remenber_ckb.SelectedNormlBack = null;
     this.remenber_ckb.Size = new System.Drawing.Size(90, 25);
     this.remenber_ckb.TabIndex = 3;
     this.remenber_ckb.Text = "记住密码";
     this.remenber_ckb.UseVisualStyleBackColor = false;
     //
     // login_btn
     //
     this.login_btn.BackColor = System.Drawing.SystemColors.Highlight;
     this.login_btn.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(208)))), ((int)(((byte)(255)))));
     this.login_btn.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.login_btn.DownBack = null;
     this.login_btn.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.login_btn.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.login_btn.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.login_btn.Location = new System.Drawing.Point(29, 205);
     this.login_btn.MouseBack = global::WinForm.Properties.Resources.blue_btn_normal;
     this.login_btn.Name = "login_btn";
     this.login_btn.NormlBack = global::WinForm.Properties.Resources.blue_btn_move;
     this.login_btn.Size = new System.Drawing.Size(78, 37);
     this.login_btn.TabIndex = 4;
     this.login_btn.Text = "登录";
     this.login_btn.UseVisualStyleBackColor = false;
     this.login_btn.Click += new System.EventHandler(this.login_btn_Click);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.BackColor = System.Drawing.SystemColors.Highlight;
     this.label2.Image = global::WinForm.Properties.Resources.user;
     this.label2.Location = new System.Drawing.Point(26, 43);
     this.label2.MaximumSize = new System.Drawing.Size(40, 40);
     this.label2.MinimumSize = new System.Drawing.Size(40, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(40, 40);
     this.label2.TabIndex = 5;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.label3.ForeColor = System.Drawing.SystemColors.ControlDark;
     this.label3.Location = new System.Drawing.Point(72, 60);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(78, 23);
     this.label3.TabIndex = 6;
     this.label3.Text = "管理登录";
     //
     // forget_lb
     //
     this.forget_lb.AutoSize = true;
     this.forget_lb.BackColor = System.Drawing.Color.Transparent;
     this.forget_lb.BorderColor = System.Drawing.Color.White;
     this.forget_lb.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.forget_lb.ForeColor = System.Drawing.Color.DimGray;
     this.forget_lb.Location = new System.Drawing.Point(157, 175);
     this.forget_lb.Name = "forget_lb";
     this.forget_lb.Size = new System.Drawing.Size(72, 20);
     this.forget_lb.TabIndex = 8;
     this.forget_lb.Text = "忘记密码?";
     this.forget_lb.Click += new System.EventHandler(this.forget_lb_Click);
     //
     // register_btn
     //
     this.register_btn.BackColor = System.Drawing.SystemColors.Highlight;
     this.register_btn.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(208)))), ((int)(((byte)(255)))));
     this.register_btn.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.register_btn.DownBack = null;
     this.register_btn.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.register_btn.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.register_btn.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.register_btn.Location = new System.Drawing.Point(153, 205);
     this.register_btn.MouseBack = global::WinForm.Properties.Resources.blue_btn_normal;
     this.register_btn.Name = "register_btn";
     this.register_btn.NormlBack = global::WinForm.Properties.Resources.blue_btn_move;
     this.register_btn.Size = new System.Drawing.Size(78, 37);
     this.register_btn.TabIndex = 9;
     this.register_btn.Text = "注册";
     this.register_btn.UseVisualStyleBackColor = false;
     this.register_btn.Click += new System.EventHandler(this.register_btn_Click);
     //
     // skinPanel1
     //
     this.skinPanel1.BackColor = System.Drawing.Color.Transparent;
     this.skinPanel1.BackgroundImage = global::WinForm.Properties.Resources.p2;
     this.skinPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.skinPanel1.Controls.Add(this.label2);
     this.skinPanel1.Controls.Add(this.login_btn);
     this.skinPanel1.Controls.Add(this.register_btn);
     this.skinPanel1.Controls.Add(this.label3);
     this.skinPanel1.Controls.Add(this.forget_lb);
     this.skinPanel1.Controls.Add(this.userName_txb);
     this.skinPanel1.Controls.Add(this.passwd_txb);
     this.skinPanel1.Controls.Add(this.remenber_ckb);
     this.skinPanel1.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinPanel1.DownBack = null;
     this.skinPanel1.Location = new System.Drawing.Point(83, 168);
     this.skinPanel1.MouseBack = null;
     this.skinPanel1.Name = "skinPanel1";
     this.skinPanel1.NormlBack = null;
     this.skinPanel1.Size = new System.Drawing.Size(258, 264);
     this.skinPanel1.TabIndex = 10;
     //
     // LoginUI
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImage = global::WinForm.Properties.Resources.bg;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.ClientSize = new System.Drawing.Size(420, 485);
     this.CloseDownBack = global::WinForm.Properties.Resources.CloseDownBack;
     this.CloseMouseBack = global::WinForm.Properties.Resources.CloseMouseBack;
     this.CloseNormlBack = global::WinForm.Properties.Resources.CloseNormlBack1;
     this.Controls.Add(this.skinPanel1);
     this.Controls.Add(this.label1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MiniDownBack = global::WinForm.Properties.Resources.MiniDownBack;
     this.MiniMouseBack = global::WinForm.Properties.Resources.MiniMouseBack;
     this.MiniNormlBack = global::WinForm.Properties.Resources.MiniNormlBack;
     this.Name = "LoginUI";
     this.RoundStyle = CCWin.SkinClass.RoundStyle.None;
     this.ShadowWidth = 6;
     this.ShowBorder = false;
     this.ShowDrawIcon = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.LoginUI_FormClosed);
     this.Load += new System.EventHandler(this.LoginUI_Load);
     this.skinPanel1.ResumeLayout(false);
     this.skinPanel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }