示例#1
0
        private void btnEveryRecommend_MouseEnter(object sender, EventArgs e)
        {
            CCWin.SkinControl.SkinButton btn = sender as CCWin.SkinControl.SkinButton;
            btn.Size   = new Size(btn.Size.Width + 20, btn.Size.Height + 20);
            btn.Radius = btn.Radius + 20;

            //颜色变亮
            btn.BorderColor = Color.Red;
        }
示例#2
0
        private void btnEveryRecommend_MouseLeave(object sender, EventArgs e)
        {
            CCWin.SkinControl.SkinButton btn = sender as CCWin.SkinControl.SkinButton;
            btn.Size   = new Size(btn.Size.Width - 20, btn.Size.Height - 20);
            btn.Radius = btn.Radius - 20;

            //颜色恢复
            btn.BorderColor = Color.FromArgb(9, 163, 220);
        }
示例#3
0
        //Button变大
        private void btnHotWeek_MouseEnter(object sender, EventArgs e)
        {
            CCWin.SkinControl.SkinButton btn = sender as CCWin.SkinControl.SkinButton;
            btn.Size   = new Size(btn.Size.Width + 20, btn.Size.Height + 20);
            btn.Radius = btn.Radius + 20;

            //颜色变亮
            btn.BorderColor = Color.Transparent;
        }
示例#4
0
        private void LoadPage(CCWin.SkinControl.SkinFlowLayoutPanel skl, string type)
        {
            skl.Controls.Clear();

            CCWin.SkinControl.SkinButton bt = new CCWin.SkinControl.SkinButton();
            // Button bt = new Button();
            //bt.Size = skinButton1.Size;
            // Point head = skinButton1.PointToScreen(new Point(0, 0));
            //  bt.Location = new Point(head.X + 40 * (i - 1), head.Y);
            bt.BackColor      = System.Drawing.Color.Transparent;
            bt.BaseColor      = System.Drawing.Color.White;
            bt.BorderColor    = System.Drawing.Color.Silver;
            bt.ControlState   = CCWin.SkinClass.ControlState.Normal;
            bt.DownBack       = null;
            bt.FadeGlow       = false;
            bt.IsDrawGlass    = false;
            bt.MouseBaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(142)))), ((int)(((byte)(183)))));
            // bt.Location = new System.Drawing.Point(241, 250);
            bt.MouseBack = null;

            bt.NormlBack = null;
            bt.Size      = new System.Drawing.Size(75, 23);
            //// bt.TabIndex = 1;
            bt.Text = "上一页";
            bt.Tag  = type;

            bt.Click += new System.EventHandler(this.button_Click);
            // bt.UseVisualStyleBackColor = false;
            skl.Controls.Add(bt);
            CCWin.SkinControl.SkinButton bt2 = new CCWin.SkinControl.SkinButton();
            // Button bt2 = new Button();
            //bt2.Size = skinButton1.Size;
            // Point head = skinButton1.PointToScreen(new Point(0, 0));
            //  bt2.Location = new Point(head.X + 40 * (i - 1), head.Y);
            bt2.BackColor      = System.Drawing.Color.Transparent;
            bt2.BaseColor      = System.Drawing.Color.White;
            bt2.BorderColor    = System.Drawing.Color.Silver;
            bt2.ControlState   = CCWin.SkinClass.ControlState.Normal;
            bt2.DownBack       = null;
            bt2.FadeGlow       = false;
            bt2.IsDrawGlass    = false;
            bt2.MouseBaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(142)))), ((int)(((byte)(183)))));
            // bt2.Location = new System.Drawing.Point(241, 250);
            bt2.MouseBack = null;

            bt2.NormlBack = null;
            bt2.Size      = new System.Drawing.Size(75, 23);
            //// bt2.TabIndex = 1;
            bt2.Text = "下一页";
            bt2.Tag  = type;

            bt2.Click += new System.EventHandler(this.button_Click);
            // bt2.UseVisualStyleBackColor = false;
            skl.Controls.Add(bt2);
        }
示例#5
0
        /// <summary>
        /// The SetupDeleteIcon function is to create a delete icon for button to delete itself
        /// </summary>
        /// <returns></returns>
        private CCWin.SkinControl.SkinButton SetupDeleteIcon()
        {
            var btn = new CCWin.SkinControl.SkinButton();

            btn.BackColor    = System.Drawing.Color.Transparent;
            btn.BorderColor  = System.Drawing.Color.DimGray;
            btn.BaseColor    = System.Drawing.Color.Red;
            btn.ControlState = CCWin.SkinClass.ControlState.Normal;
            btn.Size         = new System.Drawing.Size(13, 13);
            btn.ForeColor    = Color.White;
            btn.Font         = new Font(btn.Font.FontFamily, 5, FontStyle.Bold);
            btn.Text         = "x";
            // TODO: change the position to top right instead
            return(btn);
        }
示例#6
0
        /// <summary>
        /// The ClickToDuplicate function enables block to duplicate themselve into canvas section when click
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ClickToDuplicate(object sender, EventArgs e)
        {
            Control control = sender as Control;

            // Follow the same block design
            CCWin.SkinControl.SkinButton btn        = this.SetupButtonStyle(control.Location, control.Text);
            CCWin.SkinControl.SkinButton deleteIcon = this.SetupDeleteIcon();

            btn.Controls.Add(deleteIcon);
            deleteIcon.Click += new EventHandler(TriggerDeleteEvent);
            this.Canvas.Controls.Add(btn);
            this.Canvas.AllowDrop = true;

            btn.MouseDown        += new MouseEventHandler(DragBlockMouseDown);
            this.Canvas.DragOver += new DragEventHandler(BlockDropOver);
            this.Canvas.DragDrop += new DragEventHandler(BlockDragDrop);
        }
