예제 #1
0
파일: UserManu.cs 프로젝트: wangshu/NY_HACK
 private void OpenFrm(Form frm)
 {
     this.Cursor = Cursors.WaitCursor;
     UserManu.LockWindowUpdate((long)frm.Handle.ToInt32());
     frm.Show();
     UserManu.LockWindowUpdate(0L);
     this.Cursor = Cursors.Default;
 }
예제 #2
0
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmZWFZDX2NY));
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.cboAndOr1 = new ComboBox();
     this.cboAndOr = new ComboBox();
     this.cboFZDXLB = new ComboBox();
     this.radYY = new RadioButton();
     this.radHJ = new RadioButton();
     this.radDJ = new RadioButton();
     this.radAll = new RadioButton();
     this.cboZWLB = new ComboBox();
     this.label5 = new Label();
     this.cboNYLB = new ComboBox();
     this.label4 = new Label();
     this.txtNF = new TextBox();
     this.txtFZDX = new TextBox();
     this.txtDJZW = new TextBox();
     this.label6 = new Label();
     this.label3 = new Label();
     this.label1 = new Label();
     this.label2 = new Label();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.gridColumn7 = new GridColumn();
     this.gridColumn8 = new GridColumn();
     this.gridColumn9 = new GridColumn();
     this.gridColumn10 = new GridColumn();
     this.gridColumn11 = new GridColumn();
     this.gridColumn12 = new GridColumn();
     this.gridColumn13 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label7 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.btnReset.Location = new Point(95, 80);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(45, 23);
     this.btnReset.TabIndex = 12;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(22, 80);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(58, 23);
     this.btnSearch.TabIndex = 11;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.cboAndOr1);
     this.panelcondition.Controls.Add(this.cboAndOr);
     this.panelcondition.Controls.Add(this.cboFZDXLB);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.radYY);
     this.panelcondition.Controls.Add(this.radHJ);
     this.panelcondition.Controls.Add(this.radDJ);
     this.panelcondition.Controls.Add(this.radAll);
     this.panelcondition.Controls.Add(this.cboZWLB);
     this.panelcondition.Controls.Add(this.label5);
     this.panelcondition.Controls.Add(this.cboNYLB);
     this.panelcondition.Controls.Add(this.label4);
     this.panelcondition.Controls.Add(this.txtNF);
     this.panelcondition.Controls.Add(this.txtFZDX);
     this.panelcondition.Controls.Add(this.txtDJZW);
     this.panelcondition.Controls.Add(this.label6);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Location = new Point(8, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(583, 109);
     this.panelcondition.TabIndex = 18;
     this.cboAndOr1.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cboAndOr1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboAndOr1.FormattingEnabled = true;
     this.cboAndOr1.Items.AddRange(new object[]
     {
         "或",
         "且"
     });
     this.cboAndOr1.Location = new Point(364, 9);
     this.cboAndOr1.Name = "cboAndOr1";
     this.cboAndOr1.Size = new Size(43, 22);
     this.cboAndOr1.TabIndex = 24;
     this.cboAndOr.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cboAndOr.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboAndOr.FormattingEnabled = true;
     this.cboAndOr.Items.AddRange(new object[]
     {
         "或",
         "且"
     });
     this.cboAndOr.Location = new Point(159, 9);
     this.cboAndOr.Name = "cboAndOr";
     this.cboAndOr.Size = new Size(43, 22);
     this.cboAndOr.TabIndex = 23;
     this.cboFZDXLB.DropDownWidth = 150;
     this.cboFZDXLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboFZDXLB.FormattingEnabled = true;
     this.cboFZDXLB.Items.AddRange(new object[]
     {
         "稗草及部分阔叶杂草和莎草",
         "病毒",
         "仓储害虫",
         "草原毛虫",
         "地下害虫",
         "灌木",
         "害虫",
         "害兽",
         "害鼠",
         "化学调节",
         "其它目标害物",
         "软体动物",
         "卫生害虫",
         "细菌",
         "线虫",
         "叶螨类",
         "一年生禾本科杂草及部分多年生杂草",
         "一年生禾本科杂草及部分阔叶杂草",
         "一年生阔叶杂草及部分莎草科杂草",
         "杂草",
         "真菌",
         "走螨类",
         "瘿螨类"
     });
     this.cboFZDXLB.Location = new Point(259, 43);
     this.cboFZDXLB.Name = "cboFZDXLB";
     this.cboFZDXLB.Size = new Size(94, 22);
     this.cboFZDXLB.TabIndex = 22;
     this.radYY.AutoSize = true;
     this.radYY.BackColor = Color.Transparent;
     this.radYY.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radYY.Location = new Point(625, 47);
     this.radYY.Name = "radYY";
     this.radYY.Size = new Size(53, 18);
     this.radYY.TabIndex = 20;
     this.radYY.Text = "原药";
     this.radYY.UseVisualStyleBackColor = false;
     this.radHJ.AutoSize = true;
     this.radHJ.BackColor = Color.Transparent;
     this.radHJ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radHJ.Location = new Point(572, 47);
     this.radHJ.Name = "radHJ";
     this.radHJ.Size = new Size(53, 18);
     this.radHJ.TabIndex = 19;
     this.radHJ.Text = "混剂";
     this.radHJ.UseVisualStyleBackColor = false;
     this.radDJ.AutoSize = true;
     this.radDJ.BackColor = Color.Transparent;
     this.radDJ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radDJ.Location = new Point(520, 47);
     this.radDJ.Name = "radDJ";
     this.radDJ.Size = new Size(53, 18);
     this.radDJ.TabIndex = 18;
     this.radDJ.Text = "单剂";
     this.radDJ.UseVisualStyleBackColor = false;
     this.radAll.AutoSize = true;
     this.radAll.BackColor = Color.Transparent;
     this.radAll.Checked = true;
     this.radAll.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radAll.Location = new Point(468, 47);
     this.radAll.Name = "radAll";
     this.radAll.Size = new Size(53, 18);
     this.radAll.TabIndex = 17;
     this.radAll.TabStop = true;
     this.radAll.Text = "全部";
     this.radAll.UseVisualStyleBackColor = false;
     this.cboZWLB.DropDownWidth = 150;
     this.cboZWLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboZWLB.FormattingEnabled = true;
     this.cboZWLB.Items.AddRange(new object[]
     {
         "茶",
         "稻",
         "豆菜",
         "豆类",
         "干果",
         "柑橘",
         "高粱",
         "根.茎菜",
         "谷子",
         "观赏植物",
         "果菜",
         "果瓜",
         "建筑",
         "浆果",
         "林木",
         "路",
         "绿肥",
         "落叶果",
         "麦类",
         "苗圃",
         "木材防腐",
         "牧草",
         "其它",
         "其它果",
         "其它经济作物",
         "其它蔬菜",
         "热带果",
         "桑",
         "森林防火",
         "食品",
         "薯类",
         "糖料作物",
         "田、地",
         "卫生",
         "纤维作物",
         "烟草",
         "叶菜",
         "衣物",
         "油料作物",
         "玉米",
         "植被",
         "种子",
         "贮粮",
         "橄榄树"
     });
     this.cboZWLB.Location = new Point(63, 43);
     this.cboZWLB.Name = "cboZWLB";
     this.cboZWLB.Size = new Size(94, 22);
     this.cboZWLB.TabIndex = 13;
     this.label5.AutoSize = true;
     this.label5.BackColor = Color.Transparent;
     this.label5.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label5.Location = new Point(1, 47);
     this.label5.Name = "label5";
     this.label5.Size = new Size(63, 14);
     this.label5.TabIndex = 12;
     this.label5.Text = "作物类别";
     this.cboNYLB.DropDownWidth = 150;
     this.cboNYLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboNYLB.FormattingEnabled = true;
     this.cboNYLB.Items.AddRange(new object[]
     {
         "杀菌剂/杀虫剂",
         "杀虫剂/杀菌剂",
         "杀虫剂/杀螨剂/杀菌剂",
         "杀菌剂/植物生长调节剂",
         "昆虫调节剂",
         "杀线虫剂/杀菌剂",
         "昆虫引诱剂",
         "植物抗性诱导剂",
         "杀螨剂",
         "杀螨剂/杀菌剂",
         "杀螨剂/杀虫剂",
         "杀藻剂",
         "杀鸟剂",
         "熏蒸剂",
         "杀菌剂",
         "除草剂",
         "除草剂/植物生长调节剂",
         "昆虫生长调节剂",
         "杀虫剂",
         "杀虫剂/杀螨剂",
         "杀虫剂/杀线虫剂",
         "杀虫剂/卫生杀虫剂",
         "杀螺剂",
         "杀软体动物剂",
         "杀线虫剂",
         "其它",
         "植物生长调节剂",
         "卫生杀虫剂",
         "忌避剂",
         "杀鼠剂",
         "增效剂"
     });
     this.cboNYLB.Location = new Point(468, 9);
     this.cboNYLB.Name = "cboNYLB";
     this.cboNYLB.Size = new Size(98, 22);
     this.cboNYLB.TabIndex = 8;
     this.label4.AutoSize = true;
     this.label4.BackColor = Color.Transparent;
     this.label4.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label4.Location = new Point(165, 47);
     this.label4.Name = "label4";
     this.label4.Size = new Size(91, 14);
     this.label4.TabIndex = 7;
     this.label4.Text = "防治对象类别";
     this.txtNF.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtNF.Location = new Point(389, 43);
     this.txtNF.Name = "txtNF";
     this.txtNF.Size = new Size(71, 23);
     this.txtNF.TabIndex = 5;
     this.txtFZDX.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtFZDX.ImeMode = ImeMode.On;
     this.txtFZDX.Location = new Point(267, 9);
     this.txtFZDX.Name = "txtFZDX";
     this.txtFZDX.Size = new Size(94, 23);
     this.txtFZDX.TabIndex = 3;
     this.txtDJZW.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDJZW.ImeMode = ImeMode.On;
     this.txtDJZW.Location = new Point(63, 9);
     this.txtDJZW.Name = "txtDJZW";
     this.txtDJZW.Size = new Size(94, 23);
     this.txtDJZW.TabIndex = 1;
     this.label6.AutoSize = true;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(409, 13);
     this.label6.Name = "label6";
     this.label6.Size = new Size(63, 14);
     this.label6.TabIndex = 21;
     this.label6.Text = "农药类别";
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(358, 47);
     this.label3.Name = "label3";
     this.label3.Size = new Size(35, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "年份";
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(1, 13);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "登记作物";
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label2.Location = new Point(205, 13);
     this.label2.Name = "label2";
     this.label2.Size = new Size(63, 14);
     this.label2.TabIndex = 4;
     this.label2.Text = "防治对象";
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(37, 130);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(143, 103);
     this.paneldata.TabIndex = 20;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(143, 103);
     this.gridControl1.TabIndex = 10;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn8,
         this.gridColumn9,
         this.gridColumn10,
         this.gridColumn11,
         this.gridColumn12,
         this.gridColumn13
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.CustomDrawCell += new RowCellCustomDrawEventHandler(this.gridView1_CustomDrawCell);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn7.Caption = "gridColumn7";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     this.gridColumn8.Caption = "gridColumn8";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 7;
     this.gridColumn9.Caption = "gridColumn9";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 8;
     this.gridColumn10.Caption = "gridColumn10";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 9;
     this.gridColumn11.Caption = "gridColumn11";
     this.gridColumn11.Name = "gridColumn11";
     this.gridColumn11.Visible = true;
     this.gridColumn11.VisibleIndex = 10;
     this.gridColumn12.Caption = "gridColumn12";
     this.gridColumn12.Name = "gridColumn12";
     this.gridColumn12.Visible = true;
     this.gridColumn12.VisibleIndex = 11;
     this.gridColumn13.Caption = "gridColumn13";
     this.gridColumn13.Name = "gridColumn13";
     this.gridColumn13.Visible = true;
     this.gridColumn13.VisibleIndex = 12;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(12, 123);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(166, 464);
     this.panelmenu.TabIndex = 22;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(166, 464);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(210, 35);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(474, 25);
     this.paneltop_right.TabIndex = 28;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(195, 31);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(4, 29);
     this.paneltop_middle.TabIndex = 27;
     this.paneltop_left.Location = new Point(12, 31);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 26;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(380, 2);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(308, 25);
     this.paneltitle_right.TabIndex = 25;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(241, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(263, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(285, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(264, 2);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(119, 25);
     this.paneltitle_middle.TabIndex = 24;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(0, 2);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 23;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(195, 77);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(633, 500);
     this.panelright.TabIndex = 29;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(8, 152);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(613, 334);
     this.panelwhite.TabIndex = 22;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(7, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(583, 40);
     this.panelbutton.TabIndex = 22;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Click += new EventHandler(this.pictureBox_sum_Click);
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(7, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(583, 28);
     this.paneldatasum.TabIndex = 21;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(583, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 21;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label7);
     this.panel_middle.Location = new Point(77, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 20;
     this.label7.BackColor = Color.Transparent;
     this.label7.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label7.Location = new Point(41, 7);
     this.label7.Name = "label7";
     this.label7.Size = new Size(253, 14);
     this.label7.TabIndex = 1;
     this.label7.Text = "作物对象=>农药";
     this.pictureBox_left.Location = new Point(8, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 19;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(850, 589);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmZWFZDX2NY";
     this.Text = "作物、防治对象=>农药";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmZWFZDX2NY_Load);
     base.Resize += new EventHandler(this.frmZWFZDX2NY_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #3
0
파일: frmDW.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmDW));
     this.lblCount = new Label();
     this.cboDWLB = new ComboBox();
     this.label5 = new Label();
     this.cboCountry = new ComboBox();
     this.label4 = new Label();
     this.label3 = new Label();
     this.txtCounty = new TextBox();
     this.label2 = new Label();
     this.txtCity = new TextBox();
     this.label1 = new Label();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.cboProvince = new ComboBox();
     this.label6 = new Label();
     this.txtDWMC = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.gridColumn7 = new GridColumn();
     this.gridColumn8 = new GridColumn();
     this.gridColumn9 = new GridColumn();
     this.gridColumn10 = new GridColumn();
     this.gridColumn11 = new GridColumn();
     this.gridColumn12 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label7 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.lblCount.AutoSize = true;
     this.lblCount.BackColor = Color.Transparent;
     this.lblCount.Location = new Point(320, 58);
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new Size(0, 14);
     this.lblCount.TabIndex = 14;
     this.cboDWLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboDWLB.FormattingEnabled = true;
     this.cboDWLB.Items.AddRange(new object[]
     {
         "管理",
         "科研",
         "推广",
         "销售",
         "贸易",
         "其他",
         "卫生杀虫剂试验",
         "植调剂试验",
         "杀鼠剂试验",
         "杀菌剂试验",
         "杀虫剂试验",
         "除草剂试验",
         "除草/植调试验"
     });
     this.cboDWLB.Location = new Point(66, 12);
     this.cboDWLB.Name = "cboDWLB";
     this.cboDWLB.Size = new Size(96, 22);
     this.cboDWLB.TabIndex = 13;
     this.label5.AutoSize = true;
     this.label5.BackColor = Color.Transparent;
     this.label5.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label5.Location = new Point(3, 16);
     this.label5.Name = "label5";
     this.label5.Size = new Size(63, 14);
     this.label5.TabIndex = 12;
     this.label5.Text = "单位类别";
     this.cboCountry.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboCountry.FormattingEnabled = true;
     this.cboCountry.Items.AddRange(new object[]
     {
         "中国",
         "奥地利",
         "澳大利亚",
         "保加利亚",
         "比利时",
         "波兰",
         "德国",
         "俄罗斯",
         "法国",
         "芬兰",
         "哥伦比亚",
         "古巴",
         "韩国",
         "荷兰",
         "加拿大",
         "捷克斯洛伐克",
         "肯尼亚",
         "马来西亚",
         "美国",
         "墨西哥",
         "葡萄牙",
         "日本",
         "瑞士",
         "斯洛伐克",
         "斯洛文尼亚",
         "泰国",
         "乌克兰",
         "西班牙",
         "新加坡",
         "新西兰",
         "匈牙利",
         "以色列",
         "意大利",
         "印度",
         "英国"
     });
     this.cboCountry.Location = new Point(197, 12);
     this.cboCountry.Name = "cboCountry";
     this.cboCountry.Size = new Size(108, 22);
     this.cboCountry.TabIndex = 8;
     this.label4.AutoSize = true;
     this.label4.BackColor = Color.Transparent;
     this.label4.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label4.Location = new Point(165, 16);
     this.label4.Name = "label4";
     this.label4.Size = new Size(35, 14);
     this.label4.TabIndex = 7;
     this.label4.Text = "国家";
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(575, 16);
     this.label3.Name = "label3";
     this.label3.Size = new Size(21, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "县";
     this.txtCounty.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtCounty.Location = new Point(596, 12);
     this.txtCounty.Name = "txtCounty";
     this.txtCounty.Size = new Size(96, 23);
     this.txtCounty.TabIndex = 5;
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label2.Location = new Point(453, 16);
     this.label2.Name = "label2";
     this.label2.Size = new Size(21, 14);
     this.label2.TabIndex = 4;
     this.label2.Text = "市";
     this.txtCity.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtCity.Location = new Point(476, 12);
     this.txtCity.Name = "txtCity";
     this.txtCity.Size = new Size(96, 23);
     this.txtCity.TabIndex = 3;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(3, 52);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "单位名称";
     this.btnReset.Location = new Point(81, 82);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(45, 23);
     this.btnReset.TabIndex = 21;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(21, 82);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(45, 23);
     this.btnSearch.TabIndex = 20;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.cboProvince);
     this.panelcondition.Controls.Add(this.label6);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.lblCount);
     this.panelcondition.Controls.Add(this.cboDWLB);
     this.panelcondition.Controls.Add(this.label5);
     this.panelcondition.Controls.Add(this.cboCountry);
     this.panelcondition.Controls.Add(this.label4);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.txtCounty);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.txtCity);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtDWMC);
     this.panelcondition.Location = new Point(3, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(712, 112);
     this.panelcondition.TabIndex = 19;
     this.cboProvince.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboProvince.FormattingEnabled = true;
     this.cboProvince.Items.AddRange(new object[]
     {
         "安徽省",
         "北京市",
         "福建省",
         "甘肃省",
         "广东省",
         "广西壮族自治区",
         "贵州省",
         "国外",
         "海南省",
         "河北省",
         "河南省",
         "黑龙江省",
         "湖北省",
         "湖南省",
         "吉林省",
         "江苏省",
         "江西省",
         "辽宁省",
         "内蒙古自治区",
         "宁夏回族自治区",
         "青海省",
         "山东省",
         "山西省",
         "陕西省",
         "上海市",
         "四川省",
         "台湾省",
         "天津市",
         "西藏自治区",
         "香港",
         "新疆区",
         "新疆维吾尔自治区",
         "云南省",
         "浙江省",
         "重庆市"
     });
     this.cboProvince.Location = new Point(328, 12);
     this.cboProvince.Name = "cboProvince";
     this.cboProvince.Size = new Size(124, 22);
     this.cboProvince.TabIndex = 17;
     this.label6.AutoSize = true;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(308, 16);
     this.label6.Name = "label6";
     this.label6.Size = new Size(21, 14);
     this.label6.TabIndex = 16;
     this.label6.Text = "省";
     this.txtDWMC.CharacterCasing = CharacterCasing.Upper;
     this.txtDWMC.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDWMC.ImeMode = ImeMode.On;
     this.txtDWMC.Location = new Point(66, 48);
     this.txtDWMC.Name = "txtDWMC";
     this.txtDWMC.Size = new Size(506, 23);
     this.txtDWMC.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(24, 238);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(356, 88);
     this.paneldata.TabIndex = 29;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(356, 88);
     this.gridControl1.TabIndex = 19;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn8,
         this.gridColumn9,
         this.gridColumn10,
         this.gridColumn11,
         this.gridColumn12
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn7.Caption = "gridColumn7";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     this.gridColumn8.Caption = "gridColumn8";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 7;
     this.gridColumn9.Caption = "gridColumn9";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 8;
     this.gridColumn10.Caption = "gridColumn10";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 9;
     this.gridColumn11.Caption = "gridColumn11";
     this.gridColumn11.Name = "gridColumn11";
     this.gridColumn11.Visible = true;
     this.gridColumn11.VisibleIndex = 10;
     this.gridColumn12.Caption = "gridColumn12";
     this.gridColumn12.Name = "gridColumn12";
     this.gridColumn12.Visible = true;
     this.gridColumn12.VisibleIndex = 11;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(1, 124);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(169, 439);
     this.panelmenu.TabIndex = 31;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(169, 439);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(510, 36);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(408, 25);
     this.paneltop_right.TabIndex = 37;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(196, 32);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(303, 29);
     this.paneltop_middle.TabIndex = 36;
     this.paneltop_left.Location = new Point(13, 32);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 35;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(680, 3);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(238, 25);
     this.paneltitle_right.TabIndex = 34;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(171, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(193, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(215, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(265, 3);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(418, 25);
     this.paneltitle_middle.TabIndex = 33;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(1, 3);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 32;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(196, 67);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(722, 487);
     this.panelright.TabIndex = 38;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(3, 155);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(712, 329);
     this.panelwhite.TabIndex = 30;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(6, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(689, 40);
     this.panelbutton.TabIndex = 31;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(6, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(689, 28);
     this.paneldatasum.TabIndex = 30;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(677, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 19;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label7);
     this.panel_middle.Location = new Point(69, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(466, 28);
     this.panel_middle.TabIndex = 18;
     this.label7.BackColor = Color.Transparent;
     this.label7.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label7.Location = new Point(41, 7);
     this.label7.Name = "label7";
     this.label7.Size = new Size(253, 14);
     this.label7.TabIndex = 1;
     this.label7.Text = "农药单位查询";
     this.pictureBox_left.Location = new Point(0, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 17;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(930, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmDW";
     this.Text = "农药相关单位查询";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frwDW_Load);
     base.Resize += new EventHandler(this.frmDW_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #4
0
파일: frmLS2ZS.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmLS2ZS));
     this.panelcondition = new Panel();
     this.label3 = new Label();
     this.txtQYMC = new TextBox();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.label2 = new Label();
     this.txtLSDJZH = new TextBox();
     this.label1 = new Label();
     this.txtZSDJZH = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.gridColumn7 = new GridColumn();
     this.gridColumn8 = new GridColumn();
     this.gridColumn9 = new GridColumn();
     this.gridColumn10 = new GridColumn();
     this.gridColumn11 = new GridColumn();
     this.gridColumn12 = new GridColumn();
     this.gridColumn13 = new GridColumn();
     this.gridColumn14 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.txtQYMC);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.txtLSDJZH);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtZSDJZH);
     this.panelcondition.Location = new Point(6, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(620, 96);
     this.panelcondition.TabIndex = 10;
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Location = new Point(31, 40);
     this.label3.Name = "label3";
     this.label3.Size = new Size(63, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "企业名称";
     this.txtQYMC.Location = new Point(94, 36);
     this.txtQYMC.Name = "txtQYMC";
     this.txtQYMC.Size = new Size(489, 23);
     this.txtQYMC.TabIndex = 5;
     this.btnReset.Location = new Point(66, 69);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(45, 23);
     this.btnReset.TabIndex = 12;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(6, 69);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(45, 23);
     this.btnSearch.TabIndex = 11;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Location = new Point(3, 7);
     this.label2.Name = "label2";
     this.label2.Size = new Size(91, 14);
     this.label2.TabIndex = 4;
     this.label2.Text = "临时登记证号";
     this.txtLSDJZH.CharacterCasing = CharacterCasing.Upper;
     this.txtLSDJZH.Location = new Point(94, 3);
     this.txtLSDJZH.Name = "txtLSDJZH";
     this.txtLSDJZH.Size = new Size(200, 23);
     this.txtLSDJZH.TabIndex = 3;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Location = new Point(293, 7);
     this.label1.Name = "label1";
     this.label1.Size = new Size(91, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "正式登记证号";
     this.txtZSDJZH.CharacterCasing = CharacterCasing.Upper;
     this.txtZSDJZH.Location = new Point(384, 3);
     this.txtZSDJZH.Name = "txtZSDJZH";
     this.txtZSDJZH.Size = new Size(200, 23);
     this.txtZSDJZH.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(6, 103);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(434, 200);
     this.paneldata.TabIndex = 19;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(434, 200);
     this.gridControl1.TabIndex = 10;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn8,
         this.gridColumn9,
         this.gridColumn10,
         this.gridColumn11,
         this.gridColumn12,
         this.gridColumn13,
         this.gridColumn14
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.CustomDrawCell += new RowCellCustomDrawEventHandler(this.gridView1_CustomDrawCell);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn7.Caption = "gridColumn7";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     this.gridColumn8.Caption = "gridColumn8";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 7;
     this.gridColumn9.Caption = "gridColumn9";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 8;
     this.gridColumn10.Caption = "gridColumn10";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 9;
     this.gridColumn11.Caption = "gridColumn11";
     this.gridColumn11.Name = "gridColumn11";
     this.gridColumn11.Visible = true;
     this.gridColumn11.VisibleIndex = 10;
     this.gridColumn12.Caption = "gridColumn12";
     this.gridColumn12.Name = "gridColumn12";
     this.gridColumn12.Visible = true;
     this.gridColumn12.VisibleIndex = 11;
     this.gridColumn13.Caption = "gridColumn13";
     this.gridColumn13.Name = "gridColumn13";
     this.gridColumn13.Visible = true;
     this.gridColumn13.VisibleIndex = 12;
     this.gridColumn14.Caption = "gridColumn14";
     this.gridColumn14.Name = "gridColumn14";
     this.gridColumn14.Visible = true;
     this.gridColumn14.VisibleIndex = 13;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(0, 175);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(178, 413);
     this.panelmenu.TabIndex = 21;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(178, 413);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(429, 34);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(409, 25);
     this.paneltop_right.TabIndex = 27;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(195, 30);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(223, 29);
     this.paneltop_middle.TabIndex = 26;
     this.paneltop_left.Location = new Point(12, 30);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 25;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(599, 1);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(223, 25);
     this.paneltitle_right.TabIndex = 24;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(156, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(178, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(200, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(264, 1);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(338, 25);
     this.paneltitle_middle.TabIndex = 23;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(0, 1);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 22;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(209, 65);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(629, 512);
     this.panelright.TabIndex = 28;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(6, 154);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(620, 355);
     this.panelwhite.TabIndex = 23;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(6, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(612, 40);
     this.panelbutton.TabIndex = 21;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Click += new EventHandler(this.pictureBox_sum_Click);
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(6, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(612, 28);
     this.paneldatasum.TabIndex = 20;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(588, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 22;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(75, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 21;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "临时转正式";
     this.pictureBox_left.Location = new Point(6, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 20;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(850, 589);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmLS2ZS";
     this.Text = "临时转正式查询";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmLS2ZS_Load);
     base.Resize += new EventHandler(this.frmLS2ZS_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #5
0
파일: frmZD2JJ.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmZD2JJ));
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.label1 = new Label();
     this.txtYXCF = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.btnReset.Location = new Point(111, 48);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 20;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(55, 48);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 19;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtYXCF);
     this.panelcondition.Location = new Point(4, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(551, 86);
     this.panelcondition.TabIndex = 18;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(1, 17);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "有效成分";
     this.txtYXCF.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtYXCF.ImeMode = ImeMode.On;
     this.txtYXCF.Location = new Point(64, 13);
     this.txtYXCF.Name = "txtYXCF";
     this.txtYXCF.Size = new Size(293, 23);
     this.txtYXCF.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(113, 155);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(117, 54);
     this.paneldata.TabIndex = 28;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(117, 54);
     this.gridControl1.TabIndex = 3;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(1, 146);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(177, 418);
     this.panelmenu.TabIndex = 30;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(177, 418);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(372, 33);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(406, 25);
     this.paneltop_right.TabIndex = 36;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(196, 29);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 35;
     this.paneltop_left.Location = new Point(13, 29);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 34;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(542, 0);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(238, 25);
     this.paneltitle_right.TabIndex = 33;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(171, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(193, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(215, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(265, 0);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 32;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(1, 0);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 31;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(201, 75);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(577, 479);
     this.panelright.TabIndex = 37;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(4, 129);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(551, 338);
     this.panelwhite.TabIndex = 32;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(4, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(525, 40);
     this.panelbutton.TabIndex = 30;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Visible = false;
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Visible = false;
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(4, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(525, 28);
     this.paneldatasum.TabIndex = 29;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(534, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 31;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(73, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 30;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "中毒与急救";
     this.pictureBox_left.Location = new Point(4, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 29;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmZD2JJ";
     this.Text = "中毒与急救";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmZD2JJ_Load);
     base.Resize += new EventHandler(this.frmZD2JJ_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #6
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmFZDX2ZW));

            this.panelcondition    = new Panel();
            this.btnReset          = new Button();
            this.btnSearch         = new Button();
            this.cboZWLB           = new ComboBox();
            this.label3            = new Label();
            this.label1            = new Label();
            this.txtFZDX           = new TextBox();
            this.paneldata         = new Panel();
            this.gridControl1      = new GridControl();
            this.gridView1         = new GridView();
            this.gridColumn1       = new GridColumn();
            this.gridColumn2       = new GridColumn();
            this.panelmenu         = new Panel();
            this.userManu1         = new UserManu();
            this.paneltop_right    = new Panel();
            this.paneltop_middle   = new Panel();
            this.paneltop_left     = new Panel();
            this.paneltitle_right  = new Panel();
            this.pictureBox3       = new PictureBox();
            this.pictureBox2       = new PictureBox();
            this.pictureBox1       = new PictureBox();
            this.paneltitle_middle = new Panel();
            this.paneltitle_left   = new Panel();
            this.panelright        = new Panel();
            this.panelwhite        = new Panel();
            this.panelbutton       = new Panel();
            this.pictureBox_sum    = new PictureBox();
            this.pictureBox_view   = new PictureBox();
            this.pictureBox_sort   = new PictureBox();
            this.pictureBox_filter = new PictureBox();
            this.paneldatasum      = new Panel();
            this.labeldatacount    = new Label();
            this.pictureBox_right  = new PictureBox();
            this.panel_middle      = new Panel();
            this.label6            = new Label();
            this.pictureBox_left   = new PictureBox();
            this.panelcondition.SuspendLayout();
            this.paneldata.SuspendLayout();
            ((ISupportInitialize)this.gridControl1).BeginInit();
            ((ISupportInitialize)this.gridView1).BeginInit();
            this.panelmenu.SuspendLayout();
            this.paneltitle_right.SuspendLayout();
            ((ISupportInitialize)this.pictureBox3).BeginInit();
            ((ISupportInitialize)this.pictureBox2).BeginInit();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            this.panelright.SuspendLayout();
            this.panelwhite.SuspendLayout();
            this.panelbutton.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_sum).BeginInit();
            ((ISupportInitialize)this.pictureBox_view).BeginInit();
            ((ISupportInitialize)this.pictureBox_sort).BeginInit();
            ((ISupportInitialize)this.pictureBox_filter).BeginInit();
            this.paneldatasum.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_right).BeginInit();
            this.panel_middle.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_left).BeginInit();
            base.SuspendLayout();
            this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelcondition.Controls.Add(this.btnReset);
            this.panelcondition.Controls.Add(this.btnSearch);
            this.panelcondition.Controls.Add(this.cboZWLB);
            this.panelcondition.Controls.Add(this.label3);
            this.panelcondition.Controls.Add(this.label1);
            this.panelcondition.Controls.Add(this.txtFZDX);
            this.panelcondition.Location           = new Point(3, 37);
            this.panelcondition.Name               = "panelcondition";
            this.panelcondition.Size               = new Size(596, 107);
            this.panelcondition.TabIndex           = 17;
            this.btnReset.Location                 = new Point(75, 76);
            this.btnReset.Name                     = "btnReset";
            this.btnReset.Size                     = new Size(50, 23);
            this.btnReset.TabIndex                 = 19;
            this.btnReset.Text                     = "重置";
            this.btnReset.UseVisualStyleBackColor  = true;
            this.btnReset.Click                   += new EventHandler(this.btnReset_Click);
            this.btnSearch.Location                = new Point(19, 76);
            this.btnSearch.Name                    = "btnSearch";
            this.btnSearch.Size                    = new Size(50, 23);
            this.btnSearch.TabIndex                = 18;
            this.btnSearch.Text                    = "查询";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click                  += new EventHandler(this.btnSearch_Click);
            this.cboZWLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.cboZWLB.FormattingEnabled = true;
            this.cboZWLB.Items.AddRange(new object[]
            {
                "茶",
                "稻",
                "豆菜",
                "豆类",
                "干果",
                "柑橘",
                "高粱",
                "根.茎菜",
                "谷子",
                "观赏植物",
                "果菜",
                "果瓜",
                "建筑",
                "浆果",
                "林木",
                "路",
                "绿肥",
                "落叶果",
                "麦类",
                "苗圃",
                "木材防腐",
                "牧草",
                "其它",
                "其它果",
                "其它经济作物",
                "其它蔬菜",
                "热带果",
                "桑",
                "森林防火",
                "食品",
                "薯类",
                "糖料作物",
                "田、地",
                "卫生",
                "纤维作物",
                "烟草",
                "叶菜",
                "衣物",
                "油料作物",
                "玉米",
                "植被",
                "种子",
                "贮粮",
                "橄榄树"
            });
            this.cboZWLB.Location = new Point(366, 18);
            this.cboZWLB.Name     = "cboZWLB";
            this.cboZWLB.Size     = new Size(208, 22);
            this.cboZWLB.TabIndex = 8;
            this.label3.AutoSize  = true;
            this.label3.BackColor = Color.Transparent;
            this.label3.Font      = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label3.Location  = new Point(286, 22);
            this.label3.Name      = "label3";
            this.label3.Size      = new Size(63, 14);
            this.label3.TabIndex  = 6;
            this.label3.Text      = "作物类别";
            this.label1.AutoSize  = true;
            this.label1.BackColor = Color.Transparent;
            this.label1.Font      = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label1.Location  = new Point(1, 22);
            this.label1.Name      = "label1";
            this.label1.Size      = new Size(63, 14);
            this.label1.TabIndex  = 2;
            this.label1.Text      = "防治对象";
            this.txtFZDX.Font     = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtFZDX.ImeMode  = ImeMode.On;
            this.txtFZDX.Location = new Point(64, 18);
            this.txtFZDX.Name     = "txtFZDX";
            this.txtFZDX.Size     = new Size(208, 23);
            this.txtFZDX.TabIndex = 1;
            this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldata.Controls.Add(this.gridControl1);
            this.paneldata.Location    = new Point(51, 222);
            this.paneldata.Name        = "paneldata";
            this.paneldata.Size        = new Size(169, 77);
            this.paneldata.TabIndex    = 26;
            this.gridControl1.Dock     = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.Size     = new Size(169, 77);
            this.gridControl1.TabIndex = 17;
            this.gridControl1.ViewCollection.AddRange(new BaseView[]
            {
                this.gridView1
            });
            this.gridView1.Columns.AddRange(new GridColumn[]
            {
                this.gridColumn1,
                this.gridColumn2
            });
            this.gridView1.GridControl             = this.gridControl1;
            this.gridView1.Name                    = "gridView1";
            this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
            this.gridView1.RowCountChanged        += new EventHandler(this.gridView1_RowCountChanged);
            this.gridView1.RowCellClick           += new RowCellClickEventHandler(this.gridView1_RowCellClick);
            this.gridColumn1.Caption               = "gridColumn1";
            this.gridColumn1.Name                  = "gridColumn1";
            this.gridColumn1.Visible               = true;
            this.gridColumn1.VisibleIndex          = 0;
            this.gridColumn2.Caption               = "gridColumn2";
            this.gridColumn2.Name                  = "gridColumn2";
            this.gridColumn2.Visible               = true;
            this.gridColumn2.VisibleIndex          = 1;
            this.panelmenu.Anchor                  = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.panelmenu.Controls.Add(this.userManu1);
            this.panelmenu.Location       = new Point(2, 133);
            this.panelmenu.Name           = "panelmenu";
            this.panelmenu.Size           = new Size(154, 429);
            this.panelmenu.TabIndex       = 28;
            this.userManu1.BackColor      = Color.FromArgb(107, 161, 179);
            this.userManu1.Dock           = DockStyle.Fill;
            this.userManu1.Location       = new Point(0, 0);
            this.userManu1.Name           = "userManu1";
            this.userManu1.Size           = new Size(154, 429);
            this.userManu1.TabIndex       = 0;
            this.paneltop_right.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltop_right.Location  = new Point(373, 35);
            this.paneltop_right.Name      = "paneltop_right";
            this.paneltop_right.Size      = new Size(407, 25);
            this.paneltop_right.TabIndex  = 34;
            this.paneltop_middle.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltop_middle.Location = new Point(197, 31);
            this.paneltop_middle.Name     = "paneltop_middle";
            this.paneltop_middle.Size     = new Size(165, 29);
            this.paneltop_middle.TabIndex = 33;
            this.paneltop_left.Location   = new Point(14, 31);
            this.paneltop_left.Name       = "paneltop_left";
            this.paneltop_left.Size       = new Size(185, 29);
            this.paneltop_left.TabIndex   = 32;
            this.paneltitle_right.Anchor  = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltitle_right.Controls.Add(this.pictureBox3);
            this.paneltitle_right.Controls.Add(this.pictureBox2);
            this.paneltitle_right.Controls.Add(this.pictureBox1);
            this.paneltitle_right.Location    = new Point(543, 2);
            this.paneltitle_right.Name        = "paneltitle_right";
            this.paneltitle_right.Size        = new Size(237, 25);
            this.paneltitle_right.TabIndex    = 31;
            this.pictureBox3.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox3.Image            = (Image)componentResourceManager.GetObject("pictureBox3.Image");
            this.pictureBox3.Location         = new Point(170, 2);
            this.pictureBox3.Name             = "pictureBox3";
            this.pictureBox3.Size             = new Size(21, 21);
            this.pictureBox3.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox3.TabIndex         = 23;
            this.pictureBox3.TabStop          = false;
            this.pictureBox3.MouseLeave      += new EventHandler(this.pictureBox3_MouseLeave);
            this.pictureBox3.Click           += new EventHandler(this.pictureBox3_Click);
            this.pictureBox3.MouseEnter      += new EventHandler(this.pictureBox3_MouseEnter);
            this.pictureBox2.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox2.Image            = (Image)componentResourceManager.GetObject("pictureBox2.Image");
            this.pictureBox2.Location         = new Point(192, 2);
            this.pictureBox2.Name             = "pictureBox2";
            this.pictureBox2.Size             = new Size(21, 21);
            this.pictureBox2.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox2.TabIndex         = 22;
            this.pictureBox2.TabStop          = false;
            this.pictureBox2.MouseLeave      += new EventHandler(this.pictureBox2_MouseLeave);
            this.pictureBox2.Click           += new EventHandler(this.pictureBox2_Click);
            this.pictureBox2.MouseEnter      += new EventHandler(this.pictureBox2_MouseEnter);
            this.pictureBox1.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox1.Image            = (Image)componentResourceManager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location         = new Point(214, 2);
            this.pictureBox1.Name             = "pictureBox1";
            this.pictureBox1.Size             = new Size(21, 21);
            this.pictureBox1.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex         = 21;
            this.pictureBox1.TabStop          = false;
            this.pictureBox1.MouseLeave      += new EventHandler(this.pictureBox1_MouseLeave);
            this.pictureBox1.Click           += new EventHandler(this.pictureBox1_Click);
            this.pictureBox1.MouseEnter      += new EventHandler(this.pictureBox1_MouseEnter);
            this.paneltitle_middle.Anchor     = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltitle_middle.Location   = new Point(266, 2);
            this.paneltitle_middle.Name       = "paneltitle_middle";
            this.paneltitle_middle.Size       = new Size(280, 25);
            this.paneltitle_middle.TabIndex   = 30;
            this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
            this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
            this.paneltitle_middle.MouseUp   += new MouseEventHandler(this.paneltitle_middle_MouseUp);
            this.paneltitle_left.Location     = new Point(2, 2);
            this.paneltitle_left.Name         = "paneltitle_left";
            this.paneltitle_left.Size         = new Size(264, 25);
            this.paneltitle_left.TabIndex     = 29;
            this.panelright.Anchor            = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelright.Controls.Add(this.panelwhite);
            this.panelright.Controls.Add(this.pictureBox_right);
            this.panelright.Controls.Add(this.panel_middle);
            this.panelright.Controls.Add(this.pictureBox_left);
            this.panelright.Controls.Add(this.panelcondition);
            this.panelright.Location = new Point(174, 71);
            this.panelright.Name     = "panelright";
            this.panelright.Size     = new Size(606, 483);
            this.panelright.TabIndex = 35;
            this.panelwhite.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelwhite.Controls.Add(this.panelbutton);
            this.panelwhite.Controls.Add(this.paneldatasum);
            this.panelwhite.Controls.Add(this.paneldata);
            this.panelwhite.Location = new Point(7, 156);
            this.panelwhite.Name     = "panelwhite";
            this.panelwhite.Size     = new Size(592, 324);
            this.panelwhite.TabIndex = 30;
            this.panelbutton.Anchor  = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelbutton.Controls.Add(this.pictureBox_sum);
            this.panelbutton.Controls.Add(this.pictureBox_view);
            this.panelbutton.Controls.Add(this.pictureBox_sort);
            this.panelbutton.Controls.Add(this.pictureBox_filter);
            this.panelbutton.Location        = new Point(3, 37);
            this.panelbutton.Name            = "panelbutton";
            this.panelbutton.Size            = new Size(567, 40);
            this.panelbutton.TabIndex        = 28;
            this.pictureBox_sum.BackColor    = Color.Transparent;
            this.pictureBox_sum.Cursor       = Cursors.Hand;
            this.pictureBox_sum.Location     = new Point(352, 9);
            this.pictureBox_sum.Name         = "pictureBox_sum";
            this.pictureBox_sum.Size         = new Size(65, 24);
            this.pictureBox_sum.SizeMode     = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sum.TabIndex     = 3;
            this.pictureBox_sum.TabStop      = false;
            this.pictureBox_sum.Visible      = false;
            this.pictureBox_view.BackColor   = Color.Transparent;
            this.pictureBox_view.Cursor      = Cursors.Hand;
            this.pictureBox_view.Location    = new Point(253, 9);
            this.pictureBox_view.Name        = "pictureBox_view";
            this.pictureBox_view.Size        = new Size(65, 24);
            this.pictureBox_view.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_view.TabIndex    = 2;
            this.pictureBox_view.TabStop     = false;
            this.pictureBox_view.Visible     = false;
            this.pictureBox_sort.BackColor   = Color.Transparent;
            this.pictureBox_sort.Cursor      = Cursors.Hand;
            this.pictureBox_sort.Location    = new Point(154, 9);
            this.pictureBox_sort.Name        = "pictureBox_sort";
            this.pictureBox_sort.Size        = new Size(65, 24);
            this.pictureBox_sort.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sort.TabIndex    = 1;
            this.pictureBox_sort.TabStop     = false;
            this.pictureBox_sort.Visible     = false;
            this.pictureBox_filter.BackColor = Color.Transparent;
            this.pictureBox_filter.Cursor    = Cursors.Hand;
            this.pictureBox_filter.Location  = new Point(55, 9);
            this.pictureBox_filter.Name      = "pictureBox_filter";
            this.pictureBox_filter.Size      = new Size(65, 24);
            this.pictureBox_filter.SizeMode  = PictureBoxSizeMode.AutoSize;
            this.pictureBox_filter.TabIndex  = 0;
            this.pictureBox_filter.TabStop   = false;
            this.pictureBox_filter.Click    += new EventHandler(this.pictureBox_filter_Click);
            this.paneldatasum.Anchor         = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldatasum.Controls.Add(this.labeldatacount);
            this.paneldatasum.Location     = new Point(3, 3);
            this.paneldatasum.Name         = "paneldatasum";
            this.paneldatasum.Size         = new Size(572, 28);
            this.paneldatasum.TabIndex     = 27;
            this.labeldatacount.BackColor  = Color.Transparent;
            this.labeldatacount.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.labeldatacount.Location   = new Point(41, 8);
            this.labeldatacount.Name       = "labeldatacount";
            this.labeldatacount.Size       = new Size(253, 14);
            this.labeldatacount.TabIndex   = 0;
            this.pictureBox_right.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox_right.Location = new Point(561, 3);
            this.pictureBox_right.Name     = "pictureBox_right";
            this.pictureBox_right.Size     = new Size(38, 28);
            this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_right.TabIndex = 29;
            this.pictureBox_right.TabStop  = false;
            this.panel_middle.Anchor       = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panel_middle.Controls.Add(this.label6);
            this.panel_middle.Location    = new Point(71, 3);
            this.panel_middle.Name        = "panel_middle";
            this.panel_middle.Size        = new Size(328, 28);
            this.panel_middle.TabIndex    = 28;
            this.label6.BackColor         = Color.Transparent;
            this.label6.Font              = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
            this.label6.Location          = new Point(41, 7);
            this.label6.Name              = "label6";
            this.label6.Size              = new Size(253, 14);
            this.label6.TabIndex          = 1;
            this.label6.Text              = "防治对象=>作物";
            this.pictureBox_left.Location = new Point(2, 3);
            this.pictureBox_left.Name     = "pictureBox_left";
            this.pictureBox_left.Size     = new Size(17, 28);
            this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_left.TabIndex = 27;
            this.pictureBox_left.TabStop  = false;
            base.AcceptButton             = this.btnSearch;
            base.AutoScaleMode            = AutoScaleMode.None;
            base.ClientSize = new Size(792, 566);
            base.Controls.Add(this.panelright);
            base.Controls.Add(this.paneltop_right);
            base.Controls.Add(this.paneltop_middle);
            base.Controls.Add(this.paneltop_left);
            base.Controls.Add(this.paneltitle_right);
            base.Controls.Add(this.paneltitle_middle);
            base.Controls.Add(this.paneltitle_left);
            base.Controls.Add(this.panelmenu);
            this.Font            = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.Name            = "frmFZDX2ZW";
            base.ShowInTaskbar   = false;
            this.Text            = "防治对象=>作物";
            base.WindowState     = FormWindowState.Maximized;
            base.Load           += new EventHandler(this.frmFZDX2ZW_Load);
            base.Resize         += new EventHandler(this.frmFZDX2ZW_Resize);
            this.panelcondition.ResumeLayout(false);
            this.panelcondition.PerformLayout();
            this.paneldata.ResumeLayout(false);
            ((ISupportInitialize)this.gridControl1).EndInit();
            ((ISupportInitialize)this.gridView1).EndInit();
            this.panelmenu.ResumeLayout(false);
            this.paneltitle_right.ResumeLayout(false);
            this.paneltitle_right.PerformLayout();
            ((ISupportInitialize)this.pictureBox3).EndInit();
            ((ISupportInitialize)this.pictureBox2).EndInit();
            ((ISupportInitialize)this.pictureBox1).EndInit();
            this.panelright.ResumeLayout(false);
            this.panelright.PerformLayout();
            this.panelwhite.ResumeLayout(false);
            this.panelbutton.ResumeLayout(false);
            this.panelbutton.PerformLayout();
            ((ISupportInitialize)this.pictureBox_sum).EndInit();
            ((ISupportInitialize)this.pictureBox_view).EndInit();
            ((ISupportInitialize)this.pictureBox_sort).EndInit();
            ((ISupportInitialize)this.pictureBox_filter).EndInit();
            this.paneldatasum.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_right).EndInit();
            this.panel_middle.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_left).EndInit();
            base.ResumeLayout(false);
        }
예제 #7
0
파일: frmHJDX.cs 프로젝트: wangshu/NY_HACK
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmHJDX));

            this.label5            = new Label();
            this.label4            = new Label();
            this.txtYXCF           = new TextBox();
            this.cboGWDX           = new ComboBox();
            this.panelcondition    = new Panel();
            this.btnReset          = new Button();
            this.btnSearch         = new Button();
            this.label2            = new Label();
            this.cboZGDX           = new ComboBox();
            this.paneldata         = new Panel();
            this.gridControl1      = new GridControl();
            this.gridView1         = new GridView();
            this.gridColumn1       = new GridColumn();
            this.gridColumn2       = new GridColumn();
            this.gridColumn3       = new GridColumn();
            this.gridColumn4       = new GridColumn();
            this.gridColumn5       = new GridColumn();
            this.gridColumn6       = new GridColumn();
            this.gridColumn7       = new GridColumn();
            this.gridColumn8       = new GridColumn();
            this.panelmenu         = new Panel();
            this.userManu1         = new UserManu();
            this.paneltop_right    = new Panel();
            this.paneltop_middle   = new Panel();
            this.paneltop_left     = new Panel();
            this.paneltitle_right  = new Panel();
            this.pictureBox3       = new PictureBox();
            this.pictureBox2       = new PictureBox();
            this.pictureBox1       = new PictureBox();
            this.paneltitle_middle = new Panel();
            this.paneltitle_left   = new Panel();
            this.panelright        = new Panel();
            this.panelwhite        = new Panel();
            this.panelbutton       = new Panel();
            this.pictureBox_sum    = new PictureBox();
            this.pictureBox_view   = new PictureBox();
            this.pictureBox_sort   = new PictureBox();
            this.pictureBox_filter = new PictureBox();
            this.paneldatasum      = new Panel();
            this.labeldatacount    = new Label();
            this.pictureBox_right  = new PictureBox();
            this.panel_middle      = new Panel();
            this.label6            = new Label();
            this.pictureBox_left   = new PictureBox();
            this.panelcondition.SuspendLayout();
            this.paneldata.SuspendLayout();
            ((ISupportInitialize)this.gridControl1).BeginInit();
            ((ISupportInitialize)this.gridView1).BeginInit();
            this.panelmenu.SuspendLayout();
            this.paneltitle_right.SuspendLayout();
            ((ISupportInitialize)this.pictureBox3).BeginInit();
            ((ISupportInitialize)this.pictureBox2).BeginInit();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            this.panelright.SuspendLayout();
            this.panelwhite.SuspendLayout();
            this.panelbutton.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_sum).BeginInit();
            ((ISupportInitialize)this.pictureBox_view).BeginInit();
            ((ISupportInitialize)this.pictureBox_sort).BeginInit();
            ((ISupportInitialize)this.pictureBox_filter).BeginInit();
            this.paneldatasum.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_right).BeginInit();
            this.panel_middle.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_left).BeginInit();
            base.SuspendLayout();
            this.label5.AutoSize           = true;
            this.label5.BackColor          = Color.Transparent;
            this.label5.Font               = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label5.Location           = new Point(3, 16);
            this.label5.Name               = "label5";
            this.label5.Size               = new Size(63, 14);
            this.label5.TabIndex           = 24;
            this.label5.Text               = "有效成分";
            this.label4.AutoSize           = true;
            this.label4.BackColor          = Color.Transparent;
            this.label4.Font               = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label4.Location           = new Point(275, 53);
            this.label4.Name               = "label4";
            this.label4.Size               = new Size(63, 14);
            this.label4.TabIndex           = 22;
            this.label4.Text               = "国外毒性";
            this.txtYXCF.Font              = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtYXCF.ImeMode           = ImeMode.On;
            this.txtYXCF.Location          = new Point(66, 12);
            this.txtYXCF.Name              = "txtYXCF";
            this.txtYXCF.Size              = new Size(500, 23);
            this.txtYXCF.TabIndex          = 23;
            this.cboGWDX.Font              = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.cboGWDX.FormattingEnabled = true;
            this.cboGWDX.Items.AddRange(new object[]
            {
                "按常规使用时一般不可能发生急性危害的农药",
                "急性经口LD50(mg/kg):500~5000;急性经皮LD50(mg/kg):2000~20000;吸入LC50(mg/L) :2.0~20;对眼睛的影响:  可引起角膜浑浊,刺激在7 天内能恢复。 对皮肤的影响:在72小 时内中等刺激。",
                "未知",
                "(Extremely hazardous,极度 危害)   LD50大鼠(mg/kg bw) 经口固体(5或<5),液体(20或 <20)。经皮固体(10或<10),液  体(40或<40)",
                "(Highly hazardous,高度危害)LD50大鼠(mg/kg bw)经口固体(5~50)液 体(20~200)。经皮固体 (10~100),液体(40~400)",
                "(Moderately hazardous,  中度危害)LD50大鼠(mg/kgbw)经口固体(50~500)液体(200~2000),经皮固体(100~1000)液体(400~4000)",
                "(Slightly hazardous 轻度危害)LD50大鼠 (mg/kg bw),经口固体(>500) 液体( >2000) 经皮固体(>1000),液体(>4000)",
                "已废旧的或不再使用的农药",
                "没有分类的气体或挥发性 熏蒸剂",
                "急性经口LD50(mg/kg):≥5000;急性经皮LD50(mg/kg):≥20000; 吸入LC50(mg/L): ≥20;对眼睛的影响:无刺 激;对皮肤的影响:在72小 时内有轻微的刺激。",
                "急性经口LD50(mg/kg):<=50;急性经皮LD50(mg/kg):<=200;  吸入LC50(mg/L):<=0.2; 对眼睛的影响:腐蚀、角膜浑浊在7天内不可逆;对皮 肤的影响:腐蚀。",
                "急性经口LD50(mg/kg):50~500;急性经皮LD50(mg/kg):200~2000;吸入LC50(mg/L):0.2~2.0;对眼睛的影响:角膜浑浊,在7天内可逆,刺激持续7天;对皮肤的影响:72小时内有严重刺激。"
            });
            this.cboGWDX.Location      = new Point(338, 49);
            this.cboGWDX.Name          = "cboGWDX";
            this.cboGWDX.Size          = new Size(206, 22);
            this.cboGWDX.TabIndex      = 21;
            this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelcondition.Controls.Add(this.label5);
            this.panelcondition.Controls.Add(this.txtYXCF);
            this.panelcondition.Controls.Add(this.btnReset);
            this.panelcondition.Controls.Add(this.btnSearch);
            this.panelcondition.Controls.Add(this.label4);
            this.panelcondition.Controls.Add(this.cboGWDX);
            this.panelcondition.Controls.Add(this.label2);
            this.panelcondition.Controls.Add(this.cboZGDX);
            this.panelcondition.Location           = new Point(5, 37);
            this.panelcondition.Name               = "panelcondition";
            this.panelcondition.Size               = new Size(581, 121);
            this.panelcondition.TabIndex           = 39;
            this.btnReset.Location                 = new Point(81, 91);
            this.btnReset.Name                     = "btnReset";
            this.btnReset.Size                     = new Size(50, 23);
            this.btnReset.TabIndex                 = 29;
            this.btnReset.Text                     = "重置";
            this.btnReset.UseVisualStyleBackColor  = true;
            this.btnReset.Click                   += new EventHandler(this.btnReset_Click);
            this.btnSearch.Location                = new Point(25, 91);
            this.btnSearch.Name                    = "btnSearch";
            this.btnSearch.Size                    = new Size(50, 23);
            this.btnSearch.TabIndex                = 28;
            this.btnSearch.Text                    = "查询";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click                  += new EventHandler(this.btnSearch_Click);
            this.label2.AutoSize                   = true;
            this.label2.BackColor                  = Color.Transparent;
            this.label2.Font               = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label2.Location           = new Point(3, 53);
            this.label2.Name               = "label2";
            this.label2.Size               = new Size(63, 14);
            this.label2.TabIndex           = 18;
            this.label2.Text               = "中国毒性";
            this.cboZGDX.Font              = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.cboZGDX.FormattingEnabled = true;
            this.cboZGDX.Items.AddRange(new object[]
            {
                "中等毒",
                "其它",
                "低毒",
                "高毒",
                "剧毒",
                "低毒(原药中等毒)",
                "中等毒 (原药高毒)",
                "低毒(原药高毒)",
                "微毒",
                "微毒 (原药中等毒)",
                "微毒(原药低毒)",
                "高毒(原药剧毒)",
                "微毒(原药高毒)",
                "高毒(小鼠)",
                "中等毒(原药剧毒)",
                "低毒(原药剧毒)"
            });
            this.cboZGDX.Location = new Point(66, 49);
            this.cboZGDX.Name     = "cboZGDX";
            this.cboZGDX.Size     = new Size(206, 22);
            this.cboZGDX.TabIndex = 16;
            this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldata.Controls.Add(this.gridControl1);
            this.paneldata.Location    = new Point(35, 156);
            this.paneldata.Name        = "paneldata";
            this.paneldata.Size        = new Size(105, 44);
            this.paneldata.TabIndex    = 44;
            this.gridControl1.Dock     = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.Size     = new Size(105, 44);
            this.gridControl1.TabIndex = 39;
            this.gridControl1.ViewCollection.AddRange(new BaseView[]
            {
                this.gridView1
            });
            this.gridView1.Columns.AddRange(new GridColumn[]
            {
                this.gridColumn1,
                this.gridColumn2,
                this.gridColumn3,
                this.gridColumn4,
                this.gridColumn5,
                this.gridColumn6,
                this.gridColumn7,
                this.gridColumn8
            });
            this.gridView1.GridControl             = this.gridControl1;
            this.gridView1.Name                    = "gridView1";
            this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
            this.gridView1.RowCountChanged        += new EventHandler(this.gridView1_RowCountChanged);
            this.gridView1.RowCellClick           += new RowCellClickEventHandler(this.gridView1_RowCellClick);
            this.gridColumn1.Caption               = "gridColumn1";
            this.gridColumn1.Name                  = "gridColumn1";
            this.gridColumn1.Visible               = true;
            this.gridColumn1.VisibleIndex          = 0;
            this.gridColumn2.Caption               = "gridColumn2";
            this.gridColumn2.Name                  = "gridColumn2";
            this.gridColumn2.Visible               = true;
            this.gridColumn2.VisibleIndex          = 1;
            this.gridColumn3.Caption               = "gridColumn3";
            this.gridColumn3.Name                  = "gridColumn3";
            this.gridColumn3.Visible               = true;
            this.gridColumn3.VisibleIndex          = 2;
            this.gridColumn4.Caption               = "gridColumn4";
            this.gridColumn4.Name                  = "gridColumn4";
            this.gridColumn4.Visible               = true;
            this.gridColumn4.VisibleIndex          = 3;
            this.gridColumn5.Caption               = "gridColumn5";
            this.gridColumn5.Name                  = "gridColumn5";
            this.gridColumn5.Visible               = true;
            this.gridColumn5.VisibleIndex          = 4;
            this.gridColumn6.Caption               = "gridColumn6";
            this.gridColumn6.Name                  = "gridColumn6";
            this.gridColumn6.Visible               = true;
            this.gridColumn6.VisibleIndex          = 5;
            this.gridColumn7.Caption               = "gridColumn7";
            this.gridColumn7.Name                  = "gridColumn7";
            this.gridColumn7.Visible               = true;
            this.gridColumn7.VisibleIndex          = 6;
            this.gridColumn8.Caption               = "gridColumn8";
            this.gridColumn8.Name                  = "gridColumn8";
            this.gridColumn8.Visible               = true;
            this.gridColumn8.VisibleIndex          = 7;
            this.panelmenu.Anchor                  = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.panelmenu.Controls.Add(this.userManu1);
            this.panelmenu.Location       = new Point(2, 120);
            this.panelmenu.Name           = "panelmenu";
            this.panelmenu.Size           = new Size(170, 444);
            this.panelmenu.TabIndex       = 46;
            this.userManu1.BackColor      = Color.FromArgb(107, 161, 179);
            this.userManu1.Dock           = DockStyle.Fill;
            this.userManu1.Location       = new Point(0, 0);
            this.userManu1.Name           = "userManu1";
            this.userManu1.Size           = new Size(170, 444);
            this.userManu1.TabIndex       = 0;
            this.paneltop_right.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltop_right.Location  = new Point(373, 34);
            this.paneltop_right.Name      = "paneltop_right";
            this.paneltop_right.Size      = new Size(405, 25);
            this.paneltop_right.TabIndex  = 52;
            this.paneltop_middle.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltop_middle.Location = new Point(197, 30);
            this.paneltop_middle.Name     = "paneltop_middle";
            this.paneltop_middle.Size     = new Size(165, 29);
            this.paneltop_middle.TabIndex = 51;
            this.paneltop_left.Location   = new Point(14, 30);
            this.paneltop_left.Name       = "paneltop_left";
            this.paneltop_left.Size       = new Size(185, 29);
            this.paneltop_left.TabIndex   = 50;
            this.paneltitle_right.Anchor  = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltitle_right.Controls.Add(this.pictureBox3);
            this.paneltitle_right.Controls.Add(this.pictureBox2);
            this.paneltitle_right.Controls.Add(this.pictureBox1);
            this.paneltitle_right.Location    = new Point(543, 1);
            this.paneltitle_right.Name        = "paneltitle_right";
            this.paneltitle_right.Size        = new Size(237, 25);
            this.paneltitle_right.TabIndex    = 49;
            this.pictureBox3.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox3.Image            = (Image)componentResourceManager.GetObject("pictureBox3.Image");
            this.pictureBox3.Location         = new Point(170, 2);
            this.pictureBox3.Name             = "pictureBox3";
            this.pictureBox3.Size             = new Size(21, 21);
            this.pictureBox3.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox3.TabIndex         = 23;
            this.pictureBox3.TabStop          = false;
            this.pictureBox3.MouseLeave      += new EventHandler(this.pictureBox3_MouseLeave);
            this.pictureBox3.Click           += new EventHandler(this.pictureBox3_Click);
            this.pictureBox3.MouseEnter      += new EventHandler(this.pictureBox3_MouseEnter);
            this.pictureBox2.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox2.Image            = (Image)componentResourceManager.GetObject("pictureBox2.Image");
            this.pictureBox2.Location         = new Point(192, 2);
            this.pictureBox2.Name             = "pictureBox2";
            this.pictureBox2.Size             = new Size(21, 21);
            this.pictureBox2.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox2.TabIndex         = 22;
            this.pictureBox2.TabStop          = false;
            this.pictureBox2.MouseLeave      += new EventHandler(this.pictureBox2_MouseLeave);
            this.pictureBox2.Click           += new EventHandler(this.pictureBox2_Click);
            this.pictureBox2.MouseEnter      += new EventHandler(this.pictureBox2_MouseEnter);
            this.pictureBox1.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox1.Image            = (Image)componentResourceManager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location         = new Point(214, 2);
            this.pictureBox1.Name             = "pictureBox1";
            this.pictureBox1.Size             = new Size(21, 21);
            this.pictureBox1.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex         = 21;
            this.pictureBox1.TabStop          = false;
            this.pictureBox1.MouseLeave      += new EventHandler(this.pictureBox1_MouseLeave);
            this.pictureBox1.Click           += new EventHandler(this.pictureBox1_Click);
            this.pictureBox1.MouseEnter      += new EventHandler(this.pictureBox1_MouseEnter);
            this.paneltitle_middle.Anchor     = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltitle_middle.Location   = new Point(266, 1);
            this.paneltitle_middle.Name       = "paneltitle_middle";
            this.paneltitle_middle.Size       = new Size(280, 25);
            this.paneltitle_middle.TabIndex   = 48;
            this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
            this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
            this.paneltitle_middle.MouseUp   += new MouseEventHandler(this.paneltitle_middle_MouseUp);
            this.paneltitle_left.Location     = new Point(2, 1);
            this.paneltitle_left.Name         = "paneltitle_left";
            this.paneltitle_left.Size         = new Size(264, 25);
            this.paneltitle_left.TabIndex     = 47;
            this.panelright.Anchor            = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelright.Controls.Add(this.panelwhite);
            this.panelright.Controls.Add(this.pictureBox_right);
            this.panelright.Controls.Add(this.panel_middle);
            this.panelright.Controls.Add(this.pictureBox_left);
            this.panelright.Controls.Add(this.panelcondition);
            this.panelright.Location = new Point(187, 67);
            this.panelright.Name     = "panelright";
            this.panelright.Size     = new Size(591, 487);
            this.panelright.TabIndex = 53;
            this.panelwhite.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelwhite.Controls.Add(this.panelbutton);
            this.panelwhite.Controls.Add(this.paneldatasum);
            this.panelwhite.Controls.Add(this.paneldata);
            this.panelwhite.Location = new Point(3, 168);
            this.panelwhite.Name     = "panelwhite";
            this.panelwhite.Size     = new Size(583, 316);
            this.panelwhite.TabIndex = 48;
            this.panelbutton.Anchor  = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelbutton.Controls.Add(this.pictureBox_sum);
            this.panelbutton.Controls.Add(this.pictureBox_view);
            this.panelbutton.Controls.Add(this.pictureBox_sort);
            this.panelbutton.Controls.Add(this.pictureBox_filter);
            this.panelbutton.Location        = new Point(3, 37);
            this.panelbutton.Name            = "panelbutton";
            this.panelbutton.Size            = new Size(563, 40);
            this.panelbutton.TabIndex        = 46;
            this.pictureBox_sum.BackColor    = Color.Transparent;
            this.pictureBox_sum.Cursor       = Cursors.Hand;
            this.pictureBox_sum.Location     = new Point(352, 9);
            this.pictureBox_sum.Name         = "pictureBox_sum";
            this.pictureBox_sum.Size         = new Size(65, 24);
            this.pictureBox_sum.SizeMode     = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sum.TabIndex     = 3;
            this.pictureBox_sum.TabStop      = false;
            this.pictureBox_sum.Visible      = false;
            this.pictureBox_view.BackColor   = Color.Transparent;
            this.pictureBox_view.Cursor      = Cursors.Hand;
            this.pictureBox_view.Location    = new Point(253, 9);
            this.pictureBox_view.Name        = "pictureBox_view";
            this.pictureBox_view.Size        = new Size(65, 24);
            this.pictureBox_view.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_view.TabIndex    = 2;
            this.pictureBox_view.TabStop     = false;
            this.pictureBox_view.Click      += new EventHandler(this.pictureBox_view_Click);
            this.pictureBox_sort.BackColor   = Color.Transparent;
            this.pictureBox_sort.Cursor      = Cursors.Hand;
            this.pictureBox_sort.Location    = new Point(154, 9);
            this.pictureBox_sort.Name        = "pictureBox_sort";
            this.pictureBox_sort.Size        = new Size(65, 24);
            this.pictureBox_sort.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sort.TabIndex    = 1;
            this.pictureBox_sort.TabStop     = false;
            this.pictureBox_sort.Click      += new EventHandler(this.pictureBox_sort_Click);
            this.pictureBox_filter.BackColor = Color.Transparent;
            this.pictureBox_filter.Cursor    = Cursors.Hand;
            this.pictureBox_filter.Location  = new Point(55, 9);
            this.pictureBox_filter.Name      = "pictureBox_filter";
            this.pictureBox_filter.Size      = new Size(65, 24);
            this.pictureBox_filter.SizeMode  = PictureBoxSizeMode.AutoSize;
            this.pictureBox_filter.TabIndex  = 0;
            this.pictureBox_filter.TabStop   = false;
            this.pictureBox_filter.Click    += new EventHandler(this.pictureBox_filter_Click);
            this.paneldatasum.Anchor         = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldatasum.Controls.Add(this.labeldatacount);
            this.paneldatasum.Location     = new Point(3, 3);
            this.paneldatasum.Name         = "paneldatasum";
            this.paneldatasum.Size         = new Size(563, 28);
            this.paneldatasum.TabIndex     = 45;
            this.labeldatacount.BackColor  = Color.Transparent;
            this.labeldatacount.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.labeldatacount.Location   = new Point(41, 8);
            this.labeldatacount.Name       = "labeldatacount";
            this.labeldatacount.Size       = new Size(253, 14);
            this.labeldatacount.TabIndex   = 0;
            this.pictureBox_right.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox_right.Location = new Point(548, 3);
            this.pictureBox_right.Name     = "pictureBox_right";
            this.pictureBox_right.Size     = new Size(38, 28);
            this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_right.TabIndex = 47;
            this.pictureBox_right.TabStop  = false;
            this.panel_middle.Anchor       = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panel_middle.Controls.Add(this.label6);
            this.panel_middle.Location    = new Point(74, 3);
            this.panel_middle.Name        = "panel_middle";
            this.panel_middle.Size        = new Size(328, 28);
            this.panel_middle.TabIndex    = 46;
            this.label6.BackColor         = Color.Transparent;
            this.label6.Font              = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
            this.label6.Location          = new Point(41, 7);
            this.label6.Name              = "label6";
            this.label6.Size              = new Size(253, 14);
            this.label6.TabIndex          = 1;
            this.label6.Text              = "环境毒性查询";
            this.pictureBox_left.Location = new Point(5, 3);
            this.pictureBox_left.Name     = "pictureBox_left";
            this.pictureBox_left.Size     = new Size(17, 28);
            this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_left.TabIndex = 45;
            this.pictureBox_left.TabStop  = false;
            base.AcceptButton             = this.btnSearch;
            base.AutoScaleMode            = AutoScaleMode.None;
            base.ClientSize = new Size(792, 566);
            base.Controls.Add(this.panelright);
            base.Controls.Add(this.paneltop_right);
            base.Controls.Add(this.paneltop_middle);
            base.Controls.Add(this.paneltop_left);
            base.Controls.Add(this.paneltitle_right);
            base.Controls.Add(this.paneltitle_middle);
            base.Controls.Add(this.paneltitle_left);
            base.Controls.Add(this.panelmenu);
            this.Font            = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.Name            = "frmHJDX";
            this.Text            = "环境毒性查询";
            base.WindowState     = FormWindowState.Maximized;
            base.Load           += new EventHandler(this.frmHJDX_Load);
            base.Resize         += new EventHandler(this.frmHJDX_Resize);
            this.panelcondition.ResumeLayout(false);
            this.panelcondition.PerformLayout();
            this.paneldata.ResumeLayout(false);
            ((ISupportInitialize)this.gridControl1).EndInit();
            ((ISupportInitialize)this.gridView1).EndInit();
            this.panelmenu.ResumeLayout(false);
            this.paneltitle_right.ResumeLayout(false);
            this.paneltitle_right.PerformLayout();
            ((ISupportInitialize)this.pictureBox3).EndInit();
            ((ISupportInitialize)this.pictureBox2).EndInit();
            ((ISupportInitialize)this.pictureBox1).EndInit();
            this.panelright.ResumeLayout(false);
            this.panelright.PerformLayout();
            this.panelwhite.ResumeLayout(false);
            this.panelbutton.ResumeLayout(false);
            this.panelbutton.PerformLayout();
            ((ISupportInitialize)this.pictureBox_sum).EndInit();
            ((ISupportInitialize)this.pictureBox_view).EndInit();
            ((ISupportInitialize)this.pictureBox_sort).EndInit();
            ((ISupportInitialize)this.pictureBox_filter).EndInit();
            this.paneldatasum.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_right).EndInit();
            this.panel_middle.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_left).EndInit();
            base.ResumeLayout(false);
        }
예제 #8
0
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmZW2FZDX));
     this.panelcondition = new Panel();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.cboFZDXLB = new ComboBox();
     this.label3 = new Label();
     this.label1 = new Label();
     this.txtDJZW = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.cboFZDXLB);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtDJZW);
     this.panelcondition.Location = new Point(4, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(590, 99);
     this.panelcondition.TabIndex = 17;
     this.btnReset.Location = new Point(94, 70);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 19;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(38, 70);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 18;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.cboFZDXLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboFZDXLB.FormattingEnabled = true;
     this.cboFZDXLB.Items.AddRange(new object[]
     {
         "稗草及部分阔叶杂草和莎草",
         "病毒",
         "仓储害虫",
         "草原毛虫",
         "地下害虫",
         "灌木",
         "害虫",
         "害兽",
         "害鼠",
         "化学调节",
         "其它目标害物",
         "软体动物",
         "卫生害虫",
         "细菌",
         "线虫",
         "叶螨类",
         "一年生禾本科杂草及部分多年生杂草",
         "一年生禾本科杂草及部分阔叶杂草",
         "一年生阔叶杂草及部分莎草科杂草",
         "杂草",
         "真菌",
         "走螨类",
         "瘿螨类"
     });
     this.cboFZDXLB.Location = new Point(92, 42);
     this.cboFZDXLB.Name = "cboFZDXLB";
     this.cboFZDXLB.Size = new Size(208, 22);
     this.cboFZDXLB.TabIndex = 8;
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(1, 45);
     this.label3.Name = "label3";
     this.label3.Size = new Size(91, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "防治对象类别";
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(29, 13);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "登记作物";
     this.txtDJZW.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDJZW.ImeMode = ImeMode.On;
     this.txtDJZW.Location = new Point(92, 9);
     this.txtDJZW.Name = "txtDJZW";
     this.txtDJZW.Size = new Size(208, 23);
     this.txtDJZW.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(34, 197);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(115, 99);
     this.paneldata.TabIndex = 26;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(115, 99);
     this.gridControl1.TabIndex = 17;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(3, 124);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(162, 440);
     this.panelmenu.TabIndex = 28;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(162, 440);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(374, 35);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(406, 25);
     this.paneltop_right.TabIndex = 34;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(198, 31);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 33;
     this.paneltop_left.Location = new Point(15, 31);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 32;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(544, 2);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(236, 25);
     this.paneltitle_right.TabIndex = 31;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(169, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(191, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(213, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(267, 2);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 30;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(3, 2);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 29;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(179, 73);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(599, 481);
     this.panelright.TabIndex = 35;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(8, 152);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(586, 311);
     this.panelwhite.TabIndex = 30;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(3, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(566, 40);
     this.panelbutton.TabIndex = 28;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Visible = false;
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Visible = false;
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(3, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(566, 28);
     this.paneldatasum.TabIndex = 27;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(556, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 29;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(73, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 28;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "作物=>防治对象";
     this.pictureBox_left.Location = new Point(4, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 27;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmZW2FZDX";
     base.ShowInTaskbar = false;
     this.Text = "作物=>防治对象";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmZW2FZDX_Load);
     base.Resize += new EventHandler(this.frmZW2FZDX_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #9
0
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmNYUnused));
     this.btnReset = new Button();
     this.panelcondition = new Panel();
     this.dtpJZRQ = new DateTimePicker();
     this.cboGQSJ = new ComboBox();
     this.lblCount = new Label();
     this.btnSearch = new Button();
     this.label5 = new Label();
     this.label4 = new Label();
     this.label3 = new Label();
     this.txtDWMC = new TextBox();
     this.label2 = new Label();
     this.txtDJMC = new TextBox();
     this.label1 = new Label();
     this.txtDJZH = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.gridColumn7 = new GridColumn();
     this.gridColumn8 = new GridColumn();
     this.gridColumn9 = new GridColumn();
     this.gridColumn10 = new GridColumn();
     this.gridColumn11 = new GridColumn();
     this.gridColumn12 = new GridColumn();
     this.gridColumn13 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.btnReset.Location = new Point(80, 88);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(45, 23);
     this.btnReset.TabIndex = 12;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.dtpJZRQ);
     this.panelcondition.Controls.Add(this.cboGQSJ);
     this.panelcondition.Controls.Add(this.lblCount);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.label5);
     this.panelcondition.Controls.Add(this.label4);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.txtDWMC);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.txtDJMC);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtDJZH);
     this.panelcondition.Location = new Point(3, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(586, 119);
     this.panelcondition.TabIndex = 10;
     this.dtpJZRQ.CustomFormat = "yyyy-MM-dd";
     this.dtpJZRQ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.dtpJZRQ.Format = DateTimePickerFormat.Custom;
     this.dtpJZRQ.Location = new Point(314, 39);
     this.dtpJZRQ.Name = "dtpJZRQ";
     this.dtpJZRQ.Size = new Size(103, 23);
     this.dtpJZRQ.TabIndex = 16;
     this.cboGQSJ.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cboGQSJ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboGQSJ.FormattingEnabled = true;
     this.cboGQSJ.Items.AddRange(new object[]
     {
         "半年内",
         "半年到一年间",
         "一年到两年间",
         "过期"
     });
     this.cboGQSJ.Location = new Point(488, 39);
     this.cboGQSJ.Name = "cboGQSJ";
     this.cboGQSJ.Size = new Size(98, 22);
     this.cboGQSJ.TabIndex = 13;
     this.lblCount.AutoSize = true;
     this.lblCount.BackColor = Color.Transparent;
     this.lblCount.Location = new Point(289, 60);
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new Size(0, 14);
     this.lblCount.TabIndex = 14;
     this.btnSearch.Location = new Point(19, 88);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(45, 23);
     this.btnSearch.TabIndex = 18;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.label5.BackColor = Color.Transparent;
     this.label5.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label5.Location = new Point(423, 43);
     this.label5.Name = "label5";
     this.label5.Size = new Size(63, 14);
     this.label5.TabIndex = 12;
     this.label5.Text = "过期时间";
     this.label4.AutoSize = true;
     this.label4.BackColor = Color.Transparent;
     this.label4.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label4.Location = new Point(246, 43);
     this.label4.Name = "label4";
     this.label4.Size = new Size(63, 14);
     this.label4.TabIndex = 7;
     this.label4.Text = "截止日期";
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(1, 10);
     this.label3.Name = "label3";
     this.label3.Size = new Size(63, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "单位名称";
     this.txtDWMC.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDWMC.ImeMode = ImeMode.On;
     this.txtDWMC.Location = new Point(64, 6);
     this.txtDWMC.Name = "txtDWMC";
     this.txtDWMC.Size = new Size(173, 23);
     this.txtDWMC.TabIndex = 5;
     this.label2.BackColor = Color.Transparent;
     this.label2.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label2.Location = new Point(1, 43);
     this.label2.Name = "label2";
     this.label2.Size = new Size(63, 14);
     this.label2.TabIndex = 4;
     this.label2.Text = "登记名称";
     this.txtDJMC.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDJMC.ImeMode = ImeMode.On;
     this.txtDJMC.Location = new Point(64, 39);
     this.txtDJMC.Name = "txtDJMC";
     this.txtDJMC.Size = new Size(173, 23);
     this.txtDJMC.TabIndex = 3;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(246, 10);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "登记证号";
     this.txtDJZH.CharacterCasing = CharacterCasing.Upper;
     this.txtDJZH.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDJZH.Location = new Point(314, 6);
     this.txtDJZH.Name = "txtDJZH";
     this.txtDJZH.Size = new Size(158, 23);
     this.txtDJZH.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(15, 209);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(202, 111);
     this.paneldata.TabIndex = 20;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(202, 111);
     this.gridControl1.TabIndex = 10;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn8,
         this.gridColumn9,
         this.gridColumn10,
         this.gridColumn11,
         this.gridColumn12,
         this.gridColumn13
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.CustomDrawCell += new RowCellCustomDrawEventHandler(this.gridView1_CustomDrawCell);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn7.Caption = "gridColumn7";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     this.gridColumn8.Caption = "gridColumn8";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 7;
     this.gridColumn9.Caption = "gridColumn9";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 8;
     this.gridColumn10.Caption = "gridColumn10";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 9;
     this.gridColumn11.Caption = "gridColumn11";
     this.gridColumn11.Name = "gridColumn11";
     this.gridColumn11.Visible = true;
     this.gridColumn11.VisibleIndex = 10;
     this.gridColumn12.Caption = "gridColumn12";
     this.gridColumn12.Name = "gridColumn12";
     this.gridColumn12.Visible = true;
     this.gridColumn12.VisibleIndex = 11;
     this.gridColumn13.Caption = "gridColumn13";
     this.gridColumn13.Name = "gridColumn13";
     this.gridColumn13.Visible = true;
     this.gridColumn13.VisibleIndex = 12;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(2, 130);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(170, 433);
     this.panelmenu.TabIndex = 22;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(170, 433);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(373, 35);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(426, 25);
     this.paneltop_right.TabIndex = 28;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(197, 31);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 27;
     this.paneltop_left.Location = new Point(14, 31);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 26;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(543, 2);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(267, 25);
     this.paneltitle_right.TabIndex = 25;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(200, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(222, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(244, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(266, 2);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 24;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(2, 2);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 23;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(197, 66);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(611, 488);
     this.panelright.TabIndex = 29;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(7, 162);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(582, 323);
     this.panelwhite.TabIndex = 24;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(3, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(557, 40);
     this.panelbutton.TabIndex = 22;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Click += new EventHandler(this.pictureBox_sum_Click);
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(3, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(557, 28);
     this.paneldatasum.TabIndex = 21;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(564, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 23;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(69, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 22;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "过期产品查询";
     this.pictureBox_left.Location = new Point(0, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 21;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(822, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmNYUnused";
     this.Text = "过期产品查询";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmUnused_Load);
     base.Resize += new EventHandler(this.frmNYUnused_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #10
0
파일: frmSLCP.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmSLCP));
     this.lblCount = new Label();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.label4 = new Label();
     this.txtSCQY = new TextBox();
     this.label2 = new Label();
     this.txtCPMC = new TextBox();
     this.label3 = new Label();
     this.txtZHSLH = new TextBox();
     this.label1 = new Label();
     this.txtZLBH = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.lblCount.AutoSize = true;
     this.lblCount.BackColor = Color.Transparent;
     this.lblCount.Location = new Point(82, 59);
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new Size(0, 14);
     this.lblCount.TabIndex = 14;
     this.btnReset.Location = new Point(88, 69);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 20;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(14, 69);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 19;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.label4);
     this.panelcondition.Controls.Add(this.txtSCQY);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.txtCPMC);
     this.panelcondition.Controls.Add(this.lblCount);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.txtZHSLH);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtZLBH);
     this.panelcondition.Location = new Point(10, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(562, 117);
     this.panelcondition.TabIndex = 18;
     this.label4.AutoSize = true;
     this.label4.BackColor = Color.Transparent;
     this.label4.Location = new Point(274, 37);
     this.label4.Name = "label4";
     this.label4.Size = new Size(63, 14);
     this.label4.TabIndex = 19;
     this.label4.Text = "生产企业";
     this.txtSCQY.ImeMode = ImeMode.On;
     this.txtSCQY.Location = new Point(337, 32);
     this.txtSCQY.Name = "txtSCQY";
     this.txtSCQY.Size = new Size(191, 23);
     this.txtSCQY.TabIndex = 18;
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Location = new Point(1, 37);
     this.label2.Name = "label2";
     this.label2.Size = new Size(63, 14);
     this.label2.TabIndex = 17;
     this.label2.Text = "产品名称";
     this.txtCPMC.ImeMode = ImeMode.On;
     this.txtCPMC.Location = new Point(64, 32);
     this.txtCPMC.Name = "txtCPMC";
     this.txtCPMC.Size = new Size(191, 23);
     this.txtCPMC.TabIndex = 16;
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Location = new Point(260, 8);
     this.label3.Name = "label3";
     this.label3.Size = new Size(77, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "综合受理号";
     this.txtZHSLH.Location = new Point(337, 3);
     this.txtZHSLH.Name = "txtZHSLH";
     this.txtZHSLH.Size = new Size(191, 23);
     this.txtZHSLH.TabIndex = 5;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Location = new Point(1, 8);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "资料编号";
     this.txtZLBH.Location = new Point(64, 3);
     this.txtZLBH.Name = "txtZLBH";
     this.txtZLBH.Size = new Size(191, 23);
     this.txtZLBH.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(16, 208);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(161, 81);
     this.paneldata.TabIndex = 27;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(161, 81);
     this.gridControl1.TabIndex = 18;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(1, 177);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(176, 387);
     this.panelmenu.TabIndex = 29;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(176, 387);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(372, 35);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(408, 25);
     this.paneltop_right.TabIndex = 35;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(196, 31);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 34;
     this.paneltop_left.Location = new Point(13, 31);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 33;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(542, 2);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(238, 25);
     this.paneltitle_right.TabIndex = 32;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(171, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(193, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(215, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(265, 2);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 31;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(1, 2);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 30;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(201, 74);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(579, 480);
     this.panelright.TabIndex = 36;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(10, 173);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(562, 304);
     this.panelwhite.TabIndex = 31;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(4, 48);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(541, 40);
     this.panelbutton.TabIndex = 29;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(4, 14);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(541, 28);
     this.paneldatasum.TabIndex = 28;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(534, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 30;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(79, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 29;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "农药受理查询";
     this.pictureBox_left.Location = new Point(10, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 28;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmSLCP";
     base.ShowInTaskbar = false;
     this.Text = "农药受理产品查询";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmSLCP_Load);
     base.Resize += new EventHandler(this.frmSLCP_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #11
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmNewDJMC));

            this.btnReset          = new Button();
            this.btnSearch         = new Button();
            this.panelcondition    = new Panel();
            this.txtYXCF3          = new TextBox();
            this.label2            = new Label();
            this.txtYXCF2          = new TextBox();
            this.label4            = new Label();
            this.txtYXCF1          = new TextBox();
            this.label1            = new Label();
            this.lblCount          = new Label();
            this.paneldata         = new Panel();
            this.gridControl1      = new GridControl();
            this.gridView1         = new GridView();
            this.gridColumn1       = new GridColumn();
            this.gridColumn2       = new GridColumn();
            this.gridColumn3       = new GridColumn();
            this.gridColumn4       = new GridColumn();
            this.panelmenu         = new Panel();
            this.userManu1         = new UserManu();
            this.paneltop_right    = new Panel();
            this.paneltop_middle   = new Panel();
            this.paneltop_left     = new Panel();
            this.paneltitle_right  = new Panel();
            this.pictureBox3       = new PictureBox();
            this.pictureBox2       = new PictureBox();
            this.pictureBox1       = new PictureBox();
            this.paneltitle_middle = new Panel();
            this.paneltitle_left   = new Panel();
            this.panelright        = new Panel();
            this.panelwhite        = new Panel();
            this.panelbutton       = new Panel();
            this.pictureBox_sum    = new PictureBox();
            this.pictureBox_view   = new PictureBox();
            this.pictureBox_sort   = new PictureBox();
            this.pictureBox_filter = new PictureBox();
            this.paneldatasum      = new Panel();
            this.labeldatacount    = new Label();
            this.pictureBox_right  = new PictureBox();
            this.panel_middle      = new Panel();
            this.label6            = new Label();
            this.pictureBox_left   = new PictureBox();
            this.panelcondition.SuspendLayout();
            this.paneldata.SuspendLayout();
            ((ISupportInitialize)this.gridControl1).BeginInit();
            ((ISupportInitialize)this.gridView1).BeginInit();
            this.panelmenu.SuspendLayout();
            this.paneltitle_right.SuspendLayout();
            ((ISupportInitialize)this.pictureBox3).BeginInit();
            ((ISupportInitialize)this.pictureBox2).BeginInit();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            this.panelright.SuspendLayout();
            this.panelwhite.SuspendLayout();
            this.panelbutton.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_sum).BeginInit();
            ((ISupportInitialize)this.pictureBox_view).BeginInit();
            ((ISupportInitialize)this.pictureBox_sort).BeginInit();
            ((ISupportInitialize)this.pictureBox_filter).BeginInit();
            this.paneldatasum.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_right).BeginInit();
            this.panel_middle.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_left).BeginInit();
            base.SuspendLayout();
            this.btnReset.Location = new Point(80, 71);
            this.btnReset.Name     = "btnReset";
            this.btnReset.Size     = new Size(50, 23);
            this.btnReset.TabIndex = 20;
            this.btnReset.Text     = "重置";
            this.btnReset.UseVisualStyleBackColor = true;
            this.btnReset.Click    += new EventHandler(this.btnReset_Click);
            this.btnSearch.Location = new Point(21, 71);
            this.btnSearch.Name     = "btnSearch";
            this.btnSearch.Size     = new Size(50, 23);
            this.btnSearch.TabIndex = 19;
            this.btnSearch.Text     = "查询";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click      += new EventHandler(this.btnSearch_Click);
            this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelcondition.Controls.Add(this.btnReset);
            this.panelcondition.Controls.Add(this.btnSearch);
            this.panelcondition.Controls.Add(this.txtYXCF3);
            this.panelcondition.Controls.Add(this.label2);
            this.panelcondition.Controls.Add(this.txtYXCF2);
            this.panelcondition.Controls.Add(this.label4);
            this.panelcondition.Controls.Add(this.txtYXCF1);
            this.panelcondition.Controls.Add(this.label1);
            this.panelcondition.Controls.Add(this.lblCount);
            this.panelcondition.Location = new Point(3, 37);
            this.panelcondition.Name     = "panelcondition";
            this.panelcondition.Size     = new Size(633, 101);
            this.panelcondition.TabIndex = 26;
            this.txtYXCF3.ImeMode        = ImeMode.On;
            this.txtYXCF3.Location       = new Point(74, 38);
            this.txtYXCF3.Name           = "txtYXCF3";
            this.txtYXCF3.Size           = new Size(170, 23);
            this.txtYXCF3.TabIndex       = 16;
            this.label2.AutoSize         = true;
            this.label2.BackColor        = Color.Transparent;
            this.label2.Location         = new Point(3, 41);
            this.label2.Name             = "label2";
            this.label2.Size             = new Size(70, 14);
            this.label2.TabIndex         = 17;
            this.label2.Text             = "有效成分3";
            this.txtYXCF2.ImeMode        = ImeMode.On;
            this.txtYXCF2.Location       = new Point(317, 7);
            this.txtYXCF2.Name           = "txtYXCF2";
            this.txtYXCF2.Size           = new Size(170, 23);
            this.txtYXCF2.TabIndex       = 1;
            this.label4.AutoSize         = true;
            this.label4.BackColor        = Color.Transparent;
            this.label4.Location         = new Point(246, 11);
            this.label4.Name             = "label4";
            this.label4.Size             = new Size(70, 14);
            this.label4.TabIndex         = 2;
            this.label4.Text             = "有效成分2";
            this.txtYXCF1.ImeMode        = ImeMode.On;
            this.txtYXCF1.Location       = new Point(74, 7);
            this.txtYXCF1.Name           = "txtYXCF1";
            this.txtYXCF1.Size           = new Size(170, 23);
            this.txtYXCF1.TabIndex       = 1;
            this.label1.AutoSize         = true;
            this.label1.BackColor        = Color.Transparent;
            this.label1.Location         = new Point(3, 11);
            this.label1.Name             = "label1";
            this.label1.Size             = new Size(70, 14);
            this.label1.TabIndex         = 2;
            this.label1.Text             = "有效成分1";
            this.lblCount.AutoSize       = true;
            this.lblCount.BackColor      = Color.Transparent;
            this.lblCount.Location       = new Point(77, 60);
            this.lblCount.Name           = "lblCount";
            this.lblCount.Size           = new Size(0, 14);
            this.lblCount.TabIndex       = 14;
            this.paneldata.Anchor        = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldata.Controls.Add(this.gridControl1);
            this.paneldata.Location    = new Point(38, 207);
            this.paneldata.Name        = "paneldata";
            this.paneldata.Size        = new Size(111, 93);
            this.paneldata.TabIndex    = 28;
            this.gridControl1.Dock     = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.Size     = new Size(111, 93);
            this.gridControl1.TabIndex = 18;
            this.gridControl1.ViewCollection.AddRange(new BaseView[]
            {
                this.gridView1
            });
            this.gridView1.Columns.AddRange(new GridColumn[]
            {
                this.gridColumn1,
                this.gridColumn2,
                this.gridColumn3,
                this.gridColumn4
            });
            this.gridView1.GridControl             = this.gridControl1;
            this.gridView1.Name                    = "gridView1";
            this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
            this.gridView1.RowCountChanged        += new EventHandler(this.gridView1_RowCountChanged);
            this.gridColumn1.Caption               = "gridColumn1";
            this.gridColumn1.Name                  = "gridColumn1";
            this.gridColumn1.Visible               = true;
            this.gridColumn1.VisibleIndex          = 0;
            this.gridColumn2.Caption               = "gridColumn2";
            this.gridColumn2.Name                  = "gridColumn2";
            this.gridColumn2.Visible               = true;
            this.gridColumn2.VisibleIndex          = 1;
            this.gridColumn3.Caption               = "gridColumn3";
            this.gridColumn3.Name                  = "gridColumn3";
            this.gridColumn3.Visible               = true;
            this.gridColumn3.VisibleIndex          = 2;
            this.gridColumn4.Caption               = "gridColumn4";
            this.gridColumn4.Name                  = "gridColumn4";
            this.gridColumn4.Visible               = true;
            this.gridColumn4.VisibleIndex          = 3;
            this.panelmenu.Anchor                  = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.panelmenu.Controls.Add(this.userManu1);
            this.panelmenu.Location       = new Point(14, 75);
            this.panelmenu.Name           = "panelmenu";
            this.panelmenu.Size           = new Size(171, 462);
            this.panelmenu.TabIndex       = 30;
            this.userManu1.BackColor      = Color.FromArgb(107, 161, 179);
            this.userManu1.Dock           = DockStyle.Fill;
            this.userManu1.Location       = new Point(0, 0);
            this.userManu1.Name           = "userManu1";
            this.userManu1.Size           = new Size(171, 462);
            this.userManu1.TabIndex       = 0;
            this.paneltop_right.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltop_right.Location  = new Point(381, 34);
            this.paneltop_right.Name      = "paneltop_right";
            this.paneltop_right.Size      = new Size(457, 25);
            this.paneltop_right.TabIndex  = 36;
            this.paneltop_middle.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltop_middle.Location = new Point(197, 30);
            this.paneltop_middle.Name     = "paneltop_middle";
            this.paneltop_middle.Size     = new Size(173, 29);
            this.paneltop_middle.TabIndex = 35;
            this.paneltop_left.Location   = new Point(14, 30);
            this.paneltop_left.Name       = "paneltop_left";
            this.paneltop_left.Size       = new Size(185, 29);
            this.paneltop_left.TabIndex   = 34;
            this.paneltitle_right.Anchor  = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltitle_right.Controls.Add(this.pictureBox3);
            this.paneltitle_right.Controls.Add(this.pictureBox2);
            this.paneltitle_right.Controls.Add(this.pictureBox1);
            this.paneltitle_right.Location    = new Point(551, 1);
            this.paneltitle_right.Name        = "paneltitle_right";
            this.paneltitle_right.Size        = new Size(289, 25);
            this.paneltitle_right.TabIndex    = 33;
            this.pictureBox3.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox3.Image            = (Image)componentResourceManager.GetObject("pictureBox3.Image");
            this.pictureBox3.Location         = new Point(222, 2);
            this.pictureBox3.Name             = "pictureBox3";
            this.pictureBox3.Size             = new Size(21, 21);
            this.pictureBox3.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox3.TabIndex         = 23;
            this.pictureBox3.TabStop          = false;
            this.pictureBox3.MouseLeave      += new EventHandler(this.pictureBox3_MouseLeave);
            this.pictureBox3.Click           += new EventHandler(this.pictureBox3_Click);
            this.pictureBox3.MouseEnter      += new EventHandler(this.pictureBox3_MouseEnter);
            this.pictureBox2.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox2.Image            = (Image)componentResourceManager.GetObject("pictureBox2.Image");
            this.pictureBox2.Location         = new Point(244, 2);
            this.pictureBox2.Name             = "pictureBox2";
            this.pictureBox2.Size             = new Size(21, 21);
            this.pictureBox2.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox2.TabIndex         = 22;
            this.pictureBox2.TabStop          = false;
            this.pictureBox2.MouseLeave      += new EventHandler(this.pictureBox2_MouseLeave);
            this.pictureBox2.Click           += new EventHandler(this.pictureBox2_Click);
            this.pictureBox2.MouseEnter      += new EventHandler(this.pictureBox2_MouseEnter);
            this.pictureBox1.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox1.Image            = (Image)componentResourceManager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location         = new Point(266, 2);
            this.pictureBox1.Name             = "pictureBox1";
            this.pictureBox1.Size             = new Size(21, 21);
            this.pictureBox1.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex         = 21;
            this.pictureBox1.TabStop          = false;
            this.pictureBox1.MouseLeave      += new EventHandler(this.pictureBox1_MouseLeave);
            this.pictureBox1.Click           += new EventHandler(this.pictureBox1_Click);
            this.pictureBox1.MouseEnter      += new EventHandler(this.pictureBox1_MouseEnter);
            this.paneltitle_middle.Anchor     = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltitle_middle.Location   = new Point(266, 1);
            this.paneltitle_middle.Name       = "paneltitle_middle";
            this.paneltitle_middle.Size       = new Size(288, 25);
            this.paneltitle_middle.TabIndex   = 32;
            this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
            this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
            this.paneltitle_middle.MouseUp   += new MouseEventHandler(this.paneltitle_middle_MouseUp);
            this.paneltitle_left.Location     = new Point(2, 1);
            this.paneltitle_left.Name         = "paneltitle_left";
            this.paneltitle_left.Size         = new Size(264, 25);
            this.paneltitle_left.TabIndex     = 31;
            this.panelright.Anchor            = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelright.Controls.Add(this.panelwhite);
            this.panelright.Controls.Add(this.pictureBox_right);
            this.panelright.Controls.Add(this.panel_middle);
            this.panelright.Controls.Add(this.pictureBox_left);
            this.panelright.Controls.Add(this.panelcondition);
            this.panelright.Location = new Point(197, 65);
            this.panelright.Name     = "panelright";
            this.panelright.Size     = new Size(643, 512);
            this.panelright.TabIndex = 37;
            this.panelwhite.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelwhite.Controls.Add(this.panelbutton);
            this.panelwhite.Controls.Add(this.paneldatasum);
            this.panelwhite.Controls.Add(this.paneldata);
            this.panelwhite.Location = new Point(12, 147);
            this.panelwhite.Name     = "panelwhite";
            this.panelwhite.Size     = new Size(624, 354);
            this.panelwhite.TabIndex = 32;
            this.panelbutton.Anchor  = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelbutton.Controls.Add(this.pictureBox_sum);
            this.panelbutton.Controls.Add(this.pictureBox_view);
            this.panelbutton.Controls.Add(this.pictureBox_sort);
            this.panelbutton.Controls.Add(this.pictureBox_filter);
            this.panelbutton.Location        = new Point(4, 37);
            this.panelbutton.Name            = "panelbutton";
            this.panelbutton.Size            = new Size(603, 40);
            this.panelbutton.TabIndex        = 30;
            this.pictureBox_sum.BackColor    = Color.Transparent;
            this.pictureBox_sum.Cursor       = Cursors.Hand;
            this.pictureBox_sum.Enabled      = false;
            this.pictureBox_sum.Location     = new Point(352, 9);
            this.pictureBox_sum.Name         = "pictureBox_sum";
            this.pictureBox_sum.Size         = new Size(65, 24);
            this.pictureBox_sum.SizeMode     = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sum.TabIndex     = 3;
            this.pictureBox_sum.TabStop      = false;
            this.pictureBox_sum.Visible      = false;
            this.pictureBox_view.BackColor   = Color.Transparent;
            this.pictureBox_view.Cursor      = Cursors.Hand;
            this.pictureBox_view.Enabled     = false;
            this.pictureBox_view.Location    = new Point(253, 9);
            this.pictureBox_view.Name        = "pictureBox_view";
            this.pictureBox_view.Size        = new Size(65, 24);
            this.pictureBox_view.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_view.TabIndex    = 2;
            this.pictureBox_view.TabStop     = false;
            this.pictureBox_view.Visible     = false;
            this.pictureBox_sort.BackColor   = Color.Transparent;
            this.pictureBox_sort.Cursor      = Cursors.Hand;
            this.pictureBox_sort.Enabled     = false;
            this.pictureBox_sort.Location    = new Point(154, 9);
            this.pictureBox_sort.Name        = "pictureBox_sort";
            this.pictureBox_sort.Size        = new Size(65, 24);
            this.pictureBox_sort.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sort.TabIndex    = 1;
            this.pictureBox_sort.TabStop     = false;
            this.pictureBox_sort.Visible     = false;
            this.pictureBox_filter.BackColor = Color.Transparent;
            this.pictureBox_filter.Cursor    = Cursors.Hand;
            this.pictureBox_filter.Location  = new Point(55, 9);
            this.pictureBox_filter.Name      = "pictureBox_filter";
            this.pictureBox_filter.Size      = new Size(65, 24);
            this.pictureBox_filter.SizeMode  = PictureBoxSizeMode.AutoSize;
            this.pictureBox_filter.TabIndex  = 0;
            this.pictureBox_filter.TabStop   = false;
            this.pictureBox_filter.Click    += new EventHandler(this.pictureBox_filter_Click);
            this.paneldatasum.Anchor         = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldatasum.Controls.Add(this.labeldatacount);
            this.paneldatasum.Location     = new Point(4, 3);
            this.paneldatasum.Name         = "paneldatasum";
            this.paneldatasum.Size         = new Size(603, 28);
            this.paneldatasum.TabIndex     = 29;
            this.labeldatacount.BackColor  = Color.Transparent;
            this.labeldatacount.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.labeldatacount.Location   = new Point(41, 8);
            this.labeldatacount.Name       = "labeldatacount";
            this.labeldatacount.Size       = new Size(253, 14);
            this.labeldatacount.TabIndex   = 0;
            this.pictureBox_right.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox_right.Location = new Point(598, 3);
            this.pictureBox_right.Name     = "pictureBox_right";
            this.pictureBox_right.Size     = new Size(38, 28);
            this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_right.TabIndex = 31;
            this.pictureBox_right.TabStop  = false;
            this.panel_middle.Anchor       = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panel_middle.Controls.Add(this.label6);
            this.panel_middle.Location    = new Point(69, 3);
            this.panel_middle.Name        = "panel_middle";
            this.panel_middle.Size        = new Size(336, 28);
            this.panel_middle.TabIndex    = 30;
            this.label6.BackColor         = Color.Transparent;
            this.label6.Font              = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
            this.label6.Location          = new Point(41, 7);
            this.label6.Name              = "label6";
            this.label6.Size              = new Size(253, 14);
            this.label6.TabIndex          = 1;
            this.label6.Text              = "农药新命名规则";
            this.pictureBox_left.Location = new Point(0, 3);
            this.pictureBox_left.Name     = "pictureBox_left";
            this.pictureBox_left.Size     = new Size(17, 28);
            this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_left.TabIndex = 29;
            this.pictureBox_left.TabStop  = false;
            base.AcceptButton             = this.btnSearch;
            base.AutoScaleMode            = AutoScaleMode.None;
            base.ClientSize = new Size(850, 589);
            base.Controls.Add(this.panelright);
            base.Controls.Add(this.paneltop_right);
            base.Controls.Add(this.paneltop_middle);
            base.Controls.Add(this.paneltop_left);
            base.Controls.Add(this.paneltitle_right);
            base.Controls.Add(this.paneltitle_middle);
            base.Controls.Add(this.paneltitle_left);
            base.Controls.Add(this.panelmenu);
            this.Font            = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.Name            = "frmNewDJMC";
            base.ShowInTaskbar   = false;
            this.Text            = "农药新命名规则";
            base.WindowState     = FormWindowState.Maximized;
            base.Load           += new EventHandler(this.frmNewDJMC_Load);
            base.Resize         += new EventHandler(this.frmNewDJMC_Resize);
            this.panelcondition.ResumeLayout(false);
            this.panelcondition.PerformLayout();
            this.paneldata.ResumeLayout(false);
            ((ISupportInitialize)this.gridControl1).EndInit();
            ((ISupportInitialize)this.gridView1).EndInit();
            this.panelmenu.ResumeLayout(false);
            this.paneltitle_right.ResumeLayout(false);
            this.paneltitle_right.PerformLayout();
            ((ISupportInitialize)this.pictureBox3).EndInit();
            ((ISupportInitialize)this.pictureBox2).EndInit();
            ((ISupportInitialize)this.pictureBox1).EndInit();
            this.panelright.ResumeLayout(false);
            this.panelright.PerformLayout();
            this.panelwhite.ResumeLayout(false);
            this.panelbutton.ResumeLayout(false);
            this.panelbutton.PerformLayout();
            ((ISupportInitialize)this.pictureBox_sum).EndInit();
            ((ISupportInitialize)this.pictureBox_view).EndInit();
            ((ISupportInitialize)this.pictureBox_sort).EndInit();
            ((ISupportInitialize)this.pictureBox_filter).EndInit();
            this.paneldatasum.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_right).EndInit();
            this.panel_middle.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_left).EndInit();
            base.ResumeLayout(false);
        }
예제 #12
0
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmFZDX2ZW));
     this.panelcondition = new Panel();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.cboZWLB = new ComboBox();
     this.label3 = new Label();
     this.label1 = new Label();
     this.txtFZDX = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.cboZWLB);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtFZDX);
     this.panelcondition.Location = new Point(3, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(596, 107);
     this.panelcondition.TabIndex = 17;
     this.btnReset.Location = new Point(75, 76);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 19;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(19, 76);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 18;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.cboZWLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboZWLB.FormattingEnabled = true;
     this.cboZWLB.Items.AddRange(new object[]
     {
         "茶",
         "稻",
         "豆菜",
         "豆类",
         "干果",
         "柑橘",
         "高粱",
         "根.茎菜",
         "谷子",
         "观赏植物",
         "果菜",
         "果瓜",
         "建筑",
         "浆果",
         "林木",
         "路",
         "绿肥",
         "落叶果",
         "麦类",
         "苗圃",
         "木材防腐",
         "牧草",
         "其它",
         "其它果",
         "其它经济作物",
         "其它蔬菜",
         "热带果",
         "桑",
         "森林防火",
         "食品",
         "薯类",
         "糖料作物",
         "田、地",
         "卫生",
         "纤维作物",
         "烟草",
         "叶菜",
         "衣物",
         "油料作物",
         "玉米",
         "植被",
         "种子",
         "贮粮",
         "橄榄树"
     });
     this.cboZWLB.Location = new Point(366, 18);
     this.cboZWLB.Name = "cboZWLB";
     this.cboZWLB.Size = new Size(208, 22);
     this.cboZWLB.TabIndex = 8;
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(286, 22);
     this.label3.Name = "label3";
     this.label3.Size = new Size(63, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "作物类别";
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(1, 22);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "防治对象";
     this.txtFZDX.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtFZDX.ImeMode = ImeMode.On;
     this.txtFZDX.Location = new Point(64, 18);
     this.txtFZDX.Name = "txtFZDX";
     this.txtFZDX.Size = new Size(208, 23);
     this.txtFZDX.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(51, 222);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(169, 77);
     this.paneldata.TabIndex = 26;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(169, 77);
     this.gridControl1.TabIndex = 17;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(2, 133);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(154, 429);
     this.panelmenu.TabIndex = 28;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(154, 429);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(373, 35);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(407, 25);
     this.paneltop_right.TabIndex = 34;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(197, 31);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 33;
     this.paneltop_left.Location = new Point(14, 31);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 32;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(543, 2);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(237, 25);
     this.paneltitle_right.TabIndex = 31;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(170, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(192, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(214, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(266, 2);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 30;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(2, 2);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 29;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(174, 71);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(606, 483);
     this.panelright.TabIndex = 35;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(7, 156);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(592, 324);
     this.panelwhite.TabIndex = 30;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(3, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(567, 40);
     this.panelbutton.TabIndex = 28;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Visible = false;
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Visible = false;
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(3, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(572, 28);
     this.paneldatasum.TabIndex = 27;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(561, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 29;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(71, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 28;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "防治对象=>作物";
     this.pictureBox_left.Location = new Point(2, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 27;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmFZDX2ZW";
     base.ShowInTaskbar = false;
     this.Text = "防治对象=>作物";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmFZDX2ZW_Load);
     base.Resize += new EventHandler(this.frmFZDX2ZW_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #13
0
파일: frmNYDHJ.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmNYDHJ));
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.pan3 = new Panel();
     this.gridlokYXCF3 = new GridLookUpEdit();
     this.gridView3 = new GridView();
     this.gridColumn21 = new GridColumn();
     this.label6 = new Label();
     this.txtHL3 = new TextBox();
     this.cboUnit3 = new System.Windows.Forms.ComboBox();
     this.label5 = new Label();
     this.pan1 = new Panel();
     this.gridlokYXCF1 = new GridLookUpEdit();
     this.gridLookUpEdit1View = new GridView();
     this.gridColumn17 = new GridColumn();
     this.label1 = new Label();
     this.txtHL1 = new TextBox();
     this.cboUnit1 = new System.Windows.Forms.ComboBox();
     this.label2 = new Label();
     this.radYY = new RadioButton();
     this.pan2 = new Panel();
     this.gridlokYXCF2 = new GridLookUpEdit();
     this.gridView2 = new GridView();
     this.gridColumn20 = new GridColumn();
     this.label4 = new Label();
     this.txtHL2 = new TextBox();
     this.cboUnit2 = new System.Windows.Forms.ComboBox();
     this.label3 = new Label();
     this.lblCount = new Label();
     this.radHJ = new RadioButton();
     this.radDJ = new RadioButton();
     this.radAll = new RadioButton();
     this.panYY = new Panel();
     this.gridlokYXCF = new GridLookUpEdit();
     this.gridView4 = new GridView();
     this.gridColumn22 = new GridColumn();
     this.label8 = new Label();
     this.cboYYZL = new System.Windows.Forms.ComboBox();
     this.label7 = new Label();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.gridColumn7 = new GridColumn();
     this.gridColumn8 = new GridColumn();
     this.gridColumn9 = new GridColumn();
     this.gridColumn10 = new GridColumn();
     this.gridColumn11 = new GridColumn();
     this.gridColumn12 = new GridColumn();
     this.gridColumn13 = new GridColumn();
     this.gridColumn14 = new GridColumn();
     this.gridColumn15 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label9 = new Label();
     this.pictureBox_left = new PictureBox();
     this.gridColumn16 = new GridColumn();
     this.gridColumn18 = new GridColumn();
     this.gridColumn19 = new GridColumn();
     this.panelcondition.SuspendLayout();
     this.pan3.SuspendLayout();
     ((ISupportInitialize)this.gridlokYXCF3.Properties).BeginInit();
     ((ISupportInitialize)this.gridView3).BeginInit();
     this.pan1.SuspendLayout();
     ((ISupportInitialize)this.gridlokYXCF1.Properties).BeginInit();
     ((ISupportInitialize)this.gridLookUpEdit1View).BeginInit();
     this.pan2.SuspendLayout();
     ((ISupportInitialize)this.gridlokYXCF2.Properties).BeginInit();
     ((ISupportInitialize)this.gridView2).BeginInit();
     this.panYY.SuspendLayout();
     ((ISupportInitialize)this.gridlokYXCF.Properties).BeginInit();
     ((ISupportInitialize)this.gridView4).BeginInit();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.btnReset.Location = new Point(97, 84);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(45, 23);
     this.btnReset.TabIndex = 12;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(22, 84);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(45, 23);
     this.btnSearch.TabIndex = 11;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.pan3);
     this.panelcondition.Controls.Add(this.pan1);
     this.panelcondition.Controls.Add(this.radYY);
     this.panelcondition.Controls.Add(this.pan2);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.lblCount);
     this.panelcondition.Controls.Add(this.radHJ);
     this.panelcondition.Controls.Add(this.radDJ);
     this.panelcondition.Controls.Add(this.radAll);
     this.panelcondition.Controls.Add(this.panYY);
     this.panelcondition.Location = new Point(16, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(603, 114);
     this.panelcondition.TabIndex = 18;
     this.pan3.BackColor = Color.Transparent;
     this.pan3.Controls.Add(this.gridlokYXCF3);
     this.pan3.Controls.Add(this.label6);
     this.pan3.Controls.Add(this.txtHL3);
     this.pan3.Controls.Add(this.cboUnit3);
     this.pan3.Controls.Add(this.label5);
     this.pan3.Location = new Point(9, 41);
     this.pan3.Name = "pan3";
     this.pan3.Size = new Size(340, 26);
     this.pan3.TabIndex = 21;
     this.gridlokYXCF3.Location = new Point(69, 2);
     this.gridlokYXCF3.Name = "gridlokYXCF3";
     this.gridlokYXCF3.Properties.Buttons.AddRange(new EditorButton[]
     {
         new EditorButton(ButtonPredefines.Combo)
     });
     this.gridlokYXCF3.Properties.NullText = "";
     this.gridlokYXCF3.Properties.View = this.gridView3;
     this.gridlokYXCF3.Size = new Size(96, 21);
     this.gridlokYXCF3.TabIndex = 25;
     this.gridlokYXCF3.ProcessNewValue += new ProcessNewValueEventHandler(this.gridlokYXCF1_ProcessNewValue);
     this.gridView3.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn21
     });
     this.gridView3.FocusRectStyle = DrawFocusRectStyle.RowFocus;
     this.gridView3.Name = "gridView3";
     this.gridView3.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView3.OptionsView.ShowGroupPanel = false;
     this.gridColumn21.Caption = "有效成分";
     this.gridColumn21.FieldName = "YXCF";
     this.gridColumn21.Name = "gridColumn21";
     this.gridColumn21.Visible = true;
     this.gridColumn21.VisibleIndex = 0;
     this.label6.AutoSize = true;
     this.label6.BackColor = Color.Transparent;
     this.label6.Location = new Point(1, 5);
     this.label6.Name = "label6";
     this.label6.Size = new Size(70, 14);
     this.label6.TabIndex = 2;
     this.label6.Text = "有效成分3";
     this.txtHL3.Location = new Point(202, 1);
     this.txtHL3.Name = "txtHL3";
     this.txtHL3.Size = new Size(58, 23);
     this.txtHL3.TabIndex = 17;
     this.cboUnit3.DropDownWidth = 78;
     this.cboUnit3.FormattingEnabled = true;
     this.cboUnit3.Items.AddRange(new object[]
     {
         "%",
         "克/升",
         "毫克/片"
     });
     this.cboUnit3.Location = new Point(263, 2);
     this.cboUnit3.Name = "cboUnit3";
     this.cboUnit3.Size = new Size(75, 21);
     this.cboUnit3.TabIndex = 8;
     this.label5.AutoSize = true;
     this.label5.BackColor = Color.Transparent;
     this.label5.Location = new Point(164, 5);
     this.label5.Name = "label5";
     this.label5.Size = new Size(35, 14);
     this.label5.TabIndex = 18;
     this.label5.Text = "含量";
     this.pan1.BackColor = Color.Transparent;
     this.pan1.Controls.Add(this.gridlokYXCF1);
     this.pan1.Controls.Add(this.label1);
     this.pan1.Controls.Add(this.txtHL1);
     this.pan1.Controls.Add(this.cboUnit1);
     this.pan1.Controls.Add(this.label2);
     this.pan1.Location = new Point(9, 8);
     this.pan1.Name = "pan1";
     this.pan1.Size = new Size(342, 26);
     this.pan1.TabIndex = 19;
     this.gridlokYXCF1.EditValue = "";
     this.gridlokYXCF1.Location = new Point(69, 4);
     this.gridlokYXCF1.Name = "gridlokYXCF1";
     this.gridlokYXCF1.Properties.Buttons.AddRange(new EditorButton[]
     {
         new EditorButton(ButtonPredefines.Combo)
     });
     this.gridlokYXCF1.Properties.NullText = "";
     this.gridlokYXCF1.Properties.TextEditStyle = TextEditStyles.Standard;
     this.gridlokYXCF1.Properties.View = this.gridLookUpEdit1View;
     this.gridlokYXCF1.Size = new Size(96, 21);
     this.gridlokYXCF1.TabIndex = 24;
     this.gridlokYXCF1.ProcessNewValue += new ProcessNewValueEventHandler(this.gridlokYXCF1_ProcessNewValue);
     this.gridLookUpEdit1View.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn17
     });
     this.gridLookUpEdit1View.FocusRectStyle = DrawFocusRectStyle.RowFocus;
     this.gridLookUpEdit1View.Name = "gridLookUpEdit1View";
     this.gridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridLookUpEdit1View.OptionsView.ShowGroupPanel = false;
     this.gridColumn17.Caption = "有效成分";
     this.gridColumn17.FieldName = "YXCF";
     this.gridColumn17.Name = "gridColumn17";
     this.gridColumn17.Visible = true;
     this.gridColumn17.VisibleIndex = 0;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Location = new Point(1, 7);
     this.label1.Name = "label1";
     this.label1.Size = new Size(70, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "有效成分1";
     this.txtHL1.Location = new Point(202, 3);
     this.txtHL1.Name = "txtHL1";
     this.txtHL1.Size = new Size(58, 23);
     this.txtHL1.TabIndex = 17;
     this.cboUnit1.DropDownWidth = 78;
     this.cboUnit1.FormattingEnabled = true;
     this.cboUnit1.Items.AddRange(new object[]
     {
         "%",
         "克/升",
         "毫克/片"
     });
     this.cboUnit1.Location = new Point(263, 4);
     this.cboUnit1.Name = "cboUnit1";
     this.cboUnit1.Size = new Size(75, 21);
     this.cboUnit1.TabIndex = 8;
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Location = new Point(164, 7);
     this.label2.Name = "label2";
     this.label2.Size = new Size(35, 14);
     this.label2.TabIndex = 18;
     this.label2.Text = "含量";
     this.radYY.AutoSize = true;
     this.radYY.BackColor = Color.Transparent;
     this.radYY.Location = new Point(556, 45);
     this.radYY.Name = "radYY";
     this.radYY.Size = new Size(53, 18);
     this.radYY.TabIndex = 16;
     this.radYY.Text = "原药";
     this.radYY.UseVisualStyleBackColor = false;
     this.radYY.Click += new EventHandler(this.radYY_Click);
     this.pan2.BackColor = Color.Transparent;
     this.pan2.Controls.Add(this.gridlokYXCF2);
     this.pan2.Controls.Add(this.label4);
     this.pan2.Controls.Add(this.txtHL2);
     this.pan2.Controls.Add(this.cboUnit2);
     this.pan2.Controls.Add(this.label3);
     this.pan2.Location = new Point(369, 8);
     this.pan2.Name = "pan2";
     this.pan2.Size = new Size(342, 26);
     this.pan2.TabIndex = 20;
     this.gridlokYXCF2.Location = new Point(70, 2);
     this.gridlokYXCF2.Name = "gridlokYXCF2";
     this.gridlokYXCF2.Properties.Buttons.AddRange(new EditorButton[]
     {
         new EditorButton(ButtonPredefines.Combo)
     });
     this.gridlokYXCF2.Properties.NullText = "";
     this.gridlokYXCF2.Properties.View = this.gridView2;
     this.gridlokYXCF2.Size = new Size(96, 21);
     this.gridlokYXCF2.TabIndex = 25;
     this.gridlokYXCF2.ProcessNewValue += new ProcessNewValueEventHandler(this.gridlokYXCF1_ProcessNewValue);
     this.gridView2.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn20
     });
     this.gridView2.FocusRectStyle = DrawFocusRectStyle.RowFocus;
     this.gridView2.Name = "gridView2";
     this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView2.OptionsView.ShowGroupPanel = false;
     this.gridColumn20.Caption = "有效成分";
     this.gridColumn20.FieldName = "YXCF";
     this.gridColumn20.Name = "gridColumn20";
     this.gridColumn20.Visible = true;
     this.gridColumn20.VisibleIndex = 0;
     this.label4.AutoSize = true;
     this.label4.BackColor = Color.Transparent;
     this.label4.Location = new Point(1, 5);
     this.label4.Name = "label4";
     this.label4.Size = new Size(70, 14);
     this.label4.TabIndex = 2;
     this.label4.Text = "有效成分2";
     this.txtHL2.Location = new Point(202, 2);
     this.txtHL2.Name = "txtHL2";
     this.txtHL2.Size = new Size(58, 23);
     this.txtHL2.TabIndex = 17;
     this.cboUnit2.DropDownWidth = 78;
     this.cboUnit2.FormattingEnabled = true;
     this.cboUnit2.Items.AddRange(new object[]
     {
         "%",
         "克/升",
         "毫克/片"
     });
     this.cboUnit2.Location = new Point(263, 2);
     this.cboUnit2.Name = "cboUnit2";
     this.cboUnit2.Size = new Size(75, 21);
     this.cboUnit2.TabIndex = 8;
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Location = new Point(164, 7);
     this.label3.Name = "label3";
     this.label3.Size = new Size(35, 14);
     this.label3.TabIndex = 18;
     this.label3.Text = "含量";
     this.lblCount.AutoSize = true;
     this.lblCount.BackColor = Color.Transparent;
     this.lblCount.Location = new Point(293, 59);
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new Size(0, 14);
     this.lblCount.TabIndex = 14;
     this.radHJ.AutoSize = true;
     this.radHJ.BackColor = Color.Transparent;
     this.radHJ.Location = new Point(503, 45);
     this.radHJ.Name = "radHJ";
     this.radHJ.Size = new Size(53, 18);
     this.radHJ.TabIndex = 11;
     this.radHJ.Text = "混剂";
     this.radHJ.UseVisualStyleBackColor = false;
     this.radHJ.Click += new EventHandler(this.radHJ_Click);
     this.radDJ.AutoSize = true;
     this.radDJ.BackColor = Color.Transparent;
     this.radDJ.Location = new Point(444, 45);
     this.radDJ.Name = "radDJ";
     this.radDJ.Size = new Size(53, 18);
     this.radDJ.TabIndex = 10;
     this.radDJ.Text = "单剂";
     this.radDJ.UseVisualStyleBackColor = false;
     this.radDJ.Click += new EventHandler(this.radDJ_Click);
     this.radAll.AutoSize = true;
     this.radAll.BackColor = Color.Transparent;
     this.radAll.Checked = true;
     this.radAll.Location = new Point(385, 45);
     this.radAll.Name = "radAll";
     this.radAll.Size = new Size(53, 18);
     this.radAll.TabIndex = 9;
     this.radAll.TabStop = true;
     this.radAll.Text = "全部";
     this.radAll.UseVisualStyleBackColor = false;
     this.radAll.Click += new EventHandler(this.radHJ_Click);
     this.panYY.BackColor = Color.Transparent;
     this.panYY.Controls.Add(this.gridlokYXCF);
     this.panYY.Controls.Add(this.label8);
     this.panYY.Controls.Add(this.cboYYZL);
     this.panYY.Controls.Add(this.label7);
     this.panYY.Location = new Point(9, 76);
     this.panYY.Name = "panYY";
     this.panYY.Size = new Size(342, 26);
     this.panYY.TabIndex = 23;
     this.panYY.Visible = false;
     this.gridlokYXCF.AllowDrop = true;
     this.gridlokYXCF.Location = new Point(69, 4);
     this.gridlokYXCF.Name = "gridlokYXCF";
     this.gridlokYXCF.Properties.Buttons.AddRange(new EditorButton[]
     {
         new EditorButton(ButtonPredefines.Combo)
     });
     this.gridlokYXCF.Properties.NullText = "";
     this.gridlokYXCF.Properties.View = this.gridView4;
     this.gridlokYXCF.Size = new Size(125, 21);
     this.gridlokYXCF.TabIndex = 25;
     this.gridlokYXCF.ProcessNewValue += new ProcessNewValueEventHandler(this.gridlokYXCF1_ProcessNewValue);
     this.gridView4.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn22
     });
     this.gridView4.FocusRectStyle = DrawFocusRectStyle.RowFocus;
     this.gridView4.Name = "gridView4";
     this.gridView4.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView4.OptionsView.ShowGroupPanel = false;
     this.gridColumn22.Caption = "有效成分";
     this.gridColumn22.FieldName = "YXCF";
     this.gridColumn22.Name = "gridColumn22";
     this.gridColumn22.Visible = true;
     this.gridColumn22.VisibleIndex = 0;
     this.label8.AutoSize = true;
     this.label8.BackColor = Color.Transparent;
     this.label8.Location = new Point(1, 7);
     this.label8.Name = "label8";
     this.label8.Size = new Size(63, 14);
     this.label8.TabIndex = 2;
     this.label8.Text = "有效成分";
     this.cboYYZL.FormattingEnabled = true;
     this.cboYYZL.Items.AddRange(new object[]
     {
         "母粉",
         "母药",
         "母液",
         "原粉",
         "原药"
     });
     this.cboYYZL.Location = new Point(263, 4);
     this.cboYYZL.Name = "cboYYZL";
     this.cboYYZL.Size = new Size(75, 21);
     this.cboYYZL.TabIndex = 8;
     this.label7.AutoSize = true;
     this.label7.BackColor = Color.Transparent;
     this.label7.Location = new Point(195, 7);
     this.label7.Name = "label7";
     this.label7.Size = new Size(63, 14);
     this.label7.TabIndex = 18;
     this.label7.Text = "原药种类";
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(95, 131);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(89, 48);
     this.paneldata.TabIndex = 24;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(89, 48);
     this.gridControl1.TabIndex = 10;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn8,
         this.gridColumn9,
         this.gridColumn10,
         this.gridColumn11,
         this.gridColumn12,
         this.gridColumn13,
         this.gridColumn14,
         this.gridColumn15
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.CustomDrawCell += new RowCellCustomDrawEventHandler(this.gridView1_CustomDrawCell);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn7.Caption = "gridColumn7";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     this.gridColumn8.Caption = "gridColumn8";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 7;
     this.gridColumn9.Caption = "gridColumn9";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 8;
     this.gridColumn10.Caption = "gridColumn10";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 9;
     this.gridColumn11.Caption = "gridColumn11";
     this.gridColumn11.Name = "gridColumn11";
     this.gridColumn11.Visible = true;
     this.gridColumn11.VisibleIndex = 10;
     this.gridColumn12.Caption = "gridColumn12";
     this.gridColumn12.Name = "gridColumn12";
     this.gridColumn12.Visible = true;
     this.gridColumn12.VisibleIndex = 11;
     this.gridColumn13.Caption = "gridColumn13";
     this.gridColumn13.Name = "gridColumn13";
     this.gridColumn13.Visible = true;
     this.gridColumn13.VisibleIndex = 12;
     this.gridColumn14.Caption = "gridColumn14";
     this.gridColumn14.Name = "gridColumn14";
     this.gridColumn14.Visible = true;
     this.gridColumn14.VisibleIndex = 13;
     this.gridColumn15.Caption = "gridColumn15";
     this.gridColumn15.Name = "gridColumn15";
     this.gridColumn15.Visible = true;
     this.gridColumn15.VisibleIndex = 14;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(0, 134);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(178, 452);
     this.panelmenu.TabIndex = 26;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(178, 452);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(429, 36);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(407, 25);
     this.paneltop_right.TabIndex = 32;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(195, 32);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(223, 29);
     this.paneltop_middle.TabIndex = 31;
     this.paneltop_left.Location = new Point(12, 32);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 30;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(599, 3);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(239, 25);
     this.paneltitle_right.TabIndex = 29;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(172, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(194, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(216, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(264, 3);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(338, 25);
     this.paneltitle_middle.TabIndex = 28;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(0, 3);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 27;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(214, 85);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(628, 492);
     this.panelright.TabIndex = 33;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(18, 161);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(604, 328);
     this.panelwhite.TabIndex = 28;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(5, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(596, 40);
     this.panelbutton.TabIndex = 26;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Click += new EventHandler(this.pictureBox_sum_Click);
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(5, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(596, 28);
     this.paneldatasum.TabIndex = 25;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(587, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 27;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label9);
     this.panel_middle.Location = new Point(73, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 26;
     this.label9.BackColor = Color.Transparent;
     this.label9.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label9.Location = new Point(41, 7);
     this.label9.Name = "label9";
     this.label9.Size = new Size(253, 14);
     this.label9.TabIndex = 1;
     this.label9.Text = "农药单混剂查询";
     this.pictureBox_left.Location = new Point(4, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 25;
     this.pictureBox_left.TabStop = false;
     this.gridColumn16.Caption = "有效成分";
     this.gridColumn16.FieldName = "YXCF";
     this.gridColumn16.Name = "gridColumn16";
     this.gridColumn16.Visible = true;
     this.gridColumn16.VisibleIndex = 0;
     this.gridColumn18.Caption = "有效成分";
     this.gridColumn18.FieldName = "YXCF";
     this.gridColumn18.Name = "gridColumn18";
     this.gridColumn18.Visible = true;
     this.gridColumn18.VisibleIndex = 0;
     this.gridColumn19.Caption = "有效成分";
     this.gridColumn19.FieldName = "YXCF";
     this.gridColumn19.Name = "gridColumn19";
     this.gridColumn19.Visible = true;
     this.gridColumn19.VisibleIndex = 0;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(850, 589);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmNYDHJ";
     this.Text = "农药单混剂查询";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmNYDHJ_Load);
     base.Resize += new EventHandler(this.frmNYDHJ_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.pan3.ResumeLayout(false);
     this.pan3.PerformLayout();
     ((ISupportInitialize)this.gridlokYXCF3.Properties).EndInit();
     ((ISupportInitialize)this.gridView3).EndInit();
     this.pan1.ResumeLayout(false);
     this.pan1.PerformLayout();
     ((ISupportInitialize)this.gridlokYXCF1.Properties).EndInit();
     ((ISupportInitialize)this.gridLookUpEdit1View).EndInit();
     this.pan2.ResumeLayout(false);
     this.pan2.PerformLayout();
     ((ISupportInitialize)this.gridlokYXCF2.Properties).EndInit();
     ((ISupportInitialize)this.gridView2).EndInit();
     this.panYY.ResumeLayout(false);
     this.panYY.PerformLayout();
     ((ISupportInitialize)this.gridlokYXCF.Properties).EndInit();
     ((ISupportInitialize)this.gridView4).EndInit();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #14
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmZW2FZDX));

            this.panelcondition    = new Panel();
            this.btnReset          = new Button();
            this.btnSearch         = new Button();
            this.cboFZDXLB         = new ComboBox();
            this.label3            = new Label();
            this.label1            = new Label();
            this.txtDJZW           = new TextBox();
            this.paneldata         = new Panel();
            this.gridControl1      = new GridControl();
            this.gridView1         = new GridView();
            this.gridColumn1       = new GridColumn();
            this.gridColumn2       = new GridColumn();
            this.panelmenu         = new Panel();
            this.userManu1         = new UserManu();
            this.paneltop_right    = new Panel();
            this.paneltop_middle   = new Panel();
            this.paneltop_left     = new Panel();
            this.paneltitle_right  = new Panel();
            this.pictureBox3       = new PictureBox();
            this.pictureBox2       = new PictureBox();
            this.pictureBox1       = new PictureBox();
            this.paneltitle_middle = new Panel();
            this.paneltitle_left   = new Panel();
            this.panelright        = new Panel();
            this.panelwhite        = new Panel();
            this.panelbutton       = new Panel();
            this.pictureBox_sum    = new PictureBox();
            this.pictureBox_view   = new PictureBox();
            this.pictureBox_sort   = new PictureBox();
            this.pictureBox_filter = new PictureBox();
            this.paneldatasum      = new Panel();
            this.labeldatacount    = new Label();
            this.pictureBox_right  = new PictureBox();
            this.panel_middle      = new Panel();
            this.label6            = new Label();
            this.pictureBox_left   = new PictureBox();
            this.panelcondition.SuspendLayout();
            this.paneldata.SuspendLayout();
            ((ISupportInitialize)this.gridControl1).BeginInit();
            ((ISupportInitialize)this.gridView1).BeginInit();
            this.panelmenu.SuspendLayout();
            this.paneltitle_right.SuspendLayout();
            ((ISupportInitialize)this.pictureBox3).BeginInit();
            ((ISupportInitialize)this.pictureBox2).BeginInit();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            this.panelright.SuspendLayout();
            this.panelwhite.SuspendLayout();
            this.panelbutton.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_sum).BeginInit();
            ((ISupportInitialize)this.pictureBox_view).BeginInit();
            ((ISupportInitialize)this.pictureBox_sort).BeginInit();
            ((ISupportInitialize)this.pictureBox_filter).BeginInit();
            this.paneldatasum.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_right).BeginInit();
            this.panel_middle.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_left).BeginInit();
            base.SuspendLayout();
            this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelcondition.Controls.Add(this.btnReset);
            this.panelcondition.Controls.Add(this.btnSearch);
            this.panelcondition.Controls.Add(this.cboFZDXLB);
            this.panelcondition.Controls.Add(this.label3);
            this.panelcondition.Controls.Add(this.label1);
            this.panelcondition.Controls.Add(this.txtDJZW);
            this.panelcondition.Location           = new Point(4, 37);
            this.panelcondition.Name               = "panelcondition";
            this.panelcondition.Size               = new Size(590, 99);
            this.panelcondition.TabIndex           = 17;
            this.btnReset.Location                 = new Point(94, 70);
            this.btnReset.Name                     = "btnReset";
            this.btnReset.Size                     = new Size(50, 23);
            this.btnReset.TabIndex                 = 19;
            this.btnReset.Text                     = "重置";
            this.btnReset.UseVisualStyleBackColor  = true;
            this.btnReset.Click                   += new EventHandler(this.btnReset_Click);
            this.btnSearch.Location                = new Point(38, 70);
            this.btnSearch.Name                    = "btnSearch";
            this.btnSearch.Size                    = new Size(50, 23);
            this.btnSearch.TabIndex                = 18;
            this.btnSearch.Text                    = "查询";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click                  += new EventHandler(this.btnSearch_Click);
            this.cboFZDXLB.Font                    = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.cboFZDXLB.FormattingEnabled       = true;
            this.cboFZDXLB.Items.AddRange(new object[]
            {
                "稗草及部分阔叶杂草和莎草",
                "病毒",
                "仓储害虫",
                "草原毛虫",
                "地下害虫",
                "灌木",
                "害虫",
                "害兽",
                "害鼠",
                "化学调节",
                "其它目标害物",
                "软体动物",
                "卫生害虫",
                "细菌",
                "线虫",
                "叶螨类",
                "一年生禾本科杂草及部分多年生杂草",
                "一年生禾本科杂草及部分阔叶杂草",
                "一年生阔叶杂草及部分莎草科杂草",
                "杂草",
                "真菌",
                "走螨类",
                "瘿螨类"
            });
            this.cboFZDXLB.Location = new Point(92, 42);
            this.cboFZDXLB.Name     = "cboFZDXLB";
            this.cboFZDXLB.Size     = new Size(208, 22);
            this.cboFZDXLB.TabIndex = 8;
            this.label3.AutoSize    = true;
            this.label3.BackColor   = Color.Transparent;
            this.label3.Font        = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label3.Location    = new Point(1, 45);
            this.label3.Name        = "label3";
            this.label3.Size        = new Size(91, 14);
            this.label3.TabIndex    = 6;
            this.label3.Text        = "防治对象类别";
            this.label1.AutoSize    = true;
            this.label1.BackColor   = Color.Transparent;
            this.label1.Font        = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label1.Location    = new Point(29, 13);
            this.label1.Name        = "label1";
            this.label1.Size        = new Size(63, 14);
            this.label1.TabIndex    = 2;
            this.label1.Text        = "登记作物";
            this.txtDJZW.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtDJZW.ImeMode    = ImeMode.On;
            this.txtDJZW.Location   = new Point(92, 9);
            this.txtDJZW.Name       = "txtDJZW";
            this.txtDJZW.Size       = new Size(208, 23);
            this.txtDJZW.TabIndex   = 1;
            this.paneldata.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldata.Controls.Add(this.gridControl1);
            this.paneldata.Location    = new Point(34, 197);
            this.paneldata.Name        = "paneldata";
            this.paneldata.Size        = new Size(115, 99);
            this.paneldata.TabIndex    = 26;
            this.gridControl1.Dock     = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.Size     = new Size(115, 99);
            this.gridControl1.TabIndex = 17;
            this.gridControl1.ViewCollection.AddRange(new BaseView[]
            {
                this.gridView1
            });
            this.gridView1.Columns.AddRange(new GridColumn[]
            {
                this.gridColumn1,
                this.gridColumn2
            });
            this.gridView1.GridControl             = this.gridControl1;
            this.gridView1.Name                    = "gridView1";
            this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
            this.gridView1.RowCountChanged        += new EventHandler(this.gridView1_RowCountChanged);
            this.gridView1.RowCellClick           += new RowCellClickEventHandler(this.gridView1_RowCellClick);
            this.gridColumn1.Caption               = "gridColumn1";
            this.gridColumn1.Name                  = "gridColumn1";
            this.gridColumn1.Visible               = true;
            this.gridColumn1.VisibleIndex          = 0;
            this.gridColumn2.Caption               = "gridColumn2";
            this.gridColumn2.Name                  = "gridColumn2";
            this.gridColumn2.Visible               = true;
            this.gridColumn2.VisibleIndex          = 1;
            this.panelmenu.Anchor                  = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.panelmenu.Controls.Add(this.userManu1);
            this.panelmenu.Location       = new Point(3, 124);
            this.panelmenu.Name           = "panelmenu";
            this.panelmenu.Size           = new Size(162, 440);
            this.panelmenu.TabIndex       = 28;
            this.userManu1.BackColor      = Color.FromArgb(107, 161, 179);
            this.userManu1.Dock           = DockStyle.Fill;
            this.userManu1.Location       = new Point(0, 0);
            this.userManu1.Name           = "userManu1";
            this.userManu1.Size           = new Size(162, 440);
            this.userManu1.TabIndex       = 0;
            this.paneltop_right.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltop_right.Location  = new Point(374, 35);
            this.paneltop_right.Name      = "paneltop_right";
            this.paneltop_right.Size      = new Size(406, 25);
            this.paneltop_right.TabIndex  = 34;
            this.paneltop_middle.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltop_middle.Location = new Point(198, 31);
            this.paneltop_middle.Name     = "paneltop_middle";
            this.paneltop_middle.Size     = new Size(165, 29);
            this.paneltop_middle.TabIndex = 33;
            this.paneltop_left.Location   = new Point(15, 31);
            this.paneltop_left.Name       = "paneltop_left";
            this.paneltop_left.Size       = new Size(185, 29);
            this.paneltop_left.TabIndex   = 32;
            this.paneltitle_right.Anchor  = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltitle_right.Controls.Add(this.pictureBox3);
            this.paneltitle_right.Controls.Add(this.pictureBox2);
            this.paneltitle_right.Controls.Add(this.pictureBox1);
            this.paneltitle_right.Location    = new Point(544, 2);
            this.paneltitle_right.Name        = "paneltitle_right";
            this.paneltitle_right.Size        = new Size(236, 25);
            this.paneltitle_right.TabIndex    = 31;
            this.pictureBox3.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox3.Image            = (Image)componentResourceManager.GetObject("pictureBox3.Image");
            this.pictureBox3.Location         = new Point(169, 2);
            this.pictureBox3.Name             = "pictureBox3";
            this.pictureBox3.Size             = new Size(21, 21);
            this.pictureBox3.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox3.TabIndex         = 23;
            this.pictureBox3.TabStop          = false;
            this.pictureBox3.MouseLeave      += new EventHandler(this.pictureBox3_MouseLeave);
            this.pictureBox3.Click           += new EventHandler(this.pictureBox3_Click);
            this.pictureBox3.MouseEnter      += new EventHandler(this.pictureBox3_MouseEnter);
            this.pictureBox2.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox2.Image            = (Image)componentResourceManager.GetObject("pictureBox2.Image");
            this.pictureBox2.Location         = new Point(191, 2);
            this.pictureBox2.Name             = "pictureBox2";
            this.pictureBox2.Size             = new Size(21, 21);
            this.pictureBox2.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox2.TabIndex         = 22;
            this.pictureBox2.TabStop          = false;
            this.pictureBox2.MouseLeave      += new EventHandler(this.pictureBox2_MouseLeave);
            this.pictureBox2.Click           += new EventHandler(this.pictureBox2_Click);
            this.pictureBox2.MouseEnter      += new EventHandler(this.pictureBox2_MouseEnter);
            this.pictureBox1.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox1.Image            = (Image)componentResourceManager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location         = new Point(213, 2);
            this.pictureBox1.Name             = "pictureBox1";
            this.pictureBox1.Size             = new Size(21, 21);
            this.pictureBox1.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex         = 21;
            this.pictureBox1.TabStop          = false;
            this.pictureBox1.MouseLeave      += new EventHandler(this.pictureBox1_MouseLeave);
            this.pictureBox1.Click           += new EventHandler(this.pictureBox1_Click);
            this.pictureBox1.MouseEnter      += new EventHandler(this.pictureBox1_MouseEnter);
            this.paneltitle_middle.Anchor     = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltitle_middle.Location   = new Point(267, 2);
            this.paneltitle_middle.Name       = "paneltitle_middle";
            this.paneltitle_middle.Size       = new Size(280, 25);
            this.paneltitle_middle.TabIndex   = 30;
            this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
            this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
            this.paneltitle_middle.MouseUp   += new MouseEventHandler(this.paneltitle_middle_MouseUp);
            this.paneltitle_left.Location     = new Point(3, 2);
            this.paneltitle_left.Name         = "paneltitle_left";
            this.paneltitle_left.Size         = new Size(264, 25);
            this.paneltitle_left.TabIndex     = 29;
            this.panelright.Anchor            = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelright.Controls.Add(this.panelwhite);
            this.panelright.Controls.Add(this.pictureBox_right);
            this.panelright.Controls.Add(this.panel_middle);
            this.panelright.Controls.Add(this.pictureBox_left);
            this.panelright.Controls.Add(this.panelcondition);
            this.panelright.Location = new Point(179, 73);
            this.panelright.Name     = "panelright";
            this.panelright.Size     = new Size(599, 481);
            this.panelright.TabIndex = 35;
            this.panelwhite.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelwhite.Controls.Add(this.panelbutton);
            this.panelwhite.Controls.Add(this.paneldatasum);
            this.panelwhite.Controls.Add(this.paneldata);
            this.panelwhite.Location = new Point(8, 152);
            this.panelwhite.Name     = "panelwhite";
            this.panelwhite.Size     = new Size(586, 311);
            this.panelwhite.TabIndex = 30;
            this.panelbutton.Anchor  = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelbutton.Controls.Add(this.pictureBox_sum);
            this.panelbutton.Controls.Add(this.pictureBox_view);
            this.panelbutton.Controls.Add(this.pictureBox_sort);
            this.panelbutton.Controls.Add(this.pictureBox_filter);
            this.panelbutton.Location        = new Point(3, 37);
            this.panelbutton.Name            = "panelbutton";
            this.panelbutton.Size            = new Size(566, 40);
            this.panelbutton.TabIndex        = 28;
            this.pictureBox_sum.BackColor    = Color.Transparent;
            this.pictureBox_sum.Cursor       = Cursors.Hand;
            this.pictureBox_sum.Location     = new Point(352, 9);
            this.pictureBox_sum.Name         = "pictureBox_sum";
            this.pictureBox_sum.Size         = new Size(65, 24);
            this.pictureBox_sum.SizeMode     = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sum.TabIndex     = 3;
            this.pictureBox_sum.TabStop      = false;
            this.pictureBox_sum.Visible      = false;
            this.pictureBox_view.BackColor   = Color.Transparent;
            this.pictureBox_view.Cursor      = Cursors.Hand;
            this.pictureBox_view.Location    = new Point(253, 9);
            this.pictureBox_view.Name        = "pictureBox_view";
            this.pictureBox_view.Size        = new Size(65, 24);
            this.pictureBox_view.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_view.TabIndex    = 2;
            this.pictureBox_view.TabStop     = false;
            this.pictureBox_view.Visible     = false;
            this.pictureBox_sort.BackColor   = Color.Transparent;
            this.pictureBox_sort.Cursor      = Cursors.Hand;
            this.pictureBox_sort.Location    = new Point(154, 9);
            this.pictureBox_sort.Name        = "pictureBox_sort";
            this.pictureBox_sort.Size        = new Size(65, 24);
            this.pictureBox_sort.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sort.TabIndex    = 1;
            this.pictureBox_sort.TabStop     = false;
            this.pictureBox_sort.Visible     = false;
            this.pictureBox_filter.BackColor = Color.Transparent;
            this.pictureBox_filter.Cursor    = Cursors.Hand;
            this.pictureBox_filter.Location  = new Point(55, 9);
            this.pictureBox_filter.Name      = "pictureBox_filter";
            this.pictureBox_filter.Size      = new Size(65, 24);
            this.pictureBox_filter.SizeMode  = PictureBoxSizeMode.AutoSize;
            this.pictureBox_filter.TabIndex  = 0;
            this.pictureBox_filter.TabStop   = false;
            this.pictureBox_filter.Click    += new EventHandler(this.pictureBox_filter_Click);
            this.paneldatasum.Anchor         = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldatasum.Controls.Add(this.labeldatacount);
            this.paneldatasum.Location     = new Point(3, 3);
            this.paneldatasum.Name         = "paneldatasum";
            this.paneldatasum.Size         = new Size(566, 28);
            this.paneldatasum.TabIndex     = 27;
            this.labeldatacount.BackColor  = Color.Transparent;
            this.labeldatacount.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.labeldatacount.Location   = new Point(41, 8);
            this.labeldatacount.Name       = "labeldatacount";
            this.labeldatacount.Size       = new Size(253, 14);
            this.labeldatacount.TabIndex   = 0;
            this.pictureBox_right.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox_right.Location = new Point(556, 3);
            this.pictureBox_right.Name     = "pictureBox_right";
            this.pictureBox_right.Size     = new Size(38, 28);
            this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_right.TabIndex = 29;
            this.pictureBox_right.TabStop  = false;
            this.panel_middle.Anchor       = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panel_middle.Controls.Add(this.label6);
            this.panel_middle.Location    = new Point(73, 3);
            this.panel_middle.Name        = "panel_middle";
            this.panel_middle.Size        = new Size(328, 28);
            this.panel_middle.TabIndex    = 28;
            this.label6.BackColor         = Color.Transparent;
            this.label6.Font              = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
            this.label6.Location          = new Point(41, 7);
            this.label6.Name              = "label6";
            this.label6.Size              = new Size(253, 14);
            this.label6.TabIndex          = 1;
            this.label6.Text              = "作物=>防治对象";
            this.pictureBox_left.Location = new Point(4, 3);
            this.pictureBox_left.Name     = "pictureBox_left";
            this.pictureBox_left.Size     = new Size(17, 28);
            this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_left.TabIndex = 27;
            this.pictureBox_left.TabStop  = false;
            base.AcceptButton             = this.btnSearch;
            base.AutoScaleMode            = AutoScaleMode.None;
            base.ClientSize = new Size(792, 566);
            base.Controls.Add(this.panelright);
            base.Controls.Add(this.paneltop_right);
            base.Controls.Add(this.paneltop_middle);
            base.Controls.Add(this.paneltop_left);
            base.Controls.Add(this.paneltitle_right);
            base.Controls.Add(this.paneltitle_middle);
            base.Controls.Add(this.paneltitle_left);
            base.Controls.Add(this.panelmenu);
            this.Font            = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.Name            = "frmZW2FZDX";
            base.ShowInTaskbar   = false;
            this.Text            = "作物=>防治对象";
            base.WindowState     = FormWindowState.Maximized;
            base.Load           += new EventHandler(this.frmZW2FZDX_Load);
            base.Resize         += new EventHandler(this.frmZW2FZDX_Resize);
            this.panelcondition.ResumeLayout(false);
            this.panelcondition.PerformLayout();
            this.paneldata.ResumeLayout(false);
            ((ISupportInitialize)this.gridControl1).EndInit();
            ((ISupportInitialize)this.gridView1).EndInit();
            this.panelmenu.ResumeLayout(false);
            this.paneltitle_right.ResumeLayout(false);
            this.paneltitle_right.PerformLayout();
            ((ISupportInitialize)this.pictureBox3).EndInit();
            ((ISupportInitialize)this.pictureBox2).EndInit();
            ((ISupportInitialize)this.pictureBox1).EndInit();
            this.panelright.ResumeLayout(false);
            this.panelright.PerformLayout();
            this.panelwhite.ResumeLayout(false);
            this.panelbutton.ResumeLayout(false);
            this.panelbutton.PerformLayout();
            ((ISupportInitialize)this.pictureBox_sum).EndInit();
            ((ISupportInitialize)this.pictureBox_view).EndInit();
            ((ISupportInitialize)this.pictureBox_sort).EndInit();
            ((ISupportInitialize)this.pictureBox_filter).EndInit();
            this.paneldatasum.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_right).EndInit();
            this.panel_middle.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_left).EndInit();
            base.ResumeLayout(false);
        }
예제 #15
0
파일: frmZD2JJ.cs 프로젝트: wangshu/NY_HACK
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmZD2JJ));

            this.btnReset          = new Button();
            this.btnSearch         = new Button();
            this.panelcondition    = new Panel();
            this.label1            = new Label();
            this.txtYXCF           = new TextBox();
            this.paneldata         = new Panel();
            this.gridControl1      = new GridControl();
            this.gridView1         = new GridView();
            this.gridColumn1       = new GridColumn();
            this.gridColumn2       = new GridColumn();
            this.gridColumn3       = new GridColumn();
            this.gridColumn4       = new GridColumn();
            this.gridColumn5       = new GridColumn();
            this.panelmenu         = new Panel();
            this.userManu1         = new UserManu();
            this.paneltop_right    = new Panel();
            this.paneltop_middle   = new Panel();
            this.paneltop_left     = new Panel();
            this.paneltitle_right  = new Panel();
            this.pictureBox3       = new PictureBox();
            this.pictureBox2       = new PictureBox();
            this.pictureBox1       = new PictureBox();
            this.paneltitle_middle = new Panel();
            this.paneltitle_left   = new Panel();
            this.panelright        = new Panel();
            this.panelwhite        = new Panel();
            this.panelbutton       = new Panel();
            this.pictureBox_sum    = new PictureBox();
            this.pictureBox_view   = new PictureBox();
            this.pictureBox_sort   = new PictureBox();
            this.pictureBox_filter = new PictureBox();
            this.paneldatasum      = new Panel();
            this.labeldatacount    = new Label();
            this.pictureBox_right  = new PictureBox();
            this.panel_middle      = new Panel();
            this.label6            = new Label();
            this.pictureBox_left   = new PictureBox();
            this.panelcondition.SuspendLayout();
            this.paneldata.SuspendLayout();
            ((ISupportInitialize)this.gridControl1).BeginInit();
            ((ISupportInitialize)this.gridView1).BeginInit();
            this.panelmenu.SuspendLayout();
            this.paneltitle_right.SuspendLayout();
            ((ISupportInitialize)this.pictureBox3).BeginInit();
            ((ISupportInitialize)this.pictureBox2).BeginInit();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            this.panelright.SuspendLayout();
            this.panelwhite.SuspendLayout();
            this.panelbutton.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_sum).BeginInit();
            ((ISupportInitialize)this.pictureBox_view).BeginInit();
            ((ISupportInitialize)this.pictureBox_sort).BeginInit();
            ((ISupportInitialize)this.pictureBox_filter).BeginInit();
            this.paneldatasum.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_right).BeginInit();
            this.panel_middle.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_left).BeginInit();
            base.SuspendLayout();
            this.btnReset.Location = new Point(111, 48);
            this.btnReset.Name     = "btnReset";
            this.btnReset.Size     = new Size(50, 23);
            this.btnReset.TabIndex = 20;
            this.btnReset.Text     = "重置";
            this.btnReset.UseVisualStyleBackColor = true;
            this.btnReset.Click    += new EventHandler(this.btnReset_Click);
            this.btnSearch.Location = new Point(55, 48);
            this.btnSearch.Name     = "btnSearch";
            this.btnSearch.Size     = new Size(50, 23);
            this.btnSearch.TabIndex = 19;
            this.btnSearch.Text     = "查询";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click      += new EventHandler(this.btnSearch_Click);
            this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelcondition.Controls.Add(this.btnReset);
            this.panelcondition.Controls.Add(this.btnSearch);
            this.panelcondition.Controls.Add(this.label1);
            this.panelcondition.Controls.Add(this.txtYXCF);
            this.panelcondition.Location = new Point(4, 37);
            this.panelcondition.Name     = "panelcondition";
            this.panelcondition.Size     = new Size(551, 86);
            this.panelcondition.TabIndex = 18;
            this.label1.BackColor        = Color.Transparent;
            this.label1.Font             = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label1.Location         = new Point(1, 17);
            this.label1.Name             = "label1";
            this.label1.Size             = new Size(63, 14);
            this.label1.TabIndex         = 2;
            this.label1.Text             = "有效成分";
            this.txtYXCF.Font            = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtYXCF.ImeMode         = ImeMode.On;
            this.txtYXCF.Location        = new Point(64, 13);
            this.txtYXCF.Name            = "txtYXCF";
            this.txtYXCF.Size            = new Size(293, 23);
            this.txtYXCF.TabIndex        = 1;
            this.paneldata.Anchor        = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldata.Controls.Add(this.gridControl1);
            this.paneldata.Location    = new Point(113, 155);
            this.paneldata.Name        = "paneldata";
            this.paneldata.Size        = new Size(117, 54);
            this.paneldata.TabIndex    = 28;
            this.gridControl1.Dock     = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.Size     = new Size(117, 54);
            this.gridControl1.TabIndex = 3;
            this.gridControl1.ViewCollection.AddRange(new BaseView[]
            {
                this.gridView1
            });
            this.gridView1.Columns.AddRange(new GridColumn[]
            {
                this.gridColumn1,
                this.gridColumn2,
                this.gridColumn3,
                this.gridColumn4,
                this.gridColumn5
            });
            this.gridView1.GridControl             = this.gridControl1;
            this.gridView1.Name                    = "gridView1";
            this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
            this.gridView1.RowCountChanged        += new EventHandler(this.gridView1_RowCountChanged);
            this.gridView1.RowCellClick           += new RowCellClickEventHandler(this.gridView1_RowCellClick);
            this.gridColumn1.Caption               = "gridColumn1";
            this.gridColumn1.Name                  = "gridColumn1";
            this.gridColumn1.Visible               = true;
            this.gridColumn1.VisibleIndex          = 0;
            this.gridColumn2.Caption               = "gridColumn2";
            this.gridColumn2.Name                  = "gridColumn2";
            this.gridColumn2.Visible               = true;
            this.gridColumn2.VisibleIndex          = 1;
            this.gridColumn3.Caption               = "gridColumn3";
            this.gridColumn3.Name                  = "gridColumn3";
            this.gridColumn3.Visible               = true;
            this.gridColumn3.VisibleIndex          = 2;
            this.gridColumn4.Caption               = "gridColumn4";
            this.gridColumn4.Name                  = "gridColumn4";
            this.gridColumn4.Visible               = true;
            this.gridColumn4.VisibleIndex          = 3;
            this.gridColumn5.Caption               = "gridColumn5";
            this.gridColumn5.Name                  = "gridColumn5";
            this.gridColumn5.Visible               = true;
            this.gridColumn5.VisibleIndex          = 4;
            this.panelmenu.Anchor                  = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.panelmenu.Controls.Add(this.userManu1);
            this.panelmenu.Location       = new Point(1, 146);
            this.panelmenu.Name           = "panelmenu";
            this.panelmenu.Size           = new Size(177, 418);
            this.panelmenu.TabIndex       = 30;
            this.userManu1.BackColor      = Color.FromArgb(107, 161, 179);
            this.userManu1.Dock           = DockStyle.Fill;
            this.userManu1.Location       = new Point(0, 0);
            this.userManu1.Name           = "userManu1";
            this.userManu1.Size           = new Size(177, 418);
            this.userManu1.TabIndex       = 0;
            this.paneltop_right.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltop_right.Location  = new Point(372, 33);
            this.paneltop_right.Name      = "paneltop_right";
            this.paneltop_right.Size      = new Size(406, 25);
            this.paneltop_right.TabIndex  = 36;
            this.paneltop_middle.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltop_middle.Location = new Point(196, 29);
            this.paneltop_middle.Name     = "paneltop_middle";
            this.paneltop_middle.Size     = new Size(165, 29);
            this.paneltop_middle.TabIndex = 35;
            this.paneltop_left.Location   = new Point(13, 29);
            this.paneltop_left.Name       = "paneltop_left";
            this.paneltop_left.Size       = new Size(185, 29);
            this.paneltop_left.TabIndex   = 34;
            this.paneltitle_right.Anchor  = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltitle_right.Controls.Add(this.pictureBox3);
            this.paneltitle_right.Controls.Add(this.pictureBox2);
            this.paneltitle_right.Controls.Add(this.pictureBox1);
            this.paneltitle_right.Location    = new Point(542, 0);
            this.paneltitle_right.Name        = "paneltitle_right";
            this.paneltitle_right.Size        = new Size(238, 25);
            this.paneltitle_right.TabIndex    = 33;
            this.pictureBox3.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox3.Image            = (Image)componentResourceManager.GetObject("pictureBox3.Image");
            this.pictureBox3.Location         = new Point(171, 2);
            this.pictureBox3.Name             = "pictureBox3";
            this.pictureBox3.Size             = new Size(21, 21);
            this.pictureBox3.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox3.TabIndex         = 23;
            this.pictureBox3.TabStop          = false;
            this.pictureBox3.MouseLeave      += new EventHandler(this.pictureBox3_MouseLeave);
            this.pictureBox3.Click           += new EventHandler(this.pictureBox3_Click);
            this.pictureBox3.MouseEnter      += new EventHandler(this.pictureBox3_MouseEnter);
            this.pictureBox2.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox2.Image            = (Image)componentResourceManager.GetObject("pictureBox2.Image");
            this.pictureBox2.Location         = new Point(193, 2);
            this.pictureBox2.Name             = "pictureBox2";
            this.pictureBox2.Size             = new Size(21, 21);
            this.pictureBox2.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox2.TabIndex         = 22;
            this.pictureBox2.TabStop          = false;
            this.pictureBox2.MouseLeave      += new EventHandler(this.pictureBox2_MouseLeave);
            this.pictureBox2.Click           += new EventHandler(this.pictureBox2_Click);
            this.pictureBox2.MouseEnter      += new EventHandler(this.pictureBox2_MouseEnter);
            this.pictureBox1.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox1.Image            = (Image)componentResourceManager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location         = new Point(215, 2);
            this.pictureBox1.Name             = "pictureBox1";
            this.pictureBox1.Size             = new Size(21, 21);
            this.pictureBox1.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex         = 21;
            this.pictureBox1.TabStop          = false;
            this.pictureBox1.MouseLeave      += new EventHandler(this.pictureBox1_MouseLeave);
            this.pictureBox1.Click           += new EventHandler(this.pictureBox1_Click);
            this.pictureBox1.MouseEnter      += new EventHandler(this.pictureBox1_MouseEnter);
            this.paneltitle_middle.Anchor     = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltitle_middle.Location   = new Point(265, 0);
            this.paneltitle_middle.Name       = "paneltitle_middle";
            this.paneltitle_middle.Size       = new Size(280, 25);
            this.paneltitle_middle.TabIndex   = 32;
            this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
            this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
            this.paneltitle_middle.MouseUp   += new MouseEventHandler(this.paneltitle_middle_MouseUp);
            this.paneltitle_left.Location     = new Point(1, 0);
            this.paneltitle_left.Name         = "paneltitle_left";
            this.paneltitle_left.Size         = new Size(264, 25);
            this.paneltitle_left.TabIndex     = 31;
            this.panelright.Anchor            = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelright.Controls.Add(this.panelwhite);
            this.panelright.Controls.Add(this.pictureBox_right);
            this.panelright.Controls.Add(this.panel_middle);
            this.panelright.Controls.Add(this.pictureBox_left);
            this.panelright.Controls.Add(this.panelcondition);
            this.panelright.Location = new Point(201, 75);
            this.panelright.Name     = "panelright";
            this.panelright.Size     = new Size(577, 479);
            this.panelright.TabIndex = 37;
            this.panelwhite.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelwhite.Controls.Add(this.panelbutton);
            this.panelwhite.Controls.Add(this.paneldatasum);
            this.panelwhite.Controls.Add(this.paneldata);
            this.panelwhite.Location = new Point(4, 129);
            this.panelwhite.Name     = "panelwhite";
            this.panelwhite.Size     = new Size(551, 338);
            this.panelwhite.TabIndex = 32;
            this.panelbutton.Anchor  = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelbutton.Controls.Add(this.pictureBox_sum);
            this.panelbutton.Controls.Add(this.pictureBox_view);
            this.panelbutton.Controls.Add(this.pictureBox_sort);
            this.panelbutton.Controls.Add(this.pictureBox_filter);
            this.panelbutton.Location        = new Point(4, 37);
            this.panelbutton.Name            = "panelbutton";
            this.panelbutton.Size            = new Size(525, 40);
            this.panelbutton.TabIndex        = 30;
            this.pictureBox_sum.BackColor    = Color.Transparent;
            this.pictureBox_sum.Cursor       = Cursors.Hand;
            this.pictureBox_sum.Location     = new Point(352, 9);
            this.pictureBox_sum.Name         = "pictureBox_sum";
            this.pictureBox_sum.Size         = new Size(65, 24);
            this.pictureBox_sum.SizeMode     = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sum.TabIndex     = 3;
            this.pictureBox_sum.TabStop      = false;
            this.pictureBox_sum.Visible      = false;
            this.pictureBox_view.BackColor   = Color.Transparent;
            this.pictureBox_view.Cursor      = Cursors.Hand;
            this.pictureBox_view.Location    = new Point(253, 9);
            this.pictureBox_view.Name        = "pictureBox_view";
            this.pictureBox_view.Size        = new Size(65, 24);
            this.pictureBox_view.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_view.TabIndex    = 2;
            this.pictureBox_view.TabStop     = false;
            this.pictureBox_view.Visible     = false;
            this.pictureBox_sort.BackColor   = Color.Transparent;
            this.pictureBox_sort.Cursor      = Cursors.Hand;
            this.pictureBox_sort.Location    = new Point(154, 9);
            this.pictureBox_sort.Name        = "pictureBox_sort";
            this.pictureBox_sort.Size        = new Size(65, 24);
            this.pictureBox_sort.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sort.TabIndex    = 1;
            this.pictureBox_sort.TabStop     = false;
            this.pictureBox_sort.Visible     = false;
            this.pictureBox_filter.BackColor = Color.Transparent;
            this.pictureBox_filter.Cursor    = Cursors.Hand;
            this.pictureBox_filter.Location  = new Point(55, 9);
            this.pictureBox_filter.Name      = "pictureBox_filter";
            this.pictureBox_filter.Size      = new Size(65, 24);
            this.pictureBox_filter.SizeMode  = PictureBoxSizeMode.AutoSize;
            this.pictureBox_filter.TabIndex  = 0;
            this.pictureBox_filter.TabStop   = false;
            this.pictureBox_filter.Click    += new EventHandler(this.pictureBox_filter_Click);
            this.paneldatasum.Anchor         = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldatasum.Controls.Add(this.labeldatacount);
            this.paneldatasum.Location     = new Point(4, 3);
            this.paneldatasum.Name         = "paneldatasum";
            this.paneldatasum.Size         = new Size(525, 28);
            this.paneldatasum.TabIndex     = 29;
            this.labeldatacount.BackColor  = Color.Transparent;
            this.labeldatacount.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.labeldatacount.Location   = new Point(41, 8);
            this.labeldatacount.Name       = "labeldatacount";
            this.labeldatacount.Size       = new Size(253, 14);
            this.labeldatacount.TabIndex   = 0;
            this.pictureBox_right.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox_right.Location = new Point(534, 3);
            this.pictureBox_right.Name     = "pictureBox_right";
            this.pictureBox_right.Size     = new Size(38, 28);
            this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_right.TabIndex = 31;
            this.pictureBox_right.TabStop  = false;
            this.panel_middle.Anchor       = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panel_middle.Controls.Add(this.label6);
            this.panel_middle.Location    = new Point(73, 3);
            this.panel_middle.Name        = "panel_middle";
            this.panel_middle.Size        = new Size(328, 28);
            this.panel_middle.TabIndex    = 30;
            this.label6.BackColor         = Color.Transparent;
            this.label6.Font              = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
            this.label6.Location          = new Point(41, 7);
            this.label6.Name              = "label6";
            this.label6.Size              = new Size(253, 14);
            this.label6.TabIndex          = 1;
            this.label6.Text              = "中毒与急救";
            this.pictureBox_left.Location = new Point(4, 3);
            this.pictureBox_left.Name     = "pictureBox_left";
            this.pictureBox_left.Size     = new Size(17, 28);
            this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_left.TabIndex = 29;
            this.pictureBox_left.TabStop  = false;
            base.AcceptButton             = this.btnSearch;
            base.AutoScaleMode            = AutoScaleMode.None;
            base.ClientSize = new Size(792, 566);
            base.Controls.Add(this.panelright);
            base.Controls.Add(this.paneltop_right);
            base.Controls.Add(this.paneltop_middle);
            base.Controls.Add(this.paneltop_left);
            base.Controls.Add(this.paneltitle_right);
            base.Controls.Add(this.paneltitle_middle);
            base.Controls.Add(this.paneltitle_left);
            base.Controls.Add(this.panelmenu);
            this.Font            = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.Name            = "frmZD2JJ";
            this.Text            = "中毒与急救";
            base.WindowState     = FormWindowState.Maximized;
            base.Load           += new EventHandler(this.frmZD2JJ_Load);
            base.Resize         += new EventHandler(this.frmZD2JJ_Resize);
            this.panelcondition.ResumeLayout(false);
            this.panelcondition.PerformLayout();
            this.paneldata.ResumeLayout(false);
            ((ISupportInitialize)this.gridControl1).EndInit();
            ((ISupportInitialize)this.gridView1).EndInit();
            this.panelmenu.ResumeLayout(false);
            this.paneltitle_right.ResumeLayout(false);
            this.paneltitle_right.PerformLayout();
            ((ISupportInitialize)this.pictureBox3).EndInit();
            ((ISupportInitialize)this.pictureBox2).EndInit();
            ((ISupportInitialize)this.pictureBox1).EndInit();
            this.panelright.ResumeLayout(false);
            this.panelright.PerformLayout();
            this.panelwhite.ResumeLayout(false);
            this.panelbutton.ResumeLayout(false);
            this.panelbutton.PerformLayout();
            ((ISupportInitialize)this.pictureBox_sum).EndInit();
            ((ISupportInitialize)this.pictureBox_view).EndInit();
            ((ISupportInitialize)this.pictureBox_sort).EndInit();
            ((ISupportInitialize)this.pictureBox_filter).EndInit();
            this.paneldatasum.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_right).EndInit();
            this.panel_middle.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_left).EndInit();
            base.ResumeLayout(false);
        }
