Пример #1
0
        }//搜索二维数组2

        private string putout(CCWin.SkinControl.SkinComboBox cb)
        {
            switch (cb.SelectedIndex)
            {
            case 0:
                return("true");

            case 1:
                return("false");
            }
            return("");
        }
Пример #2
0
        private void skinCombo_SelectedIndexChanged(object sender, EventArgs e)
        {
            int i = 0; int j = 0;

            CCWin.SkinControl.SkinComboBox skincombo = sender as CCWin.SkinControl.SkinComboBox;
            for (i = 0; i < skincomboList.Count; i++)
            {
                if (skincombo == skincomboList[i])
                {
                    break;
                }
            }
            j = skincombo.Location.X;
            if (skincomboList[i].Text == "PQ节点")
            {
                skinlabellist1[i].Text    = "P";
                skinlabellist1[i].Visible = true;
                skinlabellist2[i].Text    = "Q";
                skinlabellist2[i].Visible = true;
                textboxlist[i].Visible    = true;
                textboxlist1[i].Visible   = true;
                skinlabellist[i].Visible  = true;
            }
            else if (skincomboList[i].Text == "PV节点")
            {
                skinlabellist1[i].Text    = "P";
                skinlabellist1[i].Visible = true;
                skinlabellist2[i].Text    = "V";
                skinlabellist2[i].Visible = true;
                textboxlist[i].Visible    = true;
                textboxlist1[i].Visible   = true;
                skinlabellist[i].Visible  = true;
            }
            else
            {
                skinlabellist1[i].Text    = "U";
                skinlabellist1[i].Visible = true;
                skinlabellist2[i].Text    = "Thera";
                skinlabellist2[i].Visible = true;
                textboxlist[i].Visible    = true;
                textboxlist1[i].Visible   = true;
                skinlabellist[i].Visible  = true;
            }
        }
Пример #3
0
        /// <summary>
        /// 从Excel获取数据
        /// </summary>
        /// <param name="sheetName"></param>
        /// <returns></returns>

        private DataTable GetDataFromExcelToDT(string currentSheetName, CCWin.SkinControl.SkinComboBox comboBox)
        {
            DataSet ds       = new DataSet();
            bool    hasTitle = true;

            if (comboBox.Text != "")
            {
                excelFileName = Path.GetFileName(excelFilePath);
                string fileType = System.IO.Path.GetExtension(excelFilePath);
                if (string.IsNullOrEmpty(fileType))
                {
                    return(null);
                }

                try
                {
                    string strCon = string.Format("Provider=Microsoft.ACE.OLEDB.{0}.0;" +
                                                  "Extended Properties=\"Excel {1}.0;HDR={2};IMEX=1;\";" +
                                                  "data source={3};",
                                                  (fileType == ".xls" ? 4 : 12), (fileType == ".xls" ? 8 : 12), (hasTitle ? "Yes" : "NO"), excelFilePath);
                    using (OleDbConnection myConn = new OleDbConnection(strCon))
                    {
                        myConn.Open();
                        //DataTable sheetsName = myConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, new object[] { null, null, null, "Table" }); //得到所有sheet的名字
                        //string firstSheetName = sheetsName.Rows[0][2].ToString(); //得到第一个sheet的名字
                        string           strCom    = string.Format(" SELECT * FROM [{0}$A3:P{1}]", (currentSheetName), readColumnNo);
                        OleDbDataAdapter myCommand = new OleDbDataAdapter(strCom, myConn);
                        myCommand.Fill(ds, currentSheetName);
                    }
                    if (ds == null || ds.Tables.Count <= 0)
                    {
                        return(null);
                    }
                    return(ds.Tables[0]);
                }
                catch (Exception ex)
                {
                    MessageBox.Show("读取Excel数据失败! 失败原因:" + ex.Message, "异常消息提示:", MessageBoxButtons.OK, MessageBoxIcon.Error);

                    return(null);
                }
            }
            return(null);
        }
Пример #4
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();
        }
Пример #5
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();
        }
Пример #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(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();
 }