示例#7
0
        /// <summary>
        /// The SetupButtonStyle function is used to put reusable code when creating a new block
        /// </summary>
        /// <param name="point"></param>
        /// <param name="text"></param>
        /// <returns></returns>
        private CCWin.SkinControl.SkinButton SetupButtonStyle(System.Drawing.Point point, string text)
        {
            var btn = new CCWin.SkinControl.SkinButton();

            btn.BackColor    = System.Drawing.Color.Transparent;
            btn.BaseColor    = System.Drawing.Color.Ivory;
            btn.BorderColor  = System.Drawing.Color.DarkOliveGreen;
            btn.ControlState = CCWin.SkinClass.ControlState.Normal;
            btn.Radius       = 5;
            btn.RoundStyle   = CCWin.SkinClass.RoundStyle.All;

            // Update to the new size of block
            btn.Size = new System.Drawing.Size(40, 40);
            btn.UseVisualStyleBackColor = false;
            btn.Location     = startingPoint;
            btn.Text         = text;
            btn.Anchor       = AnchorStyles.Left | AnchorStyles.Top;
            startingPoint.X += 40;

            return(btn);
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.skinButton2 = new CCWin.SkinControl.SkinButton();
     this.skinButton1 = new CCWin.SkinControl.SkinButton();
     this.skinButton3 = new CCWin.SkinControl.SkinButton();
     this.skinButton4 = new CCWin.SkinControl.SkinButton();
     this.skinButton5 = new CCWin.SkinControl.SkinButton();
     this.skinButton6 = new CCWin.SkinControl.SkinButton();
     this.SuspendLayout();
     //
     // skinButton2
     //
     this.skinButton2.BackColor = System.Drawing.Color.Transparent;
     this.skinButton2.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinButton2.DownBack = null;
     this.skinButton2.Location = new System.Drawing.Point(120, 270);
     this.skinButton2.MouseBack = null;
     this.skinButton2.Name = "skinButton2";
     this.skinButton2.NormlBack = null;
     this.skinButton2.Size = new System.Drawing.Size(205, 34);
     this.skinButton2.TabIndex = 1;
     this.skinButton2.Text = "更新基金数据";
     this.skinButton2.UseVisualStyleBackColor = false;
     this.skinButton2.Click += new System.EventHandler(this.skinButton2_Click);
     //
     // skinButton1
     //
     this.skinButton1.BackColor = System.Drawing.Color.Transparent;
     this.skinButton1.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinButton1.DownBack = null;
     this.skinButton1.Location = new System.Drawing.Point(76, 90);
     this.skinButton1.MouseBack = null;
     this.skinButton1.Name = "skinButton1";
     this.skinButton1.NormlBack = null;
     this.skinButton1.Size = new System.Drawing.Size(123, 34);
     this.skinButton1.TabIndex = 2;
     this.skinButton1.Text = "查看基金信息";
     this.skinButton1.UseVisualStyleBackColor = false;
     this.skinButton1.Click += new System.EventHandler(this.skinButton1_Click_1);
     //
     // skinButton3
     //
     this.skinButton3.BackColor = System.Drawing.Color.Transparent;
     this.skinButton3.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinButton3.DownBack = null;
     this.skinButton3.Location = new System.Drawing.Point(235, 90);
     this.skinButton3.MouseBack = null;
     this.skinButton3.Name = "skinButton3";
     this.skinButton3.NormlBack = null;
     this.skinButton3.Size = new System.Drawing.Size(123, 34);
     this.skinButton3.TabIndex = 3;
     this.skinButton3.Text = "查看股票排行";
     this.skinButton3.UseVisualStyleBackColor = false;
     this.skinButton3.Click += new System.EventHandler(this.skinButton3_Click);
     //
     // skinButton4
     //
     this.skinButton4.BackColor = System.Drawing.Color.Transparent;
     this.skinButton4.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinButton4.DownBack = null;
     this.skinButton4.Location = new System.Drawing.Point(76, 183);
     this.skinButton4.MouseBack = null;
     this.skinButton4.Name = "skinButton4";
     this.skinButton4.NormlBack = null;
     this.skinButton4.Size = new System.Drawing.Size(123, 34);
     this.skinButton4.TabIndex = 4;
     this.skinButton4.Text = "查看增持股票";
     this.skinButton4.UseVisualStyleBackColor = false;
     this.skinButton4.Click += new System.EventHandler(this.skinButton4_Click);
     //
     // skinButton5
     //
     this.skinButton5.BackColor = System.Drawing.Color.Transparent;
     this.skinButton5.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinButton5.DownBack = null;
     this.skinButton5.Location = new System.Drawing.Point(235, 183);
     this.skinButton5.MouseBack = null;
     this.skinButton5.Name = "skinButton5";
     this.skinButton5.NormlBack = null;
     this.skinButton5.Size = new System.Drawing.Size(123, 34);
     this.skinButton5.TabIndex = 5;
     this.skinButton5.Text = "查看减持股票";
     this.skinButton5.UseVisualStyleBackColor = false;
     this.skinButton5.Click += new System.EventHandler(this.skinButton5_Click);
     //
     // skinButton6
     //
     this.skinButton6.BackColor = System.Drawing.Color.Transparent;
     this.skinButton6.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.skinButton6.DownBack = null;
     this.skinButton6.Location = new System.Drawing.Point(384, 320);
     this.skinButton6.MouseBack = null;
     this.skinButton6.Name = "skinButton6";
     this.skinButton6.NormlBack = null;
     this.skinButton6.Size = new System.Drawing.Size(75, 23);
     this.skinButton6.TabIndex = 6;
     this.skinButton6.Text = "关于我们";
     this.skinButton6.UseVisualStyleBackColor = false;
     this.skinButton6.Click += new System.EventHandler(this.skinButton6_Click);
     //
     // MyColorForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(40)))), ((int)(((byte)(57)))));
     this.ClientSize = new System.Drawing.Size(467, 354);
     this.Controls.Add(this.skinButton6);
     this.Controls.Add(this.skinButton5);
     this.Controls.Add(this.skinButton4);
     this.Controls.Add(this.skinButton3);
     this.Controls.Add(this.skinButton1);
     this.Controls.Add(this.skinButton2);
     this.Name = "MyColorForm";
     this.Text = "Form2";
     this.SysBottomClick += new CCWin.CCSkinMain.SysBottomEventHandler(this.Form2_SysBottomClick);
     this.Load += new System.EventHandler(this.Form2_Load);
     this.ResumeLayout(false);
 }
示例#9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(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();
 }