예제 #16
0
파일: frmHJDX.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmHJDX));
     this.label5 = new Label();
     this.label4 = new Label();
     this.txtYXCF = new TextBox();
     this.cboGWDX = new ComboBox();
     this.panelcondition = new Panel();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.label2 = new Label();
     this.cboZGDX = new ComboBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.gridColumn7 = new GridColumn();
     this.gridColumn8 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.label5.AutoSize = true;
     this.label5.BackColor = Color.Transparent;
     this.label5.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label5.Location = new Point(3, 16);
     this.label5.Name = "label5";
     this.label5.Size = new Size(63, 14);
     this.label5.TabIndex = 24;
     this.label5.Text = "有效成分";
     this.label4.AutoSize = true;
     this.label4.BackColor = Color.Transparent;
     this.label4.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label4.Location = new Point(275, 53);
     this.label4.Name = "label4";
     this.label4.Size = new Size(63, 14);
     this.label4.TabIndex = 22;
     this.label4.Text = "国外毒性";
     this.txtYXCF.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtYXCF.ImeMode = ImeMode.On;
     this.txtYXCF.Location = new Point(66, 12);
     this.txtYXCF.Name = "txtYXCF";
     this.txtYXCF.Size = new Size(500, 23);
     this.txtYXCF.TabIndex = 23;
     this.cboGWDX.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboGWDX.FormattingEnabled = true;
     this.cboGWDX.Items.AddRange(new object[]
     {
         "按常规使用时一般不可能发生急性危害的农药",
         "急性经口LD50(mg/kg):500~5000;急性经皮LD50(mg/kg):2000~20000;吸入LC50(mg/L) :2.0~20;对眼睛的影响:  可引起角膜浑浊,刺激在7 天内能恢复。 对皮肤的影响:在72小 时内中等刺激。",
         "未知",
         "(Extremely hazardous,极度 危害)   LD50大鼠(mg/kg bw) 经口固体(5或<5),液体(20或 <20)。经皮固体(10或<10),液  体(40或<40)",
         "(Highly hazardous,高度危害)LD50大鼠(mg/kg bw)经口固体(5~50)液 体(20~200)。经皮固体 (10~100),液体(40~400)",
         "(Moderately hazardous,  中度危害)LD50大鼠(mg/kgbw)经口固体(50~500)液体(200~2000),经皮固体(100~1000)液体(400~4000)",
         "(Slightly hazardous 轻度危害)LD50大鼠 (mg/kg bw),经口固体(>500) 液体( >2000) 经皮固体(>1000),液体(>4000)",
         "已废旧的或不再使用的农药",
         "没有分类的气体或挥发性 熏蒸剂",
         "急性经口LD50(mg/kg):≥5000;急性经皮LD50(mg/kg):≥20000; 吸入LC50(mg/L): ≥20;对眼睛的影响:无刺 激;对皮肤的影响:在72小 时内有轻微的刺激。",
         "急性经口LD50(mg/kg):<=50;急性经皮LD50(mg/kg):<=200;  吸入LC50(mg/L):<=0.2; 对眼睛的影响:腐蚀、角膜浑浊在7天内不可逆;对皮 肤的影响:腐蚀。",
         "急性经口LD50(mg/kg):50~500;急性经皮LD50(mg/kg):200~2000;吸入LC50(mg/L):0.2~2.0;对眼睛的影响:角膜浑浊,在7天内可逆,刺激持续7天;对皮肤的影响:72小时内有严重刺激。"
     });
     this.cboGWDX.Location = new Point(338, 49);
     this.cboGWDX.Name = "cboGWDX";
     this.cboGWDX.Size = new Size(206, 22);
     this.cboGWDX.TabIndex = 21;
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.label5);
     this.panelcondition.Controls.Add(this.txtYXCF);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.label4);
     this.panelcondition.Controls.Add(this.cboGWDX);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.cboZGDX);
     this.panelcondition.Location = new Point(5, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(581, 121);
     this.panelcondition.TabIndex = 39;
     this.btnReset.Location = new Point(81, 91);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 29;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(25, 91);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 28;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label2.Location = new Point(3, 53);
     this.label2.Name = "label2";
     this.label2.Size = new Size(63, 14);
     this.label2.TabIndex = 18;
     this.label2.Text = "中国毒性";
     this.cboZGDX.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboZGDX.FormattingEnabled = true;
     this.cboZGDX.Items.AddRange(new object[]
     {
         "中等毒",
         "其它",
         "低毒",
         "高毒",
         "剧毒",
         "低毒(原药中等毒)",
         "中等毒 (原药高毒)",
         "低毒(原药高毒)",
         "微毒",
         "微毒 (原药中等毒)",
         "微毒(原药低毒)",
         "高毒(原药剧毒)",
         "微毒(原药高毒)",
         "高毒(小鼠)",
         "中等毒(原药剧毒)",
         "低毒(原药剧毒)"
     });
     this.cboZGDX.Location = new Point(66, 49);
     this.cboZGDX.Name = "cboZGDX";
     this.cboZGDX.Size = new Size(206, 22);
     this.cboZGDX.TabIndex = 16;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(35, 156);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(105, 44);
     this.paneldata.TabIndex = 44;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(105, 44);
     this.gridControl1.TabIndex = 39;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn8
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn7.Caption = "gridColumn7";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     this.gridColumn8.Caption = "gridColumn8";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 7;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(2, 120);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(170, 444);
     this.panelmenu.TabIndex = 46;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(170, 444);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(373, 34);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(405, 25);
     this.paneltop_right.TabIndex = 52;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(197, 30);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 51;
     this.paneltop_left.Location = new Point(14, 30);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 50;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(543, 1);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(237, 25);
     this.paneltitle_right.TabIndex = 49;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(170, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(192, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(214, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(266, 1);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 48;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(2, 1);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 47;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(187, 67);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(591, 487);
     this.panelright.TabIndex = 53;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(3, 168);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(583, 316);
     this.panelwhite.TabIndex = 48;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(3, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(563, 40);
     this.panelbutton.TabIndex = 46;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(3, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(563, 28);
     this.paneldatasum.TabIndex = 45;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(548, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 47;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(74, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 46;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "环境毒性查询";
     this.pictureBox_left.Location = new Point(5, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 45;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmHJDX";
     this.Text = "环境毒性查询";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmHJDX_Load);
     base.Resize += new EventHandler(this.frmHJDX_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #17
0
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmYXCF2JX));
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.radYY = new RadioButton();
     this.radHJ = new RadioButton();
     this.radDJ = new RadioButton();
     this.radAll = new RadioButton();
     this.cboAndOr = new ComboBox();
     this.label3 = new Label();
     this.txtJX = new TextBox();
     this.label1 = new Label();
     this.txtYXCF = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.btnReset.Location = new Point(73, 80);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 11;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(17, 80);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 10;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.radYY);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.radHJ);
     this.panelcondition.Controls.Add(this.radDJ);
     this.panelcondition.Controls.Add(this.radAll);
     this.panelcondition.Controls.Add(this.cboAndOr);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.txtJX);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtYXCF);
     this.panelcondition.Location = new Point(10, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(566, 107);
     this.panelcondition.TabIndex = 19;
     this.radYY.AutoSize = true;
     this.radYY.BackColor = Color.Transparent;
     this.radYY.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radYY.Location = new Point(474, 45);
     this.radYY.Name = "radYY";
     this.radYY.Size = new Size(53, 18);
     this.radYY.TabIndex = 16;
     this.radYY.Text = "原药";
     this.radYY.UseVisualStyleBackColor = false;
     this.radHJ.AutoSize = true;
     this.radHJ.BackColor = Color.Transparent;
     this.radHJ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radHJ.Location = new Point(421, 45);
     this.radHJ.Name = "radHJ";
     this.radHJ.Size = new Size(53, 18);
     this.radHJ.TabIndex = 11;
     this.radHJ.Text = "混剂";
     this.radHJ.UseVisualStyleBackColor = false;
     this.radDJ.AutoSize = true;
     this.radDJ.BackColor = Color.Transparent;
     this.radDJ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radDJ.Location = new Point(362, 45);
     this.radDJ.Name = "radDJ";
     this.radDJ.Size = new Size(53, 18);
     this.radDJ.TabIndex = 10;
     this.radDJ.Text = "单剂";
     this.radDJ.UseVisualStyleBackColor = false;
     this.radAll.AutoSize = true;
     this.radAll.BackColor = Color.Transparent;
     this.radAll.Checked = true;
     this.radAll.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radAll.Location = new Point(303, 45);
     this.radAll.Name = "radAll";
     this.radAll.Size = new Size(53, 18);
     this.radAll.TabIndex = 9;
     this.radAll.TabStop = true;
     this.radAll.Text = "全部";
     this.radAll.UseVisualStyleBackColor = false;
     this.cboAndOr.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cboAndOr.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboAndOr.FormattingEnabled = true;
     this.cboAndOr.Items.AddRange(new object[]
     {
         "或",
         "且"
     });
     this.cboAndOr.Location = new Point(277, 13);
     this.cboAndOr.Name = "cboAndOr";
     this.cboAndOr.Size = new Size(49, 22);
     this.cboAndOr.TabIndex = 8;
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(25, 47);
     this.label3.Name = "label3";
     this.label3.Size = new Size(35, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "剂型";
     this.txtJX.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtJX.Location = new Point(64, 43);
     this.txtJX.Name = "txtJX";
     this.txtJX.Size = new Size(208, 23);
     this.txtJX.TabIndex = 5;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(1, 16);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "有效成分";
     this.txtYXCF.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtYXCF.Location = new Point(64, 12);
     this.txtYXCF.Name = "txtYXCF";
     this.txtYXCF.Size = new Size(208, 23);
     this.txtYXCF.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(22, 198);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(109, 91);
     this.paneldata.TabIndex = 21;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(109, 91);
     this.gridControl1.TabIndex = 9;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(2, 92);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(170, 470);
     this.panelmenu.TabIndex = 23;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(170, 470);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(383, 36);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(395, 25);
     this.paneltop_right.TabIndex = 29;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(207, 32);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 28;
     this.paneltop_left.Location = new Point(24, 32);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 27;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(553, 3);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(227, 25);
     this.paneltitle_right.TabIndex = 26;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(160, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(182, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(204, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(276, 3);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 25;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(12, 3);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 24;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(197, 77);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(581, 477);
     this.panelright.TabIndex = 30;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(16, 153);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(560, 321);
     this.panelwhite.TabIndex = 25;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(11, 48);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(522, 40);
     this.panelbutton.TabIndex = 23;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(11, 14);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(522, 28);
     this.paneldatasum.TabIndex = 22;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(538, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 24;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(79, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 23;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "有效成分=>剂型";
     this.pictureBox_left.Location = new Point(10, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 22;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmYXCF2JX";
     base.ShowInTaskbar = false;
     this.Text = "有效成分=>剂型";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmYXCF2JX_Load);
     base.Resize += new EventHandler(this.frmYXCF2JX_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #18
0
파일: frmBQ.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmBQ));
     this.lblCount = new Label();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.label2 = new Label();
     this.txtDJMC = new TextBox();
     this.label3 = new Label();
     this.txtDWMC = new TextBox();
     this.label1 = new Label();
     this.txtDJZH = new TextBox();
     this.printDocument1 = new PrintDocument();
     this.printPreviewDialog1 = new PrintPreviewDialog();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.lblCount.AutoSize = true;
     this.lblCount.BackColor = Color.Transparent;
     this.lblCount.Location = new Point(66, 59);
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new Size(0, 14);
     this.lblCount.TabIndex = 14;
     this.btnReset.Location = new Point(72, 69);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 20;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(10, 69);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 19;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.txtDJMC);
     this.panelcondition.Controls.Add(this.lblCount);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.txtDWMC);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtDJZH);
     this.panelcondition.Location = new Point(3, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(562, 98);
     this.panelcondition.TabIndex = 18;
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label2.Location = new Point(277, 12);
     this.label2.Name = "label2";
     this.label2.Size = new Size(63, 14);
     this.label2.TabIndex = 18;
     this.label2.Text = "登记名称";
     this.txtDJMC.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDJMC.ImeMode = ImeMode.On;
     this.txtDJMC.Location = new Point(340, 8);
     this.txtDJMC.Name = "txtDJMC";
     this.txtDJMC.Size = new Size(208, 23);
     this.txtDJMC.TabIndex = 17;
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(1, 43);
     this.label3.Name = "label3";
     this.label3.Size = new Size(63, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "单位名称";
     this.txtDWMC.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDWMC.ImeMode = ImeMode.On;
     this.txtDWMC.Location = new Point(64, 39);
     this.txtDWMC.Name = "txtDWMC";
     this.txtDWMC.Size = new Size(484, 23);
     this.txtDWMC.TabIndex = 5;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(1, 12);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "登记证号";
     this.txtDJZH.CharacterCasing = CharacterCasing.Upper;
     this.txtDJZH.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDJZH.Location = new Point(64, 8);
     this.txtDJZH.Name = "txtDJZH";
     this.txtDJZH.Size = new Size(208, 23);
     this.txtDJZH.TabIndex = 1;
     this.printDocument1.PrintPage += new PrintPageEventHandler(this.printDocument1_PrintPage);
     this.printDocument1.EndPrint += new PrintEventHandler(this.printDocument1_EndPrint);
     this.printDocument1.BeginPrint += new PrintEventHandler(this.printDocument1_BeginPrint);
     this.printPreviewDialog1.AutoScrollMargin = new Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new Size(0, 0);
     this.printPreviewDialog1.ClientSize = new Size(400, 300);
     this.printPreviewDialog1.Document = this.printDocument1;
     this.printPreviewDialog1.Enabled = true;
     this.printPreviewDialog1.Icon = (Icon)componentResourceManager.GetObject("printPreviewDialog1.Icon");
     this.printPreviewDialog1.Name = "printPreviewDialog1";
     this.printPreviewDialog1.Visible = false;
     this.printPreviewDialog1.Load += new EventHandler(this.printPreviewDialog1_Load);
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(18, 219);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(250, 100);
     this.paneldata.TabIndex = 28;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(250, 100);
     this.gridControl1.TabIndex = 18;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(0, 132);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(178, 430);
     this.panelmenu.TabIndex = 30;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(178, 430);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(371, 33);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(414, 25);
     this.paneltop_right.TabIndex = 36;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(195, 29);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 35;
     this.paneltop_left.Location = new Point(12, 29);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 34;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(541, 0);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(244, 25);
     this.paneltitle_right.TabIndex = 33;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(177, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(199, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(221, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(264, 0);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 32;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(0, 0);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 31;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(215, 78);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(570, 476);
     this.panelright.TabIndex = 37;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(7, 141);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(558, 332);
     this.panelwhite.TabIndex = 32;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(6, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(538, 40);
     this.panelbutton.TabIndex = 30;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Enabled = false;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Enabled = false;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Visible = false;
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Enabled = false;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Visible = false;
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(6, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(538, 28);
     this.paneldatasum.TabIndex = 29;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(530, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 31;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(72, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 30;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "农药标签信息查询";
     this.pictureBox_left.Location = new Point(3, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 29;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmBQ";
     base.ShowInTaskbar = false;
     this.Text = "标签信息";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmBQ_Load);
     base.Resize += new EventHandler(this.frmBQ_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #19
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmYXCF2JX));

            this.btnReset          = new Button();
            this.btnSearch         = new Button();
            this.panelcondition    = new Panel();
            this.radYY             = new RadioButton();
            this.radHJ             = new RadioButton();
            this.radDJ             = new RadioButton();
            this.radAll            = new RadioButton();
            this.cboAndOr          = new ComboBox();
            this.label3            = new Label();
            this.txtJX             = new TextBox();
            this.label1            = new Label();
            this.txtYXCF           = new TextBox();
            this.paneldata         = new Panel();
            this.gridControl1      = new GridControl();
            this.gridView1         = new GridView();
            this.gridColumn1       = new GridColumn();
            this.gridColumn2       = new GridColumn();
            this.gridColumn3       = new GridColumn();
            this.panelmenu         = new Panel();
            this.userManu1         = new UserManu();
            this.paneltop_right    = new Panel();
            this.paneltop_middle   = new Panel();
            this.paneltop_left     = new Panel();
            this.paneltitle_right  = new Panel();
            this.pictureBox3       = new PictureBox();
            this.pictureBox2       = new PictureBox();
            this.pictureBox1       = new PictureBox();
            this.paneltitle_middle = new Panel();
            this.paneltitle_left   = new Panel();
            this.panelright        = new Panel();
            this.panelwhite        = new Panel();
            this.panelbutton       = new Panel();
            this.pictureBox_sum    = new PictureBox();
            this.pictureBox_view   = new PictureBox();
            this.pictureBox_sort   = new PictureBox();
            this.pictureBox_filter = new PictureBox();
            this.paneldatasum      = new Panel();
            this.labeldatacount    = new Label();
            this.pictureBox_right  = new PictureBox();
            this.panel_middle      = new Panel();
            this.label6            = new Label();
            this.pictureBox_left   = new PictureBox();
            this.panelcondition.SuspendLayout();
            this.paneldata.SuspendLayout();
            ((ISupportInitialize)this.gridControl1).BeginInit();
            ((ISupportInitialize)this.gridView1).BeginInit();
            this.panelmenu.SuspendLayout();
            this.paneltitle_right.SuspendLayout();
            ((ISupportInitialize)this.pictureBox3).BeginInit();
            ((ISupportInitialize)this.pictureBox2).BeginInit();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            this.panelright.SuspendLayout();
            this.panelwhite.SuspendLayout();
            this.panelbutton.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_sum).BeginInit();
            ((ISupportInitialize)this.pictureBox_view).BeginInit();
            ((ISupportInitialize)this.pictureBox_sort).BeginInit();
            ((ISupportInitialize)this.pictureBox_filter).BeginInit();
            this.paneldatasum.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_right).BeginInit();
            this.panel_middle.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_left).BeginInit();
            base.SuspendLayout();
            this.btnReset.Location = new Point(73, 80);
            this.btnReset.Name     = "btnReset";
            this.btnReset.Size     = new Size(50, 23);
            this.btnReset.TabIndex = 11;
            this.btnReset.Text     = "重置";
            this.btnReset.UseVisualStyleBackColor = true;
            this.btnReset.Click    += new EventHandler(this.btnReset_Click);
            this.btnSearch.Location = new Point(17, 80);
            this.btnSearch.Name     = "btnSearch";
            this.btnSearch.Size     = new Size(50, 23);
            this.btnSearch.TabIndex = 10;
            this.btnSearch.Text     = "查询";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click      += new EventHandler(this.btnSearch_Click);
            this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelcondition.Controls.Add(this.radYY);
            this.panelcondition.Controls.Add(this.btnReset);
            this.panelcondition.Controls.Add(this.btnSearch);
            this.panelcondition.Controls.Add(this.radHJ);
            this.panelcondition.Controls.Add(this.radDJ);
            this.panelcondition.Controls.Add(this.radAll);
            this.panelcondition.Controls.Add(this.cboAndOr);
            this.panelcondition.Controls.Add(this.label3);
            this.panelcondition.Controls.Add(this.txtJX);
            this.panelcondition.Controls.Add(this.label1);
            this.panelcondition.Controls.Add(this.txtYXCF);
            this.panelcondition.Location = new Point(10, 37);
            this.panelcondition.Name     = "panelcondition";
            this.panelcondition.Size     = new Size(566, 107);
            this.panelcondition.TabIndex = 19;
            this.radYY.AutoSize          = true;
            this.radYY.BackColor         = Color.Transparent;
            this.radYY.Font     = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.radYY.Location = new Point(474, 45);
            this.radYY.Name     = "radYY";
            this.radYY.Size     = new Size(53, 18);
            this.radYY.TabIndex = 16;
            this.radYY.Text     = "原药";
            this.radYY.UseVisualStyleBackColor = false;
            this.radHJ.AutoSize  = true;
            this.radHJ.BackColor = Color.Transparent;
            this.radHJ.Font      = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.radHJ.Location  = new Point(421, 45);
            this.radHJ.Name      = "radHJ";
            this.radHJ.Size      = new Size(53, 18);
            this.radHJ.TabIndex  = 11;
            this.radHJ.Text      = "混剂";
            this.radHJ.UseVisualStyleBackColor = false;
            this.radDJ.AutoSize  = true;
            this.radDJ.BackColor = Color.Transparent;
            this.radDJ.Font      = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.radDJ.Location  = new Point(362, 45);
            this.radDJ.Name      = "radDJ";
            this.radDJ.Size      = new Size(53, 18);
            this.radDJ.TabIndex  = 10;
            this.radDJ.Text      = "单剂";
            this.radDJ.UseVisualStyleBackColor = false;
            this.radAll.AutoSize  = true;
            this.radAll.BackColor = Color.Transparent;
            this.radAll.Checked   = true;
            this.radAll.Font      = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.radAll.Location  = new Point(303, 45);
            this.radAll.Name      = "radAll";
            this.radAll.Size      = new Size(53, 18);
            this.radAll.TabIndex  = 9;
            this.radAll.TabStop   = true;
            this.radAll.Text      = "全部";
            this.radAll.UseVisualStyleBackColor = false;
            this.cboAndOr.DropDownStyle         = ComboBoxStyle.DropDownList;
            this.cboAndOr.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.cboAndOr.FormattingEnabled = true;
            this.cboAndOr.Items.AddRange(new object[]
            {
                "或",
                "且"
            });
            this.cboAndOr.Location = new Point(277, 13);
            this.cboAndOr.Name     = "cboAndOr";
            this.cboAndOr.Size     = new Size(49, 22);
            this.cboAndOr.TabIndex = 8;
            this.label3.AutoSize   = true;
            this.label3.BackColor  = Color.Transparent;
            this.label3.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label3.Location   = new Point(25, 47);
            this.label3.Name       = "label3";
            this.label3.Size       = new Size(35, 14);
            this.label3.TabIndex   = 6;
            this.label3.Text       = "剂型";
            this.txtJX.Font        = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtJX.Location    = new Point(64, 43);
            this.txtJX.Name        = "txtJX";
            this.txtJX.Size        = new Size(208, 23);
            this.txtJX.TabIndex    = 5;
            this.label1.AutoSize   = true;
            this.label1.BackColor  = Color.Transparent;
            this.label1.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label1.Location   = new Point(1, 16);
            this.label1.Name       = "label1";
            this.label1.Size       = new Size(63, 14);
            this.label1.TabIndex   = 2;
            this.label1.Text       = "有效成分";
            this.txtYXCF.Font      = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtYXCF.Location  = new Point(64, 12);
            this.txtYXCF.Name      = "txtYXCF";
            this.txtYXCF.Size      = new Size(208, 23);
            this.txtYXCF.TabIndex  = 1;
            this.paneldata.Anchor  = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldata.Controls.Add(this.gridControl1);
            this.paneldata.Location    = new Point(22, 198);
            this.paneldata.Name        = "paneldata";
            this.paneldata.Size        = new Size(109, 91);
            this.paneldata.TabIndex    = 21;
            this.gridControl1.Dock     = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.Size     = new Size(109, 91);
            this.gridControl1.TabIndex = 9;
            this.gridControl1.ViewCollection.AddRange(new BaseView[]
            {
                this.gridView1
            });
            this.gridView1.Columns.AddRange(new GridColumn[]
            {
                this.gridColumn1,
                this.gridColumn2,
                this.gridColumn3
            });
            this.gridView1.GridControl             = this.gridControl1;
            this.gridView1.Name                    = "gridView1";
            this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
            this.gridView1.RowCountChanged        += new EventHandler(this.gridView1_RowCountChanged);
            this.gridView1.RowCellClick           += new RowCellClickEventHandler(this.gridView1_RowCellClick);
            this.gridColumn1.Caption               = "gridColumn1";
            this.gridColumn1.Name                  = "gridColumn1";
            this.gridColumn1.Visible               = true;
            this.gridColumn1.VisibleIndex          = 0;
            this.gridColumn2.Caption               = "gridColumn2";
            this.gridColumn2.Name                  = "gridColumn2";
            this.gridColumn2.Visible               = true;
            this.gridColumn2.VisibleIndex          = 1;
            this.gridColumn3.Caption               = "gridColumn3";
            this.gridColumn3.Name                  = "gridColumn3";
            this.gridColumn3.Visible               = true;
            this.gridColumn3.VisibleIndex          = 2;
            this.panelmenu.Anchor                  = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.panelmenu.Controls.Add(this.userManu1);
            this.panelmenu.Location       = new Point(2, 92);
            this.panelmenu.Name           = "panelmenu";
            this.panelmenu.Size           = new Size(170, 470);
            this.panelmenu.TabIndex       = 23;
            this.userManu1.BackColor      = Color.FromArgb(107, 161, 179);
            this.userManu1.Dock           = DockStyle.Fill;
            this.userManu1.Location       = new Point(0, 0);
            this.userManu1.Name           = "userManu1";
            this.userManu1.Size           = new Size(170, 470);
            this.userManu1.TabIndex       = 0;
            this.paneltop_right.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltop_right.Location  = new Point(383, 36);
            this.paneltop_right.Name      = "paneltop_right";
            this.paneltop_right.Size      = new Size(395, 25);
            this.paneltop_right.TabIndex  = 29;
            this.paneltop_middle.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltop_middle.Location = new Point(207, 32);
            this.paneltop_middle.Name     = "paneltop_middle";
            this.paneltop_middle.Size     = new Size(165, 29);
            this.paneltop_middle.TabIndex = 28;
            this.paneltop_left.Location   = new Point(24, 32);
            this.paneltop_left.Name       = "paneltop_left";
            this.paneltop_left.Size       = new Size(185, 29);
            this.paneltop_left.TabIndex   = 27;
            this.paneltitle_right.Anchor  = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltitle_right.Controls.Add(this.pictureBox3);
            this.paneltitle_right.Controls.Add(this.pictureBox2);
            this.paneltitle_right.Controls.Add(this.pictureBox1);
            this.paneltitle_right.Location    = new Point(553, 3);
            this.paneltitle_right.Name        = "paneltitle_right";
            this.paneltitle_right.Size        = new Size(227, 25);
            this.paneltitle_right.TabIndex    = 26;
            this.pictureBox3.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox3.Image            = (Image)componentResourceManager.GetObject("pictureBox3.Image");
            this.pictureBox3.Location         = new Point(160, 2);
            this.pictureBox3.Name             = "pictureBox3";
            this.pictureBox3.Size             = new Size(21, 21);
            this.pictureBox3.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox3.TabIndex         = 23;
            this.pictureBox3.TabStop          = false;
            this.pictureBox3.MouseLeave      += new EventHandler(this.pictureBox3_MouseLeave);
            this.pictureBox3.Click           += new EventHandler(this.pictureBox3_Click);
            this.pictureBox3.MouseEnter      += new EventHandler(this.pictureBox3_MouseEnter);
            this.pictureBox2.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox2.Image            = (Image)componentResourceManager.GetObject("pictureBox2.Image");
            this.pictureBox2.Location         = new Point(182, 2);
            this.pictureBox2.Name             = "pictureBox2";
            this.pictureBox2.Size             = new Size(21, 21);
            this.pictureBox2.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox2.TabIndex         = 22;
            this.pictureBox2.TabStop          = false;
            this.pictureBox2.MouseLeave      += new EventHandler(this.pictureBox2_MouseLeave);
            this.pictureBox2.Click           += new EventHandler(this.pictureBox2_Click);
            this.pictureBox2.MouseEnter      += new EventHandler(this.pictureBox2_MouseEnter);
            this.pictureBox1.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox1.Image            = (Image)componentResourceManager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location         = new Point(204, 2);
            this.pictureBox1.Name             = "pictureBox1";
            this.pictureBox1.Size             = new Size(21, 21);
            this.pictureBox1.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex         = 21;
            this.pictureBox1.TabStop          = false;
            this.pictureBox1.MouseLeave      += new EventHandler(this.pictureBox1_MouseLeave);
            this.pictureBox1.Click           += new EventHandler(this.pictureBox1_Click);
            this.pictureBox1.MouseEnter      += new EventHandler(this.pictureBox1_MouseEnter);
            this.paneltitle_middle.Anchor     = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltitle_middle.Location   = new Point(276, 3);
            this.paneltitle_middle.Name       = "paneltitle_middle";
            this.paneltitle_middle.Size       = new Size(280, 25);
            this.paneltitle_middle.TabIndex   = 25;
            this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
            this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
            this.paneltitle_middle.MouseUp   += new MouseEventHandler(this.paneltitle_middle_MouseUp);
            this.paneltitle_left.Location     = new Point(12, 3);
            this.paneltitle_left.Name         = "paneltitle_left";
            this.paneltitle_left.Size         = new Size(264, 25);
            this.paneltitle_left.TabIndex     = 24;
            this.panelright.Anchor            = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelright.Controls.Add(this.panelwhite);
            this.panelright.Controls.Add(this.pictureBox_right);
            this.panelright.Controls.Add(this.panel_middle);
            this.panelright.Controls.Add(this.pictureBox_left);
            this.panelright.Controls.Add(this.panelcondition);
            this.panelright.Location = new Point(197, 77);
            this.panelright.Name     = "panelright";
            this.panelright.Size     = new Size(581, 477);
            this.panelright.TabIndex = 30;
            this.panelwhite.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelwhite.Controls.Add(this.panelbutton);
            this.panelwhite.Controls.Add(this.paneldatasum);
            this.panelwhite.Controls.Add(this.paneldata);
            this.panelwhite.Location = new Point(16, 153);
            this.panelwhite.Name     = "panelwhite";
            this.panelwhite.Size     = new Size(560, 321);
            this.panelwhite.TabIndex = 25;
            this.panelbutton.Anchor  = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelbutton.Controls.Add(this.pictureBox_sum);
            this.panelbutton.Controls.Add(this.pictureBox_view);
            this.panelbutton.Controls.Add(this.pictureBox_sort);
            this.panelbutton.Controls.Add(this.pictureBox_filter);
            this.panelbutton.Location        = new Point(11, 48);
            this.panelbutton.Name            = "panelbutton";
            this.panelbutton.Size            = new Size(522, 40);
            this.panelbutton.TabIndex        = 23;
            this.pictureBox_sum.BackColor    = Color.Transparent;
            this.pictureBox_sum.Cursor       = Cursors.Hand;
            this.pictureBox_sum.Location     = new Point(352, 9);
            this.pictureBox_sum.Name         = "pictureBox_sum";
            this.pictureBox_sum.Size         = new Size(65, 24);
            this.pictureBox_sum.SizeMode     = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sum.TabIndex     = 3;
            this.pictureBox_sum.TabStop      = false;
            this.pictureBox_sum.Visible      = false;
            this.pictureBox_view.BackColor   = Color.Transparent;
            this.pictureBox_view.Cursor      = Cursors.Hand;
            this.pictureBox_view.Location    = new Point(253, 9);
            this.pictureBox_view.Name        = "pictureBox_view";
            this.pictureBox_view.Size        = new Size(65, 24);
            this.pictureBox_view.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_view.TabIndex    = 2;
            this.pictureBox_view.TabStop     = false;
            this.pictureBox_view.Click      += new EventHandler(this.pictureBox_view_Click);
            this.pictureBox_sort.BackColor   = Color.Transparent;
            this.pictureBox_sort.Cursor      = Cursors.Hand;
            this.pictureBox_sort.Location    = new Point(154, 9);
            this.pictureBox_sort.Name        = "pictureBox_sort";
            this.pictureBox_sort.Size        = new Size(65, 24);
            this.pictureBox_sort.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sort.TabIndex    = 1;
            this.pictureBox_sort.TabStop     = false;
            this.pictureBox_sort.Click      += new EventHandler(this.pictureBox_sort_Click);
            this.pictureBox_filter.BackColor = Color.Transparent;
            this.pictureBox_filter.Cursor    = Cursors.Hand;
            this.pictureBox_filter.Location  = new Point(55, 9);
            this.pictureBox_filter.Name      = "pictureBox_filter";
            this.pictureBox_filter.Size      = new Size(65, 24);
            this.pictureBox_filter.SizeMode  = PictureBoxSizeMode.AutoSize;
            this.pictureBox_filter.TabIndex  = 0;
            this.pictureBox_filter.TabStop   = false;
            this.pictureBox_filter.Click    += new EventHandler(this.pictureBox_filter_Click);
            this.paneldatasum.Anchor         = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldatasum.Controls.Add(this.labeldatacount);
            this.paneldatasum.Location     = new Point(11, 14);
            this.paneldatasum.Name         = "paneldatasum";
            this.paneldatasum.Size         = new Size(522, 28);
            this.paneldatasum.TabIndex     = 22;
            this.labeldatacount.BackColor  = Color.Transparent;
            this.labeldatacount.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.labeldatacount.Location   = new Point(41, 8);
            this.labeldatacount.Name       = "labeldatacount";
            this.labeldatacount.Size       = new Size(253, 14);
            this.labeldatacount.TabIndex   = 0;
            this.pictureBox_right.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox_right.Location = new Point(538, 3);
            this.pictureBox_right.Name     = "pictureBox_right";
            this.pictureBox_right.Size     = new Size(38, 28);
            this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_right.TabIndex = 24;
            this.pictureBox_right.TabStop  = false;
            this.panel_middle.Anchor       = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panel_middle.Controls.Add(this.label6);
            this.panel_middle.Location    = new Point(79, 3);
            this.panel_middle.Name        = "panel_middle";
            this.panel_middle.Size        = new Size(328, 28);
            this.panel_middle.TabIndex    = 23;
            this.label6.BackColor         = Color.Transparent;
            this.label6.Font              = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
            this.label6.Location          = new Point(41, 7);
            this.label6.Name              = "label6";
            this.label6.Size              = new Size(253, 14);
            this.label6.TabIndex          = 1;
            this.label6.Text              = "有效成分=>剂型";
            this.pictureBox_left.Location = new Point(10, 3);
            this.pictureBox_left.Name     = "pictureBox_left";
            this.pictureBox_left.Size     = new Size(17, 28);
            this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_left.TabIndex = 22;
            this.pictureBox_left.TabStop  = false;
            base.AcceptButton             = this.btnSearch;
            base.AutoScaleMode            = AutoScaleMode.None;
            base.ClientSize = new Size(792, 566);
            base.Controls.Add(this.panelright);
            base.Controls.Add(this.paneltop_right);
            base.Controls.Add(this.paneltop_middle);
            base.Controls.Add(this.paneltop_left);
            base.Controls.Add(this.paneltitle_right);
            base.Controls.Add(this.paneltitle_middle);
            base.Controls.Add(this.paneltitle_left);
            base.Controls.Add(this.panelmenu);
            this.Font            = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.Name            = "frmYXCF2JX";
            base.ShowInTaskbar   = false;
            this.Text            = "有效成分=>剂型";
            base.WindowState     = FormWindowState.Maximized;
            base.Load           += new EventHandler(this.frmYXCF2JX_Load);
            base.Resize         += new EventHandler(this.frmYXCF2JX_Resize);
            this.panelcondition.ResumeLayout(false);
            this.panelcondition.PerformLayout();
            this.paneldata.ResumeLayout(false);
            ((ISupportInitialize)this.gridControl1).EndInit();
            ((ISupportInitialize)this.gridView1).EndInit();
            this.panelmenu.ResumeLayout(false);
            this.paneltitle_right.ResumeLayout(false);
            this.paneltitle_right.PerformLayout();
            ((ISupportInitialize)this.pictureBox3).EndInit();
            ((ISupportInitialize)this.pictureBox2).EndInit();
            ((ISupportInitialize)this.pictureBox1).EndInit();
            this.panelright.ResumeLayout(false);
            this.panelright.PerformLayout();
            this.panelwhite.ResumeLayout(false);
            this.panelbutton.ResumeLayout(false);
            this.panelbutton.PerformLayout();
            ((ISupportInitialize)this.pictureBox_sum).EndInit();
            ((ISupportInitialize)this.pictureBox_view).EndInit();
            ((ISupportInitialize)this.pictureBox_sort).EndInit();
            ((ISupportInitialize)this.pictureBox_filter).EndInit();
            this.paneldatasum.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_right).EndInit();
            this.panel_middle.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_left).EndInit();
            base.ResumeLayout(false);
        }
예제 #20
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmTJSY));

            this.label3            = new Label();
            this.paneldata         = new Panel();
            this.gridControl1      = new GridControl();
            this.gridView1         = new GridView();
            this.gridColumn1       = new GridColumn();
            this.gridColumn2       = new GridColumn();
            this.gridColumn3       = new GridColumn();
            this.gridColumn4       = new GridColumn();
            this.btnSearch         = new Button();
            this.btnReset          = new Button();
            this.label1            = new Label();
            this.txtCPMC           = new TextBox();
            this.txtZLBH           = new TextBox();
            this.panelcondition    = new Panel();
            this.label4            = new Label();
            this.txtQYMC           = new TextBox();
            this.label2            = new Label();
            this.txtCPBM           = new TextBox();
            this.panelmenu         = new Panel();
            this.userManu1         = new UserManu();
            this.paneltop_right    = new Panel();
            this.paneltop_middle   = new Panel();
            this.paneltop_left     = new Panel();
            this.paneltitle_right  = new Panel();
            this.pictureBox3       = new PictureBox();
            this.pictureBox2       = new PictureBox();
            this.pictureBox1       = new PictureBox();
            this.paneltitle_middle = new Panel();
            this.paneltitle_left   = new Panel();
            this.panelright        = new Panel();
            this.panelwhite        = new Panel();
            this.panelbutton       = new Panel();
            this.pictureBox_sum    = new PictureBox();
            this.pictureBox_view   = new PictureBox();
            this.pictureBox_sort   = new PictureBox();
            this.pictureBox_filter = new PictureBox();
            this.paneldatasum      = new Panel();
            this.labeldatacount    = new Label();
            this.pictureBox_right  = new PictureBox();
            this.panel_middle      = new Panel();
            this.label6            = new Label();
            this.pictureBox_left   = new PictureBox();
            this.paneldata.SuspendLayout();
            ((ISupportInitialize)this.gridControl1).BeginInit();
            ((ISupportInitialize)this.gridView1).BeginInit();
            this.panelcondition.SuspendLayout();
            this.panelmenu.SuspendLayout();
            this.paneltitle_right.SuspendLayout();
            ((ISupportInitialize)this.pictureBox3).BeginInit();
            ((ISupportInitialize)this.pictureBox2).BeginInit();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            this.panelright.SuspendLayout();
            this.panelwhite.SuspendLayout();
            this.panelbutton.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_sum).BeginInit();
            ((ISupportInitialize)this.pictureBox_view).BeginInit();
            ((ISupportInitialize)this.pictureBox_sort).BeginInit();
            ((ISupportInitialize)this.pictureBox_filter).BeginInit();
            this.paneldatasum.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_right).BeginInit();
            this.panel_middle.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_left).BeginInit();
            base.SuspendLayout();
            this.label3.AutoSize  = true;
            this.label3.BackColor = Color.Transparent;
            this.label3.Font      = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label3.Location  = new Point(2, 47);
            this.label3.Name      = "label3";
            this.label3.Size      = new Size(63, 14);
            this.label3.TabIndex  = 6;
            this.label3.Text      = "产品名称";
            this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldata.Controls.Add(this.gridControl1);
            this.paneldata.Location    = new Point(20, 248);
            this.paneldata.Name        = "paneldata";
            this.paneldata.Size        = new Size(108, 53);
            this.paneldata.TabIndex    = 35;
            this.gridControl1.Dock     = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.Size     = new Size(108, 53);
            this.gridControl1.TabIndex = 30;
            this.gridControl1.ViewCollection.AddRange(new BaseView[]
            {
                this.gridView1
            });
            this.gridView1.Columns.AddRange(new GridColumn[]
            {
                this.gridColumn1,
                this.gridColumn2,
                this.gridColumn3,
                this.gridColumn4
            });
            this.gridView1.GridControl             = this.gridControl1;
            this.gridView1.Name                    = "gridView1";
            this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
            this.gridView1.RowCountChanged        += new EventHandler(this.gridView1_RowCountChanged);
            this.gridView1.RowCellClick           += new RowCellClickEventHandler(this.gridView1_RowCellClick);
            this.gridColumn1.Caption               = "gridColumn1";
            this.gridColumn1.Name                  = "gridColumn1";
            this.gridColumn1.Visible               = true;
            this.gridColumn1.VisibleIndex          = 0;
            this.gridColumn2.Caption               = "gridColumn2";
            this.gridColumn2.Name                  = "gridColumn2";
            this.gridColumn2.Visible               = true;
            this.gridColumn2.VisibleIndex          = 1;
            this.gridColumn3.Caption               = "gridColumn3";
            this.gridColumn3.Name                  = "gridColumn3";
            this.gridColumn3.Visible               = true;
            this.gridColumn3.VisibleIndex          = 2;
            this.gridColumn4.Caption               = "gridColumn4";
            this.gridColumn4.Name                  = "gridColumn4";
            this.gridColumn4.Visible               = true;
            this.gridColumn4.VisibleIndex          = 3;
            this.btnSearch.Location                = new Point(20, 84);
            this.btnSearch.Name                    = "btnSearch";
            this.btnSearch.Size                    = new Size(50, 23);
            this.btnSearch.TabIndex                = 19;
            this.btnSearch.Text                    = "查询";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click                  += new EventHandler(this.btnSearch_Click);
            this.btnReset.Location                 = new Point(99, 84);
            this.btnReset.Name     = "btnReset";
            this.btnReset.Size     = new Size(50, 23);
            this.btnReset.TabIndex = 20;
            this.btnReset.Text     = "重置";
            this.btnReset.UseVisualStyleBackColor = true;
            this.btnReset.Click       += new EventHandler(this.btnReset_Click);
            this.label1.AutoSize       = true;
            this.label1.BackColor      = Color.Transparent;
            this.label1.Font           = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label1.Location       = new Point(268, 14);
            this.label1.Name           = "label1";
            this.label1.Size           = new Size(63, 14);
            this.label1.TabIndex       = 2;
            this.label1.Text           = "资料编号";
            this.txtCPMC.Font          = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtCPMC.ImeMode       = ImeMode.On;
            this.txtCPMC.Location      = new Point(65, 43);
            this.txtCPMC.Name          = "txtCPMC";
            this.txtCPMC.Size          = new Size(200, 23);
            this.txtCPMC.TabIndex      = 5;
            this.txtZLBH.Font          = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtZLBH.Location      = new Point(331, 10);
            this.txtZLBH.Name          = "txtZLBH";
            this.txtZLBH.Size          = new Size(200, 23);
            this.txtZLBH.TabIndex      = 1;
            this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelcondition.Controls.Add(this.label4);
            this.panelcondition.Controls.Add(this.txtQYMC);
            this.panelcondition.Controls.Add(this.btnReset);
            this.panelcondition.Controls.Add(this.btnSearch);
            this.panelcondition.Controls.Add(this.label2);
            this.panelcondition.Controls.Add(this.txtCPBM);
            this.panelcondition.Controls.Add(this.label3);
            this.panelcondition.Controls.Add(this.txtCPMC);
            this.panelcondition.Controls.Add(this.label1);
            this.panelcondition.Controls.Add(this.txtZLBH);
            this.panelcondition.Location = new Point(6, 37);
            this.panelcondition.Name     = "panelcondition";
            this.panelcondition.Size     = new Size(577, 119);
            this.panelcondition.TabIndex = 30;
            this.label4.AutoSize         = true;
            this.label4.BackColor        = Color.Transparent;
            this.label4.Font             = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label4.Location         = new Point(2, 14);
            this.label4.Name             = "label4";
            this.label4.Size             = new Size(63, 14);
            this.label4.TabIndex         = 19;
            this.label4.Text             = "企业名称";
            this.txtQYMC.Font            = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtQYMC.ImeMode         = ImeMode.On;
            this.txtQYMC.Location        = new Point(65, 10);
            this.txtQYMC.Name            = "txtQYMC";
            this.txtQYMC.Size            = new Size(200, 23);
            this.txtQYMC.TabIndex        = 18;
            this.label2.AutoSize         = true;
            this.label2.BackColor        = Color.Transparent;
            this.label2.Font             = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label2.Location         = new Point(268, 47);
            this.label2.Name             = "label2";
            this.label2.Size             = new Size(63, 14);
            this.label2.TabIndex         = 17;
            this.label2.Text             = "产品编码";
            this.txtCPBM.Font            = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtCPBM.Location        = new Point(331, 43);
            this.txtCPBM.Name            = "txtCPBM";
            this.txtCPBM.Size            = new Size(200, 23);
            this.txtCPBM.TabIndex        = 16;
            this.panelmenu.Anchor        = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.panelmenu.Controls.Add(this.userManu1);
            this.panelmenu.Location       = new Point(1, 121);
            this.panelmenu.Name           = "panelmenu";
            this.panelmenu.Size           = new Size(171, 442);
            this.panelmenu.TabIndex       = 37;
            this.userManu1.BackColor      = Color.FromArgb(107, 161, 179);
            this.userManu1.Dock           = DockStyle.Fill;
            this.userManu1.Location       = new Point(0, 0);
            this.userManu1.Name           = "userManu1";
            this.userManu1.Size           = new Size(171, 442);
            this.userManu1.TabIndex       = 0;
            this.paneltop_right.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltop_right.Location  = new Point(372, 34);
            this.paneltop_right.Name      = "paneltop_right";
            this.paneltop_right.Size      = new Size(406, 25);
            this.paneltop_right.TabIndex  = 43;
            this.paneltop_middle.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltop_middle.Location = new Point(196, 30);
            this.paneltop_middle.Name     = "paneltop_middle";
            this.paneltop_middle.Size     = new Size(165, 29);
            this.paneltop_middle.TabIndex = 42;
            this.paneltop_left.Location   = new Point(13, 30);
            this.paneltop_left.Name       = "paneltop_left";
            this.paneltop_left.Size       = new Size(185, 29);
            this.paneltop_left.TabIndex   = 41;
            this.paneltitle_right.Anchor  = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltitle_right.Controls.Add(this.pictureBox3);
            this.paneltitle_right.Controls.Add(this.pictureBox2);
            this.paneltitle_right.Controls.Add(this.pictureBox1);
            this.paneltitle_right.Location    = new Point(542, 1);
            this.paneltitle_right.Name        = "paneltitle_right";
            this.paneltitle_right.Size        = new Size(238, 25);
            this.paneltitle_right.TabIndex    = 40;
            this.pictureBox3.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox3.Image            = (Image)componentResourceManager.GetObject("pictureBox3.Image");
            this.pictureBox3.Location         = new Point(171, 2);
            this.pictureBox3.Name             = "pictureBox3";
            this.pictureBox3.Size             = new Size(21, 21);
            this.pictureBox3.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox3.TabIndex         = 23;
            this.pictureBox3.TabStop          = false;
            this.pictureBox3.MouseLeave      += new EventHandler(this.pictureBox3_MouseLeave);
            this.pictureBox3.Click           += new EventHandler(this.pictureBox3_Click);
            this.pictureBox3.MouseEnter      += new EventHandler(this.pictureBox3_MouseEnter);
            this.pictureBox2.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox2.Image            = (Image)componentResourceManager.GetObject("pictureBox2.Image");
            this.pictureBox2.Location         = new Point(193, 2);
            this.pictureBox2.Name             = "pictureBox2";
            this.pictureBox2.Size             = new Size(21, 21);
            this.pictureBox2.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox2.TabIndex         = 22;
            this.pictureBox2.TabStop          = false;
            this.pictureBox2.MouseLeave      += new EventHandler(this.pictureBox2_MouseLeave);
            this.pictureBox2.Click           += new EventHandler(this.pictureBox2_Click);
            this.pictureBox2.MouseEnter      += new EventHandler(this.pictureBox2_MouseEnter);
            this.pictureBox1.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox1.Image            = (Image)componentResourceManager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location         = new Point(215, 2);
            this.pictureBox1.Name             = "pictureBox1";
            this.pictureBox1.Size             = new Size(21, 21);
            this.pictureBox1.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex         = 21;
            this.pictureBox1.TabStop          = false;
            this.pictureBox1.MouseLeave      += new EventHandler(this.pictureBox1_MouseLeave);
            this.pictureBox1.Click           += new EventHandler(this.pictureBox1_Click);
            this.pictureBox1.MouseEnter      += new EventHandler(this.pictureBox1_MouseEnter);
            this.paneltitle_middle.Anchor     = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltitle_middle.Location   = new Point(265, 1);
            this.paneltitle_middle.Name       = "paneltitle_middle";
            this.paneltitle_middle.Size       = new Size(280, 25);
            this.paneltitle_middle.TabIndex   = 39;
            this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
            this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
            this.paneltitle_middle.MouseUp   += new MouseEventHandler(this.paneltitle_middle_MouseUp);
            this.paneltitle_left.Location     = new Point(1, 1);
            this.paneltitle_left.Name         = "paneltitle_left";
            this.paneltitle_left.Size         = new Size(264, 25);
            this.paneltitle_left.TabIndex     = 38;
            this.panelright.Anchor            = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelright.Controls.Add(this.panelwhite);
            this.panelright.Controls.Add(this.pictureBox_right);
            this.panelright.Controls.Add(this.panel_middle);
            this.panelright.Controls.Add(this.pictureBox_left);
            this.panelright.Controls.Add(this.panelcondition);
            this.panelright.Location = new Point(190, 71);
            this.panelright.Name     = "panelright";
            this.panelright.Size     = new Size(588, 483);
            this.panelright.TabIndex = 44;
            this.panelwhite.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelwhite.Controls.Add(this.panelbutton);
            this.panelwhite.Controls.Add(this.paneldatasum);
            this.panelwhite.Controls.Add(this.paneldata);
            this.panelwhite.Location = new Point(6, 166);
            this.panelwhite.Name     = "panelwhite";
            this.panelwhite.Size     = new Size(577, 314);
            this.panelwhite.TabIndex = 39;
            this.panelbutton.Anchor  = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelbutton.Controls.Add(this.pictureBox_sum);
            this.panelbutton.Controls.Add(this.pictureBox_view);
            this.panelbutton.Controls.Add(this.pictureBox_sort);
            this.panelbutton.Controls.Add(this.pictureBox_filter);
            this.panelbutton.Location        = new Point(5, 37);
            this.panelbutton.Name            = "panelbutton";
            this.panelbutton.Size            = new Size(555, 40);
            this.panelbutton.TabIndex        = 37;
            this.pictureBox_sum.BackColor    = Color.Transparent;
            this.pictureBox_sum.Cursor       = Cursors.Hand;
            this.pictureBox_sum.Location     = new Point(352, 9);
            this.pictureBox_sum.Name         = "pictureBox_sum";
            this.pictureBox_sum.Size         = new Size(65, 24);
            this.pictureBox_sum.SizeMode     = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sum.TabIndex     = 3;
            this.pictureBox_sum.TabStop      = false;
            this.pictureBox_sum.Visible      = false;
            this.pictureBox_view.BackColor   = Color.Transparent;
            this.pictureBox_view.Cursor      = Cursors.Hand;
            this.pictureBox_view.Location    = new Point(253, 9);
            this.pictureBox_view.Name        = "pictureBox_view";
            this.pictureBox_view.Size        = new Size(65, 24);
            this.pictureBox_view.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_view.TabIndex    = 2;
            this.pictureBox_view.TabStop     = false;
            this.pictureBox_view.Click      += new EventHandler(this.pictureBox_view_Click);
            this.pictureBox_sort.BackColor   = Color.Transparent;
            this.pictureBox_sort.Cursor      = Cursors.Hand;
            this.pictureBox_sort.Location    = new Point(154, 9);
            this.pictureBox_sort.Name        = "pictureBox_sort";
            this.pictureBox_sort.Size        = new Size(65, 24);
            this.pictureBox_sort.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sort.TabIndex    = 1;
            this.pictureBox_sort.TabStop     = false;
            this.pictureBox_sort.Click      += new EventHandler(this.pictureBox_sort_Click);
            this.pictureBox_filter.BackColor = Color.Transparent;
            this.pictureBox_filter.Cursor    = Cursors.Hand;
            this.pictureBox_filter.Location  = new Point(55, 9);
            this.pictureBox_filter.Name      = "pictureBox_filter";
            this.pictureBox_filter.Size      = new Size(65, 24);
            this.pictureBox_filter.SizeMode  = PictureBoxSizeMode.AutoSize;
            this.pictureBox_filter.TabIndex  = 0;
            this.pictureBox_filter.TabStop   = false;
            this.pictureBox_filter.Click    += new EventHandler(this.pictureBox_filter_Click);
            this.paneldatasum.Anchor         = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldatasum.Controls.Add(this.labeldatacount);
            this.paneldatasum.Location     = new Point(5, 3);
            this.paneldatasum.Name         = "paneldatasum";
            this.paneldatasum.Size         = new Size(555, 28);
            this.paneldatasum.TabIndex     = 36;
            this.labeldatacount.BackColor  = Color.Transparent;
            this.labeldatacount.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.labeldatacount.Location   = new Point(41, 8);
            this.labeldatacount.Name       = "labeldatacount";
            this.labeldatacount.Size       = new Size(253, 14);
            this.labeldatacount.TabIndex   = 0;
            this.pictureBox_right.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox_right.Location = new Point(545, 3);
            this.pictureBox_right.Name     = "pictureBox_right";
            this.pictureBox_right.Size     = new Size(38, 28);
            this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_right.TabIndex = 38;
            this.pictureBox_right.TabStop  = false;
            this.panel_middle.Anchor       = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panel_middle.Controls.Add(this.label6);
            this.panel_middle.Location    = new Point(69, 3);
            this.panel_middle.Name        = "panel_middle";
            this.panel_middle.Size        = new Size(328, 28);
            this.panel_middle.TabIndex    = 37;
            this.label6.BackColor         = Color.Transparent;
            this.label6.Font              = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
            this.label6.Location          = new Point(41, 7);
            this.label6.Name              = "label6";
            this.label6.Size              = new Size(253, 14);
            this.label6.TabIndex          = 1;
            this.label6.Text              = "田间试验审批查询";
            this.pictureBox_left.Location = new Point(0, 3);
            this.pictureBox_left.Name     = "pictureBox_left";
            this.pictureBox_left.Size     = new Size(17, 28);
            this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_left.TabIndex = 36;
            this.pictureBox_left.TabStop  = false;
            base.AcceptButton             = this.btnSearch;
            base.AutoScaleMode            = AutoScaleMode.None;
            base.ClientSize = new Size(792, 566);
            base.Controls.Add(this.panelright);
            base.Controls.Add(this.paneltop_right);
            base.Controls.Add(this.paneltop_middle);
            base.Controls.Add(this.paneltop_left);
            base.Controls.Add(this.paneltitle_right);
            base.Controls.Add(this.paneltitle_middle);
            base.Controls.Add(this.paneltitle_left);
            base.Controls.Add(this.panelmenu);
            this.Font            = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.Name            = "frmTJSY";
            this.Text            = "田间实验审批查询";
            base.WindowState     = FormWindowState.Maximized;
            base.Load           += new EventHandler(this.frmTJSY_Load);
            base.Resize         += new EventHandler(this.frmTJSY_Resize);
            this.paneldata.ResumeLayout(false);
            ((ISupportInitialize)this.gridControl1).EndInit();
            ((ISupportInitialize)this.gridView1).EndInit();
            this.panelcondition.ResumeLayout(false);
            this.panelcondition.PerformLayout();
            this.panelmenu.ResumeLayout(false);
            this.paneltitle_right.ResumeLayout(false);
            this.paneltitle_right.PerformLayout();
            ((ISupportInitialize)this.pictureBox3).EndInit();
            ((ISupportInitialize)this.pictureBox2).EndInit();
            ((ISupportInitialize)this.pictureBox1).EndInit();
            this.panelright.ResumeLayout(false);
            this.panelright.PerformLayout();
            this.panelwhite.ResumeLayout(false);
            this.panelbutton.ResumeLayout(false);
            this.panelbutton.PerformLayout();
            ((ISupportInitialize)this.pictureBox_sum).EndInit();
            ((ISupportInitialize)this.pictureBox_view).EndInit();
            ((ISupportInitialize)this.pictureBox_sort).EndInit();
            ((ISupportInitialize)this.pictureBox_filter).EndInit();
            this.paneldatasum.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_right).EndInit();
            this.panel_middle.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_left).EndInit();
            base.ResumeLayout(false);
        }