示例#10
0
        /// <summary>
        /// 通过获得form2的节点数从而进行绘制窗体
        /// 通过代码进行动态创建窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Form3_Load(object sender, EventArgs e)
        {
            int i;

            for (i = 0; i < jieDian; i++)
            {
                if (i != no)
                {
                    #region 创建文本框(利用代码)

                    CCWin.SkinControl.SkinTextBox textbox = new CCWin.SkinControl.SkinTextBox();
                    textbox.Name     = "formtextBox" + i;
                    textbox.Parent   = this;
                    textbox.Location = new System.Drawing.Point(310, 49 + i * 90);
                    textbox.Size     = new System.Drawing.Size(121, 30);
                    textbox.Text     = "";
                    textbox.Visible  = false;

                    this.skinPanel1.Controls.Add(textbox);
                    list1.Add(textbox);
                    #endregion

                    #region 创建选择框
                    CCWin.SkinControl.SkinComboBox combo = new CCWin.SkinControl.SkinComboBox();
                    combo.Name     = "formcom" + (i + 1).ToString();
                    combo.Parent   = this;
                    combo.Location = new System.Drawing.Point(159, 55 + i * 90);
                    combo.Size     = new System.Drawing.Size(121, 28);
                    combo.Visible  = false;
                    combo.Items.Add("阻抗");
                    combo.Items.Add("导纳");

                    this.skinPanel1.Controls.Add(combo);
                    list2.Add(combo);
                    #endregion

                    #region 创建变压器i文本
                    CCWin.SkinControl.SkinLabel hhh = new CCWin.SkinControl.SkinLabel();
                    hhh.Name     = "formcomm" + (i + 1).ToString();
                    hhh.Parent   = this;
                    hhh.Location = new System.Drawing.Point(453, 55 + i * 90);
                    hhh.Size     = new System.Drawing.Size(69, 17);
                    hhh.Visible  = true;
                    hhh.Text     = "变压器" + (i + 1).ToString();
                    this.skinPanel1.Controls.Add(hhh);
                    #endregion

                    #region 创建Gt*、Bt*
                    CCWin.SkinControl.SkinLabel hhh1 = new CCWin.SkinControl.SkinLabel();
                    hhh1.Name     = "formm" + (i + 1).ToString();
                    hhh1.Parent   = this;
                    hhh1.Location = new System.Drawing.Point(667 - 30, 55 + i * 90);
                    hhh1.Size     = new System.Drawing.Size(39, 17);
                    hhh1.Visible  = true;
                    hhh1.Text     = "Gt*" + (i + 1).ToString();
                    this.skinPanel1.Controls.Add(hhh1);
                    CCWin.SkinControl.SkinLabel hhh2 = new CCWin.SkinControl.SkinLabel();
                    hhh2.Name     = "formm" + (i + 1).ToString();
                    hhh2.Parent   = this;
                    hhh2.Location = new System.Drawing.Point(667 + 90, 55 + i * 90);
                    hhh2.Size     = new System.Drawing.Size(39, 17);
                    hhh2.Visible  = true;
                    hhh2.Text     = "Bt*" + (i + 1).ToString();
                    this.skinPanel1.Controls.Add(hhh2);
                    #endregion


                    #region 创建变压器变比选择项
                    CCWin.SkinControl.SkinComboBox bianyaqi = new CCWin.SkinControl.SkinComboBox();
                    bianyaqi.Name     = "formcomm" + (i + 1).ToString();
                    bianyaqi.Parent   = this;
                    bianyaqi.Location = new System.Drawing.Point(528, 55 + i * 90);
                    bianyaqi.Size     = new System.Drawing.Size(121 - 30, 28);
                    bianyaqi.Visible  = false;
                    bianyaqi.Items.Add("1.05");
                    bianyaqi.Items.Add("1.025");
                    bianyaqi.Items.Add("0");
                    bianyaqi.Items.Add("0.975");
                    bianyaqi.Items.Add("0.95");
                    bianyaqi.SelectedText = "0";
                    this.skinPanel1.Controls.Add(bianyaqi);
                    list4.Add(bianyaqi);

                    #endregion

                    #region 创建Gt的文本框
                    CCWin.SkinControl.SkinTextBox textbox1 = new CCWin.SkinControl.SkinTextBox();
                    textbox1.Name     = "formtextBx1" + i;
                    textbox1.Parent   = this;
                    textbox1.Location = new System.Drawing.Point(764 - 30 - 10 - 30 - 10, 55 + i * 90);
                    textbox1.Size     = new System.Drawing.Size(59, 28);
                    textbox1.Text     = "";
                    textbox1.Visible  = false;

                    this.skinPanel1.Controls.Add(textbox1);
                    Yt.Add(textbox1);
                    #endregion

                    #region 创建Bt的文本框
                    CCWin.SkinControl.SkinTextBox textbox2 = new CCWin.SkinControl.SkinTextBox();
                    textbox2.Name     = "formtextBox1" + i;
                    textbox2.Parent   = this;
                    textbox2.Location = new System.Drawing.Point(764 - 30 - 10 - 30 - 10 + 140, 55 + i * 90);
                    textbox2.Size     = new System.Drawing.Size(59, 28);
                    textbox2.Text     = "";
                    textbox2.Visible  = false;

                    this.skinPanel1.Controls.Add(textbox2);
                    Yt1.Add(textbox2);
                    #endregion

                    #region 创建节点i的label
                    System.Windows.Forms.CheckBox radiobox = new System.Windows.Forms.CheckBox();
                    radiobox.Name     = "formRadioBox" + i;
                    radiobox.Parent   = this;
                    radiobox.Text     = "";
                    radiobox.Location = new System.Drawing.Point(33, 44 + i * 90);
                    radiobox.Size     = new System.Drawing.Size(114, 44);
                    radiobox.Text     = "节点" + (i + 1).ToString();


                    this.skinPanel1.Controls.Add(radiobox);
                    list3.Add(radiobox);
                    #endregion


                    //CCWin.SkinControl.SkinLabel label2 = new CCWin.SkinControl.SkinLabel();
                    //label2.Name = "labelZD3" + i;
                    //label2.Parent = this;
                    //label2.Location = new System.Drawing.Point(27, 61 + i * 90);
                    //label2.Size = new System.Drawing.Size(69, 17);
                    //label2.Text = "节点"+i+1;
                    //label2.Visible = true;
                    //this.skinPanel1.Controls.Add(label2);
                }
                else

                {
                    CCWin.SkinControl.SkinComboBox bianyaqi = new CCWin.SkinControl.SkinComboBox();
                    bianyaqi.Name     = "formcomm" + (i + 1).ToString();
                    bianyaqi.Parent   = this;
                    bianyaqi.Location = new System.Drawing.Point(528, 55 + i * 90);
                    bianyaqi.Size     = new System.Drawing.Size(121 - 30, 28);
                    bianyaqi.Visible  = false;
                    bianyaqi.Items.Add("1.05");
                    bianyaqi.Items.Add("1.025");
                    bianyaqi.Items.Add("0");
                    bianyaqi.Items.Add("0.975");
                    bianyaqi.Items.Add("0.95");
                    bianyaqi.SelectedText = "0";
                    bianyaqi.Enabled      = false;
                    this.skinPanel1.Controls.Add(bianyaqi);
                    list4.Add(bianyaqi);

                    CCWin.SkinControl.SkinTextBox textbox1 = new CCWin.SkinControl.SkinTextBox();
                    textbox1.Name     = "formtextBox1" + i;
                    textbox1.Parent   = this;
                    textbox1.Location = new System.Drawing.Point(764 - 30 - 10 - 30 - 10, 55 + i * 90);
                    textbox1.Size     = new System.Drawing.Size(59, 28);
                    textbox1.Text     = "";
                    textbox1.Visible  = false;
                    textbox1.Enabled  = false;
                    this.skinPanel1.Controls.Add(textbox1);
                    Yt.Add(textbox1);
                    CCWin.SkinControl.SkinTextBox textbox2 = new CCWin.SkinControl.SkinTextBox();
                    textbox2.Name     = "formtextBox1" + i;
                    textbox2.Parent   = this;
                    textbox2.Location = new System.Drawing.Point(764 - 30 - 10 - 30 - 10 + 140, 55 + i * 90);
                    textbox2.Size     = new System.Drawing.Size(59, 28);
                    textbox2.Text     = "";
                    textbox2.Visible  = false;
                    textbox1.Enabled  = false;
                    this.skinPanel1.Controls.Add(textbox2);
                    Yt1.Add(textbox2);


                    CCWin.SkinControl.SkinTextBox textbox = new CCWin.SkinControl.SkinTextBox();
                    textbox.Name     = "formteooxtBox" + i;
                    textbox.Parent   = this;
                    textbox.Location = new System.Drawing.Point(310, 49 + i * 90);
                    textbox.Size     = new System.Drawing.Size(121, 30);
                    textbox.Text     = "";
                    textbox.Visible  = false;

                    this.skinPanel1.Controls.Add(textbox);
                    list1.Add(textbox);

                    CCWin.SkinControl.SkinComboBox combo = new CCWin.SkinControl.SkinComboBox();
                    combo.Name     = "formcom" + (i + 1).ToString();
                    combo.Parent   = this;
                    combo.Location = new System.Drawing.Point(159, 55 + i * 90);
                    combo.Size     = new System.Drawing.Size(121, 28);
                    combo.Visible  = false;
                    combo.Items.Add("阻抗");
                    combo.Items.Add("导纳");

                    this.skinPanel1.Controls.Add(combo);
                    list2.Add(combo);

                    System.Windows.Forms.CheckBox radiobox = new System.Windows.Forms.CheckBox();
                    radiobox.Name      = "formRadioBox" + i;
                    radiobox.Parent    = this;
                    radiobox.Text      = "";
                    radiobox.ForeColor = Color.Red;
                    radiobox.Location  = new System.Drawing.Point(33, 44 + i * 90);
                    radiobox.Size      = new System.Drawing.Size(114, 44);
                    radiobox.Text      = "自导纳或自阻抗";


                    this.skinPanel1.Controls.Add(radiobox);
                    list3.Add(radiobox);
                }
            }
            CCWin.SkinControl.SkinButton button = new CCWin.SkinControl.SkinButton();
            button.Name     = "formBox";
            button.Parent   = this;
            button.Location = new System.Drawing.Point(202 + 100 * 2, 44 + i * 90);
            button.Size     = new System.Drawing.Size(75, 23);
            button.Text     = "确认";


            this.skinPanel1.Controls.Add(button);
            button.Click += new System.EventHandler(this.skinButton_Click);
            Shijian();
        }
示例#11
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();
 }
示例#12
0
        private void yinpian_name_base_Load(object sender, EventArgs e)
        {
            ImageList imgList = new ImageList();

            imgList.ImageSize            = new Size(1, 30);//设置 ImageList 的宽和高
            skinListView1.SmallImageList = imgList;
            string sendStr = "getyinpiannamenum,";
            string rtnStr  = func.sendToServer(sendStr);

            if (rtnStr.Contains("error"))
            {
                MessageBox.Show(rtnStr);
                return;
            }
            if (rtnStr == "0")
            {
                MessageBox.Show("没有需要添加的饮片");
                this.Close();
            }
            page_all = Convert.ToInt32(rtnStr);
            sendStr  = "getyinpianname,1,";
            rtnStr   = func.sendToServer(sendStr);
            if (rtnStr.Contains("error"))
            {
                MessageBox.Show(rtnStr);
                return;
            }
            List <string> listinfo = func.GetStrlist(rtnStr, '|', false);

            foreach (string s in listinfo)
            {
                if (s.Length < 5)
                {
                    return;
                }
                string[] info = s.Split(',');

                ListViewItem tablet = new ListViewItem(info[0]);

                tablet.SubItems.Add(info[1]);

                skinListView1.Items.Add(tablet);
            }
            label2.Text = page_all.ToString();
            if (page_all > 0)
            {
                if (page_all > 5)
                {
                    for (int i = 1; i < 7; i++)
                    {
                        CCWin.SkinControl.SkinButton bt = new CCWin.SkinControl.SkinButton();
                        // Button bt = new Button();
                        //bt.Size = skinButton1.Size;
                        // Point head = skinButton1.PointToScreen(new Point(0, 0));
                        //  bt.Location = new Point(head.X + 40 * (i - 1), head.Y);
                        bt.BackColor      = System.Drawing.Color.Transparent;
                        bt.BaseColor      = System.Drawing.Color.White;
                        bt.BorderColor    = System.Drawing.Color.Silver;
                        bt.ControlState   = CCWin.SkinClass.ControlState.Normal;
                        bt.DownBack       = null;
                        bt.FadeGlow       = false;
                        bt.IsDrawGlass    = false;
                        bt.MouseBaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(142)))), ((int)(((byte)(183)))));
                        // bt.Location = new System.Drawing.Point(241, 250);
                        bt.MouseBack = null;

                        bt.NormlBack = null;
                        bt.Size      = new System.Drawing.Size(20, 23);
                        //// bt.TabIndex = 1;
                        bt.Text   = i.ToString();
                        bt.Click += new System.EventHandler(this.button_Click);
                        // bt.UseVisualStyleBackColor = false;
                        this.skinFlowLayoutPanel1.Controls.Add(bt);
                    }
                }
                if (page_all > 6)
                {
                    CCWin.SkinControl.SkinButton bt = new CCWin.SkinControl.SkinButton();
                    // Button bt = new Button();

                    // Point head = skinButton1.PointToScreen(new Point(0, 0));
                    //  bt.Location = new Point(head.X + 40 * (i - 1), head.Y);
                    bt.BackColor    = System.Drawing.Color.Transparent;
                    bt.BaseColor    = System.Drawing.Color.White;
                    bt.BorderColor  = System.Drawing.Color.Silver;
                    bt.ControlState = CCWin.SkinClass.ControlState.Normal;
                    bt.DownBack     = null;
                    bt.IsDrawGlass  = false;
                    bt.FadeGlow     = false;
                    // bt.Location = new System.Drawing.Point(241, 250);
                    bt.MouseBack      = null;
                    bt.MouseBaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(142)))), ((int)(((byte)(183)))));
                    bt.NormlBack      = null;
                    bt.Size           = new System.Drawing.Size(75, 23);
                    //// bt.TabIndex = 1;
                    bt.Text = "下一页";
                    // bt.UseVisualStyleBackColor = false;
                    bt.Click += new System.EventHandler(this.button_Click);
                    this.skinFlowLayoutPanel1.Controls.Add(bt);
                    CCWin.SkinControl.SkinButton btend = new CCWin.SkinControl.SkinButton();
                    // Button btend = new Button();

                    // Point head = skinButton1.PointToScreen(new Point(0, 0));
                    //  btend.Location = new Point(head.X + 40 * (i - 1), head.Y);
                    btend.BackColor    = System.Drawing.Color.Transparent;
                    btend.BaseColor    = System.Drawing.Color.White;
                    btend.BorderColor  = System.Drawing.Color.Silver;
                    btend.ControlState = CCWin.SkinClass.ControlState.Normal;
                    btend.DownBack     = null;
                    btend.IsDrawGlass  = false;
                    btend.FadeGlow     = false;
                    // btend.Location = new System.Drawing.Point(241, 250);
                    btend.MouseBack      = null;
                    btend.MouseBaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(142)))), ((int)(((byte)(183)))));
                    btend.NormlBack      = null;
                    btend.Size           = new System.Drawing.Size(75, 23);
                    //// btend.TabIndex = 1;
                    btend.Text   = "末页";
                    btend.Click += new System.EventHandler(this.button_Click);
                    // btend.UseVisualStyleBackColor = false;
                    this.skinFlowLayoutPanel1.Controls.Add(btend);
                }
            }
        }