예제 #21
0
파일: frmNY2QY.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmNY2QY));
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.cboDJSQ = new ComboBox();
     this.label5 = new Label();
     this.cboNYLB = new ComboBox();
     this.label4 = new Label();
     this.label3 = new Label();
     this.txtJX = new TextBox();
     this.label2 = new Label();
     this.txtDJMC = new TextBox();
     this.label1 = new Label();
     this.txtDJZH = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.gridColumn7 = new GridColumn();
     this.gridColumn8 = new GridColumn();
     this.gridColumn9 = new GridColumn();
     this.gridColumn10 = new GridColumn();
     this.gridColumn11 = new GridColumn();
     this.gridColumn12 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.btnReset.Location = new Point(78, 74);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(45, 23);
     this.btnReset.TabIndex = 12;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(12, 74);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(45, 23);
     this.btnSearch.TabIndex = 11;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.cboDJSQ);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.label5);
     this.panelcondition.Controls.Add(this.cboNYLB);
     this.panelcondition.Controls.Add(this.label4);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.txtJX);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.txtDJMC);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtDJZH);
     this.panelcondition.Location = new Point(8, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(569, 104);
     this.panelcondition.TabIndex = 10;
     this.cboDJSQ.FormattingEnabled = true;
     this.cboDJSQ.Items.AddRange(new object[]
     {
         "本周",
         "上一周",
         "本月",
         "上一月",
         "本年",
         "上一年"
     });
     this.cboDJSQ.Location = new Point(312, 74);
     this.cboDJSQ.Name = "cboDJSQ";
     this.cboDJSQ.Size = new Size(34, 21);
     this.cboDJSQ.TabIndex = 13;
     this.cboDJSQ.Visible = false;
     this.label5.AutoSize = true;
     this.label5.BackColor = Color.Transparent;
     this.label5.Location = new Point(352, 81);
     this.label5.Name = "label5";
     this.label5.Size = new Size(63, 14);
     this.label5.TabIndex = 12;
     this.label5.Text = "登记时期";
     this.label5.Visible = false;
     this.cboNYLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboNYLB.FormattingEnabled = true;
     this.cboNYLB.Items.AddRange(new object[]
     {
         "杀菌剂/杀虫剂",
         "杀虫剂/杀菌剂",
         "杀虫剂/杀螨剂/杀菌剂",
         "杀菌剂/植物生长调节剂",
         "昆虫调节剂",
         "杀线虫剂/杀菌剂",
         "昆虫引诱剂",
         "植物抗性诱导剂",
         "杀螨剂",
         "杀螨剂/杀菌剂",
         "杀螨剂/杀虫剂",
         "杀藻剂",
         "杀鸟剂",
         "熏蒸剂",
         "杀菌剂",
         "除草剂",
         "除草剂/植物生长调节剂",
         "昆虫生长调节剂",
         "杀虫剂",
         "杀虫剂/杀螨剂",
         "杀虫剂/杀线虫剂",
         "杀虫剂/卫生杀虫剂",
         "杀螺剂",
         "杀软体动物剂",
         "杀线虫剂",
         "其它",
         "植物生长调节剂",
         "卫生杀虫剂",
         "忌避剂",
         "杀鼠剂",
         "增效剂"
     });
     this.cboNYLB.Location = new Point(69, 45);
     this.cboNYLB.Name = "cboNYLB";
     this.cboNYLB.Size = new Size(203, 22);
     this.cboNYLB.TabIndex = 8;
     this.label4.AutoSize = true;
     this.label4.BackColor = Color.Transparent;
     this.label4.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label4.Location = new Point(9, 49);
     this.label4.Name = "label4";
     this.label4.Size = new Size(63, 14);
     this.label4.TabIndex = 7;
     this.label4.Text = "农药类别";
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(278, 49);
     this.label3.Name = "label3";
     this.label3.Size = new Size(35, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "剂型";
     this.txtJX.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtJX.Location = new Point(337, 45);
     this.txtJX.Name = "txtJX";
     this.txtJX.Size = new Size(203, 23);
     this.txtJX.TabIndex = 5;
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label2.Location = new Point(274, 15);
     this.label2.Name = "label2";
     this.label2.Size = new Size(63, 14);
     this.label2.TabIndex = 4;
     this.label2.Text = "登记名称";
     this.txtDJMC.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDJMC.ImeMode = ImeMode.On;
     this.txtDJMC.Location = new Point(337, 11);
     this.txtDJMC.Name = "txtDJMC";
     this.txtDJMC.Size = new Size(203, 23);
     this.txtDJMC.TabIndex = 3;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(6, 15);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "登记证号";
     this.txtDJZH.CharacterCasing = CharacterCasing.Upper;
     this.txtDJZH.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDJZH.Location = new Point(69, 11);
     this.txtDJZH.Name = "txtDJZH";
     this.txtDJZH.Size = new Size(203, 23);
     this.txtDJZH.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(20, 197);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(293, 125);
     this.paneldata.TabIndex = 19;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(293, 125);
     this.gridControl1.TabIndex = 10;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn8,
         this.gridColumn9,
         this.gridColumn10,
         this.gridColumn11,
         this.gridColumn12
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn7.Caption = "gridColumn7";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     this.gridColumn8.Caption = "gridColumn8";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 7;
     this.gridColumn9.Caption = "gridColumn9";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 8;
     this.gridColumn10.Caption = "gridColumn10";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 9;
     this.gridColumn11.Caption = "gridColumn11";
     this.gridColumn11.Name = "gridColumn11";
     this.gridColumn11.Visible = true;
     this.gridColumn11.VisibleIndex = 10;
     this.gridColumn12.Caption = "gridColumn12";
     this.gridColumn12.Name = "gridColumn12";
     this.gridColumn12.Visible = true;
     this.gridColumn12.VisibleIndex = 11;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(1, 179);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(163, 386);
     this.panelmenu.TabIndex = 21;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(163, 386);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(372, 33);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(408, 25);
     this.paneltop_right.TabIndex = 27;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(196, 29);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 26;
     this.paneltop_left.Location = new Point(13, 29);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 25;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(542, 0);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(238, 25);
     this.paneltitle_right.TabIndex = 24;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(171, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(193, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(215, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(265, 0);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 23;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(1, 0);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 22;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(196, 64);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(581, 490);
     this.panelright.TabIndex = 28;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(8, 147);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(569, 340);
     this.panelwhite.TabIndex = 23;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(3, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(549, 40);
     this.panelbutton.TabIndex = 21;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(3, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(549, 28);
     this.paneldatasum.TabIndex = 20;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(539, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 22;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(77, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 21;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "农药=生产企业";
     this.pictureBox_left.Location = new Point(8, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 20;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmNY2QY";
     this.Text = "农药=>生产企业";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmNY2QY_Load);
     base.Resize += new EventHandler(this.frmNY2QY_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #22
0
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmNYLB2YXCF));
     this.lblCount = new Label();
     this.cboNYLB = new ComboBox();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.label2 = new Label();
     this.label1 = new Label();
     this.cboHXLB = new ComboBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.lblCount.AutoSize = true;
     this.lblCount.BackColor = Color.Transparent;
     this.lblCount.Location = new Point(69, 58);
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new Size(0, 14);
     this.lblCount.TabIndex = 14;
     this.cboNYLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboNYLB.FormattingEnabled = true;
     this.cboNYLB.Items.AddRange(new object[]
     {
         "杀菌剂/杀虫剂",
         "杀虫剂/杀菌剂",
         "杀虫剂/杀螨剂/杀菌剂",
         "杀菌剂/植物生长调节剂",
         "昆虫调节剂",
         "杀线虫剂/杀菌剂",
         "昆虫引诱剂",
         "植物抗性诱导剂",
         "杀螨剂",
         "杀螨剂/杀菌剂",
         "杀螨剂/杀虫剂",
         "杀藻剂",
         "杀鸟剂",
         "熏蒸剂",
         "杀菌剂",
         "除草剂",
         "除草剂/植物生长调节剂",
         "昆虫生长调节剂",
         "杀虫剂",
         "杀虫剂/杀螨剂",
         "杀虫剂/杀线虫剂",
         "杀虫剂/卫生杀虫剂",
         "杀螺剂",
         "杀软体动物剂",
         "杀线虫剂",
         "其它",
         "植物生长调节剂",
         "卫生杀虫剂",
         "忌避剂",
         "杀鼠剂",
         "增效剂"
     });
     this.cboNYLB.Location = new Point(67, 14);
     this.cboNYLB.Name = "cboNYLB";
     this.cboNYLB.Size = new Size(143, 22);
     this.cboNYLB.TabIndex = 8;
     this.btnReset.Location = new Point(75, 49);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 20;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(17, 49);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 19;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.cboHXLB);
     this.panelcondition.Controls.Add(this.lblCount);
     this.panelcondition.Controls.Add(this.cboNYLB);
     this.panelcondition.Location = new Point(5, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(576, 90);
     this.panelcondition.TabIndex = 18;
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label2.Location = new Point(215, 18);
     this.label2.Name = "label2";
     this.label2.Size = new Size(63, 14);
     this.label2.TabIndex = 18;
     this.label2.Text = "化学类别";
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(4, 18);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 17;
     this.label1.Text = "农药类别";
     this.cboHXLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboHXLB.FormattingEnabled = true;
     this.cboHXLB.Items.AddRange(new object[]
     {
         "N-邻苯二酰苯胺",
         "氨基甲酸酯",
         "苯并咪唑",
         "苯酚",
         "苯基吡唑",
         "苯基羧酸",
         "苯甲酰胺",
         "苯甲酰脲",
         "苯醚类",
         "苯氧羧酸",
         "苯酰胺",
         "苯酰脲",
         "丁酮",
         "丁香油",
         "二苯醚",
         "二硝基",
         "二硝基苯胺",
         "二嗪",
         "二羧甲酰亚胺",
         "核苷",
         "环己烷",
         "环己烯酮",
         "磺酰氨基苯甲酰甲酯",
         "磺酰脲",
         "激素类",
         "季胺盐",
         "甲基环丙烯",
         "甲脒",
         "聚合体",
         "硫代氨基甲酸酯",
         "硫脲",
         "氯代乙酰胺",
         "吗啉",
         "拟除虫菊酯",
         "其它",
         "三嗪",
         "沙蚕毒",
         "生物源",
         "天然化合物",
         "微生物源",
         "无机",
         "香豆素",
         "硝基苯",
         "有机氮",
         "有机汞",
         "有机含卤",
         "有机磷",
         "有机硫",
         "有机氯",
         "有机醚",
         "有机铜",
         "有机锡",
         "有机胂",
         "杂环化合物",
         "植物源",
         "苄基醚",
         "茚酮",
         "吡唑",
         "吡啶",
         "哒嗪酮",
         "哌啶",
         "咪唑啉酮",
         "唑类",
         "嘧啶",
         "脲类",
         "羧酸脂",
         "酰胺",
         "酰苯胺",
         "酰基丙氨酸"
     });
     this.cboHXLB.Location = new Point(278, 14);
     this.cboHXLB.Name = "cboHXLB";
     this.cboHXLB.Size = new Size(143, 22);
     this.cboHXLB.TabIndex = 16;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(17, 239);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(64, 88);
     this.paneldata.TabIndex = 27;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(64, 88);
     this.gridControl1.TabIndex = 18;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(2, 160);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(170, 401);
     this.panelmenu.TabIndex = 29;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(170, 401);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(373, 34);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(407, 25);
     this.paneltop_right.TabIndex = 35;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(197, 30);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 34;
     this.paneltop_left.Location = new Point(14, 30);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 33;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(543, 1);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(237, 25);
     this.paneltitle_right.TabIndex = 32;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(170, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(192, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(214, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(266, 1);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 31;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(2, 1);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 30;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(192, 71);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(586, 483);
     this.panelright.TabIndex = 36;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(5, 136);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(576, 344);
     this.panelwhite.TabIndex = 31;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(7, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(552, 40);
     this.panelbutton.TabIndex = 29;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(7, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(552, 28);
     this.paneldatasum.TabIndex = 28;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(543, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 30;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(74, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 29;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "农药登记查询";
     this.pictureBox_left.Location = new Point(5, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 28;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmNYLB2YXCF";
     this.Text = "农药类别=>有效成分";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmNYLB2YXCF_Load);
     base.Resize += new EventHandler(this.frmNYLB2YXCF_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #23
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmNYLB2YXCF));

            this.lblCount          = new Label();
            this.cboNYLB           = new ComboBox();
            this.btnReset          = new Button();
            this.btnSearch         = new Button();
            this.panelcondition    = new Panel();
            this.label2            = new Label();
            this.label1            = new Label();
            this.cboHXLB           = new ComboBox();
            this.paneldata         = new Panel();
            this.gridControl1      = new GridControl();
            this.gridView1         = new GridView();
            this.gridColumn1       = new GridColumn();
            this.gridColumn2       = new GridColumn();
            this.gridColumn3       = new GridColumn();
            this.panelmenu         = new Panel();
            this.userManu1         = new UserManu();
            this.paneltop_right    = new Panel();
            this.paneltop_middle   = new Panel();
            this.paneltop_left     = new Panel();
            this.paneltitle_right  = new Panel();
            this.pictureBox3       = new PictureBox();
            this.pictureBox2       = new PictureBox();
            this.pictureBox1       = new PictureBox();
            this.paneltitle_middle = new Panel();
            this.paneltitle_left   = new Panel();
            this.panelright        = new Panel();
            this.panelwhite        = new Panel();
            this.panelbutton       = new Panel();
            this.pictureBox_sum    = new PictureBox();
            this.pictureBox_view   = new PictureBox();
            this.pictureBox_sort   = new PictureBox();
            this.pictureBox_filter = new PictureBox();
            this.paneldatasum      = new Panel();
            this.labeldatacount    = new Label();
            this.pictureBox_right  = new PictureBox();
            this.panel_middle      = new Panel();
            this.label6            = new Label();
            this.pictureBox_left   = new PictureBox();
            this.panelcondition.SuspendLayout();
            this.paneldata.SuspendLayout();
            ((ISupportInitialize)this.gridControl1).BeginInit();
            ((ISupportInitialize)this.gridView1).BeginInit();
            this.panelmenu.SuspendLayout();
            this.paneltitle_right.SuspendLayout();
            ((ISupportInitialize)this.pictureBox3).BeginInit();
            ((ISupportInitialize)this.pictureBox2).BeginInit();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            this.panelright.SuspendLayout();
            this.panelwhite.SuspendLayout();
            this.panelbutton.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_sum).BeginInit();
            ((ISupportInitialize)this.pictureBox_view).BeginInit();
            ((ISupportInitialize)this.pictureBox_sort).BeginInit();
            ((ISupportInitialize)this.pictureBox_filter).BeginInit();
            this.paneldatasum.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_right).BeginInit();
            this.panel_middle.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_left).BeginInit();
            base.SuspendLayout();
            this.lblCount.AutoSize         = true;
            this.lblCount.BackColor        = Color.Transparent;
            this.lblCount.Location         = new Point(69, 58);
            this.lblCount.Name             = "lblCount";
            this.lblCount.Size             = new Size(0, 14);
            this.lblCount.TabIndex         = 14;
            this.cboNYLB.Font              = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.cboNYLB.FormattingEnabled = true;
            this.cboNYLB.Items.AddRange(new object[]
            {
                "杀菌剂/杀虫剂",
                "杀虫剂/杀菌剂",
                "杀虫剂/杀螨剂/杀菌剂",
                "杀菌剂/植物生长调节剂",
                "昆虫调节剂",
                "杀线虫剂/杀菌剂",
                "昆虫引诱剂",
                "植物抗性诱导剂",
                "杀螨剂",
                "杀螨剂/杀菌剂",
                "杀螨剂/杀虫剂",
                "杀藻剂",
                "杀鸟剂",
                "熏蒸剂",
                "杀菌剂",
                "除草剂",
                "除草剂/植物生长调节剂",
                "昆虫生长调节剂",
                "杀虫剂",
                "杀虫剂/杀螨剂",
                "杀虫剂/杀线虫剂",
                "杀虫剂/卫生杀虫剂",
                "杀螺剂",
                "杀软体动物剂",
                "杀线虫剂",
                "其它",
                "植物生长调节剂",
                "卫生杀虫剂",
                "忌避剂",
                "杀鼠剂",
                "增效剂"
            });
            this.cboNYLB.Location  = new Point(67, 14);
            this.cboNYLB.Name      = "cboNYLB";
            this.cboNYLB.Size      = new Size(143, 22);
            this.cboNYLB.TabIndex  = 8;
            this.btnReset.Location = new Point(75, 49);
            this.btnReset.Name     = "btnReset";
            this.btnReset.Size     = new Size(50, 23);
            this.btnReset.TabIndex = 20;
            this.btnReset.Text     = "重置";
            this.btnReset.UseVisualStyleBackColor = true;
            this.btnReset.Click    += new EventHandler(this.btnReset_Click);
            this.btnSearch.Location = new Point(17, 49);
            this.btnSearch.Name     = "btnSearch";
            this.btnSearch.Size     = new Size(50, 23);
            this.btnSearch.TabIndex = 19;
            this.btnSearch.Text     = "查询";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click      += new EventHandler(this.btnSearch_Click);
            this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelcondition.Controls.Add(this.label2);
            this.panelcondition.Controls.Add(this.label1);
            this.panelcondition.Controls.Add(this.btnReset);
            this.panelcondition.Controls.Add(this.btnSearch);
            this.panelcondition.Controls.Add(this.cboHXLB);
            this.panelcondition.Controls.Add(this.lblCount);
            this.panelcondition.Controls.Add(this.cboNYLB);
            this.panelcondition.Location   = new Point(5, 37);
            this.panelcondition.Name       = "panelcondition";
            this.panelcondition.Size       = new Size(576, 90);
            this.panelcondition.TabIndex   = 18;
            this.label2.AutoSize           = true;
            this.label2.BackColor          = Color.Transparent;
            this.label2.Font               = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label2.Location           = new Point(215, 18);
            this.label2.Name               = "label2";
            this.label2.Size               = new Size(63, 14);
            this.label2.TabIndex           = 18;
            this.label2.Text               = "化学类别";
            this.label1.AutoSize           = true;
            this.label1.BackColor          = Color.Transparent;
            this.label1.Font               = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label1.Location           = new Point(4, 18);
            this.label1.Name               = "label1";
            this.label1.Size               = new Size(63, 14);
            this.label1.TabIndex           = 17;
            this.label1.Text               = "农药类别";
            this.cboHXLB.Font              = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.cboHXLB.FormattingEnabled = true;
            this.cboHXLB.Items.AddRange(new object[]
            {
                "N-邻苯二酰苯胺",
                "氨基甲酸酯",
                "苯并咪唑",
                "苯酚",
                "苯基吡唑",
                "苯基羧酸",
                "苯甲酰胺",
                "苯甲酰脲",
                "苯醚类",
                "苯氧羧酸",
                "苯酰胺",
                "苯酰脲",
                "丁酮",
                "丁香油",
                "二苯醚",
                "二硝基",
                "二硝基苯胺",
                "二嗪",
                "二羧甲酰亚胺",
                "核苷",
                "环己烷",
                "环己烯酮",
                "磺酰氨基苯甲酰甲酯",
                "磺酰脲",
                "激素类",
                "季胺盐",
                "甲基环丙烯",
                "甲脒",
                "聚合体",
                "硫代氨基甲酸酯",
                "硫脲",
                "氯代乙酰胺",
                "吗啉",
                "拟除虫菊酯",
                "其它",
                "三嗪",
                "沙蚕毒",
                "生物源",
                "天然化合物",
                "微生物源",
                "无机",
                "香豆素",
                "硝基苯",
                "有机氮",
                "有机汞",
                "有机含卤",
                "有机磷",
                "有机硫",
                "有机氯",
                "有机醚",
                "有机铜",
                "有机锡",
                "有机胂",
                "杂环化合物",
                "植物源",
                "苄基醚",
                "茚酮",
                "吡唑",
                "吡啶",
                "哒嗪酮",
                "哌啶",
                "咪唑啉酮",
                "唑类",
                "嘧啶",
                "脲类",
                "羧酸脂",
                "酰胺",
                "酰苯胺",
                "酰基丙氨酸"
            });
            this.cboHXLB.Location = new Point(278, 14);
            this.cboHXLB.Name     = "cboHXLB";
            this.cboHXLB.Size     = new Size(143, 22);
            this.cboHXLB.TabIndex = 16;
            this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldata.Controls.Add(this.gridControl1);
            this.paneldata.Location    = new Point(17, 239);
            this.paneldata.Name        = "paneldata";
            this.paneldata.Size        = new Size(64, 88);
            this.paneldata.TabIndex    = 27;
            this.gridControl1.Dock     = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.Size     = new Size(64, 88);
            this.gridControl1.TabIndex = 18;
            this.gridControl1.ViewCollection.AddRange(new BaseView[]
            {
                this.gridView1
            });
            this.gridView1.Columns.AddRange(new GridColumn[]
            {
                this.gridColumn1,
                this.gridColumn2,
                this.gridColumn3
            });
            this.gridView1.GridControl             = this.gridControl1;
            this.gridView1.Name                    = "gridView1";
            this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
            this.gridView1.RowCountChanged        += new EventHandler(this.gridView1_RowCountChanged);
            this.gridView1.RowCellClick           += new RowCellClickEventHandler(this.gridView1_RowCellClick);
            this.gridColumn1.Caption               = "gridColumn1";
            this.gridColumn1.Name                  = "gridColumn1";
            this.gridColumn1.Visible               = true;
            this.gridColumn1.VisibleIndex          = 0;
            this.gridColumn2.Caption               = "gridColumn2";
            this.gridColumn2.Name                  = "gridColumn2";
            this.gridColumn2.Visible               = true;
            this.gridColumn2.VisibleIndex          = 1;
            this.gridColumn3.Caption               = "gridColumn3";
            this.gridColumn3.Name                  = "gridColumn3";
            this.gridColumn3.Visible               = true;
            this.gridColumn3.VisibleIndex          = 2;
            this.panelmenu.Anchor                  = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.panelmenu.Controls.Add(this.userManu1);
            this.panelmenu.Location       = new Point(2, 160);
            this.panelmenu.Name           = "panelmenu";
            this.panelmenu.Size           = new Size(170, 401);
            this.panelmenu.TabIndex       = 29;
            this.userManu1.BackColor      = Color.FromArgb(107, 161, 179);
            this.userManu1.Dock           = DockStyle.Fill;
            this.userManu1.Location       = new Point(0, 0);
            this.userManu1.Name           = "userManu1";
            this.userManu1.Size           = new Size(170, 401);
            this.userManu1.TabIndex       = 0;
            this.paneltop_right.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltop_right.Location  = new Point(373, 34);
            this.paneltop_right.Name      = "paneltop_right";
            this.paneltop_right.Size      = new Size(407, 25);
            this.paneltop_right.TabIndex  = 35;
            this.paneltop_middle.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltop_middle.Location = new Point(197, 30);
            this.paneltop_middle.Name     = "paneltop_middle";
            this.paneltop_middle.Size     = new Size(165, 29);
            this.paneltop_middle.TabIndex = 34;
            this.paneltop_left.Location   = new Point(14, 30);
            this.paneltop_left.Name       = "paneltop_left";
            this.paneltop_left.Size       = new Size(185, 29);
            this.paneltop_left.TabIndex   = 33;
            this.paneltitle_right.Anchor  = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltitle_right.Controls.Add(this.pictureBox3);
            this.paneltitle_right.Controls.Add(this.pictureBox2);
            this.paneltitle_right.Controls.Add(this.pictureBox1);
            this.paneltitle_right.Location    = new Point(543, 1);
            this.paneltitle_right.Name        = "paneltitle_right";
            this.paneltitle_right.Size        = new Size(237, 25);
            this.paneltitle_right.TabIndex    = 32;
            this.pictureBox3.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox3.Image            = (Image)componentResourceManager.GetObject("pictureBox3.Image");
            this.pictureBox3.Location         = new Point(170, 2);
            this.pictureBox3.Name             = "pictureBox3";
            this.pictureBox3.Size             = new Size(21, 21);
            this.pictureBox3.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox3.TabIndex         = 23;
            this.pictureBox3.TabStop          = false;
            this.pictureBox3.MouseLeave      += new EventHandler(this.pictureBox3_MouseLeave);
            this.pictureBox3.Click           += new EventHandler(this.pictureBox3_Click);
            this.pictureBox3.MouseEnter      += new EventHandler(this.pictureBox3_MouseEnter);
            this.pictureBox2.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox2.Image            = (Image)componentResourceManager.GetObject("pictureBox2.Image");
            this.pictureBox2.Location         = new Point(192, 2);
            this.pictureBox2.Name             = "pictureBox2";
            this.pictureBox2.Size             = new Size(21, 21);
            this.pictureBox2.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox2.TabIndex         = 22;
            this.pictureBox2.TabStop          = false;
            this.pictureBox2.MouseLeave      += new EventHandler(this.pictureBox2_MouseLeave);
            this.pictureBox2.Click           += new EventHandler(this.pictureBox2_Click);
            this.pictureBox2.MouseEnter      += new EventHandler(this.pictureBox2_MouseEnter);
            this.pictureBox1.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox1.Image            = (Image)componentResourceManager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location         = new Point(214, 2);
            this.pictureBox1.Name             = "pictureBox1";
            this.pictureBox1.Size             = new Size(21, 21);
            this.pictureBox1.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex         = 21;
            this.pictureBox1.TabStop          = false;
            this.pictureBox1.MouseLeave      += new EventHandler(this.pictureBox1_MouseLeave);
            this.pictureBox1.Click           += new EventHandler(this.pictureBox1_Click);
            this.pictureBox1.MouseEnter      += new EventHandler(this.pictureBox1_MouseEnter);
            this.paneltitle_middle.Anchor     = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltitle_middle.Location   = new Point(266, 1);
            this.paneltitle_middle.Name       = "paneltitle_middle";
            this.paneltitle_middle.Size       = new Size(280, 25);
            this.paneltitle_middle.TabIndex   = 31;
            this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
            this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
            this.paneltitle_middle.MouseUp   += new MouseEventHandler(this.paneltitle_middle_MouseUp);
            this.paneltitle_left.Location     = new Point(2, 1);
            this.paneltitle_left.Name         = "paneltitle_left";
            this.paneltitle_left.Size         = new Size(264, 25);
            this.paneltitle_left.TabIndex     = 30;
            this.panelright.Anchor            = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelright.Controls.Add(this.panelwhite);
            this.panelright.Controls.Add(this.pictureBox_right);
            this.panelright.Controls.Add(this.panel_middle);
            this.panelright.Controls.Add(this.pictureBox_left);
            this.panelright.Controls.Add(this.panelcondition);
            this.panelright.Location = new Point(192, 71);
            this.panelright.Name     = "panelright";
            this.panelright.Size     = new Size(586, 483);
            this.panelright.TabIndex = 36;
            this.panelwhite.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelwhite.Controls.Add(this.panelbutton);
            this.panelwhite.Controls.Add(this.paneldatasum);
            this.panelwhite.Controls.Add(this.paneldata);
            this.panelwhite.Location = new Point(5, 136);
            this.panelwhite.Name     = "panelwhite";
            this.panelwhite.Size     = new Size(576, 344);
            this.panelwhite.TabIndex = 31;
            this.panelbutton.Anchor  = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelbutton.Controls.Add(this.pictureBox_sum);
            this.panelbutton.Controls.Add(this.pictureBox_view);
            this.panelbutton.Controls.Add(this.pictureBox_sort);
            this.panelbutton.Controls.Add(this.pictureBox_filter);
            this.panelbutton.Location        = new Point(7, 37);
            this.panelbutton.Name            = "panelbutton";
            this.panelbutton.Size            = new Size(552, 40);
            this.panelbutton.TabIndex        = 29;
            this.pictureBox_sum.BackColor    = Color.Transparent;
            this.pictureBox_sum.Cursor       = Cursors.Hand;
            this.pictureBox_sum.Location     = new Point(352, 9);
            this.pictureBox_sum.Name         = "pictureBox_sum";
            this.pictureBox_sum.Size         = new Size(65, 24);
            this.pictureBox_sum.SizeMode     = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sum.TabIndex     = 3;
            this.pictureBox_sum.TabStop      = false;
            this.pictureBox_sum.Visible      = false;
            this.pictureBox_view.BackColor   = Color.Transparent;
            this.pictureBox_view.Cursor      = Cursors.Hand;
            this.pictureBox_view.Location    = new Point(253, 9);
            this.pictureBox_view.Name        = "pictureBox_view";
            this.pictureBox_view.Size        = new Size(65, 24);
            this.pictureBox_view.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_view.TabIndex    = 2;
            this.pictureBox_view.TabStop     = false;
            this.pictureBox_view.Click      += new EventHandler(this.pictureBox_view_Click);
            this.pictureBox_sort.BackColor   = Color.Transparent;
            this.pictureBox_sort.Cursor      = Cursors.Hand;
            this.pictureBox_sort.Location    = new Point(154, 9);
            this.pictureBox_sort.Name        = "pictureBox_sort";
            this.pictureBox_sort.Size        = new Size(65, 24);
            this.pictureBox_sort.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sort.TabIndex    = 1;
            this.pictureBox_sort.TabStop     = false;
            this.pictureBox_sort.Click      += new EventHandler(this.pictureBox_sort_Click);
            this.pictureBox_filter.BackColor = Color.Transparent;
            this.pictureBox_filter.Cursor    = Cursors.Hand;
            this.pictureBox_filter.Location  = new Point(55, 9);
            this.pictureBox_filter.Name      = "pictureBox_filter";
            this.pictureBox_filter.Size      = new Size(65, 24);
            this.pictureBox_filter.SizeMode  = PictureBoxSizeMode.AutoSize;
            this.pictureBox_filter.TabIndex  = 0;
            this.pictureBox_filter.TabStop   = false;
            this.pictureBox_filter.Click    += new EventHandler(this.pictureBox_filter_Click);
            this.paneldatasum.Anchor         = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldatasum.Controls.Add(this.labeldatacount);
            this.paneldatasum.Location     = new Point(7, 3);
            this.paneldatasum.Name         = "paneldatasum";
            this.paneldatasum.Size         = new Size(552, 28);
            this.paneldatasum.TabIndex     = 28;
            this.labeldatacount.BackColor  = Color.Transparent;
            this.labeldatacount.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.labeldatacount.Location   = new Point(41, 8);
            this.labeldatacount.Name       = "labeldatacount";
            this.labeldatacount.Size       = new Size(253, 14);
            this.labeldatacount.TabIndex   = 0;
            this.pictureBox_right.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox_right.Location = new Point(543, 3);
            this.pictureBox_right.Name     = "pictureBox_right";
            this.pictureBox_right.Size     = new Size(38, 28);
            this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_right.TabIndex = 30;
            this.pictureBox_right.TabStop  = false;
            this.panel_middle.Anchor       = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panel_middle.Controls.Add(this.label6);
            this.panel_middle.Location    = new Point(74, 3);
            this.panel_middle.Name        = "panel_middle";
            this.panel_middle.Size        = new Size(328, 28);
            this.panel_middle.TabIndex    = 29;
            this.label6.BackColor         = Color.Transparent;
            this.label6.Font              = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
            this.label6.Location          = new Point(41, 7);
            this.label6.Name              = "label6";
            this.label6.Size              = new Size(253, 14);
            this.label6.TabIndex          = 1;
            this.label6.Text              = "农药登记查询";
            this.pictureBox_left.Location = new Point(5, 3);
            this.pictureBox_left.Name     = "pictureBox_left";
            this.pictureBox_left.Size     = new Size(17, 28);
            this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_left.TabIndex = 28;
            this.pictureBox_left.TabStop  = false;
            base.AcceptButton             = this.btnSearch;
            base.AutoScaleMode            = AutoScaleMode.None;
            base.ClientSize = new Size(792, 566);
            base.Controls.Add(this.panelright);
            base.Controls.Add(this.paneltop_right);
            base.Controls.Add(this.paneltop_middle);
            base.Controls.Add(this.paneltop_left);
            base.Controls.Add(this.paneltitle_right);
            base.Controls.Add(this.paneltitle_middle);
            base.Controls.Add(this.paneltitle_left);
            base.Controls.Add(this.panelmenu);
            this.Font            = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.Name            = "frmNYLB2YXCF";
            this.Text            = "农药类别=>有效成分";
            base.WindowState     = FormWindowState.Maximized;
            base.Load           += new EventHandler(this.frmNYLB2YXCF_Load);
            base.Resize         += new EventHandler(this.frmNYLB2YXCF_Resize);
            this.panelcondition.ResumeLayout(false);
            this.panelcondition.PerformLayout();
            this.paneldata.ResumeLayout(false);
            ((ISupportInitialize)this.gridControl1).EndInit();
            ((ISupportInitialize)this.gridView1).EndInit();
            this.panelmenu.ResumeLayout(false);
            this.paneltitle_right.ResumeLayout(false);
            this.paneltitle_right.PerformLayout();
            ((ISupportInitialize)this.pictureBox3).EndInit();
            ((ISupportInitialize)this.pictureBox2).EndInit();
            ((ISupportInitialize)this.pictureBox1).EndInit();
            this.panelright.ResumeLayout(false);
            this.panelright.PerformLayout();
            this.panelwhite.ResumeLayout(false);
            this.panelbutton.ResumeLayout(false);
            this.panelbutton.PerformLayout();
            ((ISupportInitialize)this.pictureBox_sum).EndInit();
            ((ISupportInitialize)this.pictureBox_view).EndInit();
            ((ISupportInitialize)this.pictureBox_sort).EndInit();
            ((ISupportInitialize)this.pictureBox_filter).EndInit();
            this.paneldatasum.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_right).EndInit();
            this.panel_middle.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_left).EndInit();
            base.ResumeLayout(false);
        }
예제 #24
0
파일: frmJXY.cs 프로젝트: wangshu/NY_HACK
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmJXY));

            this.panelcondition    = new Panel();
            this.btnReset          = new Button();
            this.btnSearch         = new Button();
            this.cboXYGJ           = new ComboBox();
            this.label8            = new Label();
            this.cboJYGJ           = new ComboBox();
            this.label7            = new Label();
            this.label1            = new Label();
            this.txtYXCF           = new TextBox();
            this.paneldata         = new Panel();
            this.gridControl1      = new GridControl();
            this.gridView1         = new GridView();
            this.gridColumn1       = new GridColumn();
            this.gridColumn2       = new GridColumn();
            this.gridColumn3       = new GridColumn();
            this.gridColumn4       = new GridColumn();
            this.gridColumn5       = new GridColumn();
            this.panelmenu         = new Panel();
            this.userManu1         = new UserManu();
            this.paneltop_right    = new Panel();
            this.paneltop_middle   = new Panel();
            this.paneltop_left     = new Panel();
            this.paneltitle_right  = new Panel();
            this.pictureBox3       = new PictureBox();
            this.pictureBox2       = new PictureBox();
            this.pictureBox1       = new PictureBox();
            this.paneltitle_middle = new Panel();
            this.paneltitle_left   = new Panel();
            this.panelright        = new Panel();
            this.panelwhite        = new Panel();
            this.panelbutton       = new Panel();
            this.pictureBox_sum    = new PictureBox();
            this.pictureBox_view   = new PictureBox();
            this.pictureBox_sort   = new PictureBox();
            this.pictureBox_filter = new PictureBox();
            this.paneldatasum      = new Panel();
            this.labeldatacount    = new Label();
            this.pictureBox_right  = new PictureBox();
            this.panel_middle      = new Panel();
            this.label6            = new Label();
            this.pictureBox_left   = new PictureBox();
            this.panelcondition.SuspendLayout();
            this.paneldata.SuspendLayout();
            ((ISupportInitialize)this.gridControl1).BeginInit();
            ((ISupportInitialize)this.gridView1).BeginInit();
            this.panelmenu.SuspendLayout();
            this.paneltitle_right.SuspendLayout();
            ((ISupportInitialize)this.pictureBox3).BeginInit();
            ((ISupportInitialize)this.pictureBox2).BeginInit();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            this.panelright.SuspendLayout();
            this.panelwhite.SuspendLayout();
            this.panelbutton.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_sum).BeginInit();
            ((ISupportInitialize)this.pictureBox_view).BeginInit();
            ((ISupportInitialize)this.pictureBox_sort).BeginInit();
            ((ISupportInitialize)this.pictureBox_filter).BeginInit();
            this.paneldatasum.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_right).BeginInit();
            this.panel_middle.SuspendLayout();
            ((ISupportInitialize)this.pictureBox_left).BeginInit();
            base.SuspendLayout();
            this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelcondition.Controls.Add(this.btnReset);
            this.panelcondition.Controls.Add(this.btnSearch);
            this.panelcondition.Controls.Add(this.cboXYGJ);
            this.panelcondition.Controls.Add(this.label8);
            this.panelcondition.Controls.Add(this.cboJYGJ);
            this.panelcondition.Controls.Add(this.label7);
            this.panelcondition.Controls.Add(this.label1);
            this.panelcondition.Controls.Add(this.txtYXCF);
            this.panelcondition.Location           = new Point(9, 37);
            this.panelcondition.Name               = "panelcondition";
            this.panelcondition.Size               = new Size(568, 116);
            this.panelcondition.TabIndex           = 27;
            this.btnReset.Location                 = new Point(87, 82);
            this.btnReset.Name                     = "btnReset";
            this.btnReset.Size                     = new Size(50, 23);
            this.btnReset.TabIndex                 = 29;
            this.btnReset.Text                     = "重置";
            this.btnReset.UseVisualStyleBackColor  = true;
            this.btnReset.Click                   += new EventHandler(this.btnReset_Click);
            this.btnSearch.Location                = new Point(20, 82);
            this.btnSearch.Name                    = "btnSearch";
            this.btnSearch.Size                    = new Size(50, 23);
            this.btnSearch.TabIndex                = 28;
            this.btnSearch.Text                    = "查询";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click                  += new EventHandler(this.btnSearch_Click);
            this.cboXYGJ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.cboXYGJ.FormattingEnabled = true;
            this.cboXYGJ.Items.AddRange(new object[]
            {
                "中国",
                "奥地利",
                "澳大利亚",
                "保加利亚",
                "比利时",
                "波兰",
                "德国",
                "俄罗斯",
                "法国",
                "哥伦比亚",
                "古巴",
                "韩国",
                "荷兰",
                "加拿大",
                "肯尼亚",
                "马来西亚",
                "美国",
                "墨西哥",
                "南非",
                "挪威",
                "葡萄牙",
                "日本",
                "瑞士"
            });
            this.cboXYGJ.Location          = new Point(75, 44);
            this.cboXYGJ.Name              = "cboXYGJ";
            this.cboXYGJ.Size              = new Size(197, 22);
            this.cboXYGJ.TabIndex          = 23;
            this.label8.BackColor          = Color.Transparent;
            this.label8.Font               = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label8.Location           = new Point(12, 48);
            this.label8.Name               = "label8";
            this.label8.Size               = new Size(63, 14);
            this.label8.TabIndex           = 22;
            this.label8.Text               = "限用国家";
            this.cboJYGJ.Font              = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.cboJYGJ.FormattingEnabled = true;
            this.cboJYGJ.Items.AddRange(new object[]
            {
                "中国",
                "奥地利",
                "澳大利亚",
                "保加利亚",
                "比利时",
                "波兰",
                "德国",
                "俄罗斯",
                "法国",
                "哥伦比亚",
                "古巴",
                "韩国",
                "荷兰",
                "加拿大",
                "肯尼亚",
                "马来西亚",
                "美国",
                "墨西哥",
                "南非",
                "挪威",
                "葡萄牙",
                "日本",
                "瑞士"
            });
            this.cboJYGJ.Location = new Point(337, 9);
            this.cboJYGJ.Name     = "cboJYGJ";
            this.cboJYGJ.Size     = new Size(197, 22);
            this.cboJYGJ.TabIndex = 21;
            this.label7.BackColor = Color.Transparent;
            this.label7.Font      = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label7.Location  = new Point(274, 13);
            this.label7.Name      = "label7";
            this.label7.Size      = new Size(63, 14);
            this.label7.TabIndex  = 20;
            this.label7.Text      = "禁用国家";
            this.label1.BackColor = Color.Transparent;
            this.label1.Font      = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.label1.Location  = new Point(12, 13);
            this.label1.Name      = "label1";
            this.label1.Size      = new Size(63, 14);
            this.label1.TabIndex  = 2;
            this.label1.Text      = "有效成分";
            this.txtYXCF.Font     = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.txtYXCF.ImeMode  = ImeMode.On;
            this.txtYXCF.Location = new Point(75, 9);
            this.txtYXCF.Name     = "txtYXCF";
            this.txtYXCF.Size     = new Size(197, 23);
            this.txtYXCF.TabIndex = 1;
            this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldata.Controls.Add(this.gridControl1);
            this.paneldata.Location    = new Point(20, 188);
            this.paneldata.Name        = "paneldata";
            this.paneldata.Size        = new Size(264, 117);
            this.paneldata.TabIndex    = 37;
            this.gridControl1.Dock     = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.Size     = new Size(264, 117);
            this.gridControl1.TabIndex = 2;
            this.gridControl1.ViewCollection.AddRange(new BaseView[]
            {
                this.gridView1
            });
            this.gridView1.Columns.AddRange(new GridColumn[]
            {
                this.gridColumn1,
                this.gridColumn2,
                this.gridColumn3,
                this.gridColumn4,
                this.gridColumn5
            });
            this.gridView1.GridControl             = this.gridControl1;
            this.gridView1.Name                    = "gridView1";
            this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
            this.gridView1.RowCountChanged        += new EventHandler(this.gridView1_RowCountChanged);
            this.gridView1.RowCellClick           += new RowCellClickEventHandler(this.gridView1_RowCellClick);
            this.gridColumn1.Caption               = "gridColumn1";
            this.gridColumn1.Name                  = "gridColumn1";
            this.gridColumn1.Visible               = true;
            this.gridColumn1.VisibleIndex          = 0;
            this.gridColumn2.Caption               = "gridColumn2";
            this.gridColumn2.Name                  = "gridColumn2";
            this.gridColumn2.Visible               = true;
            this.gridColumn2.VisibleIndex          = 1;
            this.gridColumn3.Caption               = "gridColumn3";
            this.gridColumn3.Name                  = "gridColumn3";
            this.gridColumn3.Visible               = true;
            this.gridColumn3.VisibleIndex          = 2;
            this.gridColumn4.Caption               = "gridColumn4";
            this.gridColumn4.Name                  = "gridColumn4";
            this.gridColumn4.Visible               = true;
            this.gridColumn4.VisibleIndex          = 3;
            this.gridColumn5.Caption               = "gridColumn5";
            this.gridColumn5.Name                  = "gridColumn5";
            this.gridColumn5.Visible               = true;
            this.gridColumn5.VisibleIndex          = 4;
            this.panelmenu.Anchor                  = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.panelmenu.Controls.Add(this.userManu1);
            this.panelmenu.Location       = new Point(1, 127);
            this.panelmenu.Name           = "panelmenu";
            this.panelmenu.Size           = new Size(179, 438);
            this.panelmenu.TabIndex       = 39;
            this.userManu1.BackColor      = Color.FromArgb(107, 161, 179);
            this.userManu1.Dock           = DockStyle.Fill;
            this.userManu1.Location       = new Point(0, 0);
            this.userManu1.Name           = "userManu1";
            this.userManu1.Size           = new Size(179, 438);
            this.userManu1.TabIndex       = 0;
            this.paneltop_right.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltop_right.Location  = new Point(372, 34);
            this.paneltop_right.Name      = "paneltop_right";
            this.paneltop_right.Size      = new Size(408, 25);
            this.paneltop_right.TabIndex  = 45;
            this.paneltop_middle.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltop_middle.Location = new Point(196, 30);
            this.paneltop_middle.Name     = "paneltop_middle";
            this.paneltop_middle.Size     = new Size(165, 29);
            this.paneltop_middle.TabIndex = 44;
            this.paneltop_left.Location   = new Point(13, 30);
            this.paneltop_left.Name       = "paneltop_left";
            this.paneltop_left.Size       = new Size(185, 29);
            this.paneltop_left.TabIndex   = 43;
            this.paneltitle_right.Anchor  = (AnchorStyles.Top | AnchorStyles.Right);
            this.paneltitle_right.Controls.Add(this.pictureBox3);
            this.paneltitle_right.Controls.Add(this.pictureBox2);
            this.paneltitle_right.Controls.Add(this.pictureBox1);
            this.paneltitle_right.Location    = new Point(542, 1);
            this.paneltitle_right.Name        = "paneltitle_right";
            this.paneltitle_right.Size        = new Size(238, 25);
            this.paneltitle_right.TabIndex    = 42;
            this.pictureBox3.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox3.Image            = (Image)componentResourceManager.GetObject("pictureBox3.Image");
            this.pictureBox3.Location         = new Point(171, 2);
            this.pictureBox3.Name             = "pictureBox3";
            this.pictureBox3.Size             = new Size(21, 21);
            this.pictureBox3.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox3.TabIndex         = 23;
            this.pictureBox3.TabStop          = false;
            this.pictureBox3.MouseLeave      += new EventHandler(this.pictureBox3_MouseLeave);
            this.pictureBox3.Click           += new EventHandler(this.pictureBox3_Click);
            this.pictureBox3.MouseEnter      += new EventHandler(this.pictureBox3_MouseEnter);
            this.pictureBox2.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox2.Image            = (Image)componentResourceManager.GetObject("pictureBox2.Image");
            this.pictureBox2.Location         = new Point(193, 2);
            this.pictureBox2.Name             = "pictureBox2";
            this.pictureBox2.Size             = new Size(21, 21);
            this.pictureBox2.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox2.TabIndex         = 22;
            this.pictureBox2.TabStop          = false;
            this.pictureBox2.MouseLeave      += new EventHandler(this.pictureBox2_MouseLeave);
            this.pictureBox2.Click           += new EventHandler(this.pictureBox2_Click);
            this.pictureBox2.MouseEnter      += new EventHandler(this.pictureBox2_MouseEnter);
            this.pictureBox1.Anchor           = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox1.Image            = (Image)componentResourceManager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location         = new Point(215, 2);
            this.pictureBox1.Name             = "pictureBox1";
            this.pictureBox1.Size             = new Size(21, 21);
            this.pictureBox1.SizeMode         = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex         = 21;
            this.pictureBox1.TabStop          = false;
            this.pictureBox1.MouseLeave      += new EventHandler(this.pictureBox1_MouseLeave);
            this.pictureBox1.Click           += new EventHandler(this.pictureBox1_Click);
            this.pictureBox1.MouseEnter      += new EventHandler(this.pictureBox1_MouseEnter);
            this.paneltitle_middle.Anchor     = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneltitle_middle.Location   = new Point(265, 1);
            this.paneltitle_middle.Name       = "paneltitle_middle";
            this.paneltitle_middle.Size       = new Size(280, 25);
            this.paneltitle_middle.TabIndex   = 41;
            this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
            this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
            this.paneltitle_middle.MouseUp   += new MouseEventHandler(this.paneltitle_middle_MouseUp);
            this.paneltitle_left.Location     = new Point(1, 1);
            this.paneltitle_left.Name         = "paneltitle_left";
            this.paneltitle_left.Size         = new Size(264, 25);
            this.paneltitle_left.TabIndex     = 40;
            this.panelright.Anchor            = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelright.Controls.Add(this.panelwhite);
            this.panelright.Controls.Add(this.pictureBox_right);
            this.panelright.Controls.Add(this.panel_middle);
            this.panelright.Controls.Add(this.pictureBox_left);
            this.panelright.Controls.Add(this.panelcondition);
            this.panelright.Location = new Point(196, 65);
            this.panelright.Name     = "panelright";
            this.panelright.Size     = new Size(582, 489);
            this.panelright.TabIndex = 46;
            this.panelwhite.Anchor   = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            this.panelwhite.Controls.Add(this.panelbutton);
            this.panelwhite.Controls.Add(this.paneldatasum);
            this.panelwhite.Controls.Add(this.paneldata);
            this.panelwhite.Location = new Point(9, 169);
            this.panelwhite.Name     = "panelwhite";
            this.panelwhite.Size     = new Size(568, 317);
            this.panelwhite.TabIndex = 41;
            this.panelbutton.Anchor  = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panelbutton.Controls.Add(this.pictureBox_sum);
            this.panelbutton.Controls.Add(this.pictureBox_view);
            this.panelbutton.Controls.Add(this.pictureBox_sort);
            this.panelbutton.Controls.Add(this.pictureBox_filter);
            this.panelbutton.Location        = new Point(5, 37);
            this.panelbutton.Name            = "panelbutton";
            this.panelbutton.Size            = new Size(546, 40);
            this.panelbutton.TabIndex        = 39;
            this.pictureBox_sum.BackColor    = Color.Transparent;
            this.pictureBox_sum.Cursor       = Cursors.Hand;
            this.pictureBox_sum.Enabled      = false;
            this.pictureBox_sum.Location     = new Point(352, 9);
            this.pictureBox_sum.Name         = "pictureBox_sum";
            this.pictureBox_sum.Size         = new Size(65, 24);
            this.pictureBox_sum.SizeMode     = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sum.TabIndex     = 3;
            this.pictureBox_sum.TabStop      = false;
            this.pictureBox_sum.Visible      = false;
            this.pictureBox_view.BackColor   = Color.Transparent;
            this.pictureBox_view.Cursor      = Cursors.Hand;
            this.pictureBox_view.Location    = new Point(253, 9);
            this.pictureBox_view.Name        = "pictureBox_view";
            this.pictureBox_view.Size        = new Size(65, 24);
            this.pictureBox_view.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_view.TabIndex    = 2;
            this.pictureBox_view.TabStop     = false;
            this.pictureBox_view.Click      += new EventHandler(this.pictureBox_view_Click);
            this.pictureBox_sort.BackColor   = Color.Transparent;
            this.pictureBox_sort.Cursor      = Cursors.Hand;
            this.pictureBox_sort.Location    = new Point(154, 9);
            this.pictureBox_sort.Name        = "pictureBox_sort";
            this.pictureBox_sort.Size        = new Size(65, 24);
            this.pictureBox_sort.SizeMode    = PictureBoxSizeMode.AutoSize;
            this.pictureBox_sort.TabIndex    = 1;
            this.pictureBox_sort.TabStop     = false;
            this.pictureBox_sort.Click      += new EventHandler(this.pictureBox_sort_Click);
            this.pictureBox_filter.BackColor = Color.Transparent;
            this.pictureBox_filter.Cursor    = Cursors.Hand;
            this.pictureBox_filter.Location  = new Point(55, 9);
            this.pictureBox_filter.Name      = "pictureBox_filter";
            this.pictureBox_filter.Size      = new Size(65, 24);
            this.pictureBox_filter.SizeMode  = PictureBoxSizeMode.AutoSize;
            this.pictureBox_filter.TabIndex  = 0;
            this.pictureBox_filter.TabStop   = false;
            this.pictureBox_filter.Click    += new EventHandler(this.pictureBox_filter_Click);
            this.paneldatasum.Anchor         = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.paneldatasum.Controls.Add(this.labeldatacount);
            this.paneldatasum.Location     = new Point(5, 3);
            this.paneldatasum.Name         = "paneldatasum";
            this.paneldatasum.Size         = new Size(546, 28);
            this.paneldatasum.TabIndex     = 38;
            this.labeldatacount.BackColor  = Color.Transparent;
            this.labeldatacount.Font       = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.labeldatacount.Location   = new Point(41, 8);
            this.labeldatacount.Name       = "labeldatacount";
            this.labeldatacount.Size       = new Size(253, 14);
            this.labeldatacount.TabIndex   = 0;
            this.pictureBox_right.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            this.pictureBox_right.Location = new Point(539, 3);
            this.pictureBox_right.Name     = "pictureBox_right";
            this.pictureBox_right.Size     = new Size(38, 28);
            this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_right.TabIndex = 40;
            this.pictureBox_right.TabStop  = false;
            this.panel_middle.Anchor       = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.panel_middle.Controls.Add(this.label6);
            this.panel_middle.Location    = new Point(69, 3);
            this.panel_middle.Name        = "panel_middle";
            this.panel_middle.Size        = new Size(328, 28);
            this.panel_middle.TabIndex    = 39;
            this.label6.BackColor         = Color.Transparent;
            this.label6.Font              = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
            this.label6.Location          = new Point(41, 7);
            this.label6.Name              = "label6";
            this.label6.Size              = new Size(253, 14);
            this.label6.TabIndex          = 1;
            this.label6.Text              = "禁限用查询";
            this.pictureBox_left.Location = new Point(0, 3);
            this.pictureBox_left.Name     = "pictureBox_left";
            this.pictureBox_left.Size     = new Size(17, 28);
            this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox_left.TabIndex = 38;
            this.pictureBox_left.TabStop  = false;
            base.AcceptButton             = this.btnSearch;
            base.AutoScaleMode            = AutoScaleMode.None;
            base.ClientSize = new Size(792, 566);
            base.Controls.Add(this.panelright);
            base.Controls.Add(this.paneltop_right);
            base.Controls.Add(this.paneltop_middle);
            base.Controls.Add(this.paneltop_left);
            base.Controls.Add(this.paneltitle_right);
            base.Controls.Add(this.paneltitle_middle);
            base.Controls.Add(this.paneltitle_left);
            base.Controls.Add(this.panelmenu);
            this.Font            = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.Name            = "frmJXY";
            this.Text            = "禁限用查询";
            base.WindowState     = FormWindowState.Maximized;
            base.Load           += new EventHandler(this.frmJXY_Load);
            base.Resize         += new EventHandler(this.frmJXY_Resize);
            this.panelcondition.ResumeLayout(false);
            this.panelcondition.PerformLayout();
            this.paneldata.ResumeLayout(false);
            ((ISupportInitialize)this.gridControl1).EndInit();
            ((ISupportInitialize)this.gridView1).EndInit();
            this.panelmenu.ResumeLayout(false);
            this.paneltitle_right.ResumeLayout(false);
            this.paneltitle_right.PerformLayout();
            ((ISupportInitialize)this.pictureBox3).EndInit();
            ((ISupportInitialize)this.pictureBox2).EndInit();
            ((ISupportInitialize)this.pictureBox1).EndInit();
            this.panelright.ResumeLayout(false);
            this.panelright.PerformLayout();
            this.panelwhite.ResumeLayout(false);
            this.panelbutton.ResumeLayout(false);
            this.panelbutton.PerformLayout();
            ((ISupportInitialize)this.pictureBox_sum).EndInit();
            ((ISupportInitialize)this.pictureBox_view).EndInit();
            ((ISupportInitialize)this.pictureBox_sort).EndInit();
            ((ISupportInitialize)this.pictureBox_filter).EndInit();
            this.paneldatasum.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_right).EndInit();
            this.panel_middle.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox_left).EndInit();
            base.ResumeLayout(false);
        }
예제 #25
0
파일: frmSYDW.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmSYDW));
     this.radHJ = new RadioButton();
     this.radDL = new RadioButton();
     this.radSC = new RadioButton();
     this.radCL = new RadioButton();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.label2 = new Label();
     this.txtLXR = new TextBox();
     this.radQFX = new RadioButton();
     this.label3 = new Label();
     this.txtAddress = new TextBox();
     this.label1 = new Label();
     this.txtDWMC = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.radHJ.AutoSize = true;
     this.radHJ.BackColor = Color.Transparent;
     this.radHJ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radHJ.Location = new Point(478, 47);
     this.radHJ.Name = "radHJ";
     this.radHJ.Size = new Size(53, 18);
     this.radHJ.TabIndex = 16;
     this.radHJ.Text = "环境";
     this.radHJ.UseVisualStyleBackColor = false;
     this.radDL.AutoSize = true;
     this.radDL.BackColor = Color.Transparent;
     this.radDL.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radDL.Location = new Point(425, 47);
     this.radDL.Name = "radDL";
     this.radDL.Size = new Size(53, 18);
     this.radDL.TabIndex = 11;
     this.radDL.Text = "毒理";
     this.radDL.UseVisualStyleBackColor = false;
     this.radSC.AutoSize = true;
     this.radSC.BackColor = Color.Transparent;
     this.radSC.Checked = true;
     this.radSC.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radSC.Location = new Point(307, 47);
     this.radSC.Name = "radSC";
     this.radSC.Size = new Size(53, 18);
     this.radSC.TabIndex = 9;
     this.radSC.TabStop = true;
     this.radSC.Text = "生测";
     this.radSC.UseVisualStyleBackColor = false;
     this.radCL.AutoSize = true;
     this.radCL.BackColor = Color.Transparent;
     this.radCL.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radCL.Location = new Point(366, 47);
     this.radCL.Name = "radCL";
     this.radCL.Size = new Size(53, 18);
     this.radCL.TabIndex = 10;
     this.radCL.Text = "残留";
     this.radCL.UseVisualStyleBackColor = false;
     this.btnReset.Location = new Point(67, 80);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 20;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(8, 80);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 19;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.txtLXR);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.radQFX);
     this.panelcondition.Controls.Add(this.radHJ);
     this.panelcondition.Controls.Add(this.radDL);
     this.panelcondition.Controls.Add(this.radCL);
     this.panelcondition.Controls.Add(this.radSC);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.txtAddress);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtDWMC);
     this.panelcondition.Location = new Point(3, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(586, 117);
     this.panelcondition.TabIndex = 18;
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label2.Location = new Point(306, 15);
     this.label2.Name = "label2";
     this.label2.Size = new Size(49, 14);
     this.label2.TabIndex = 19;
     this.label2.Text = "联系人";
     this.txtLXR.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtLXR.ImeMode = ImeMode.On;
     this.txtLXR.Location = new Point(355, 11);
     this.txtLXR.Name = "txtLXR";
     this.txtLXR.Size = new Size(104, 23);
     this.txtLXR.TabIndex = 18;
     this.radQFX.AutoSize = true;
     this.radQFX.BackColor = Color.Transparent;
     this.radQFX.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.radQFX.Location = new Point(537, 47);
     this.radQFX.Name = "radQFX";
     this.radQFX.Size = new Size(67, 18);
     this.radQFX.TabIndex = 17;
     this.radQFX.Text = "全分析";
     this.radQFX.UseVisualStyleBackColor = false;
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(2, 49);
     this.label3.Name = "label3";
     this.label3.Size = new Size(63, 14);
     this.label3.TabIndex = 6;
     this.label3.Text = "单位地址";
     this.txtAddress.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtAddress.ImeMode = ImeMode.On;
     this.txtAddress.Location = new Point(65, 45);
     this.txtAddress.Name = "txtAddress";
     this.txtAddress.Size = new Size(237, 23);
     this.txtAddress.TabIndex = 5;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(2, 15);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "单位名称";
     this.txtDWMC.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtDWMC.ImeMode = ImeMode.On;
     this.txtDWMC.Location = new Point(65, 11);
     this.txtDWMC.Name = "txtDWMC";
     this.txtDWMC.Size = new Size(237, 23);
     this.txtDWMC.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(20, 203);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(181, 116);
     this.paneldata.TabIndex = 28;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(181, 116);
     this.gridControl1.TabIndex = 18;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(1, 122);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(177, 441);
     this.panelmenu.TabIndex = 30;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(177, 441);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(383, 34);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(397, 25);
     this.paneltop_right.TabIndex = 36;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(207, 30);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 35;
     this.paneltop_left.Location = new Point(24, 30);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 34;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(553, 1);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(227, 25);
     this.paneltitle_right.TabIndex = 33;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(160, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(182, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(204, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(276, 1);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 32;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(12, 1);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 31;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(184, 72);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(596, 491);
     this.panelright.TabIndex = 37;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(3, 160);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(586, 322);
     this.panelwhite.TabIndex = 32;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(5, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(564, 40);
     this.panelbutton.TabIndex = 30;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(5, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(564, 28);
     this.paneldatasum.TabIndex = 29;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(551, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 31;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(71, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 30;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "农药登记查询";
     this.pictureBox_left.Location = new Point(2, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 29;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmSYDW";
     base.ShowInTaskbar = false;
     this.Text = "试验单位查询";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmSYDW_Load);
     base.Resize += new EventHandler(this.frmSYDW_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #26
0
파일: frmJXY.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmJXY));
     this.panelcondition = new Panel();
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.cboXYGJ = new ComboBox();
     this.label8 = new Label();
     this.cboJYGJ = new ComboBox();
     this.label7 = new Label();
     this.label1 = new Label();
     this.txtYXCF = new TextBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.cboXYGJ);
     this.panelcondition.Controls.Add(this.label8);
     this.panelcondition.Controls.Add(this.cboJYGJ);
     this.panelcondition.Controls.Add(this.label7);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.txtYXCF);
     this.panelcondition.Location = new Point(9, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(568, 116);
     this.panelcondition.TabIndex = 27;
     this.btnReset.Location = new Point(87, 82);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 29;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(20, 82);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 28;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.cboXYGJ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboXYGJ.FormattingEnabled = true;
     this.cboXYGJ.Items.AddRange(new object[]
     {
         "中国",
         "奥地利",
         "澳大利亚",
         "保加利亚",
         "比利时",
         "波兰",
         "德国",
         "俄罗斯",
         "法国",
         "哥伦比亚",
         "古巴",
         "韩国",
         "荷兰",
         "加拿大",
         "肯尼亚",
         "马来西亚",
         "美国",
         "墨西哥",
         "南非",
         "挪威",
         "葡萄牙",
         "日本",
         "瑞士"
     });
     this.cboXYGJ.Location = new Point(75, 44);
     this.cboXYGJ.Name = "cboXYGJ";
     this.cboXYGJ.Size = new Size(197, 22);
     this.cboXYGJ.TabIndex = 23;
     this.label8.BackColor = Color.Transparent;
     this.label8.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label8.Location = new Point(12, 48);
     this.label8.Name = "label8";
     this.label8.Size = new Size(63, 14);
     this.label8.TabIndex = 22;
     this.label8.Text = "限用国家";
     this.cboJYGJ.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboJYGJ.FormattingEnabled = true;
     this.cboJYGJ.Items.AddRange(new object[]
     {
         "中国",
         "奥地利",
         "澳大利亚",
         "保加利亚",
         "比利时",
         "波兰",
         "德国",
         "俄罗斯",
         "法国",
         "哥伦比亚",
         "古巴",
         "韩国",
         "荷兰",
         "加拿大",
         "肯尼亚",
         "马来西亚",
         "美国",
         "墨西哥",
         "南非",
         "挪威",
         "葡萄牙",
         "日本",
         "瑞士"
     });
     this.cboJYGJ.Location = new Point(337, 9);
     this.cboJYGJ.Name = "cboJYGJ";
     this.cboJYGJ.Size = new Size(197, 22);
     this.cboJYGJ.TabIndex = 21;
     this.label7.BackColor = Color.Transparent;
     this.label7.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label7.Location = new Point(274, 13);
     this.label7.Name = "label7";
     this.label7.Size = new Size(63, 14);
     this.label7.TabIndex = 20;
     this.label7.Text = "禁用国家";
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(12, 13);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "有效成分";
     this.txtYXCF.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtYXCF.ImeMode = ImeMode.On;
     this.txtYXCF.Location = new Point(75, 9);
     this.txtYXCF.Name = "txtYXCF";
     this.txtYXCF.Size = new Size(197, 23);
     this.txtYXCF.TabIndex = 1;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(20, 188);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(264, 117);
     this.paneldata.TabIndex = 37;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(264, 117);
     this.gridControl1.TabIndex = 2;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(1, 127);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(179, 438);
     this.panelmenu.TabIndex = 39;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(179, 438);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(372, 34);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(408, 25);
     this.paneltop_right.TabIndex = 45;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(196, 30);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 44;
     this.paneltop_left.Location = new Point(13, 30);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 43;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(542, 1);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(238, 25);
     this.paneltitle_right.TabIndex = 42;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(171, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(193, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(215, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(265, 1);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 41;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(1, 1);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 40;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(196, 65);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(582, 489);
     this.panelright.TabIndex = 46;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(9, 169);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(568, 317);
     this.panelwhite.TabIndex = 41;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(5, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(546, 40);
     this.panelbutton.TabIndex = 39;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Enabled = false;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(5, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(546, 28);
     this.paneldatasum.TabIndex = 38;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(539, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 40;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(69, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 39;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "禁限用查询";
     this.pictureBox_left.Location = new Point(0, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 38;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmJXY";
     this.Text = "禁限用查询";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmJXY_Load);
     base.Resize += new EventHandler(this.frmJXY_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #27
0
파일: frmYXCF.cs 프로젝트: wangshu/NY_HACK
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmYXCF));
     this.label2 = new Label();
     this.label1 = new Label();
     this.cboNYLB = new ComboBox();
     this.lblCount = new Label();
     this.btnReset = new Button();
     this.panelcondition = new Panel();
     this.label6 = new Label();
     this.txtCADJH = new TextBox();
     this.btnSearch = new Button();
     this.label5 = new Label();
     this.txtYXCF = new TextBox();
     this.label4 = new Label();
     this.cboFXFF = new ComboBox();
     this.label3 = new Label();
     this.cboZYFS = new ComboBox();
     this.cboHXLB = new ComboBox();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.gridColumn5 = new GridColumn();
     this.gridColumn6 = new GridColumn();
     this.gridColumn7 = new GridColumn();
     this.gridColumn8 = new GridColumn();
     this.gridColumn9 = new GridColumn();
     this.gridColumn10 = new GridColumn();
     this.gridColumn11 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label7 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label2.Location = new Point(440, 14);
     this.label2.Name = "label2";
     this.label2.Size = new Size(63, 14);
     this.label2.TabIndex = 18;
     this.label2.Text = "化学类别";
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label1.Location = new Point(254, 50);
     this.label1.Name = "label1";
     this.label1.Size = new Size(63, 14);
     this.label1.TabIndex = 17;
     this.label1.Text = "农药类别";
     this.cboNYLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboNYLB.FormattingEnabled = true;
     this.cboNYLB.Items.AddRange(new object[]
     {
         "杀菌剂/杀虫剂",
         "杀虫剂/杀菌剂",
         "杀虫剂/杀螨剂/杀菌剂",
         "杀菌剂/植物生长调节剂",
         "昆虫调节剂",
         "杀线虫剂/杀菌剂",
         "昆虫引诱剂",
         "植物抗性诱导剂",
         "杀螨剂",
         "杀螨剂/杀菌剂",
         "杀螨剂/杀虫剂",
         "杀藻剂",
         "杀鸟剂",
         "熏蒸剂",
         "杀菌剂",
         "除草剂",
         "除草剂/植物生长调节剂",
         "昆虫生长调节剂",
         "杀虫剂",
         "杀虫剂/杀螨剂",
         "杀虫剂/杀线虫剂",
         "杀虫剂/卫生杀虫剂",
         "杀螺剂",
         "杀软体动物剂",
         "杀线虫剂",
         "其它",
         "植物生长调节剂",
         "卫生杀虫剂",
         "忌避剂",
         "杀鼠剂",
         "增效剂"
     });
     this.cboNYLB.Location = new Point(317, 46);
     this.cboNYLB.Name = "cboNYLB";
     this.cboNYLB.Size = new Size(118, 22);
     this.cboNYLB.TabIndex = 8;
     this.lblCount.AutoSize = true;
     this.lblCount.BackColor = Color.Transparent;
     this.lblCount.Location = new Point(211, 58);
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new Size(0, 14);
     this.lblCount.TabIndex = 14;
     this.btnReset.Location = new Point(71, 88);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 29;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.label6);
     this.panelcondition.Controls.Add(this.txtCADJH);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.label5);
     this.panelcondition.Controls.Add(this.txtYXCF);
     this.panelcondition.Controls.Add(this.label4);
     this.panelcondition.Controls.Add(this.cboFXFF);
     this.panelcondition.Controls.Add(this.label3);
     this.panelcondition.Controls.Add(this.cboZYFS);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.cboHXLB);
     this.panelcondition.Controls.Add(this.lblCount);
     this.panelcondition.Controls.Add(this.cboNYLB);
     this.panelcondition.Location = new Point(3, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(573, 117);
     this.panelcondition.TabIndex = 27;
     this.label6.AutoSize = true;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(254, 14);
     this.label6.Name = "label6";
     this.label6.Size = new Size(63, 14);
     this.label6.TabIndex = 26;
     this.label6.Text = "CA登记号";
     this.txtCADJH.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtCADJH.Location = new Point(317, 10);
     this.txtCADJH.Name = "txtCADJH";
     this.txtCADJH.Size = new Size(118, 23);
     this.txtCADJH.TabIndex = 25;
     this.btnSearch.Location = new Point(15, 88);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 28;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.label5.AutoSize = true;
     this.label5.BackColor = Color.Transparent;
     this.label5.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label5.Location = new Point(2, 14);
     this.label5.Name = "label5";
     this.label5.Size = new Size(63, 14);
     this.label5.TabIndex = 24;
     this.label5.Text = "有效成分";
     this.txtYXCF.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.txtYXCF.ImeMode = ImeMode.On;
     this.txtYXCF.Location = new Point(65, 10);
     this.txtYXCF.Name = "txtYXCF";
     this.txtYXCF.Size = new Size(183, 23);
     this.txtYXCF.TabIndex = 23;
     this.label4.AutoSize = true;
     this.label4.BackColor = Color.Transparent;
     this.label4.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label4.Location = new Point(440, 50);
     this.label4.Name = "label4";
     this.label4.Size = new Size(63, 14);
     this.label4.TabIndex = 22;
     this.label4.Text = "分析方法";
     this.cboFXFF.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboFXFF.FormattingEnabled = true;
     this.cboFXFF.Items.AddRange(new object[]
     {
         "薄层色谱法",
         "化学法",
         "气-液相色谱",
         "气谱法",
         "气相色谱",
         "生物测定法",
         "液谱法",
         "液相色谱",
         "紫外分光光度法"
     });
     this.cboFXFF.Location = new Point(503, 46);
     this.cboFXFF.Name = "cboFXFF";
     this.cboFXFF.Size = new Size(118, 22);
     this.cboFXFF.TabIndex = 21;
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.label3.Location = new Point(2, 50);
     this.label3.Name = "label3";
     this.label3.Size = new Size(63, 14);
     this.label3.TabIndex = 20;
     this.label3.Text = "作用方式";
     this.cboZYFS.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboZYFS.FormattingEnabled = true;
     this.cboZYFS.Items.AddRange(new object[]
     {
         "保护",
         "铲除",
         "触杀",
         "调节生长",
         "抗凝血",
         "内吸",
         "胃毒",
         "治疗"
     });
     this.cboZYFS.Location = new Point(65, 46);
     this.cboZYFS.Name = "cboZYFS";
     this.cboZYFS.Size = new Size(183, 22);
     this.cboZYFS.TabIndex = 19;
     this.cboHXLB.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.cboHXLB.FormattingEnabled = true;
     this.cboHXLB.Items.AddRange(new object[]
     {
         "N-邻苯二酰苯胺",
         "氨基甲酸酯",
         "苯并咪唑",
         "苯酚",
         "苯基吡唑",
         "苯基羧酸",
         "苯甲酰胺",
         "苯甲酰脲",
         "苯醚类",
         "苯氧羧酸",
         "苯酰胺",
         "苯酰脲",
         "丁酮",
         "丁香油",
         "二苯醚",
         "二硝基",
         "二硝基苯胺",
         "二嗪",
         "二羧甲酰亚胺",
         "核苷",
         "环己烷",
         "环己烯酮",
         "磺酰氨基苯甲酰甲酯",
         "磺酰脲",
         "激素类",
         "季胺盐",
         "甲基环丙烯",
         "甲脒",
         "聚合体",
         "硫代氨基甲酸酯",
         "硫脲",
         "氯代乙酰胺",
         "吗啉",
         "拟除虫菊酯",
         "其它",
         "三嗪",
         "沙蚕毒",
         "生物源",
         "天然化合物",
         "微生物源",
         "无机",
         "香豆素",
         "硝基苯",
         "有机氮",
         "有机汞",
         "有机含卤",
         "有机磷",
         "有机硫",
         "有机氯",
         "有机醚",
         "有机铜",
         "有机锡",
         "有机胂",
         "杂环化合物",
         "植物源",
         "苄基醚",
         "茚酮",
         "吡唑",
         "吡啶",
         "哒嗪酮",
         "哌啶",
         "咪唑啉酮",
         "唑类",
         "嘧啶",
         "脲类",
         "羧酸脂",
         "酰胺",
         "酰苯胺",
         "酰基丙氨酸"
     });
     this.cboHXLB.Location = new Point(503, 10);
     this.cboHXLB.Name = "cboHXLB";
     this.cboHXLB.Size = new Size(118, 22);
     this.cboHXLB.TabIndex = 16;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(12, 188);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(221, 111);
     this.paneldata.TabIndex = 36;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(221, 111);
     this.gridControl1.TabIndex = 27;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn8,
         this.gridColumn9,
         this.gridColumn10,
         this.gridColumn11
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridView1.RowCellClick += new RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn5.Caption = "gridColumn5";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn6.Caption = "gridColumn6";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn7.Caption = "gridColumn7";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     this.gridColumn8.Caption = "gridColumn8";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 7;
     this.gridColumn9.Caption = "gridColumn9";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 8;
     this.gridColumn10.Caption = "gridColumn10";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 9;
     this.gridColumn11.Caption = "gridColumn11";
     this.gridColumn11.Name = "gridColumn11";
     this.gridColumn11.Visible = true;
     this.gridColumn11.VisibleIndex = 10;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(2, 117);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(176, 448);
     this.panelmenu.TabIndex = 38;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(176, 448);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(373, 36);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(407, 25);
     this.paneltop_right.TabIndex = 44;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(197, 32);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(165, 29);
     this.paneltop_middle.TabIndex = 43;
     this.paneltop_left.Location = new Point(14, 32);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 42;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(543, 3);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(237, 25);
     this.paneltitle_right.TabIndex = 41;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(170, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(192, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(214, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(266, 3);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(280, 25);
     this.paneltitle_middle.TabIndex = 40;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(2, 3);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 39;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(197, 76);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(581, 478);
     this.panelright.TabIndex = 45;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(8, 160);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(568, 315);
     this.panelwhite.TabIndex = 40;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(4, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(547, 40);
     this.panelbutton.TabIndex = 38;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Click += new EventHandler(this.pictureBox_view_Click);
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Click += new EventHandler(this.pictureBox_sort_Click);
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(4, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(547, 28);
     this.paneldatasum.TabIndex = 37;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(538, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 39;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label7);
     this.panel_middle.Location = new Point(69, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(328, 28);
     this.panel_middle.TabIndex = 38;
     this.label7.BackColor = Color.Transparent;
     this.label7.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label7.Location = new Point(41, 7);
     this.label7.Name = "label7";
     this.label7.Size = new Size(253, 14);
     this.label7.TabIndex = 1;
     this.label7.Text = "有效成分查询";
     this.pictureBox_left.Location = new Point(0, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 37;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(792, 566);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmYXCF";
     this.Text = "有效成分查询与名称互检";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmYXCF_Load);
     base.Resize += new EventHandler(this.frmYXCF_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }
예제 #28
0
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmNewDJMC));
     this.btnReset = new Button();
     this.btnSearch = new Button();
     this.panelcondition = new Panel();
     this.txtYXCF3 = new TextBox();
     this.label2 = new Label();
     this.txtYXCF2 = new TextBox();
     this.label4 = new Label();
     this.txtYXCF1 = new TextBox();
     this.label1 = new Label();
     this.lblCount = new Label();
     this.paneldata = new Panel();
     this.gridControl1 = new GridControl();
     this.gridView1 = new GridView();
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.gridColumn4 = new GridColumn();
     this.panelmenu = new Panel();
     this.userManu1 = new UserManu();
     this.paneltop_right = new Panel();
     this.paneltop_middle = new Panel();
     this.paneltop_left = new Panel();
     this.paneltitle_right = new Panel();
     this.pictureBox3 = new PictureBox();
     this.pictureBox2 = new PictureBox();
     this.pictureBox1 = new PictureBox();
     this.paneltitle_middle = new Panel();
     this.paneltitle_left = new Panel();
     this.panelright = new Panel();
     this.panelwhite = new Panel();
     this.panelbutton = new Panel();
     this.pictureBox_sum = new PictureBox();
     this.pictureBox_view = new PictureBox();
     this.pictureBox_sort = new PictureBox();
     this.pictureBox_filter = new PictureBox();
     this.paneldatasum = new Panel();
     this.labeldatacount = new Label();
     this.pictureBox_right = new PictureBox();
     this.panel_middle = new Panel();
     this.label6 = new Label();
     this.pictureBox_left = new PictureBox();
     this.panelcondition.SuspendLayout();
     this.paneldata.SuspendLayout();
     ((ISupportInitialize)this.gridControl1).BeginInit();
     ((ISupportInitialize)this.gridView1).BeginInit();
     this.panelmenu.SuspendLayout();
     this.paneltitle_right.SuspendLayout();
     ((ISupportInitialize)this.pictureBox3).BeginInit();
     ((ISupportInitialize)this.pictureBox2).BeginInit();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.panelright.SuspendLayout();
     this.panelwhite.SuspendLayout();
     this.panelbutton.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_sum).BeginInit();
     ((ISupportInitialize)this.pictureBox_view).BeginInit();
     ((ISupportInitialize)this.pictureBox_sort).BeginInit();
     ((ISupportInitialize)this.pictureBox_filter).BeginInit();
     this.paneldatasum.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_right).BeginInit();
     this.panel_middle.SuspendLayout();
     ((ISupportInitialize)this.pictureBox_left).BeginInit();
     base.SuspendLayout();
     this.btnReset.Location = new Point(80, 71);
     this.btnReset.Name = "btnReset";
     this.btnReset.Size = new Size(50, 23);
     this.btnReset.TabIndex = 20;
     this.btnReset.Text = "重置";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     this.btnSearch.Location = new Point(21, 71);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new Size(50, 23);
     this.btnSearch.TabIndex = 19;
     this.btnSearch.Text = "查询";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new EventHandler(this.btnSearch_Click);
     this.panelcondition.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelcondition.Controls.Add(this.btnReset);
     this.panelcondition.Controls.Add(this.btnSearch);
     this.panelcondition.Controls.Add(this.txtYXCF3);
     this.panelcondition.Controls.Add(this.label2);
     this.panelcondition.Controls.Add(this.txtYXCF2);
     this.panelcondition.Controls.Add(this.label4);
     this.panelcondition.Controls.Add(this.txtYXCF1);
     this.panelcondition.Controls.Add(this.label1);
     this.panelcondition.Controls.Add(this.lblCount);
     this.panelcondition.Location = new Point(3, 37);
     this.panelcondition.Name = "panelcondition";
     this.panelcondition.Size = new Size(633, 101);
     this.panelcondition.TabIndex = 26;
     this.txtYXCF3.ImeMode = ImeMode.On;
     this.txtYXCF3.Location = new Point(74, 38);
     this.txtYXCF3.Name = "txtYXCF3";
     this.txtYXCF3.Size = new Size(170, 23);
     this.txtYXCF3.TabIndex = 16;
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Location = new Point(3, 41);
     this.label2.Name = "label2";
     this.label2.Size = new Size(70, 14);
     this.label2.TabIndex = 17;
     this.label2.Text = "有效成分3";
     this.txtYXCF2.ImeMode = ImeMode.On;
     this.txtYXCF2.Location = new Point(317, 7);
     this.txtYXCF2.Name = "txtYXCF2";
     this.txtYXCF2.Size = new Size(170, 23);
     this.txtYXCF2.TabIndex = 1;
     this.label4.AutoSize = true;
     this.label4.BackColor = Color.Transparent;
     this.label4.Location = new Point(246, 11);
     this.label4.Name = "label4";
     this.label4.Size = new Size(70, 14);
     this.label4.TabIndex = 2;
     this.label4.Text = "有效成分2";
     this.txtYXCF1.ImeMode = ImeMode.On;
     this.txtYXCF1.Location = new Point(74, 7);
     this.txtYXCF1.Name = "txtYXCF1";
     this.txtYXCF1.Size = new Size(170, 23);
     this.txtYXCF1.TabIndex = 1;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Location = new Point(3, 11);
     this.label1.Name = "label1";
     this.label1.Size = new Size(70, 14);
     this.label1.TabIndex = 2;
     this.label1.Text = "有效成分1";
     this.lblCount.AutoSize = true;
     this.lblCount.BackColor = Color.Transparent;
     this.lblCount.Location = new Point(77, 60);
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new Size(0, 14);
     this.lblCount.TabIndex = 14;
     this.paneldata.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldata.Controls.Add(this.gridControl1);
     this.paneldata.Location = new Point(38, 207);
     this.paneldata.Name = "paneldata";
     this.paneldata.Size = new Size(111, 93);
     this.paneldata.TabIndex = 28;
     this.gridControl1.Dock = DockStyle.Fill;
     this.gridControl1.Location = new Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new Size(111, 93);
     this.gridControl1.TabIndex = 18;
     this.gridControl1.ViewCollection.AddRange(new BaseView[]
     {
         this.gridView1
     });
     this.gridView1.Columns.AddRange(new GridColumn[]
     {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.RowCountChanged += new EventHandler(this.gridView1_RowCountChanged);
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn2.Caption = "gridColumn2";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn3.Caption = "gridColumn3";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn4.Caption = "gridColumn4";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.panelmenu.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
     this.panelmenu.Controls.Add(this.userManu1);
     this.panelmenu.Location = new Point(14, 75);
     this.panelmenu.Name = "panelmenu";
     this.panelmenu.Size = new Size(171, 462);
     this.panelmenu.TabIndex = 30;
     this.userManu1.BackColor = Color.FromArgb(107, 161, 179);
     this.userManu1.Dock = DockStyle.Fill;
     this.userManu1.Location = new Point(0, 0);
     this.userManu1.Name = "userManu1";
     this.userManu1.Size = new Size(171, 462);
     this.userManu1.TabIndex = 0;
     this.paneltop_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltop_right.Location = new Point(381, 34);
     this.paneltop_right.Name = "paneltop_right";
     this.paneltop_right.Size = new Size(457, 25);
     this.paneltop_right.TabIndex = 36;
     this.paneltop_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltop_middle.Location = new Point(197, 30);
     this.paneltop_middle.Name = "paneltop_middle";
     this.paneltop_middle.Size = new Size(173, 29);
     this.paneltop_middle.TabIndex = 35;
     this.paneltop_left.Location = new Point(14, 30);
     this.paneltop_left.Name = "paneltop_left";
     this.paneltop_left.Size = new Size(185, 29);
     this.paneltop_left.TabIndex = 34;
     this.paneltitle_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.paneltitle_right.Controls.Add(this.pictureBox3);
     this.paneltitle_right.Controls.Add(this.pictureBox2);
     this.paneltitle_right.Controls.Add(this.pictureBox1);
     this.paneltitle_right.Location = new Point(551, 1);
     this.paneltitle_right.Name = "paneltitle_right";
     this.paneltitle_right.Size = new Size(289, 25);
     this.paneltitle_right.TabIndex = 33;
     this.pictureBox3.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox3.Image = (Image)componentResourceManager.GetObject("pictureBox3.Image");
     this.pictureBox3.Location = new Point(222, 2);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new Size(21, 21);
     this.pictureBox3.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox3.TabIndex = 23;
     this.pictureBox3.TabStop = false;
     this.pictureBox3.MouseLeave += new EventHandler(this.pictureBox3_MouseLeave);
     this.pictureBox3.Click += new EventHandler(this.pictureBox3_Click);
     this.pictureBox3.MouseEnter += new EventHandler(this.pictureBox3_MouseEnter);
     this.pictureBox2.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox2.Image = (Image)componentResourceManager.GetObject("pictureBox2.Image");
     this.pictureBox2.Location = new Point(244, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(21, 21);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 22;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.MouseLeave += new EventHandler(this.pictureBox2_MouseLeave);
     this.pictureBox2.Click += new EventHandler(this.pictureBox2_Click);
     this.pictureBox2.MouseEnter += new EventHandler(this.pictureBox2_MouseEnter);
     this.pictureBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(266, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(21, 21);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 21;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseLeave += new EventHandler(this.pictureBox1_MouseLeave);
     this.pictureBox1.Click += new EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseEnter += new EventHandler(this.pictureBox1_MouseEnter);
     this.paneltitle_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneltitle_middle.Location = new Point(266, 1);
     this.paneltitle_middle.Name = "paneltitle_middle";
     this.paneltitle_middle.Size = new Size(288, 25);
     this.paneltitle_middle.TabIndex = 32;
     this.paneltitle_middle.MouseMove += new MouseEventHandler(this.paneltitle_middle_MouseMove);
     this.paneltitle_middle.MouseDown += new MouseEventHandler(this.paneltitle_middle_MouseDown);
     this.paneltitle_middle.MouseUp += new MouseEventHandler(this.paneltitle_middle_MouseUp);
     this.paneltitle_left.Location = new Point(2, 1);
     this.paneltitle_left.Name = "paneltitle_left";
     this.paneltitle_left.Size = new Size(264, 25);
     this.paneltitle_left.TabIndex = 31;
     this.panelright.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelright.Controls.Add(this.panelwhite);
     this.panelright.Controls.Add(this.pictureBox_right);
     this.panelright.Controls.Add(this.panel_middle);
     this.panelright.Controls.Add(this.pictureBox_left);
     this.panelright.Controls.Add(this.panelcondition);
     this.panelright.Location = new Point(197, 65);
     this.panelright.Name = "panelright";
     this.panelright.Size = new Size(643, 512);
     this.panelright.TabIndex = 37;
     this.panelwhite.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.panelwhite.Controls.Add(this.panelbutton);
     this.panelwhite.Controls.Add(this.paneldatasum);
     this.panelwhite.Controls.Add(this.paneldata);
     this.panelwhite.Location = new Point(12, 147);
     this.panelwhite.Name = "panelwhite";
     this.panelwhite.Size = new Size(624, 354);
     this.panelwhite.TabIndex = 32;
     this.panelbutton.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panelbutton.Controls.Add(this.pictureBox_sum);
     this.panelbutton.Controls.Add(this.pictureBox_view);
     this.panelbutton.Controls.Add(this.pictureBox_sort);
     this.panelbutton.Controls.Add(this.pictureBox_filter);
     this.panelbutton.Location = new Point(4, 37);
     this.panelbutton.Name = "panelbutton";
     this.panelbutton.Size = new Size(603, 40);
     this.panelbutton.TabIndex = 30;
     this.pictureBox_sum.BackColor = Color.Transparent;
     this.pictureBox_sum.Cursor = Cursors.Hand;
     this.pictureBox_sum.Enabled = false;
     this.pictureBox_sum.Location = new Point(352, 9);
     this.pictureBox_sum.Name = "pictureBox_sum";
     this.pictureBox_sum.Size = new Size(65, 24);
     this.pictureBox_sum.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sum.TabIndex = 3;
     this.pictureBox_sum.TabStop = false;
     this.pictureBox_sum.Visible = false;
     this.pictureBox_view.BackColor = Color.Transparent;
     this.pictureBox_view.Cursor = Cursors.Hand;
     this.pictureBox_view.Enabled = false;
     this.pictureBox_view.Location = new Point(253, 9);
     this.pictureBox_view.Name = "pictureBox_view";
     this.pictureBox_view.Size = new Size(65, 24);
     this.pictureBox_view.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_view.TabIndex = 2;
     this.pictureBox_view.TabStop = false;
     this.pictureBox_view.Visible = false;
     this.pictureBox_sort.BackColor = Color.Transparent;
     this.pictureBox_sort.Cursor = Cursors.Hand;
     this.pictureBox_sort.Enabled = false;
     this.pictureBox_sort.Location = new Point(154, 9);
     this.pictureBox_sort.Name = "pictureBox_sort";
     this.pictureBox_sort.Size = new Size(65, 24);
     this.pictureBox_sort.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_sort.TabIndex = 1;
     this.pictureBox_sort.TabStop = false;
     this.pictureBox_sort.Visible = false;
     this.pictureBox_filter.BackColor = Color.Transparent;
     this.pictureBox_filter.Cursor = Cursors.Hand;
     this.pictureBox_filter.Location = new Point(55, 9);
     this.pictureBox_filter.Name = "pictureBox_filter";
     this.pictureBox_filter.Size = new Size(65, 24);
     this.pictureBox_filter.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_filter.TabIndex = 0;
     this.pictureBox_filter.TabStop = false;
     this.pictureBox_filter.Click += new EventHandler(this.pictureBox_filter_Click);
     this.paneldatasum.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.paneldatasum.Controls.Add(this.labeldatacount);
     this.paneldatasum.Location = new Point(4, 3);
     this.paneldatasum.Name = "paneldatasum";
     this.paneldatasum.Size = new Size(603, 28);
     this.paneldatasum.TabIndex = 29;
     this.labeldatacount.BackColor = Color.Transparent;
     this.labeldatacount.Font = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 134);
     this.labeldatacount.Location = new Point(41, 8);
     this.labeldatacount.Name = "labeldatacount";
     this.labeldatacount.Size = new Size(253, 14);
     this.labeldatacount.TabIndex = 0;
     this.pictureBox_right.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
     this.pictureBox_right.Location = new Point(598, 3);
     this.pictureBox_right.Name = "pictureBox_right";
     this.pictureBox_right.Size = new Size(38, 28);
     this.pictureBox_right.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_right.TabIndex = 31;
     this.pictureBox_right.TabStop = false;
     this.panel_middle.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel_middle.Controls.Add(this.label6);
     this.panel_middle.Location = new Point(69, 3);
     this.panel_middle.Name = "panel_middle";
     this.panel_middle.Size = new Size(336, 28);
     this.panel_middle.TabIndex = 30;
     this.label6.BackColor = Color.Transparent;
     this.label6.Font = new Font("宋体", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 134);
     this.label6.Location = new Point(41, 7);
     this.label6.Name = "label6";
     this.label6.Size = new Size(253, 14);
     this.label6.TabIndex = 1;
     this.label6.Text = "农药新命名规则";
     this.pictureBox_left.Location = new Point(0, 3);
     this.pictureBox_left.Name = "pictureBox_left";
     this.pictureBox_left.Size = new Size(17, 28);
     this.pictureBox_left.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox_left.TabIndex = 29;
     this.pictureBox_left.TabStop = false;
     base.AcceptButton = this.btnSearch;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(850, 589);
     base.Controls.Add(this.panelright);
     base.Controls.Add(this.paneltop_right);
     base.Controls.Add(this.paneltop_middle);
     base.Controls.Add(this.paneltop_left);
     base.Controls.Add(this.paneltitle_right);
     base.Controls.Add(this.paneltitle_middle);
     base.Controls.Add(this.paneltitle_left);
     base.Controls.Add(this.panelmenu);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "frmNewDJMC";
     base.ShowInTaskbar = false;
     this.Text = "农药新命名规则";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(this.frmNewDJMC_Load);
     base.Resize += new EventHandler(this.frmNewDJMC_Resize);
     this.panelcondition.ResumeLayout(false);
     this.panelcondition.PerformLayout();
     this.paneldata.ResumeLayout(false);
     ((ISupportInitialize)this.gridControl1).EndInit();
     ((ISupportInitialize)this.gridView1).EndInit();
     this.panelmenu.ResumeLayout(false);
     this.paneltitle_right.ResumeLayout(false);
     this.paneltitle_right.PerformLayout();
     ((ISupportInitialize)this.pictureBox3).EndInit();
     ((ISupportInitialize)this.pictureBox2).EndInit();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.panelright.ResumeLayout(false);
     this.panelright.PerformLayout();
     this.panelwhite.ResumeLayout(false);
     this.panelbutton.ResumeLayout(false);
     this.panelbutton.PerformLayout();
     ((ISupportInitialize)this.pictureBox_sum).EndInit();
     ((ISupportInitialize)this.pictureBox_view).EndInit();
     ((ISupportInitialize)this.pictureBox_sort).EndInit();
     ((ISupportInitialize)this.pictureBox_filter).EndInit();
     this.paneldatasum.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_right).EndInit();
     this.panel_middle.ResumeLayout(false);
     ((ISupportInitialize)this.pictureBox_left).EndInit();
     base.ResumeLayout(false);
 }