示例#13
0
        };                                                                                       //创建泛型集合将数据进行存储

        /// <summary>
        /// 用于动态创建控件
        /// </summary>
        /// <param name="JieDian"></param>
        public void DTCreate(int JieDian)
        {
            int i;

            for (i = 0; i < JieDian; i++)
            {
                CCWin.SkinControl.SkinLabel panellabel1 = new CCWin.SkinControl.SkinLabel();
                panellabel1.Name     = "panellabel1" + i;
                panellabel1.Parent   = this;
                panellabel1.Location = new System.Drawing.Point(5, 55 + i * 90);
                panellabel1.Size     = new System.Drawing.Size(69, 17);
                panellabel1.Text     = "节点" + "   " + " U: ";
                this.panel3.Controls.Add(panellabel1);
                panellist3.Add(panellabel1);
                //CCWin.SkinControl.SkinLabel panellabel2 = new CCWin.SkinControl.SkinLabel();
                //panellabel2.Name = "panellabel2" + i;
                //panellabel2.Parent = this;
                //panellabel2.Location = new System.Drawing.Point(169, 55 + i * 90);
                //panellabel2.Size = new System.Drawing.Size(17, 17);
                //panellabel2.Text = "∠";
                //this.panel3.Controls.Add(panellabel2);

                CCWin.SkinControl.SkinLabel panellabel3 = new CCWin.SkinControl.SkinLabel();
                panellabel3.Name     = "panellabel3" + i;
                panellabel3.Parent   = this;
                panellabel3.Location = new System.Drawing.Point(80, 55 + i * 90);
                panellabel3.Size     = new System.Drawing.Size(200, 17);
                panellabel3.Text     = "";
                this.panel3.Controls.Add(panellabel3);
                panellist1.Add(panellabel3);

                //CCWin.SkinControl.SkinLabel panellabel4 = new CCWin.SkinControl.SkinLabel();
                //panellabel4.Name = "panellabel4" + i;
                //panellabel4.Parent = this;
                //panellabel4.Location = new System.Drawing.Point(200, 55 + i * 90);
                //panellabel4.Size = new System.Drawing.Size(200, 17);
                //panellabel4.Text = "1";
                //panellabel4.Visible = true;
                //this.panel3.Controls.Add(panellabel4);
                //panellist2.Add(panellabel4);

                //创建textBox
                CCWin.SkinControl.SkinTextBox textbox = new CCWin.SkinControl.SkinTextBox();
                textbox.Name     = "textBoxZD" + i;
                textbox.Parent   = this;
                textbox.Location = new System.Drawing.Point(354, 27 + i * 90);
                textbox.Size     = new System.Drawing.Size(81, 28);
                textbox.Text     = "";
                textbox.Visible  = false;
                this.panel1.Controls.Add(textbox);
                textboxlist.Add(textbox);

                CCWin.SkinControl.SkinTextBox textbox1 = new CCWin.SkinControl.SkinTextBox();
                textbox1.Name     = "textBoxZD1" + i;
                textbox1.Parent   = this;
                textbox1.Location = new System.Drawing.Point(512, 27 + i * 90);
                textbox1.Size     = new System.Drawing.Size(81, 28);
                textbox1.Text     = "";
                textbox1.Visible  = false;
                this.panel1.Controls.Add(textbox1);
                textboxlist1.Add(textbox1);


                CCWin.SkinControl.SkinComboBox skincombo = new CCWin.SkinControl.SkinComboBox();
                skincombo.Name     = "comboBox" + i;
                skincombo.Parent   = this;
                skincombo.Location = new System.Drawing.Point(141, 27 + i * 90);
                skincombo.Size     = new System.Drawing.Size(121, 22);
                skincombo.Items.Add("PQ节点");
                skincombo.Items.Add("PV节点");
                skincombo.Items.Add("平衡节点");
                this.panel1.Controls.Add(skincombo);
                skincomboList.Add(skincombo);
                //skincombo.SelectedIndexChanged += new System.EventHandler(skinCombo_SelectedIndexChanged);


                CCWin.SkinControl.SkinLabel label1 = new CCWin.SkinControl.SkinLabel();
                label1.Name     = "labelZD1" + i;
                label1.Parent   = this;
                label1.Location = new System.Drawing.Point(51, 33 + i * 90);
                label1.Size     = new System.Drawing.Size(69, 17);
                label1.Text     = "节点" + (i + 1).ToString();
                this.panel1.Controls.Add(label1);



                CCWin.SkinControl.SkinLabel label4 = new CCWin.SkinControl.SkinLabel();
                label4.Name     = "labelZD4" + i;//
                label4.Parent   = this;
                label4.Location = new System.Drawing.Point(605, 33 + i * 90);
                label4.Size     = new System.Drawing.Size(69, 17);
                label4.Text     = "连接节点";
                label4.Visible  = false;
                this.panel1.Controls.Add(label4);
                skinlabellist.Add(label4);


                CCWin.SkinControl.SkinLabel label2 = new CCWin.SkinControl.SkinLabel();
                label2.Name     = "labelZD2" + i;
                label2.Parent   = this;
                label2.Location = new System.Drawing.Point(282, 33 + i * 90);
                label2.Size     = new System.Drawing.Size(69, 17);
                label2.Text     = "";
                this.panel1.Controls.Add(label2);
                skinlabellist1.Add(label2);

                CCWin.SkinControl.SkinLabel label3 = new CCWin.SkinControl.SkinLabel();
                label3.Name     = "labelZD3" + i;//Q还是U;
                label3.Parent   = this;
                label3.Location = new System.Drawing.Point(440, 33 + i * 90);
                label3.Size     = new System.Drawing.Size(69, 17);
                label3.Text     = "";
                this.panel1.Controls.Add(label3);
                skinlabellist2.Add(label3);
            }
            CCWin.SkinControl.SkinButton Button1 = new CCWin.SkinControl.SkinButton();
            Button1.Name     = "Button";
            Button1.Parent   = this;
            Button1.Location = new System.Drawing.Point(434, 33 + i * 90);
            Button1.Size     = new System.Drawing.Size(75, 23);
            Button1.Text     = "提交";
            this.panel1.Controls.Add(Button1);
            Button1.Click += new System.EventHandler(this.skinButton_Click);



            WeiTuoCreated();
            WeiTuoCreated2();
        }
示例#14
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();
 }
 /// <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);
 }
示例#16
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     this.btnAbout          = new CCWin.SkinControl.SkinButton();
     this.skinLabel3        = new CCWin.SkinControl.SkinLabel();
     this.skinLabel2        = new CCWin.SkinControl.SkinLabel();
     this.skinLabel1        = new CCWin.SkinControl.SkinLabel();
     this.textBox1          = new System.Windows.Forms.TextBox();
     this.skinDataGridView1 = new CCWin.SkinControl.SkinDataGridView();
     this.textBox2          = new System.Windows.Forms.TextBox();
     this.textBox3          = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.skinDataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // btnAbout
     //
     this.btnAbout.BackColor               = System.Drawing.Color.Transparent;
     this.btnAbout.BaseColor               = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(51)))), ((int)(((byte)(161)))), ((int)(((byte)(224)))));
     this.btnAbout.ControlState            = CCWin.SkinClass.ControlState.Normal;
     this.btnAbout.DownBack                = null;
     this.btnAbout.Location                = new System.Drawing.Point(65, 300);
     this.btnAbout.MouseBack               = null;
     this.btnAbout.Name                    = "btnAbout";
     this.btnAbout.NormlBack               = null;
     this.btnAbout.Size                    = new System.Drawing.Size(121, 35);
     this.btnAbout.TabIndex                = 15;
     this.btnAbout.Text                    = "新增门店";
     this.btnAbout.UseVisualStyleBackColor = false;
     this.btnAbout.Click                  += new System.EventHandler(this.BtnAbout_Click);
     //
     // skinLabel3
     //
     this.skinLabel3.AutoSize    = true;
     this.skinLabel3.BackColor   = System.Drawing.Color.Transparent;
     this.skinLabel3.BorderColor = System.Drawing.Color.White;
     this.skinLabel3.Font        = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.skinLabel3.Location    = new System.Drawing.Point(62, 251);
     this.skinLabel3.Name        = "skinLabel3";
     this.skinLabel3.Size        = new System.Drawing.Size(44, 17);
     this.skinLabel3.TabIndex    = 14;
     this.skinLabel3.Text        = "店长:";
     //
     // 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("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.skinLabel2.Location    = new System.Drawing.Point(38, 185);
     this.skinLabel2.Name        = "skinLabel2";
     this.skinLabel2.Size        = new System.Drawing.Size(68, 17);
     this.skinLabel2.TabIndex    = 13;
     this.skinLabel2.Text        = "门店地址:";
     //
     // 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(38, 115);
     this.skinLabel1.Name        = "skinLabel1";
     this.skinLabel1.Size        = new System.Drawing.Size(68, 17);
     this.skinLabel1.TabIndex    = 12;
     this.skinLabel1.Text        = "门店名称:";
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(112, 115);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(127, 21);
     this.textBox1.TabIndex = 11;
     //
     // skinDataGridView1
     //
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(246)))), ((int)(((byte)(253)))));
     this.skinDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.skinDataGridView1.BackgroundColor          = System.Drawing.SystemColors.Window;
     this.skinDataGridView1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
     this.skinDataGridView1.ColumnFont               = null;
     this.skinDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridViewCellStyle2.Alignment                     = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor                     = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(246)))), ((int)(((byte)(239)))));
     dataGridViewCellStyle2.Font                          = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle2.ForeColor                     = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle2.SelectionBackColor            = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor            = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode                      = System.Windows.Forms.DataGridViewTriState.True;
     this.skinDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.skinDataGridView1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.skinDataGridView1.ColumnSelectForeColor         = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle3.Alignment                     = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor                     = System.Drawing.Color.White;
     dataGridViewCellStyle3.Font                          = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     dataGridViewCellStyle3.ForeColor                     = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle3.SelectionBackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(188)))), ((int)(((byte)(240)))));
     dataGridViewCellStyle3.SelectionForeColor            = System.Drawing.Color.White;
     dataGridViewCellStyle3.WrapMode                      = System.Windows.Forms.DataGridViewTriState.False;
     this.skinDataGridView1.DefaultCellStyle              = dataGridViewCellStyle3;
     this.skinDataGridView1.EditMode                      = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
     this.skinDataGridView1.EnableHeadersVisualStyles     = false;
     this.skinDataGridView1.GridColor                     = System.Drawing.SystemColors.GradientActiveCaption;
     this.skinDataGridView1.HeadFont                      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.skinDataGridView1.HeadSelectForeColor           = System.Drawing.SystemColors.HighlightText;
     this.skinDataGridView1.Location                      = new System.Drawing.Point(259, 90);
     this.skinDataGridView1.Name                          = "skinDataGridView1";
     this.skinDataGridView1.RowHeadersBorderStyle         = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     this.skinDataGridView1.RowHeadersWidthSizeMode       = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     dataGridViewCellStyle4.Alignment                     = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle4.ForeColor                     = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle4.SelectionBackColor            = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle4.SelectionForeColor            = System.Drawing.SystemColors.HighlightText;
     this.skinDataGridView1.RowsDefaultCellStyle          = dataGridViewCellStyle4;
     this.skinDataGridView1.RowTemplate.Height            = 23;
     this.skinDataGridView1.Size                          = new System.Drawing.Size(578, 245);
     this.skinDataGridView1.TabIndex                      = 10;
     this.skinDataGridView1.TitleBack                     = null;
     this.skinDataGridView1.TitleBackColorBegin           = System.Drawing.Color.White;
     this.skinDataGridView1.TitleBackColorEnd             = System.Drawing.Color.FromArgb(((int)(((byte)(83)))), ((int)(((byte)(196)))), ((int)(((byte)(242)))));
     this.skinDataGridView1.CellContentClick             += new System.Windows.Forms.DataGridViewCellEventHandler(this.SkinDataGridView1_CellContentClick);
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(112, 184);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(127, 21);
     this.textBox2.TabIndex = 16;
     //
     // textBox3
     //
     this.textBox3.Location = new System.Drawing.Point(112, 251);
     this.textBox3.Name     = "textBox3";
     this.textBox3.Size     = new System.Drawing.Size(127, 21);
     this.textBox3.TabIndex = 17;
     //
     // StoreForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.ClientSize          = new System.Drawing.Size(844, 430);
     this.Controls.Add(this.textBox3);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.btnAbout);
     this.Controls.Add(this.skinLabel3);
     this.Controls.Add(this.skinLabel2);
     this.Controls.Add(this.skinLabel1);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.skinDataGridView1);
     this.Name = "StoreForm";
     this.Text = "门店管理";
     ((System.ComponentModel.ISupportInitialize)(this.skinDataGridView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#17
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(FormDB));
     this.grpBackup = new System.Windows.Forms.GroupBox();
     this.btnBackup = new CCWin.SkinControl.SkinButton();
     this.btnBackupPath = new CCWin.SkinControl.SkinButton();
     this.lblBackup = new System.Windows.Forms.Label();
     this.txtBackup = new System.Windows.Forms.TextBox();
     this.grpRestore = new System.Windows.Forms.GroupBox();
     this.btnRestore = new CCWin.SkinControl.SkinButton();
     this.btnRestroePath = new CCWin.SkinControl.SkinButton();
     this.lblRestore = new System.Windows.Forms.Label();
     this.txtRestore = new System.Windows.Forms.TextBox();
     this.sfdlgBackup = new System.Windows.Forms.SaveFileDialog();
     this.ofdlgRestore = new System.Windows.Forms.OpenFileDialog();
     this.grpBackup.SuspendLayout();
     this.grpRestore.SuspendLayout();
     this.SuspendLayout();
     //
     // grpBackup
     //
     this.grpBackup.Controls.Add(this.btnBackup);
     this.grpBackup.Controls.Add(this.btnBackupPath);
     this.grpBackup.Controls.Add(this.lblBackup);
     this.grpBackup.Controls.Add(this.txtBackup);
     this.grpBackup.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.grpBackup.Location = new System.Drawing.Point(12, 35);
     this.grpBackup.Name = "grpBackup";
     this.grpBackup.Size = new System.Drawing.Size(508, 107);
     this.grpBackup.TabIndex = 0;
     this.grpBackup.TabStop = false;
     this.grpBackup.Text = "备份数据库";
     //
     // btnBackup
     //
     this.btnBackup.BackColor = System.Drawing.SystemColors.Highlight;
     this.btnBackup.BaseColor = System.Drawing.Color.AliceBlue;
     this.btnBackup.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.btnBackup.DownBack = null;
     this.btnBackup.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.btnBackup.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.btnBackup.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.btnBackup.Location = new System.Drawing.Point(74, 68);
     this.btnBackup.MouseBack = global::WinForm.Properties.Resources.blue_btn_normal;
     this.btnBackup.Name = "btnBackup";
     this.btnBackup.NormlBack = global::WinForm.Properties.Resources.blue_btn_move;
     this.btnBackup.Size = new System.Drawing.Size(375, 22);
     this.btnBackup.TabIndex = 8;
     this.btnBackup.Text = "备份数据库";
     this.btnBackup.UseVisualStyleBackColor = false;
     this.btnBackup.Click += new System.EventHandler(this.btnBackup_Click);
     //
     // btnBackupPath
     //
     this.btnBackupPath.BackColor = System.Drawing.SystemColors.Highlight;
     this.btnBackupPath.BaseColor = System.Drawing.Color.AliceBlue;
     this.btnBackupPath.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.btnBackupPath.DownBack = null;
     this.btnBackupPath.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.btnBackupPath.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.btnBackupPath.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.btnBackupPath.Location = new System.Drawing.Point(427, 33);
     this.btnBackupPath.MouseBack = global::WinForm.Properties.Resources.blue_btn_normal;
     this.btnBackupPath.Name = "btnBackupPath";
     this.btnBackupPath.NormlBack = global::WinForm.Properties.Resources.blue_btn_move;
     this.btnBackupPath.Size = new System.Drawing.Size(70, 22);
     this.btnBackupPath.TabIndex = 5;
     this.btnBackupPath.Text = "选择";
     this.btnBackupPath.UseVisualStyleBackColor = false;
     this.btnBackupPath.Click += new System.EventHandler(this.btnBackupPath_Click_1);
     //
     // lblBackup
     //
     this.lblBackup.AutoSize = true;
     this.lblBackup.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.lblBackup.Location = new System.Drawing.Point(27, 34);
     this.lblBackup.Name = "lblBackup";
     this.lblBackup.Size = new System.Drawing.Size(61, 19);
     this.lblBackup.TabIndex = 2;
     this.lblBackup.Text = "备份路径";
     //
     // txtBackup
     //
     this.txtBackup.Location = new System.Drawing.Point(94, 32);
     this.txtBackup.Name = "txtBackup";
     this.txtBackup.ReadOnly = true;
     this.txtBackup.Size = new System.Drawing.Size(327, 23);
     this.txtBackup.TabIndex = 0;
     //
     // grpRestore
     //
     this.grpRestore.Controls.Add(this.btnRestore);
     this.grpRestore.Controls.Add(this.btnRestroePath);
     this.grpRestore.Controls.Add(this.lblRestore);
     this.grpRestore.Controls.Add(this.txtRestore);
     this.grpRestore.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.grpRestore.Location = new System.Drawing.Point(12, 154);
     this.grpRestore.Name = "grpRestore";
     this.grpRestore.Size = new System.Drawing.Size(508, 107);
     this.grpRestore.TabIndex = 0;
     this.grpRestore.TabStop = false;
     this.grpRestore.Text = "恢复数据库";
     //
     // btnRestore
     //
     this.btnRestore.BackColor = System.Drawing.SystemColors.Highlight;
     this.btnRestore.BaseColor = System.Drawing.Color.AliceBlue;
     this.btnRestore.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.btnRestore.DownBack = null;
     this.btnRestore.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.btnRestore.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.btnRestore.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.btnRestore.Location = new System.Drawing.Point(74, 69);
     this.btnRestore.MouseBack = global::WinForm.Properties.Resources.blue_btn_normal;
     this.btnRestore.Name = "btnRestore";
     this.btnRestore.NormlBack = global::WinForm.Properties.Resources.blue_btn_move;
     this.btnRestore.Size = new System.Drawing.Size(375, 22);
     this.btnRestore.TabIndex = 9;
     this.btnRestore.Text = "恢复数据库";
     this.btnRestore.UseVisualStyleBackColor = false;
     this.btnRestore.Click += new System.EventHandler(this.btnRestore_Click_1);
     //
     // btnRestroePath
     //
     this.btnRestroePath.BackColor = System.Drawing.SystemColors.Highlight;
     this.btnRestroePath.BaseColor = System.Drawing.Color.AliceBlue;
     this.btnRestroePath.ControlState = CCWin.SkinClass.ControlState.Normal;
     this.btnRestroePath.DownBack = null;
     this.btnRestroePath.DrawType = CCWin.SkinControl.DrawStyle.Img;
     this.btnRestroePath.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
     this.btnRestroePath.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.btnRestroePath.Location = new System.Drawing.Point(427, 37);
     this.btnRestroePath.MouseBack = global::WinForm.Properties.Resources.blue_btn_normal;
     this.btnRestroePath.Name = "btnRestroePath";
     this.btnRestroePath.NormlBack = global::WinForm.Properties.Resources.blue_btn_move;
     this.btnRestroePath.Size = new System.Drawing.Size(70, 22);
     this.btnRestroePath.TabIndex = 6;
     this.btnRestroePath.Text = "选择";
     this.btnRestroePath.UseVisualStyleBackColor = false;
     this.btnRestroePath.Click += new System.EventHandler(this.btnRestroePath_Click_1);
     //
     // lblRestore
     //
     this.lblRestore.AutoSize = true;
     this.lblRestore.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.lblRestore.Location = new System.Drawing.Point(27, 41);
     this.lblRestore.Name = "lblRestore";
     this.lblRestore.Size = new System.Drawing.Size(61, 19);
     this.lblRestore.TabIndex = 3;
     this.lblRestore.Text = "恢复路径";
     //
     // txtRestore
     //
     this.txtRestore.Location = new System.Drawing.Point(94, 37);
     this.txtRestore.Name = "txtRestore";
     this.txtRestore.ReadOnly = true;
     this.txtRestore.Size = new System.Drawing.Size(327, 23);
     this.txtRestore.TabIndex = 1;
     //
     // ofdlgRestore
     //
     this.ofdlgRestore.FileName = "openFileDialog1";
     //
     // FormDB
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.AliceBlue;
     this.ClientSize = new System.Drawing.Size(544, 289);
     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.grpRestore);
     this.Controls.Add(this.grpBackup);
     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 = "FormDB";
     this.ShowBorder = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "数据库备份与恢复";
     this.grpBackup.ResumeLayout(false);
     this.grpBackup.PerformLayout();
     this.grpRestore.ResumeLayout(false);
     this.grpRestore.PerformLayout();
     this.ResumeLayout(false);
 }