コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.vGridControl1 = new DevExpress.XtraVerticalGrid.VGridControl();
     this.editorRow1    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.editorRow2    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.categoryRow1  = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
     this.editorRow3    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).BeginInit();
     this.SuspendLayout();
     //
     // vGridControl1
     //
     this.vGridControl1.Location = new System.Drawing.Point(32, 24);
     this.vGridControl1.Name     = "vGridControl1";
     this.vGridControl1.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
         this.editorRow1,
         this.editorRow2,
         this.categoryRow1
     });
     this.vGridControl1.Size     = new System.Drawing.Size(280, 352);
     this.vGridControl1.TabIndex = 0;
     this.vGridControl1.CustomDrawRowHeaderCell += new DevExpress.XtraVerticalGrid.Events.CustomDrawRowHeaderCellEventHandler(this.vGridControl1_CustomDrawRowHeaderCell);
     //
     // editorRow1
     //
     this.editorRow1.Name = "editorRow1";
     this.editorRow1.Properties.Caption = "&TextEdit";
     //
     // editorRow2
     //
     this.editorRow2.Height = 16;
     this.editorRow2.Name   = "editorRow2";
     //
     // categoryRow1
     //
     this.categoryRow1.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
         this.editorRow3
     });
     this.categoryRow1.Name = "categoryRow1";
     //
     // editorRow3
     //
     this.editorRow3.Name = "editorRow3";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(728, 422);
     this.Controls.Add(this.vGridControl1);
     this.KeyPreview = true;
     this.Name       = "Form1";
     this.Text       = "Form1";
     this.KeyUp     += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyUp);
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #2
0
 private void AddRow(int pID, int rowType, string pName, object value, int wppID)
 {
     DevExpress.XtraVerticalGrid.Rows.EditorRow newRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     newRow.Properties.RowEdit = this.repositoryItemCheckEdit1;
     newRow.Name = pID.ToString();
     newRow.Properties.Caption = pName;
     newRow.Tag = wppID;
     newRow.Properties.Value = bool.Parse(value.ToString());
     vGridControl1.Rows.Add(newRow);
 }
コード例 #3
0
        private void AddRow(int pID, string pName, object value, DataTable ds)
        {
            DevExpress.XtraVerticalGrid.Rows.EditorRow newRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            //newRow.Properties.RowEdit = this.repositoryItemCheckEdit1;

            DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit leRI = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            leRI.ValueMember = "BeginINT"; leRI.DisplayMember = "Value";
            leRI.DataSource  = ds;
            //leRI.Columns[0].Visible = false; leRI.Columns[1].Caption = "Значение";
            newRow.Properties.RowEdit = leRI;

            newRow.Name = pID.ToString();
            newRow.Properties.Caption = pName;
            //newRow.Tag = wppID;
            com.setCommand("mGetAParams");
            com.AddParam(pID); com.AddParam(this.SystemID); com.AddParam(IDinSystem);
            com.ExecuteCommand();
            newRow.Properties.Value = com.getRetValue();
            vGridControl1.Rows.Add(newRow);
        }
コード例 #4
0
 /// <summary>
 /// �����֧������ķ��� - ��Ҫ
 /// ʹ�ô���༭���޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.panelControl = new DevExpress.XtraEditors.PanelControl();
     this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.tabPage = new DevExpress.XtraTab.XtraTabPage();
     this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl();
     this.ItemTextEditListName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditRemark = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.rowListName = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowRemark = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.btnOK = new DevExpress.XtraEditors.SimpleButton();
     this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit();
     this.panelControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.tabPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditListName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditRemark)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl
     //
     this.panelControl.Controls.Add(this.simpleButton1);
     this.panelControl.Controls.Add(this.xtraTabControl1);
     this.panelControl.Controls.Add(this.btnOK);
     this.panelControl.Controls.Add(this.btnCancel);
     this.panelControl.Location = new System.Drawing.Point(0, 0);
     this.panelControl.Name = "panelControl";
     this.panelControl.Size = new System.Drawing.Size(404, 142);
     this.panelControl.TabIndex = 0;
     this.panelControl.Text = "panelControl1";
     //
     // simpleButton1
     //
     this.simpleButton1.Location = new System.Drawing.Point(7, 112);
     this.simpleButton1.Name = "simpleButton1";
     this.simpleButton1.Size = new System.Drawing.Size(75, 23);
     this.simpleButton1.TabIndex = 3;
     this.simpleButton1.Text = "����ͼ��";
     this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.xtraTabControl1.Location = new System.Drawing.Point(7, 7);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.tabPage;
     this.xtraTabControl1.Size = new System.Drawing.Size(391, 100);
     this.xtraTabControl1.TabIndex = 1;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tabPage});
     this.xtraTabControl1.Text = "xtraTabControl1";
     //
     // tabPage
     //
     this.tabPage.Controls.Add(this.vGridControl);
     this.tabPage.Name = "tabPage";
     this.tabPage.Size = new System.Drawing.Size(387, 73);
     this.tabPage.Text = "����";
     //
     // vGridControl
     //
     this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.vGridControl.Location = new System.Drawing.Point(3, 3);
     this.vGridControl.Name = "vGridControl";
     this.vGridControl.RecordWidth = 234;
     this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.ItemTextEditListName,
     this.ItemTextEditRemark});
     this.vGridControl.RowHeaderWidth = 129;
     this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
     this.rowListName,
     this.rowRemark});
     this.vGridControl.Size = new System.Drawing.Size(378, 66);
     this.vGridControl.TabIndex = 0;
     //
     // ItemTextEditListName
     //
     this.ItemTextEditListName.AutoHeight = false;
     this.ItemTextEditListName.MaxLength = 100;
     this.ItemTextEditListName.Name = "ItemTextEditListName";
     //
     // ItemTextEditRemark
     //
     this.ItemTextEditRemark.AutoHeight = false;
     this.ItemTextEditRemark.MaxLength = 300;
     this.ItemTextEditRemark.Name = "ItemTextEditRemark";
     //
     // rowListName
     //
     this.rowListName.Height = 25;
     this.rowListName.Name = "rowListName";
     this.rowListName.Properties.Caption = "��������";
     this.rowListName.Properties.FieldName = "ListName";
     this.rowListName.Properties.ImageIndex = 25;
     this.rowListName.Properties.RowEdit = this.ItemTextEditListName;
     //
     // rowRemark
     //
     this.rowRemark.Height = 25;
     this.rowRemark.Name = "rowRemark";
     this.rowRemark.Properties.Caption = "��ע";
     this.rowRemark.Properties.FieldName = "Remark";
     this.rowRemark.Properties.ImageIndex = 25;
     this.rowRemark.Properties.RowEdit = this.ItemTextEditRemark;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(208, 113);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 0;
     this.btnOK.Text = "ȷ��";
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(312, 113);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 0;
     this.btnCancel.Text = "ȡ��";
     //
     // FrmLayoutListDialog
     //
     this.AcceptButton = this.btnOK;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.btnCancel;
     this.ClientSize = new System.Drawing.Size(402, 139);
     this.Controls.Add(this.panelControl);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmLayoutListDialog";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "����";
     this.Load += new System.EventHandler(this.FrmLayoutListDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit();
     this.panelControl.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.tabPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditListName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditRemark)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #5
0
        private void FormForecastCalcTX_Load(object sender, EventArgs e)
        {
            #region ������չʵ��

            ArrayList al = new ArrayList();
            IList<Base_Data> li1 = Common.Services.BaseService.GetStrongList<Base_Data>();
            foreach (Base_Data bd in li1)
                al.Add(bd.Title);

            Ps_History psp_Type1 = new Ps_History();
            psp_Type1.Forecast = 1;
            psp_Type1.Col4 = Itop.Client.MIS.ProgUID;
            IList<Ps_History> listTypes1 = Common.Services.BaseService.GetList<Ps_History>("SelectPs_HistoryByForecast", psp_Type1);

            for (int c = 0; c < al.Count; c++)
            {
                bool bl = true;
                foreach (Ps_History ph in listTypes1)
                {
                    if (al[c].ToString() == ph.Title)
                        bl = false;
                }
                if (bl)
                {
                    Ps_History pf = new Ps_History();
                    pf.ID = Guid.NewGuid().ToString() + "|" + Itop.Client.MIS.ProgUID;
                    pf.Forecast = 1;
                    pf.ForecastID = "1";
                    pf.Title = al[c].ToString();
                    pf.Col4 = Itop.Client.MIS.ProgUID;
                    Services.BaseService.Create<Ps_History>(pf);
                    listTypes1.Add(pf);
                }
            }

            Ps_YearRange py = new Ps_YearRange();
            py.Col4 = "������չʵ��";
            py.Col5 = Itop.Client.MIS.ProgUID;

            IList<Ps_YearRange> li2 = Services.BaseService.GetList<Ps_YearRange>("SelectPs_YearRangeByCol5andCol4", py);
            if (li2.Count > 0)
            {
                firstyear1 = li2[0].StartYear;
                endyear1 = li2[0].FinishYear;
            }

            Ps_History psp_Type = new Ps_History();
            psp_Type.Forecast = 1;
            psp_Type.Col4 = Itop.Client.MIS.ProgUID;
            IList<Ps_History> listTypes = Common.Services.BaseService.GetList<Ps_History>("SelectPs_HistoryByForecast", psp_Type);
            DataTable dataTable = Itop.Common.DataConverter.ToDataTable((IList)listTypes, typeof(Ps_History));
            DataRow[] rows1 = dataTable.Select("Title='ȫ����GDP����Ԫ��'");
            DataRow[] rows4 = dataTable.Select("Title='ȫ����õ�������kWh��'");

            #endregion

            Ps_Forecast_Setup pfs = new Ps_Forecast_Setup();
            pfs.Forecast = type;
            pfs.ForecastID = forecastReport.ID;

            //IList<Ps_Forecast_Setup> li = Services.BaseService.GetList<Ps_Forecast_Setup>("SelectPs_Forecast_SetupByForecast", pfs);

            //if (li.Count != 0)
            //{
            //    firstyear = li[0].StartYear;
            //    endyear = li[0].EndYear;
            //}

            Ps_Calc pcs = new Ps_Calc();
            pcs.Forecast = type;
            pcs.ForecastID = forecastReport.ID;
            list1 = Services.BaseService.GetList<Ps_Calc>("SelectPs_CalcByForecast", pcs);

            HideToolBarButton();

            dt = new DataTable();
            dt.Columns.Add("ID");
            dt.Columns.Add("Name");

            newrow1 = dt.NewRow();
            newrow1["ID"] = "ID";
            newrow1["Name"] = "����ϵ��";
            newrow2 = dt.NewRow();
            newrow2["Name"] = "GDP������";

            for (int i = firstyear; i <= forecastReport.EndYear; i++)
            {
                dt.Columns.Add(i.ToString(), typeof(double));
                DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                editorRow.Properties.FieldName = i.ToString().Trim();
                editorRow.Properties.Caption =i.ToString().Trim();
                editorRow.Height = 20;
                editorRow.Properties.RowEdit = this.repositoryItemCalcEdit4;
                this.vGridControl2.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });

                double s1 = 0;
                double s2 = 0;
                double s3 = 0;
                double s4 = 0;
                double s5 = 0;
                double s6 = 0;
                double s7 = 0;
                try { s1 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s2 = Convert.ToDouble(rows1[0]["y" + (i-1)]); }
                catch { }

                try { s3 = Convert.ToDouble(rows4[0]["y" + i]); }
                catch { }
                try { s4 = Convert.ToDouble(rows4[0]["y" + (i - 1)]); }
                catch { }

                if (s2 != 0)
                    s5 = (s1 - s2) / s2;

                if (s4 != 0)
                    s6 = (s3 - s4) / s4;

                if (s5 != 0)
                    s7 = s6 / s5;

                newrow1[i.ToString()] = Math.Round(s7,3);
                newrow2[i.ToString()] =Math.Round( s5,3);

                foreach (Ps_Calc pcs2 in list1)
                {
                    if (i == pcs2.Year)
                    {
                        newrow1[i.ToString()] = Math.Round(pcs2.Value1,3);
                        newrow2[i.ToString()] = Math.Round(pcs2.Value2,3);

                    }
                }

            }
            dt.Rows.Add(newrow1);
            dt.Rows.Add(newrow2);

            vGridControl2.DataSource = dt;
        }
コード例 #6
0
        private void FormCalculator_Load(object sender, EventArgs e)
        {
            HideToolBarButton();
            #region 年平均s
            dt = new DataTable();
            dt.Columns.Add("Name");
            //MessageBox.Show("1");
            foreach (DataRow dataRow in dataTable.Rows)
            {
                TreeListNode treeNode = treeList1.FindNodeByKeyID(dataRow["ID"]);
                if (treeNode != null && !treeNode.HasChildren)
                {
                    dt.Columns.Add(dataRow["Title"].ToString().Trim(), typeof(double));
                    DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                    editorRow.Properties.FieldName = dataRow["Title"].ToString().Trim();
                    editorRow.Properties.Caption   = dataRow["Title"].ToString().Trim();
                    editorRow.Height             = 20;
                    editorRow.Properties.RowEdit = this.repositoryItemCalcEdit4;
                    this.vGridControl2.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });
                }
            }
            DataRow newrow1 = dt.NewRow();
            newrow1["Name"] = "历史增长率";
            foreach (DataRow dataRow in dataTable.Rows)
            {
                TreeListNode treeNode = treeList1.FindNodeByKeyID(dataRow["ID"]);
                if (treeNode != null && !treeNode.HasChildren)
                {
                    int      forecastYears = forecastReport.EndYear - forecastReport.StartYear;
                    double[] historyValues = GenerateHistoryValue(treeNode);
                    newrow1[dataRow["Title"].ToString().Trim()] = Calculator.AverageIncreasing(historyValues);
                }
            }


            dt.Rows.Add(newrow1);
            newrow2 = dt.NewRow();
            dt.Rows.Add(newrow2);
            newrow2["Name"] = "当前增长率";

            vGridControl2.DataSource = dt;



            IList <PSP_Calc> list = Services.BaseService.GetList <PSP_Calc>("SelectPSP_CalcByFlag", type);

            if (list.Count == 0)
            {
                pc.ID     = Guid.NewGuid().ToString();
                pc.Flag   = type;
                pc.Col1   = "";
                pc.Value1 = 3;
                pc.Value2 = 0.4;

                Services.BaseService.Create <PSP_Calc>(pc);
            }
            else
            {
                pc = list[0];
            }

            spinEdit1.Value = Convert.ToDecimal(pc.Value1);
            spinEdit2.Value = Convert.ToDecimal(pc.Value2);
            //textEdit1.Text = pc.Value2.ToString();



            IList <PSP_Calc> list1 = Services.BaseService.GetList <PSP_Calc>("SelectPSP_CalcByFlag1", type);
            if (list1.Count == 0)
            {
                pc1.ID   = Guid.NewGuid().ToString();
                pc1.Flag = type;
                pc1.Col1 = "1";

                int i = 1;
                foreach (DataColumn dc in dt.Columns)
                {
                    if (dc.ColumnName == "Name")
                    {
                        continue;
                    }

                    double value = 0;
                    try
                    {
                        value = Convert.ToDouble(newrow1[dc].ToString());
                    }
                    catch (Exception ex)
                    {
                        System.Console.WriteLine(ex.Message);
                    }

                    pc1.GetType().GetProperty("Value" + i.ToString()).SetValue(pc1, value, null);
                    newrow2[dc] = value;
                    i++;
                }



                Services.BaseService.Create <PSP_Calc>(pc1);
            }
            else
            {
                pc1 = list1[0];

                int i = 1;
                foreach (DataColumn dc in dt.Columns)
                {
                    if (dc.ColumnName == "Name")
                    {
                        continue;
                    }

                    double value = 0;
                    try
                    {
                        value = (double)pc1.GetType().GetProperty("Value" + i.ToString()).GetValue(pc1, null);
                    }
                    catch (Exception ex)
                    {
                        System.Console.WriteLine(ex.Message);
                    }
                    newrow2[dc] = value;
                    i++;
                }
            }

            #endregion

            string str11 = " Flag='" + type + "' and Type='弹性系数'";
            IList <PSP_Calc_Spring> list2 = Services.BaseService.GetList <PSP_Calc_Spring>("SelectPSP_Calc_SpringByWhere", str11);
            int years = forecastReport.EndYear - forecastReport.StartYear;
            for (int i = 1; i <= years; i++)
            {
                bool bl = false;
                foreach (PSP_Calc_Spring pcs in list2)
                {
                    if ((forecastReport.StartYear + i).ToString() == pcs.Name)
                    {
                        bl = true;
                    }
                }
                if (!bl)
                {
                    PSP_Calc_Spring pcss = new PSP_Calc_Spring();
                    pcss.ID     = Guid.NewGuid().ToString();
                    pcss.Name   = (forecastReport.StartYear + i).ToString();
                    pcss.Value1 = 0;
                    pcss.Value2 = 0;
                    pcss.Flag   = type;
                    pcss.Type   = "弹性系数";
                    Services.BaseService.Create <PSP_Calc_Spring>(pcss);
                    list2.Add(pcss);
                }
            }

            Hashtable htt1 = new Hashtable();

            for (int i = 0; i < forecastReport.HistoryYears; i++)
            {
                double          value1 = 0.0;
                double          value2 = 0.0;
                double          value3 = 0.0;
                double          value4 = 0.0;
                double          value5 = 0.0;
                int             yeara  = forecastReport.StartYear - forecastReport.HistoryYears + i + 1;
                PSP_Calc_Spring pcss   = new PSP_Calc_Spring();
                pcss.ID = Guid.NewGuid().ToString();

                pcss.Name = yeara.ToString();
                pcss.Flag = type;
                string             str = " TypeID=1 and Year=" + (yeara - 1);
                IList <PSP_Values> pg  = Services.BaseService.GetList <PSP_Values>("SelectPSP_ValuesByWhere", str);
                if (pg.Count > 0)
                {
                    value3 = pg[0].Value;
                }

                str = " TypeID=1 and Year=" + yeara;
                IList <PSP_Values> pg1 = Services.BaseService.GetList <PSP_Values>("SelectPSP_ValuesByWhere", str);
                if (pg1.Count > 0)
                {
                    value5 = pg1[0].Value;
                }
                pcss.Value2 = (value5 - value3) / value3;


                str = " TypeID=2 and Year=" + (yeara - 1);
                IList <PSP_Values> pv1 = Services.BaseService.GetList <PSP_Values>("SelectPSP_ValuesByWhere", str);
                if (pv1.Count > 0)
                {
                    value1 = pv1[0].Value;
                }

                str = " TypeID=2 and Year=" + yeara;
                IList <PSP_Values> pv2 = Services.BaseService.GetList <PSP_Values>("SelectPSP_ValuesByWhere", str);
                if (pv2.Count > 0)
                {
                    value2 = pv2[0].Value;
                }

                if (value1 != 0 && value3 != 0)
                {
                    value4 = (value2 - value1) / (value1 * (value5 - value3) / value3);
                }

                pcss.Value1 = value4;


                list2.Add(pcss);
            }

            gridControl1.DataSource = list2;



            ////////string str12 = " Flag='" + type + "' and Type='专家指定'";
            ////////IList<PSP_Calc_Spring> list3 = Services.BaseService.GetList<PSP_Calc_Spring>("SelectPSP_Calc_SpringByWhere", str12);
            ////////int years1 = forecastReport.EndYear - forecastReport.StartYear;
            ////////for (int i = 1; i <= years1; i++)
            ////////{
            ////////    bool bl = false;
            ////////    foreach (PSP_Calc_Spring pcs in list3)
            ////////    {
            ////////        if ((forecastReport.StartYear + i).ToString() == pcs.Name)
            ////////        {
            ////////            bl = true;
            ////////        }
            ////////    }
            ////////    if (!bl)
            ////////    {
            ////////        PSP_Calc_Spring pcss = new PSP_Calc_Spring();
            ////////        pcss.ID = Guid.NewGuid().ToString();
            ////////        pcss.Name = (forecastReport.StartYear + i).ToString();
            ////////        pcss.Value1 = 0;
            ////////        pcss.Value2 = 0;
            ////////        pcss.Flag = type;
            ////////        pcss.Type = "专家指定";
            ////////        Services.BaseService.Create<PSP_Calc_Spring>(pcss);
            ////////        list3.Add(pcss);
            ////////    }
            ////////}
            ////////gridControl2.DataSource = list3;
        }
コード例 #7
0
        private void FormCalculator_Load(object sender, EventArgs e)
        {
            HideToolBarButton();
            #region ��ƽ��s
            dt = new DataTable();
            dt.Columns.Add("Name");
            //MessageBox.Show("1");
            foreach (DataRow dataRow in dataTable.Rows)
            {
                TreeListNode treeNode = treeList1.FindNodeByKeyID(dataRow["ID"]);
                if (treeNode != null && !treeNode.HasChildren)
                {
                        dt.Columns.Add(dataRow["Title"].ToString().Trim(), typeof(double));
                        DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                        editorRow.Properties.FieldName = dataRow["Title"].ToString().Trim();
                        editorRow.Properties.Caption = dataRow["Title"].ToString().Trim();
                        editorRow.Height = 20;
                        editorRow.Properties.RowEdit = this.repositoryItemCalcEdit4;
                        this.vGridControl2.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });
                }
            }
            DataRow newrow1 = dt.NewRow();
            newrow1["Name"] = "��ʷ������";
            foreach (DataRow dataRow in dataTable.Rows)
            {
                TreeListNode treeNode = treeList1.FindNodeByKeyID(dataRow["ID"]);
                if (treeNode != null && !treeNode.HasChildren)
                {
                    int forecastYears = forecastReport.EndYear - forecastReport.StartYear;
                    double[] historyValues = GenerateHistoryValue(treeNode);
                    newrow1[dataRow["Title"].ToString().Trim()] = Calculator.AverageIncreasing(historyValues);
                }
            }

            dt.Rows.Add(newrow1);
            newrow2 = dt.NewRow();
            dt.Rows.Add(newrow2);
            newrow2["Name"] = "��ǰ������";

            vGridControl2.DataSource = dt;

            IList<PSP_Calc> list = Services.BaseService.GetList<PSP_Calc>("SelectPSP_CalcByFlag", type);

            if (list.Count == 0)
            {
                pc.ID = Guid.NewGuid().ToString();
                pc.Flag = type;
                pc.Col1 = "";
                pc.Value1 = 3;
                pc.Value2 = 0.4;

                Services.BaseService.Create<PSP_Calc>(pc);
            }
            else
                pc = list[0];

            spinEdit1.Value = Convert.ToDecimal(pc.Value1);
            spinEdit2.Value = Convert.ToDecimal(pc.Value2);
            //textEdit1.Text = pc.Value2.ToString();

            IList<PSP_Calc> list1 = Services.BaseService.GetList<PSP_Calc>("SelectPSP_CalcByFlag1", type);
            if (list1.Count == 0)
            {
                pc1.ID = Guid.NewGuid().ToString();
                pc1.Flag = type;
                pc1.Col1 = "1";

                int i = 1;
                foreach (DataColumn dc in dt.Columns)
                {
                    if (dc.ColumnName == "Name")
                        continue;

                    double value = 0;
                    try
                    {
                        value = Convert.ToDouble(newrow1[dc].ToString());
                    }
                    catch (Exception ex)
                    {
                        System.Console.WriteLine(ex.Message);
                    }

                    pc1.GetType().GetProperty("Value" + i.ToString()).SetValue(pc1, value, null);
                    newrow2[dc] = value;
                    i++;
                }

                Services.BaseService.Create<PSP_Calc>(pc1);
            }
            else
            {
                pc1 = list1[0];

                int i = 1;
                foreach (DataColumn dc in dt.Columns)
                {
                    if (dc.ColumnName == "Name")
                        continue;

                    double value = 0;
                    try
                    {
                        value = (double)pc1.GetType().GetProperty("Value" + i.ToString()).GetValue(pc1, null);
                    }
                    catch (Exception ex)
                    {
                        System.Console.WriteLine(ex.Message);
                    }
                    newrow2[dc] = value;
                    i++;
                }

            }

            #endregion

            string str11 = " Flag='" + type + "' and Type='����ϵ��'";
            IList<PSP_Calc_Spring> list2 = Services.BaseService.GetList<PSP_Calc_Spring>("SelectPSP_Calc_SpringByWhere", str11);
            int years = forecastReport.EndYear - forecastReport.StartYear;
            for (int i = 1; i <= years; i++)
            {
                bool bl = false;
                foreach (PSP_Calc_Spring pcs in list2)
                {
                    if ((forecastReport.StartYear + i).ToString() == pcs.Name)
                    {
                        bl = true;
                    }
                }
                if (!bl)
                {
                    PSP_Calc_Spring pcss = new PSP_Calc_Spring();
                    pcss.ID = Guid.NewGuid().ToString();
                    pcss.Name = (forecastReport.StartYear + i).ToString();
                    pcss.Value1 = 0;
                    pcss.Value2 = 0;
                    pcss.Flag = type;
                    pcss.Type = "����ϵ��";
                    Services.BaseService.Create<PSP_Calc_Spring>(pcss);
                    list2.Add(pcss);
                }
            }

            Hashtable htt1 = new Hashtable();

            for (int i = 0; i < forecastReport.HistoryYears; i++)
            {
                double value1 = 0.0;
                double value2 = 0.0;
                double value3 = 0.0;
                double value4 = 0.0;
                double value5 = 0.0;
                int yeara=forecastReport.StartYear - forecastReport.HistoryYears + i + 1;
                PSP_Calc_Spring pcss = new PSP_Calc_Spring();
                pcss.ID = Guid.NewGuid().ToString();

                pcss.Name = yeara.ToString();
                pcss.Flag = type;
                string str = " TypeID=1 and Year=" + (yeara-1);
                IList<PSP_Values> pg = Services.BaseService.GetList<PSP_Values>("SelectPSP_ValuesByWhere", str);
                if (pg.Count > 0)
                    value3 = pg[0].Value;

                str = " TypeID=1 and Year=" + yeara;
                IList<PSP_Values> pg1 = Services.BaseService.GetList<PSP_Values>("SelectPSP_ValuesByWhere", str);
                if (pg1.Count > 0)
                    value5 = pg1[0].Value;
                pcss.Value2 = (value5 - value3) / value3;

                 str = " TypeID=2 and Year=" + (yeara-1);
                IList<PSP_Values> pv1 = Services.BaseService.GetList<PSP_Values>("SelectPSP_ValuesByWhere", str);
                if (pv1.Count > 0)
                    value1 = pv1[0].Value;

                str = " TypeID=2 and Year=" + yeara;
                IList<PSP_Values> pv2 = Services.BaseService.GetList<PSP_Values>("SelectPSP_ValuesByWhere", str);
                if (pv2.Count > 0)
                    value2 = pv2[0].Value;

                if (value1 != 0 && value3 != 0)
                {
                    value4 = (value2 - value1) / (value1 * (value5 - value3) / value3);
                }

                pcss.Value1 = value4;

                list2.Add(pcss);
            }

            gridControl1.DataSource = list2;

            ////////string str12 = " Flag='" + type + "' and Type='ר��ָ��'";
            ////////IList<PSP_Calc_Spring> list3 = Services.BaseService.GetList<PSP_Calc_Spring>("SelectPSP_Calc_SpringByWhere", str12);
            ////////int years1 = forecastReport.EndYear - forecastReport.StartYear;
            ////////for (int i = 1; i <= years1; i++)
            ////////{
            ////////    bool bl = false;
            ////////    foreach (PSP_Calc_Spring pcs in list3)
            ////////    {
            ////////        if ((forecastReport.StartYear + i).ToString() == pcs.Name)
            ////////        {
            ////////            bl = true;
            ////////        }
            ////////    }
            ////////    if (!bl)
            ////////    {
            ////////        PSP_Calc_Spring pcss = new PSP_Calc_Spring();
            ////////        pcss.ID = Guid.NewGuid().ToString();
            ////////        pcss.Name = (forecastReport.StartYear + i).ToString();
            ////////        pcss.Value1 = 0;
            ////////        pcss.Value2 = 0;
            ////////        pcss.Flag = type;
            ////////        pcss.Type = "ר��ָ��";
            ////////        Services.BaseService.Create<PSP_Calc_Spring>(pcss);
            ////////        list3.Add(pcss);
            ////////    }
            ////////}
            ////////gridControl2.DataSource = list3;
        }
コード例 #8
0
ファイル: FormSetGDP2.cs プロジェクト: EdgarEDT/myitoppsp
        private void LoadData()
        {
            string sql = " ForecastID='" + forecastReport.ID + "' and Forecast=" + type + " and Col1='dc' and Col2='GDP'";

            IList listTypes = Common.Services.BaseService.GetList("SelectPs_Forecast_MathByWhere", sql);

            DataTable   dataTable = Itop.Common.DataConverter.ToDataTable(listTypes, typeof(Ps_Forecast_Math));
            DataRow[] rows1 = dataTable.Select("Title like '一产'");
            DataRow[] rows2 = dataTable.Select("Title like '二产'");
            DataRow[] rows3 = dataTable.Select("Title like '三产'");

            if (rows1.Length == 0 || rows2.Length == 0 || rows3.Length == 0)
            {
                MessageBox.Show("缺少‘GDP’数据!( 一产、二产、三产)");
                this.Close();
                return;
            }

            Ps_Calc pcs = new Ps_Calc();
            pcs.Forecast = type;
            pcs.ForecastID = forecastReport.ID;
            list1 = Services.BaseService.GetList<Ps_Calc>("SelectPs_CalcByForecast", pcs);

            dt.Columns.Add("ID");
            dt.Columns.Add("Name");
            newrow1 =  dt.NewRow();
            newrow2= dt.NewRow();
            newrow3 = dt.NewRow();

            newrow1["ID"] = "ID";
            newrow1["Name"] = "一产增长率(%)";
            newrow2["Name"] = "二产增长率(%)";
            newrow3["Name"] = "三产增长率(%)";

            for (int i = forecastReport.YcStartYear; i <= forecastReport.YcEndYear; i++)
            {
                dt.Columns.Add(i.ToString(), typeof(double));
                DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                editorRow.Properties.FieldName = i.ToString().Trim();
                editorRow.Properties.Caption =i.ToString().Trim();
                editorRow.Height = 20;
                editorRow.Properties.RowEdit = this.repositoryItemCalcEdit1;
                this.vGridControl1.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });

                double s1 = 0;
                double s2 = 0;
                double s3 = 0;

                double s4 = 0;
                double s5 = 0;
                double s6 = 0;

                double s7 = 0;
                double s8 = 0;
                double s9 = 0;

                try { s1 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s2 = Convert.ToDouble(rows1[0]["y" + (i-1)]); }
                catch { }
                if (s2 != 0)
                    s3 = (s1 - s2) / s2;
                newrow1[i.ToString()] =Math.Round( s3*100,3);

                try { s4 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s5 = Convert.ToDouble(rows1[0]["y" + (i - 1)]); }
                catch { }
                if (s5 != 0)
                    s6= (s4 - s5) / s5;
                newrow2[i.ToString()] = Math.Round(s6 * 100, 3);

                try { s7 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s8 = Convert.ToDouble(rows1[0]["y" + (i - 1)]); }
                catch { }
                if (s8 != 0)
                    s9 = (s7 - s8) / s8;
                newrow3[i.ToString()] = Math.Round(s9 * 100, 3);

                foreach (Ps_Calc pcs1 in list1)
                {
                    if (i == pcs1.Year)
                    {
                        newrow1[i.ToString()] = Math.Round(pcs1.Value1 * 100, 3);
                        newrow2[i.ToString()] = Math.Round(pcs1.Value2 * 100, 3);
                        newrow3[i.ToString()] = Math.Round(pcs1.Value3 * 100, 3);

                    }
                }
            }
            dt.Rows.Add(newrow1);
            dt.Rows.Add(newrow2);
            dt.Rows.Add(newrow3);
            vGridControl1.DataSource = dt;
        }
コード例 #9
0
        private void FormForecastCalc4_Load(object sender, EventArgs e)
        {
            #region 电力发展实绩



            Ps_YearRange py = new Ps_YearRange();
            py.Col4 = "电力发展实绩经济";
            py.Col5 = Itop.Client.MIS.ProgUID;

            IList <Ps_YearRange> li2 = Services.BaseService.GetList <Ps_YearRange>("SelectPs_YearRangeByCol5andCol4", py);
            if (li2.Count > 0)
            {
                firstyear1 = li2[0].StartYear;
                endyear1   = li2[0].FinishYear;
            }
            //新经济数据
            //Ps_History psp_Type = new Ps_History();
            //psp_Type.Forecast = 5;
            //psp_Type.Col4 = Itop.Client.MIS.ProgUID;
            //IList<Ps_History> listTypes = Common.Services.BaseService.GetList<Ps_History>("SelectPs_HistoryByForecast", psp_Type);
            //DataTable dataTable = Itop.Common.DataConverter.ToDataTable((IList)listTypes, typeof(Ps_History));
            //DataRow[] rows1 = dataTable.Select("Title like '全地区GDP%'");


            Ps_Forecast_Math psp_Type = new Ps_Forecast_Math();
            psp_Type.ForecastID = forecastReport.ID;
            psp_Type.Forecast   = type;
            IList listTypes = Common.Services.BaseService.GetList("SelectPs_Forecast_MathByForecastIDAndForecast", psp_Type);

            dataTable = Itop.Common.DataConverter.ToDataTable(listTypes, typeof(Ps_Forecast_Math));
            DataRow[] rows1 = dataTable.Select("Title like '全地区GDP%'");

            DataRow[] rows4 = dataTable.Select("Title like '全社会用电量%'");


            //新电量数据
            //Ps_History psp_Type2 = new Ps_History();
            //psp_Type2.Forecast = 6;
            //psp_Type2.Col4 = Itop.Client.MIS.ProgUID;
            //IList<Ps_History> listTypes2 = Common.Services.BaseService.GetList<Ps_History>("SelectPs_HistoryByForecast", psp_Type2);
            //DataTable dataTable2 = Itop.Common.DataConverter.ToDataTable((IList)listTypes2, typeof(Ps_History));
            //DataRow[] rows4 = dataTable2.Select("Title like '全社会用电量%'");


            if (rows1.Length == 0)
            {
                MessageBox.Show("缺少‘全地区GDP’数据!");
                this.Close();
                return;
            }


            if (rows4.Length == 0)
            {
                MessageBox.Show("电量数据中缺少‘全社会用电量’数据!");
                this.Close();
                return;
            }

            #endregion


            Ps_Forecast_Setup pfs = new Ps_Forecast_Setup();
            pfs.Forecast   = type;
            pfs.ForecastID = forecastReport.ID;

            IList <Ps_Forecast_Setup> li = Services.BaseService.GetList <Ps_Forecast_Setup>("SelectPs_Forecast_SetupByForecast", pfs);

            if (li.Count != 0)
            {
                firstyear = li[0].StartYear;
                endyear   = li[0].EndYear;
            }



            Ps_Calc pcs = new Ps_Calc();
            pcs.Forecast   = type;
            pcs.ForecastID = forecastReport.ID;
            list1          = Services.BaseService.GetList <Ps_Calc>("SelectPs_CalcByForecast", pcs);



            HideToolBarButton();

            dt = new DataTable();
            dt.Columns.Add("ID");
            dt.Columns.Add("Name");

            newrow1         = dt.NewRow();
            newrow1["ID"]   = "ID";
            newrow1["Name"] = "弹性系数";
            //newrow2 = dt.NewRow();
            //newrow2["Name"] = "GDP增长率";

            for (int i = firstyear; i <= forecastReport.YcEndYear; i++)
            {
                dt.Columns.Add(i.ToString(), typeof(double));
                DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                editorRow.Properties.FieldName = i.ToString().Trim();
                editorRow.Properties.Caption   = i.ToString().Trim();
                editorRow.Height             = 20;
                editorRow.Properties.RowEdit = this.repositoryItemCalcEdit4;
                this.vGridControl2.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });


                double s1 = 0;
                double s2 = 0;
                double s3 = 0;
                double s4 = 0;
                double s5 = 0;
                double s6 = 0;
                double s7 = 0;
                try { s1 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s2 = Convert.ToDouble(rows1[0]["y" + (i - 1)]); }
                catch { }

                try { s3 = Convert.ToDouble(rows4[0]["y" + i]); }
                catch { }
                try { s4 = Convert.ToDouble(rows4[0]["y" + (i - 1)]); }
                catch { }

                if (s2 != 0)
                {
                    s5 = (s1 - s2) / s2;
                }

                if (s4 != 0)
                {
                    s6 = (s3 - s4) / s4;
                }

                if (s5 != 0)
                {
                    s7 = s6 / s5;
                }

                newrow1[i.ToString()] = Math.Round(s7, 3);
                //newrow2[i.ToString()] =Math.Round( s5,3);

                if (i >= forecastReport.YcStartYear)
                {
                    foreach (Ps_Calc pcs2 in list1)
                    {
                        if (i == pcs2.Year)
                        {
                            newrow1[i.ToString()] = Math.Round(pcs2.Value1, 3);
                        }
                    }
                }
            }
            dt.Rows.Add(newrow1);
            //dt.Rows.Add(newrow2);
            //       gridControl1.DataSource = dt;

            vGridControl2.DataSource = dt;
        }
コード例 #10
0
        private void LoadData()
        {
            string sql = " ForecastID='" + forecastReport.ID + "' and Forecast=" + type + " and Col1='dc' and Col2='GDP'";

            IList listTypes = Common.Services.BaseService.GetList("SelectPs_Forecast_MathByWhere", sql);

            DataTable dataTable = Itop.Common.DataConverter.ToDataTable(listTypes, typeof(Ps_Forecast_Math));

            DataRow[] rows1 = dataTable.Select("Title like '一产'");
            DataRow[] rows2 = dataTable.Select("Title like '二产'");
            DataRow[] rows3 = dataTable.Select("Title like '三产'");

            if (rows1.Length == 0 || rows2.Length == 0 || rows3.Length == 0)
            {
                MessageBox.Show("缺少‘GDP’数据!( 一产、二产、三产)");
                this.Close();
                return;
            }


            Ps_Calc pcs = new Ps_Calc();

            pcs.Forecast   = type;
            pcs.ForecastID = forecastReport.ID;
            list1          = Services.BaseService.GetList <Ps_Calc>("SelectPs_CalcByForecast", pcs);


            dt.Columns.Add("ID");
            dt.Columns.Add("Name");
            newrow1 = dt.NewRow();
            newrow2 = dt.NewRow();
            newrow3 = dt.NewRow();

            newrow1["ID"]   = "ID";
            newrow1["Name"] = "一产增长率(%)";
            newrow2["Name"] = "二产增长率(%)";
            newrow3["Name"] = "三产增长率(%)";



            for (int i = forecastReport.YcStartYear; i <= forecastReport.YcEndYear; i++)
            {
                dt.Columns.Add(i.ToString(), typeof(double));
                DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                editorRow.Properties.FieldName = i.ToString().Trim();
                editorRow.Properties.Caption   = i.ToString().Trim();
                editorRow.Height             = 20;
                editorRow.Properties.RowEdit = this.repositoryItemCalcEdit1;
                this.vGridControl1.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });


                double s1 = 0;
                double s2 = 0;
                double s3 = 0;

                double s4 = 0;
                double s5 = 0;
                double s6 = 0;


                double s7 = 0;
                double s8 = 0;
                double s9 = 0;


                try { s1 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s2 = Convert.ToDouble(rows1[0]["y" + (i - 1)]); }
                catch { }
                if (s2 != 0)
                {
                    s3 = (s1 - s2) / s2;
                }
                newrow1[i.ToString()] = Math.Round(s3 * 100, 3);


                try { s4 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s5 = Convert.ToDouble(rows1[0]["y" + (i - 1)]); }
                catch { }
                if (s5 != 0)
                {
                    s6 = (s4 - s5) / s5;
                }
                newrow2[i.ToString()] = Math.Round(s6 * 100, 3);

                try { s7 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s8 = Convert.ToDouble(rows1[0]["y" + (i - 1)]); }
                catch { }
                if (s8 != 0)
                {
                    s9 = (s7 - s8) / s8;
                }
                newrow3[i.ToString()] = Math.Round(s9 * 100, 3);

                foreach (Ps_Calc pcs1 in list1)
                {
                    if (i == pcs1.Year)
                    {
                        newrow1[i.ToString()] = Math.Round(pcs1.Value1 * 100, 3);
                        newrow2[i.ToString()] = Math.Round(pcs1.Value2 * 100, 3);
                        newrow3[i.ToString()] = Math.Round(pcs1.Value3 * 100, 3);
                    }
                }
            }
            dt.Rows.Add(newrow1);
            dt.Rows.Add(newrow2);
            dt.Rows.Add(newrow3);
            vGridControl1.DataSource = dt;
        }
コード例 #11
0
        private void FormForecastCalc4_Load(object sender, EventArgs e)
        {
            #region ������չʵ��

            Ps_YearRange py = new Ps_YearRange();
            py.Col4 = "������չʵ������";
            py.Col5 = Itop.Client.MIS.ProgUID;

            IList<Ps_YearRange> li2 = Services.BaseService.GetList<Ps_YearRange>("SelectPs_YearRangeByCol5andCol4", py);
            if (li2.Count > 0)
            {
                firstyear1 = li2[0].StartYear;
                endyear1 = li2[0].FinishYear;
            }
            //�¾�������
            //Ps_History psp_Type = new Ps_History();
            //psp_Type.Forecast = 5;
            //psp_Type.Col4 = Itop.Client.MIS.ProgUID;
            //IList<Ps_History> listTypes = Common.Services.BaseService.GetList<Ps_History>("SelectPs_HistoryByForecast", psp_Type);
            //DataTable dataTable = Itop.Common.DataConverter.ToDataTable((IList)listTypes, typeof(Ps_History));
            //DataRow[] rows1 = dataTable.Select("Title like 'ȫ����GDP%'");

            Ps_Forecast_Math psp_Type = new Ps_Forecast_Math();
            psp_Type.ForecastID = forecastReport.ID;
            psp_Type.Forecast = type;
            IList listTypes = Common.Services.BaseService.GetList("SelectPs_Forecast_MathByForecastIDAndForecast", psp_Type);

            dataTable = Itop.Common.DataConverter.ToDataTable(listTypes, typeof(Ps_Forecast_Math));
            DataRow[] rows1 = dataTable.Select("Title like 'ȫ����GDP%'");

            DataRow[] rows4 = dataTable.Select("Title like 'ȫ����õ���%'");

            //�µ�������
            //Ps_History psp_Type2 = new Ps_History();
            //psp_Type2.Forecast = 6;
            //psp_Type2.Col4 = Itop.Client.MIS.ProgUID;
            //IList<Ps_History> listTypes2 = Common.Services.BaseService.GetList<Ps_History>("SelectPs_HistoryByForecast", psp_Type2);
            //DataTable dataTable2 = Itop.Common.DataConverter.ToDataTable((IList)listTypes2, typeof(Ps_History));
            //DataRow[] rows4 = dataTable2.Select("Title like 'ȫ����õ���%'");

            if (rows1.Length == 0 )
            {
                MessageBox.Show("ȱ�١�ȫ����GDP�����ݣ�");
                this.Close();
                return;
            }

            if (rows4.Length==0)
            {
                MessageBox.Show("����������ȱ�١�ȫ����õ��������ݣ�");
                this.Close();
                return;
            }

            #endregion

            Ps_Forecast_Setup pfs = new Ps_Forecast_Setup();
            pfs.Forecast = type;
            pfs.ForecastID = forecastReport.ID;

            IList<Ps_Forecast_Setup> li = Services.BaseService.GetList<Ps_Forecast_Setup>("SelectPs_Forecast_SetupByForecast", pfs);

            if (li.Count != 0)
            {
                firstyear = li[0].StartYear;
                endyear = li[0].EndYear;
            }

            Ps_Calc pcs = new Ps_Calc();
            pcs.Forecast = type;
            pcs.ForecastID = forecastReport.ID;
            list1 = Services.BaseService.GetList<Ps_Calc>("SelectPs_CalcByForecast", pcs);

            HideToolBarButton();

            dt = new DataTable();
            dt.Columns.Add("ID");
            dt.Columns.Add("Name");

            newrow1 = dt.NewRow();
            newrow1["ID"] = "ID";
            newrow1["Name"] = "����ϵ��";
            //newrow2 = dt.NewRow();
            //newrow2["Name"] = "GDP������";

            for (int i = firstyear; i <= forecastReport.YcEndYear; i++)
            {
                dt.Columns.Add(i.ToString(), typeof(double));
                DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                editorRow.Properties.FieldName = i.ToString().Trim();
                editorRow.Properties.Caption =i.ToString().Trim();
                editorRow.Height = 20;
                editorRow.Properties.RowEdit = this.repositoryItemCalcEdit4;
                this.vGridControl2.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });

                double s1 = 0;
                double s2 = 0;
                double s3 = 0;
                double s4 = 0;
                double s5 = 0;
                double s6 = 0;
                double s7 = 0;
                try { s1 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s2 = Convert.ToDouble(rows1[0]["y" + (i-1)]); }
                catch { }

                try { s3 = Convert.ToDouble(rows4[0]["y" + i]); }
                catch { }
                try { s4 = Convert.ToDouble(rows4[0]["y" + (i - 1)]); }
                catch { }

                if (s2 != 0)
                    s5 = (s1 - s2) / s2;

                if (s4 != 0)
                    s6 = (s3 - s4) / s4;

                if (s5 != 0)
                    s7 = s6 / s5;

                newrow1[i.ToString()] = Math.Round(s7,3);
                //newrow2[i.ToString()] =Math.Round( s5,3);

                if (i>=forecastReport.YcStartYear)
                {
                    foreach (Ps_Calc pcs2 in list1)
                    {
                        if (i == pcs2.Year)
                        {
                            newrow1[i.ToString()] = Math.Round(pcs2.Value1, 3);
                        }
                    }

                }

            }
            dt.Rows.Add(newrow1);
            //dt.Rows.Add(newrow2);
             //       gridControl1.DataSource = dt;

            vGridControl2.DataSource = dt;
        }
コード例 #12
0
ファイル: PLDynamicField.cs プロジェクト: khanhdtn/my-fw-win
 // Hàm khởi tạo các field (bao gồm dữ liệu) từ danh sách các field cho CustomField control
 public void InitBindingTable(List<FieldData> fields_arr)
 {
     customizeField_vgc.Rows.Clear();
     foreach (FieldData field in fields_arr)
     {
         DevExpress.XtraVerticalGrid.Rows.EditorRow row = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
         row.Name = "_" + field.FIELD_ID;
         row.Properties.Caption = field.CAPTION;
         row.Properties.Value = field.CONTENT;
         if (field.DATA_TYPE == 1)
             HelpEditorRow.DongTextLeft(row, null);
         else if (field.DATA_TYPE == 2)
             HelpEditorRow.DongSpinEdit(row, null, 0);
         else if (field.DATA_TYPE == 3)
             HelpEditorRow.DongCalcEdit(row, null, 3);
         else if (field.DATA_TYPE == 4)
             HelpEditorRow.DongCheckEdit(row, null);
         else if (field.DATA_TYPE == 5)
             HelpEditorRow.DongDateEdit(row, null);
         customizeField_vgc.Rows.Add(row);
     }
 }
コード例 #13
0
 /// <summary>
 /// �����֧������ķ��� - ��Ҫ
 /// ʹ�ô���༭���޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.panelControl = new DevExpress.XtraEditors.PanelControl();
     this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit();
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.tabPage = new DevExpress.XtraTab.XtraTabPage();
     this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl();
     this.ItemTextEditAreaName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditSubstationName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditTitle = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemDateEditL6 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.ItemTextEditK1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK7 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK8 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK9 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK10 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK11 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK12 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK13 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK14 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK15 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK16 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK17 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK18 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditK19 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS7 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS8 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS9 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS10 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.repositoryItemComboBox3 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.repositoryItemComboBox4 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.repositoryItemComboBox5 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.rowAreaName = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowSubstationName = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowTitle = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK7 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.categoryRow1 = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
     this.editorRow1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.editorRow2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.editorRow3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK8 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK9 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK10 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK11 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK12 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK13 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK14 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK15 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK16 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK17 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK18 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowK19 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS7 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS8 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS9 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS10 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.btnOK = new DevExpress.XtraEditors.SimpleButton();
     this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit();
     this.panelControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.tabPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditAreaName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSubstationName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditTitle)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemDateEditL6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK14)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK15)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK16)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK17)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK18)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK19)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox5)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl
     //
     this.panelControl.Controls.Add(this.checkEdit1);
     this.panelControl.Controls.Add(this.xtraTabControl1);
     this.panelControl.Controls.Add(this.btnOK);
     this.panelControl.Controls.Add(this.btnCancel);
     this.panelControl.Location = new System.Drawing.Point(0, 0);
     this.panelControl.Name = "panelControl";
     this.panelControl.Size = new System.Drawing.Size(395, 372);
     this.panelControl.TabIndex = 0;
     this.panelControl.Text = "panelControl1";
     this.panelControl.Paint += new System.Windows.Forms.PaintEventHandler(this.panelControl_Paint);
     //
     // checkEdit1
     //
     this.checkEdit1.Location = new System.Drawing.Point(16, 344);
     this.checkEdit1.Name = "checkEdit1";
     this.checkEdit1.Properties.Caption = "�������";
     this.checkEdit1.Size = new System.Drawing.Size(75, 19);
     this.checkEdit1.TabIndex = 2;
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.xtraTabControl1.Location = new System.Drawing.Point(7, 7);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.tabPage;
     this.xtraTabControl1.Size = new System.Drawing.Size(382, 330);
     this.xtraTabControl1.TabIndex = 1;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tabPage});
     this.xtraTabControl1.Text = "xtraTabControl1";
     //
     // tabPage
     //
     this.tabPage.Controls.Add(this.vGridControl);
     this.tabPage.Name = "tabPage";
     this.tabPage.Size = new System.Drawing.Size(378, 303);
     this.tabPage.Text = "��·���";
     //
     // vGridControl
     //
     this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.vGridControl.Location = new System.Drawing.Point(7, 3);
     this.vGridControl.Name = "vGridControl";
     this.vGridControl.RecordWidth = 178;
     this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.ItemTextEditAreaName,
     this.ItemTextEditSubstationName,
     this.ItemTextEditTitle,
     this.ItemTextEditL1,
     this.ItemTextEditL2,
     this.ItemTextEditL3,
     this.ItemTextEditL4,
     this.ItemTextEditL5,
     this.ItemDateEditL6,
     this.ItemTextEditK1,
     this.ItemTextEditK2,
     this.ItemTextEditK3,
     this.ItemTextEditK4,
     this.ItemTextEditK5,
     this.ItemTextEditK6,
     this.ItemTextEditK7,
     this.ItemTextEditK8,
     this.ItemTextEditK9,
     this.ItemTextEditK10,
     this.ItemTextEditK11,
     this.ItemTextEditK12,
     this.ItemTextEditK13,
     this.ItemTextEditK14,
     this.ItemTextEditK15,
     this.ItemTextEditK16,
     this.ItemTextEditK17,
     this.ItemTextEditK18,
     this.ItemTextEditK19,
     this.ItemTextEditS1,
     this.ItemTextEditS2,
     this.ItemTextEditS3,
     this.ItemTextEditS4,
     this.ItemTextEditS5,
     this.ItemTextEditS6,
     this.ItemTextEditS7,
     this.ItemTextEditS8,
     this.ItemTextEditS9,
     this.ItemTextEditS10,
     this.repositoryItemTextEdit1,
     this.repositoryItemTextEdit2,
     this.repositoryItemComboBox1,
     this.repositoryItemComboBox2,
     this.repositoryItemComboBox3,
     this.repositoryItemComboBox4,
     this.repositoryItemComboBox5});
     this.vGridControl.RowHeaderWidth = 140;
     this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
     this.rowAreaName,
     this.rowSubstationName,
     this.rowTitle,
     this.rowL1,
     this.rowL2,
     this.rowL3,
     this.rowL4,
     this.rowL5,
     this.rowL6,
     this.rowK1,
     this.rowK2,
     this.rowK3,
     this.rowK4,
     this.rowK5,
     this.rowK6,
     this.rowK7,
     this.categoryRow1,
     this.editorRow3,
     this.rowK8,
     this.rowK9,
     this.rowK10,
     this.rowK11,
     this.rowK12,
     this.rowK13,
     this.rowK14,
     this.rowK15,
     this.rowK16,
     this.rowK17,
     this.rowK18,
     this.rowK19,
     this.rowS1,
     this.rowS2,
     this.rowS3,
     this.rowS4,
     this.rowS5,
     this.rowS6,
     this.rowS7,
     this.rowS8,
     this.rowS9,
     this.rowS10});
     this.vGridControl.Size = new System.Drawing.Size(354, 288);
     this.vGridControl.TabIndex = 0;
     //
     // ItemTextEditAreaName
     //
     this.ItemTextEditAreaName.AutoHeight = false;
     this.ItemTextEditAreaName.MaxLength = 100;
     this.ItemTextEditAreaName.Name = "ItemTextEditAreaName";
     //
     // ItemTextEditSubstationName
     //
     this.ItemTextEditSubstationName.AutoHeight = false;
     this.ItemTextEditSubstationName.MaxLength = 100;
     this.ItemTextEditSubstationName.Name = "ItemTextEditSubstationName";
     //
     // ItemTextEditTitle
     //
     this.ItemTextEditTitle.AutoHeight = false;
     this.ItemTextEditTitle.MaxLength = 100;
     this.ItemTextEditTitle.Name = "ItemTextEditTitle";
     //
     // ItemTextEditL1
     //
     this.ItemTextEditL1.AutoHeight = false;
     this.ItemTextEditL1.Name = "ItemTextEditL1";
     //
     // ItemTextEditL2
     //
     this.ItemTextEditL2.AutoHeight = false;
     this.ItemTextEditL2.MaxLength = 100;
     this.ItemTextEditL2.Name = "ItemTextEditL2";
     //
     // ItemTextEditL3
     //
     this.ItemTextEditL3.AutoHeight = false;
     this.ItemTextEditL3.MaxLength = 100;
     this.ItemTextEditL3.Name = "ItemTextEditL3";
     //
     // ItemTextEditL4
     //
     this.ItemTextEditL4.AutoHeight = false;
     this.ItemTextEditL4.MaxLength = 100;
     this.ItemTextEditL4.Name = "ItemTextEditL4";
     //
     // ItemTextEditL5
     //
     this.ItemTextEditL5.AutoHeight = false;
     this.ItemTextEditL5.DisplayFormat.FormatString = "n2";
     this.ItemTextEditL5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditL5.EditFormat.FormatString = "n2";
     this.ItemTextEditL5.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditL5.Mask.EditMask = "n2";
     this.ItemTextEditL5.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditL5.Name = "ItemTextEditL5";
     //
     // ItemDateEditL6
     //
     this.ItemDateEditL6.AutoHeight = false;
     this.ItemDateEditL6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.ItemDateEditL6.DisplayFormat.FormatString = "yyyy-MM-dd";
     this.ItemDateEditL6.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.ItemDateEditL6.EditFormat.FormatString = "yyyy-MM-dd";
     this.ItemDateEditL6.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.ItemDateEditL6.Mask.EditMask = "yyyy-MM-dd";
     this.ItemDateEditL6.Name = "ItemDateEditL6";
     this.ItemDateEditL6.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     //
     // ItemTextEditK1
     //
     this.ItemTextEditK1.AutoHeight = false;
     this.ItemTextEditK1.Name = "ItemTextEditK1";
     //
     // ItemTextEditK2
     //
     this.ItemTextEditK2.AutoHeight = false;
     this.ItemTextEditK2.MaxLength = 100;
     this.ItemTextEditK2.Name = "ItemTextEditK2";
     //
     // ItemTextEditK3
     //
     this.ItemTextEditK3.AutoHeight = false;
     this.ItemTextEditK3.MaxLength = 100;
     this.ItemTextEditK3.Name = "ItemTextEditK3";
     //
     // ItemTextEditK4
     //
     this.ItemTextEditK4.AutoHeight = false;
     this.ItemTextEditK4.DisplayFormat.FormatString = "n4";
     this.ItemTextEditK4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK4.EditFormat.FormatString = "n4";
     this.ItemTextEditK4.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK4.Mask.EditMask = "n4";
     this.ItemTextEditK4.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK4.Name = "ItemTextEditK4";
     //
     // ItemTextEditK5
     //
     this.ItemTextEditK5.AutoHeight = false;
     this.ItemTextEditK5.DisplayFormat.FormatString = "n4";
     this.ItemTextEditK5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK5.EditFormat.FormatString = "n4";
     this.ItemTextEditK5.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK5.Mask.EditMask = "n4";
     this.ItemTextEditK5.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK5.Name = "ItemTextEditK5";
     //
     // ItemTextEditK6
     //
     this.ItemTextEditK6.AutoHeight = false;
     this.ItemTextEditK6.DisplayFormat.FormatString = "n4";
     this.ItemTextEditK6.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK6.EditFormat.FormatString = "n4";
     this.ItemTextEditK6.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK6.Mask.EditMask = "n4";
     this.ItemTextEditK6.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK6.Name = "ItemTextEditK6";
     //
     // ItemTextEditK7
     //
     this.ItemTextEditK7.AutoHeight = false;
     this.ItemTextEditK7.DisplayFormat.FormatString = "n4";
     this.ItemTextEditK7.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK7.EditFormat.FormatString = "n4";
     this.ItemTextEditK7.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK7.Mask.EditMask = "n4";
     this.ItemTextEditK7.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK7.Name = "ItemTextEditK7";
     //
     // ItemTextEditK8
     //
     this.ItemTextEditK8.AutoHeight = false;
     this.ItemTextEditK8.DisplayFormat.FormatString = "n0";
     this.ItemTextEditK8.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK8.EditFormat.FormatString = "n0";
     this.ItemTextEditK8.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK8.Mask.EditMask = "n0";
     this.ItemTextEditK8.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK8.Name = "ItemTextEditK8";
     //
     // ItemTextEditK9
     //
     this.ItemTextEditK9.AutoHeight = false;
     this.ItemTextEditK9.DisplayFormat.FormatString = "n0";
     this.ItemTextEditK9.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK9.EditFormat.FormatString = "n0";
     this.ItemTextEditK9.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK9.Mask.EditMask = "n0";
     this.ItemTextEditK9.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK9.Name = "ItemTextEditK9";
     //
     // ItemTextEditK10
     //
     this.ItemTextEditK10.AutoHeight = false;
     this.ItemTextEditK10.DisplayFormat.FormatString = "n0";
     this.ItemTextEditK10.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK10.EditFormat.FormatString = "n0";
     this.ItemTextEditK10.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK10.Mask.EditMask = "n0";
     this.ItemTextEditK10.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK10.Name = "ItemTextEditK10";
     //
     // ItemTextEditK11
     //
     this.ItemTextEditK11.AutoHeight = false;
     this.ItemTextEditK11.DisplayFormat.FormatString = "n0";
     this.ItemTextEditK11.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK11.EditFormat.FormatString = "n0";
     this.ItemTextEditK11.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK11.Mask.EditMask = "n0";
     this.ItemTextEditK11.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK11.Name = "ItemTextEditK11";
     //
     // ItemTextEditK12
     //
     this.ItemTextEditK12.AutoHeight = false;
     this.ItemTextEditK12.DisplayFormat.FormatString = "n0";
     this.ItemTextEditK12.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK12.EditFormat.FormatString = "n0";
     this.ItemTextEditK12.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK12.Mask.EditMask = "n0";
     this.ItemTextEditK12.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK12.Name = "ItemTextEditK12";
     //
     // ItemTextEditK13
     //
     this.ItemTextEditK13.AutoHeight = false;
     this.ItemTextEditK13.DisplayFormat.FormatString = "n0";
     this.ItemTextEditK13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK13.EditFormat.FormatString = "n0";
     this.ItemTextEditK13.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK13.Mask.EditMask = "n0";
     this.ItemTextEditK13.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK13.Name = "ItemTextEditK13";
     //
     // ItemTextEditK14
     //
     this.ItemTextEditK14.AutoHeight = false;
     this.ItemTextEditK14.DisplayFormat.FormatString = "n0";
     this.ItemTextEditK14.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK14.EditFormat.FormatString = "n0";
     this.ItemTextEditK14.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK14.Mask.EditMask = "n0";
     this.ItemTextEditK14.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK14.Name = "ItemTextEditK14";
     //
     // ItemTextEditK15
     //
     this.ItemTextEditK15.AutoHeight = false;
     this.ItemTextEditK15.DisplayFormat.FormatString = "n0";
     this.ItemTextEditK15.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK15.EditFormat.FormatString = "n0";
     this.ItemTextEditK15.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK15.Mask.EditMask = "n0";
     this.ItemTextEditK15.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK15.Name = "ItemTextEditK15";
     //
     // ItemTextEditK16
     //
     this.ItemTextEditK16.AutoHeight = false;
     this.ItemTextEditK16.DisplayFormat.FormatString = "n2";
     this.ItemTextEditK16.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK16.EditFormat.FormatString = "n2";
     this.ItemTextEditK16.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK16.Mask.EditMask = "n2";
     this.ItemTextEditK16.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK16.Name = "ItemTextEditK16";
     //
     // ItemTextEditK17
     //
     this.ItemTextEditK17.AutoHeight = false;
     this.ItemTextEditK17.DisplayFormat.FormatString = "n2";
     this.ItemTextEditK17.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK17.EditFormat.FormatString = "n2";
     this.ItemTextEditK17.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK17.Mask.EditMask = "n2";
     this.ItemTextEditK17.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK17.Name = "ItemTextEditK17";
     //
     // ItemTextEditK18
     //
     this.ItemTextEditK18.AutoHeight = false;
     this.ItemTextEditK18.DisplayFormat.FormatString = "n2";
     this.ItemTextEditK18.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK18.EditFormat.FormatString = "n2";
     this.ItemTextEditK18.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK18.Mask.EditMask = "n2";
     this.ItemTextEditK18.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK18.Name = "ItemTextEditK18";
     //
     // ItemTextEditK19
     //
     this.ItemTextEditK19.AutoHeight = false;
     this.ItemTextEditK19.DisplayFormat.FormatString = "n2";
     this.ItemTextEditK19.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK19.EditFormat.FormatString = "n2";
     this.ItemTextEditK19.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditK19.Mask.EditMask = "n2";
     this.ItemTextEditK19.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditK19.Name = "ItemTextEditK19";
     //
     // ItemTextEditS1
     //
     this.ItemTextEditS1.AutoHeight = false;
     this.ItemTextEditS1.MaxLength = 100;
     this.ItemTextEditS1.Name = "ItemTextEditS1";
     //
     // ItemTextEditS2
     //
     this.ItemTextEditS2.AutoHeight = false;
     this.ItemTextEditS2.MaxLength = 100;
     this.ItemTextEditS2.Name = "ItemTextEditS2";
     //
     // ItemTextEditS3
     //
     this.ItemTextEditS3.AutoHeight = false;
     this.ItemTextEditS3.MaxLength = 100;
     this.ItemTextEditS3.Name = "ItemTextEditS3";
     //
     // ItemTextEditS4
     //
     this.ItemTextEditS4.AutoHeight = false;
     this.ItemTextEditS4.MaxLength = 100;
     this.ItemTextEditS4.Name = "ItemTextEditS4";
     //
     // ItemTextEditS5
     //
     this.ItemTextEditS5.AutoHeight = false;
     this.ItemTextEditS5.MaxLength = 100;
     this.ItemTextEditS5.Name = "ItemTextEditS5";
     //
     // ItemTextEditS6
     //
     this.ItemTextEditS6.AutoHeight = false;
     this.ItemTextEditS6.MaxLength = 100;
     this.ItemTextEditS6.Name = "ItemTextEditS6";
     //
     // ItemTextEditS7
     //
     this.ItemTextEditS7.AutoHeight = false;
     this.ItemTextEditS7.MaxLength = 100;
     this.ItemTextEditS7.Name = "ItemTextEditS7";
     //
     // ItemTextEditS8
     //
     this.ItemTextEditS8.AutoHeight = false;
     this.ItemTextEditS8.MaxLength = 100;
     this.ItemTextEditS8.Name = "ItemTextEditS8";
     //
     // ItemTextEditS9
     //
     this.ItemTextEditS9.AutoHeight = false;
     this.ItemTextEditS9.MaxLength = 100;
     this.ItemTextEditS9.Name = "ItemTextEditS9";
     //
     // ItemTextEditS10
     //
     this.ItemTextEditS10.AutoHeight = false;
     this.ItemTextEditS10.MaxLength = 100;
     this.ItemTextEditS10.Name = "ItemTextEditS10";
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.DisplayFormat.FormatString = "n4";
     this.repositoryItemTextEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEdit1.EditFormat.FormatString = "n4";
     this.repositoryItemTextEdit1.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEdit1.Mask.EditMask = "n4";
     this.repositoryItemTextEdit1.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     //
     // repositoryItemTextEdit2
     //
     this.repositoryItemTextEdit2.AutoHeight = false;
     this.repositoryItemTextEdit2.DisplayFormat.FormatString = "n4";
     this.repositoryItemTextEdit2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEdit2.EditFormat.FormatString = "n4";
     this.repositoryItemTextEdit2.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEdit2.Mask.EditMask = "n4";
     this.repositoryItemTextEdit2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
     //
     // repositoryItemComboBox1
     //
     this.repositoryItemComboBox1.AutoHeight = false;
     this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
     //
     // repositoryItemComboBox2
     //
     this.repositoryItemComboBox2.AutoHeight = false;
     this.repositoryItemComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox2.Name = "repositoryItemComboBox2";
     //
     // repositoryItemComboBox3
     //
     this.repositoryItemComboBox3.AutoHeight = false;
     this.repositoryItemComboBox3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox3.Name = "repositoryItemComboBox3";
     //
     // repositoryItemComboBox4
     //
     this.repositoryItemComboBox4.AutoHeight = false;
     this.repositoryItemComboBox4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox4.Items.AddRange(new object[] {
     "500",
     "220",
     "110",
     "66",
     "35"});
     this.repositoryItemComboBox4.Name = "repositoryItemComboBox4";
     this.repositoryItemComboBox4.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     //
     // repositoryItemComboBox5
     //
     this.repositoryItemComboBox5.AutoHeight = false;
     this.repositoryItemComboBox5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox5.Items.AddRange(new object[] {
     "10",
     "6",
     "0.4"});
     this.repositoryItemComboBox5.Name = "repositoryItemComboBox5";
     this.repositoryItemComboBox5.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     //
     // rowAreaName
     //
     this.rowAreaName.Height = 25;
     this.rowAreaName.Name = "rowAreaName";
     this.rowAreaName.Properties.Caption = "����";
     this.rowAreaName.Properties.FieldName = "AreaName";
     this.rowAreaName.Properties.ImageIndex = 25;
     this.rowAreaName.Properties.RowEdit = this.ItemTextEditAreaName;
     //
     // rowSubstationName
     //
     this.rowSubstationName.Height = 25;
     this.rowSubstationName.Name = "rowSubstationName";
     this.rowSubstationName.Properties.Caption = "���վ����";
     this.rowSubstationName.Properties.FieldName = "SubstationName";
     this.rowSubstationName.Properties.ImageIndex = 25;
     this.rowSubstationName.Properties.RowEdit = this.ItemTextEditSubstationName;
     //
     // rowTitle
     //
     this.rowTitle.Height = 25;
     this.rowTitle.Name = "rowTitle";
     this.rowTitle.Properties.Caption = "��·����";
     this.rowTitle.Properties.FieldName = "Title";
     this.rowTitle.Properties.ImageIndex = 25;
     this.rowTitle.Properties.RowEdit = this.ItemTextEditTitle;
     //
     // rowL1
     //
     this.rowL1.Height = 25;
     this.rowL1.Name = "rowL1";
     this.rowL1.Properties.Caption = "��ѹ�ȼ�(kV)";
     this.rowL1.Properties.FieldName = "L1";
     this.rowL1.Properties.ImageIndex = 25;
     this.rowL1.Properties.RowEdit = this.repositoryItemComboBox4;
     //
     // rowL2
     //
     this.rowL2.Height = 25;
     this.rowL2.Name = "rowL2";
     this.rowL2.Properties.Caption = "�����վ";
     this.rowL2.Properties.FieldName = "L2";
     this.rowL2.Properties.ImageIndex = 25;
     this.rowL2.Properties.RowEdit = this.ItemTextEditL2;
     //
     // rowL3
     //
     this.rowL3.Height = 25;
     this.rowL3.Name = "rowL3";
     this.rowL3.Properties.Caption = "�յ���վ";
     this.rowL3.Properties.FieldName = "L3";
     this.rowL3.Properties.ImageIndex = 25;
     this.rowL3.Properties.RowEdit = this.ItemTextEditL3;
     //
     // rowL4
     //
     this.rowL4.Height = 25;
     this.rowL4.Name = "rowL4";
     this.rowL4.Properties.Caption = "�����ͺ�";
     this.rowL4.Properties.FieldName = "L4";
     this.rowL4.Properties.ImageIndex = 25;
     this.rowL4.Properties.RowEdit = this.ItemTextEditL4;
     //
     // rowL5
     //
     this.rowL5.Height = 25;
     this.rowL5.Name = "rowL5";
     this.rowL5.Properties.Caption = "��·����(km)";
     this.rowL5.Properties.FieldName = "L5";
     this.rowL5.Properties.ImageIndex = 25;
     this.rowL5.Properties.RowEdit = this.ItemTextEditL5;
     //
     // rowL6
     //
     this.rowL6.Height = 25;
     this.rowL6.Name = "rowL6";
     this.rowL6.Properties.Caption = "Ͷ��ʱ��";
     this.rowL6.Properties.FieldName = "L6";
     this.rowL6.Properties.ImageIndex = 25;
     this.rowL6.Properties.RowEdit = this.ItemDateEditL6;
     //
     // rowK1
     //
     this.rowK1.Height = 25;
     this.rowK1.Name = "rowK1";
     this.rowK1.Properties.Caption = "��ѹ�ȼ�(kV)";
     this.rowK1.Properties.FieldName = "K1";
     this.rowK1.Properties.ImageIndex = 25;
     this.rowK1.Properties.RowEdit = this.repositoryItemComboBox5;
     //
     // rowK2
     //
     this.rowK2.Height = 25;
     this.rowK2.Name = "rowK2";
     this.rowK2.Properties.Caption = "���ڵ����ͺ�";
     this.rowK2.Properties.FieldName = "K2";
     this.rowK2.Properties.ImageIndex = 25;
     this.rowK2.Properties.RowEdit = this.repositoryItemComboBox1;
     //
     // rowK3
     //
     this.rowK3.Height = 25;
     this.rowK3.Name = "rowK3";
     this.rowK3.Properties.Caption = "��·����";
     this.rowK3.Properties.FieldName = "K3";
     this.rowK3.Properties.ImageIndex = 25;
     this.rowK3.Properties.RowEdit = this.repositoryItemComboBox2;
     //
     // rowK4
     //
     this.rowK4.Height = 25;
     this.rowK4.Name = "rowK4";
     this.rowK4.Properties.Caption = "�����߳���(km)";
     this.rowK4.Properties.FieldName = "K4";
     this.rowK4.Properties.ImageIndex = 25;
     this.rowK4.Properties.RowEdit = this.ItemTextEditK4;
     //
     // rowK5
     //
     this.rowK5.Height = 25;
     this.rowK5.Name = "rowK5";
     this.rowK5.Properties.Caption = "��·�ܳ���(km)";
     this.rowK5.Properties.FieldName = "K5";
     this.rowK5.Properties.ImageIndex = 25;
     this.rowK5.Properties.RowEdit = this.ItemTextEditK5;
     this.rowK5.Visible = false;
     //
     // rowK6
     //
     this.rowK6.Height = 25;
     this.rowK6.Name = "rowK6";
     this.rowK6.Properties.Caption = "�����߳�(km)";
     this.rowK6.Properties.FieldName = "K6";
     this.rowK6.Properties.ImageIndex = 25;
     this.rowK6.Properties.RowEdit = this.ItemTextEditK6;
     //
     // rowK7
     //
     this.rowK7.Height = 25;
     this.rowK7.Name = "rowK7";
     this.rowK7.Properties.Caption = "�ܿ��߳�(km)";
     this.rowK7.Properties.FieldName = "K7";
     this.rowK7.Properties.ImageIndex = 25;
     this.rowK7.Properties.RowEdit = this.ItemTextEditK7;
     this.rowK7.Visible = false;
     //
     // categoryRow1
     //
     this.categoryRow1.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
     this.editorRow1,
     this.editorRow2});
     this.categoryRow1.Name = "categoryRow1";
     this.categoryRow1.Properties.Caption = "�ܿ��߳�(km)";
     //
     // editorRow1
     //
     this.editorRow1.Name = "editorRow1";
     this.editorRow1.Properties.Caption = "�㵼��";
     this.editorRow1.Properties.FieldName = "K20";
     this.editorRow1.Properties.RowEdit = this.repositoryItemTextEdit1;
     //
     // editorRow2
     //
     this.editorRow2.Name = "editorRow2";
     this.editorRow2.Properties.Caption = "��Ե��";
     this.editorRow2.Properties.FieldName = "K21";
     this.editorRow2.Properties.RowEdit = this.repositoryItemTextEdit2;
     //
     // editorRow3
     //
     this.editorRow3.Name = "editorRow3";
     this.editorRow3.Properties.Caption = "�����·����ģʽ";
     this.editorRow3.Properties.FieldName = "K22";
     this.editorRow3.Properties.RowEdit = this.repositoryItemComboBox3;
     //
     // rowK8
     //
     this.rowK8.Height = 25;
     this.rowK8.Name = "rowK8";
     this.rowK8.Properties.Caption = "��ȫ����(A)";
     this.rowK8.Properties.FieldName = "K8";
     this.rowK8.Properties.ImageIndex = 25;
     this.rowK8.Properties.RowEdit = this.ItemTextEditK8;
     //
     // rowK9
     //
     this.rowK9.Height = 25;
     this.rowK9.Name = "rowK9";
     this.rowK9.Properties.Caption = "����̨��";
     this.rowK9.Properties.FieldName = "K9";
     this.rowK9.Properties.ImageIndex = 25;
     this.rowK9.Properties.RowEdit = this.ItemTextEditK9;
     //
     // rowK10
     //
     this.rowK10.Height = 25;
     this.rowK10.Name = "rowK10";
     this.rowK10.Properties.Caption = "��������(kVA)";
     this.rowK10.Properties.FieldName = "K10";
     this.rowK10.Properties.ImageIndex = 25;
     this.rowK10.Properties.RowEdit = this.ItemTextEditK10;
     //
     // rowK11
     //
     this.rowK11.Height = 25;
     this.rowK11.Name = "rowK11";
     this.rowK11.Properties.Caption = "ר��̨��";
     this.rowK11.Properties.FieldName = "K11";
     this.rowK11.Properties.ImageIndex = 25;
     this.rowK11.Properties.RowEdit = this.ItemTextEditK11;
     //
     // rowK12
     //
     this.rowK12.Height = 25;
     this.rowK12.Name = "rowK12";
     this.rowK12.Properties.Caption = "ר������(kVA)";
     this.rowK12.Properties.FieldName = "K12";
     this.rowK12.Properties.ImageIndex = 25;
     this.rowK12.Properties.RowEdit = this.ItemTextEditK12;
     //
     // rowK13
     //
     this.rowK13.Height = 25;
     this.rowK13.Name = "rowK13";
     this.rowK13.Properties.Caption = "���������(kVA)";
     this.rowK13.Properties.FieldName = "K13";
     this.rowK13.Properties.ImageIndex = 25;
     this.rowK13.Properties.RowEdit = this.ItemTextEditK13;
     //
     // rowK14
     //
     this.rowK14.Height = 25;
     this.rowK14.Name = "rowK14";
     this.rowK14.Properties.Caption = "�޹�������̨��(̨)";
     this.rowK14.Properties.FieldName = "K14";
     this.rowK14.Properties.ImageIndex = 25;
     this.rowK14.Properties.RowEdit = this.ItemTextEditK14;
     //
     // rowK15
     //
     this.rowK15.Height = 25;
     this.rowK15.Name = "rowK15";
     this.rowK15.Properties.Caption = "�޹�����������(Kvar)";
     this.rowK15.Properties.FieldName = "K15";
     this.rowK15.Properties.ImageIndex = 25;
     this.rowK15.Properties.RowEdit = this.ItemTextEditK15;
     //
     // rowK16
     //
     this.rowK16.Height = 25;
     this.rowK16.Name = "rowK16";
     this.rowK16.Properties.Caption = "������(A)";
     this.rowK16.Properties.FieldName = "K16";
     this.rowK16.Properties.ImageIndex = 25;
     this.rowK16.Properties.RowEdit = this.ItemTextEditK16;
     //
     // rowK17
     //
     this.rowK17.Height = 25;
     this.rowK17.Name = "rowK17";
     this.rowK17.Properties.Caption = "��为����(%)";
     this.rowK17.Properties.FieldName = "K17";
     this.rowK17.Properties.ImageIndex = 25;
     this.rowK17.Properties.RowEdit = this.ItemTextEditK17;
     this.rowK17.Visible = false;
     //
     // rowK18
     //
     this.rowK18.Height = 25;
     this.rowK18.Name = "rowK18";
     this.rowK18.Properties.Caption = "��λ�߳��������(kVA/km)";
     this.rowK18.Properties.FieldName = "K18";
     this.rowK18.Properties.ImageIndex = 25;
     this.rowK18.Properties.RowEdit = this.ItemTextEditK18;
     //
     // rowK19
     //
     this.rowK19.Height = 25;
     this.rowK19.Name = "rowK19";
     this.rowK19.Properties.Caption = "��·������(%)";
     this.rowK19.Properties.FieldName = "K19";
     this.rowK19.Properties.ImageIndex = 25;
     this.rowK19.Properties.RowEdit = this.ItemTextEditK19;
     this.rowK19.Visible = false;
     //
     // rowS1
     //
     this.rowS1.Height = 25;
     this.rowS1.Name = "rowS1";
     this.rowS1.Properties.FieldName = "S1";
     this.rowS1.Properties.ImageIndex = 25;
     this.rowS1.Properties.RowEdit = this.ItemTextEditS1;
     //
     // rowS2
     //
     this.rowS2.Height = 25;
     this.rowS2.Name = "rowS2";
     this.rowS2.Properties.FieldName = "S2";
     this.rowS2.Properties.ImageIndex = 25;
     this.rowS2.Properties.RowEdit = this.ItemTextEditS2;
     //
     // rowS3
     //
     this.rowS3.Height = 25;
     this.rowS3.Name = "rowS3";
     this.rowS3.Properties.FieldName = "S3";
     this.rowS3.Properties.ImageIndex = 25;
     this.rowS3.Properties.RowEdit = this.ItemTextEditS3;
     //
     // rowS4
     //
     this.rowS4.Height = 25;
     this.rowS4.Name = "rowS4";
     this.rowS4.Properties.FieldName = "S4";
     this.rowS4.Properties.ImageIndex = 25;
     this.rowS4.Properties.RowEdit = this.ItemTextEditS4;
     //
     // rowS5
     //
     this.rowS5.Height = 25;
     this.rowS5.Name = "rowS5";
     this.rowS5.Properties.FieldName = "S5";
     this.rowS5.Properties.ImageIndex = 25;
     this.rowS5.Properties.RowEdit = this.ItemTextEditS5;
     //
     // rowS6
     //
     this.rowS6.Height = 25;
     this.rowS6.Name = "rowS6";
     this.rowS6.Properties.FieldName = "S6";
     this.rowS6.Properties.ImageIndex = 25;
     this.rowS6.Properties.RowEdit = this.ItemTextEditS6;
     //
     // rowS7
     //
     this.rowS7.Height = 25;
     this.rowS7.Name = "rowS7";
     this.rowS7.Properties.FieldName = "S7";
     this.rowS7.Properties.ImageIndex = 25;
     this.rowS7.Properties.RowEdit = this.ItemTextEditS7;
     //
     // rowS8
     //
     this.rowS8.Height = 25;
     this.rowS8.Name = "rowS8";
     this.rowS8.Properties.FieldName = "S8";
     this.rowS8.Properties.ImageIndex = 25;
     this.rowS8.Properties.RowEdit = this.ItemTextEditS8;
     //
     // rowS9
     //
     this.rowS9.Height = 25;
     this.rowS9.Name = "rowS9";
     this.rowS9.Properties.FieldName = "S9";
     this.rowS9.Properties.ImageIndex = 25;
     this.rowS9.Properties.RowEdit = this.ItemTextEditS9;
     //
     // rowS10
     //
     this.rowS10.Height = 25;
     this.rowS10.Name = "rowS10";
     this.rowS10.Properties.FieldName = "S10";
     this.rowS10.Properties.ImageIndex = 25;
     this.rowS10.Properties.RowEdit = this.ItemTextEditS10;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(187, 343);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 0;
     this.btnOK.Text = "ȷ��";
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(291, 343);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 0;
     this.btnCancel.Text = "ȡ��";
     //
     // FrmLine_InfoDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(393, 375);
     this.Controls.Add(this.panelControl);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmLine_InfoDialog";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "��·���";
     this.Load += new System.EventHandler(this.FrmLine_InfoDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit();
     this.panelControl.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.tabPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditAreaName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSubstationName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditTitle)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemDateEditL6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK14)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK15)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK16)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK17)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK18)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK19)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox5)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #14
0
 /// <summary>
 /// �����֧������ķ��� - ��Ҫ
 /// ʹ�ô���༭���޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.panelControl = new DevExpress.XtraEditors.PanelControl();
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.tabPage = new DevExpress.XtraTab.XtraTabPage();
     this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl();
     this.ItemTextEditUID = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditInfoName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEdittype = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditcol1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditcol2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditcol3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.rowUID = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowInfoName = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowcol1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.btnOK = new DevExpress.XtraEditors.SimpleButton();
     this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit();
     this.panelControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.tabPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditInfoName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEdittype)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol3)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl
     //
     this.panelControl.Controls.Add(this.xtraTabControl1);
     this.panelControl.Controls.Add(this.btnOK);
     this.panelControl.Controls.Add(this.btnCancel);
     this.panelControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl.Location = new System.Drawing.Point(0, 0);
     this.panelControl.Name = "panelControl";
     this.panelControl.Size = new System.Drawing.Size(395, 132);
     this.panelControl.TabIndex = 0;
     this.panelControl.Text = "panelControl1";
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.xtraTabControl1.Location = new System.Drawing.Point(7, 7);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.tabPage;
     this.xtraTabControl1.Size = new System.Drawing.Size(382, 90);
     this.xtraTabControl1.TabIndex = 1;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tabPage});
     this.xtraTabControl1.Text = "xtraTabControl1";
     //
     // tabPage
     //
     this.tabPage.Controls.Add(this.vGridControl);
     this.tabPage.Name = "tabPage";
     this.tabPage.Size = new System.Drawing.Size(376, 74);
     //
     // vGridControl
     //
     this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.vGridControl.Location = new System.Drawing.Point(3, 3);
     this.vGridControl.Name = "vGridControl";
     this.vGridControl.RecordWidth = 234;
     this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.ItemTextEditUID,
     this.ItemTextEditInfoName,
     this.ItemTextEdittype,
     this.ItemTextEditcol1,
     this.ItemTextEditcol2,
     this.ItemTextEditcol3});
     this.vGridControl.RowHeaderWidth = 129;
     this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
     this.rowUID,
     this.rowInfoName,
     this.rowcol1});
     this.vGridControl.Size = new System.Drawing.Size(371, 68);
     this.vGridControl.TabIndex = 0;
     //
     // ItemTextEditUID
     //
     this.ItemTextEditUID.AutoHeight = false;
     this.ItemTextEditUID.Name = "ItemTextEditUID";
     //
     // ItemTextEditInfoName
     //
     this.ItemTextEditInfoName.AutoHeight = false;
     this.ItemTextEditInfoName.MaxLength = 50;
     this.ItemTextEditInfoName.Name = "ItemTextEditInfoName";
     //
     // ItemTextEdittype
     //
     this.ItemTextEdittype.AutoHeight = false;
     this.ItemTextEdittype.Name = "ItemTextEdittype";
     //
     // ItemTextEditcol1
     //
     this.ItemTextEditcol1.AutoHeight = false;
     this.ItemTextEditcol1.MaxLength = 50;
     this.ItemTextEditcol1.Name = "ItemTextEditcol1";
     //
     // ItemTextEditcol2
     //
     this.ItemTextEditcol2.AutoHeight = false;
     this.ItemTextEditcol2.MaxLength = 50;
     this.ItemTextEditcol2.Name = "ItemTextEditcol2";
     //
     // ItemTextEditcol3
     //
     this.ItemTextEditcol3.AutoHeight = false;
     this.ItemTextEditcol3.MaxLength = 50;
     this.ItemTextEditcol3.Name = "ItemTextEditcol3";
     //
     // rowUID
     //
     this.rowUID.Height = 25;
     this.rowUID.Name = "rowUID";
     this.rowUID.Properties.FieldName = "UID";
     this.rowUID.Properties.ImageIndex = 25;
     this.rowUID.Properties.RowEdit = this.ItemTextEditUID;
     this.rowUID.Visible = false;
     //
     // rowInfoName
     //
     this.rowInfoName.Height = 25;
     this.rowInfoName.Name = "rowInfoName";
     this.rowInfoName.Properties.Caption = "����";
     this.rowInfoName.Properties.FieldName = "SName";
     this.rowInfoName.Properties.ImageIndex = 25;
     this.rowInfoName.Properties.RowEdit = this.ItemTextEditInfoName;
     //
     // rowcol1
     //
     this.rowcol1.Height = 25;
     this.rowcol1.Name = "rowcol1";
     this.rowcol1.Properties.Caption = "��ע";
     this.rowcol1.Properties.FieldName = "col1";
     this.rowcol1.Properties.ImageIndex = 25;
     this.rowcol1.Properties.RowEdit = this.ItemTextEditcol1;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(210, 102);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 0;
     this.btnOK.Text = "ȷ��";
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(314, 102);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 0;
     this.btnCancel.Text = "ȡ��";
     //
     // FrmPSP_SubstationMngDialog
     //
     this.AcceptButton = this.btnOK;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.btnCancel;
     this.ClientSize = new System.Drawing.Size(395, 132);
     this.Controls.Add(this.panelControl);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmPSP_SubstationMngDialog";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "���վѡַ����";
     this.Load += new System.EventHandler(this.FrmPSP_SubstationParDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit();
     this.panelControl.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.tabPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditInfoName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEdittype)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol3)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #15
0
 /// <summary>
 /// �����֧������ķ��� - ��Ҫ
 /// ʹ�ô���༭���޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.panelControl = new DevExpress.XtraEditors.PanelControl();
     this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit();
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.tabPage = new DevExpress.XtraTab.XtraTabPage();
     this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl();
     this.ItemTextEditAreaName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditTitle = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL7 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL8 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL9 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditL10 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS7 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS8 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS9 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditS10 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.rowAreaName = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowTitle = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.editorRow1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.editorRow2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL7 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL8 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL9 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowL10 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS7 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS8 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS9 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowS10 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.btnOK = new DevExpress.XtraEditors.SimpleButton();
     this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit();
     this.panelControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.tabPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditAreaName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditTitle)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl
     //
     this.panelControl.Controls.Add(this.checkEdit1);
     this.panelControl.Controls.Add(this.xtraTabControl1);
     this.panelControl.Controls.Add(this.btnOK);
     this.panelControl.Controls.Add(this.btnCancel);
     this.panelControl.Location = new System.Drawing.Point(0, 0);
     this.panelControl.Name = "panelControl";
     this.panelControl.Size = new System.Drawing.Size(410, 372);
     this.panelControl.TabIndex = 0;
     this.panelControl.Text = "panelControl1";
     //
     // checkEdit1
     //
     this.checkEdit1.Location = new System.Drawing.Point(16, 343);
     this.checkEdit1.Name = "checkEdit1";
     this.checkEdit1.Properties.Caption = "�������";
     this.checkEdit1.Size = new System.Drawing.Size(75, 19);
     this.checkEdit1.TabIndex = 3;
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.xtraTabControl1.Location = new System.Drawing.Point(7, 7);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.tabPage;
     this.xtraTabControl1.Size = new System.Drawing.Size(397, 330);
     this.xtraTabControl1.TabIndex = 1;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tabPage});
     this.xtraTabControl1.Text = "xtraTabControl1";
     //
     // tabPage
     //
     this.tabPage.Controls.Add(this.vGridControl);
     this.tabPage.Name = "tabPage";
     this.tabPage.Size = new System.Drawing.Size(393, 303);
     this.tabPage.Text = "���վ���";
     //
     // vGridControl
     //
     this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.vGridControl.Location = new System.Drawing.Point(7, 4);
     this.vGridControl.Name = "vGridControl";
     this.vGridControl.RecordWidth = 185;
     this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.ItemTextEditAreaName,
     this.ItemTextEditTitle,
     this.ItemTextEditL1,
     this.ItemTextEditL2,
     this.ItemTextEditL3,
     this.ItemTextEditL4,
     this.ItemTextEditL5,
     this.ItemTextEditL6,
     this.ItemTextEditL7,
     this.ItemTextEditL8,
     this.ItemTextEditL9,
     this.ItemTextEditL10,
     this.ItemTextEditS1,
     this.ItemTextEditS2,
     this.ItemTextEditS3,
     this.ItemTextEditS4,
     this.ItemTextEditS5,
     this.ItemTextEditS6,
     this.ItemTextEditS7,
     this.ItemTextEditS8,
     this.ItemTextEditS9,
     this.ItemTextEditS10,
     this.repositoryItemTextEdit1,
     this.repositoryItemTextEdit2});
     this.vGridControl.RowHeaderWidth = 150;
     this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
     this.rowAreaName,
     this.rowTitle,
     this.rowL1,
     this.rowL2,
     this.rowL3,
     this.rowL4,
     this.rowL5,
     this.rowL6,
     this.editorRow1,
     this.editorRow2,
     this.rowL7,
     this.rowL8,
     this.rowL9,
     this.rowL10,
     this.rowS1,
     this.rowS2,
     this.rowS3,
     this.rowS4,
     this.rowS5,
     this.rowS6,
     this.rowS7,
     this.rowS8,
     this.rowS9,
     this.rowS10});
     this.vGridControl.Size = new System.Drawing.Size(376, 288);
     this.vGridControl.TabIndex = 0;
     //
     // ItemTextEditAreaName
     //
     this.ItemTextEditAreaName.AutoHeight = false;
     this.ItemTextEditAreaName.MaxLength = 100;
     this.ItemTextEditAreaName.Name = "ItemTextEditAreaName";
     //
     // ItemTextEditTitle
     //
     this.ItemTextEditTitle.AutoHeight = false;
     this.ItemTextEditTitle.MaxLength = 100;
     this.ItemTextEditTitle.Name = "ItemTextEditTitle";
     //
     // ItemTextEditL1
     //
     this.ItemTextEditL1.AutoHeight = false;
     this.ItemTextEditL1.Mask.EditMask = "n0";
     this.ItemTextEditL1.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditL1.Name = "ItemTextEditL1";
     //
     // ItemTextEditL2
     //
     this.ItemTextEditL2.AutoHeight = false;
     this.ItemTextEditL2.DisplayFormat.FormatString = "n2";
     this.ItemTextEditL2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditL2.EditFormat.FormatString = "n2";
     this.ItemTextEditL2.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditL2.Mask.EditMask = "n";
     this.ItemTextEditL2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditL2.Name = "ItemTextEditL2";
     //
     // ItemTextEditL3
     //
     this.ItemTextEditL3.AutoHeight = false;
     this.ItemTextEditL3.Mask.EditMask = "n0";
     this.ItemTextEditL3.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditL3.Name = "ItemTextEditL3";
     //
     // ItemTextEditL4
     //
     this.ItemTextEditL4.AutoHeight = false;
     this.ItemTextEditL4.MaxLength = 100;
     this.ItemTextEditL4.Name = "ItemTextEditL4";
     //
     // ItemTextEditL5
     //
     this.ItemTextEditL5.AutoHeight = false;
     this.ItemTextEditL5.MaxLength = 100;
     this.ItemTextEditL5.Name = "ItemTextEditL5";
     //
     // ItemTextEditL6
     //
     this.ItemTextEditL6.AutoHeight = false;
     this.ItemTextEditL6.MaxLength = 100;
     this.ItemTextEditL6.Name = "ItemTextEditL6";
     //
     // ItemTextEditL7
     //
     this.ItemTextEditL7.AutoHeight = false;
     this.ItemTextEditL7.MaxLength = 100;
     this.ItemTextEditL7.Name = "ItemTextEditL7";
     //
     // ItemTextEditL8
     //
     this.ItemTextEditL8.AutoHeight = false;
     this.ItemTextEditL8.MaxLength = 100;
     this.ItemTextEditL8.Name = "ItemTextEditL8";
     //
     // ItemTextEditL9
     //
     this.ItemTextEditL9.AutoHeight = false;
     this.ItemTextEditL9.DisplayFormat.FormatString = "n2";
     this.ItemTextEditL9.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditL9.EditFormat.FormatString = "n2";
     this.ItemTextEditL9.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditL9.Mask.EditMask = "n2";
     this.ItemTextEditL9.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditL9.Name = "ItemTextEditL9";
     //
     // ItemTextEditL10
     //
     this.ItemTextEditL10.AutoHeight = false;
     this.ItemTextEditL10.DisplayFormat.FormatString = "n2";
     this.ItemTextEditL10.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditL10.EditFormat.FormatString = "n2";
     this.ItemTextEditL10.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.ItemTextEditL10.Mask.EditMask = "n2";
     this.ItemTextEditL10.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.ItemTextEditL10.Name = "ItemTextEditL10";
     //
     // ItemTextEditS1
     //
     this.ItemTextEditS1.AutoHeight = false;
     this.ItemTextEditS1.MaxLength = 100;
     this.ItemTextEditS1.Name = "ItemTextEditS1";
     //
     // ItemTextEditS2
     //
     this.ItemTextEditS2.AutoHeight = false;
     this.ItemTextEditS2.MaxLength = 100;
     this.ItemTextEditS2.Name = "ItemTextEditS2";
     //
     // ItemTextEditS3
     //
     this.ItemTextEditS3.AutoHeight = false;
     this.ItemTextEditS3.MaxLength = 100;
     this.ItemTextEditS3.Name = "ItemTextEditS3";
     //
     // ItemTextEditS4
     //
     this.ItemTextEditS4.AutoHeight = false;
     this.ItemTextEditS4.MaxLength = 100;
     this.ItemTextEditS4.Name = "ItemTextEditS4";
     //
     // ItemTextEditS5
     //
     this.ItemTextEditS5.AutoHeight = false;
     this.ItemTextEditS5.MaxLength = 100;
     this.ItemTextEditS5.Name = "ItemTextEditS5";
     //
     // ItemTextEditS6
     //
     this.ItemTextEditS6.AutoHeight = false;
     this.ItemTextEditS6.MaxLength = 100;
     this.ItemTextEditS6.Name = "ItemTextEditS6";
     //
     // ItemTextEditS7
     //
     this.ItemTextEditS7.AutoHeight = false;
     this.ItemTextEditS7.MaxLength = 100;
     this.ItemTextEditS7.Name = "ItemTextEditS7";
     //
     // ItemTextEditS8
     //
     this.ItemTextEditS8.AutoHeight = false;
     this.ItemTextEditS8.MaxLength = 100;
     this.ItemTextEditS8.Name = "ItemTextEditS8";
     //
     // ItemTextEditS9
     //
     this.ItemTextEditS9.AutoHeight = false;
     this.ItemTextEditS9.MaxLength = 100;
     this.ItemTextEditS9.Name = "ItemTextEditS9";
     //
     // ItemTextEditS10
     //
     this.ItemTextEditS10.AutoHeight = false;
     this.ItemTextEditS10.MaxLength = 100;
     this.ItemTextEditS10.Name = "ItemTextEditS10";
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.MaxLength = 100;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     //
     // repositoryItemTextEdit2
     //
     this.repositoryItemTextEdit2.AutoHeight = false;
     this.repositoryItemTextEdit2.MaxLength = 100;
     this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
     //
     // rowAreaName
     //
     this.rowAreaName.Height = 25;
     this.rowAreaName.Name = "rowAreaName";
     this.rowAreaName.Properties.Caption = "����";
     this.rowAreaName.Properties.FieldName = "AreaName";
     this.rowAreaName.Properties.ImageIndex = 25;
     this.rowAreaName.Properties.RowEdit = this.ItemTextEditAreaName;
     //
     // rowTitle
     //
     this.rowTitle.Height = 25;
     this.rowTitle.Name = "rowTitle";
     this.rowTitle.Properties.Caption = "���վ����";
     this.rowTitle.Properties.FieldName = "Title";
     this.rowTitle.Properties.ImageIndex = 25;
     this.rowTitle.Properties.RowEdit = this.ItemTextEditTitle;
     //
     // rowL1
     //
     this.rowL1.Height = 25;
     this.rowL1.Name = "rowL1";
     this.rowL1.Properties.Caption = "��ѹ�ȼ�";
     this.rowL1.Properties.FieldName = "L1";
     this.rowL1.Properties.ImageIndex = 25;
     this.rowL1.Properties.RowEdit = this.ItemTextEditL1;
     //
     // rowL2
     //
     this.rowL2.Height = 25;
     this.rowL2.Name = "rowL2";
     this.rowL2.Properties.Caption = "����(MVA)";
     this.rowL2.Properties.FieldName = "L2";
     this.rowL2.Properties.ImageIndex = 25;
     this.rowL2.Properties.RowEdit = this.ItemTextEditL2;
     //
     // rowL3
     //
     this.rowL3.Height = 25;
     this.rowL3.Name = "rowL3";
     this.rowL3.Properties.Caption = "����̨��(̨)";
     this.rowL3.Properties.FieldName = "L3";
     this.rowL3.Properties.ImageIndex = 25;
     this.rowL3.Properties.RowEdit = this.ItemTextEditL3;
     //
     // rowL4
     //
     this.rowL4.Height = 25;
     this.rowL4.Name = "rowL4";
     this.rowL4.Properties.Caption = "��������";
     this.rowL4.Properties.FieldName = "L4";
     this.rowL4.Properties.ImageIndex = 25;
     this.rowL4.Properties.RowEdit = this.ItemTextEditL4;
     //
     // rowL5
     //
     this.rowL5.Height = 25;
     this.rowL5.Name = "rowL5";
     this.rowL5.Properties.Caption = "�޹�������(Mvar)";
     this.rowL5.Properties.FieldName = "L5";
     this.rowL5.Properties.ImageIndex = 25;
     this.rowL5.Properties.RowEdit = this.ItemTextEditL5;
     //
     // rowL6
     //
     this.rowL6.Height = 25;
     this.rowL6.Name = "rowL6";
     this.rowL6.Properties.Caption = "�޹�������������(Mvar)";
     this.rowL6.Properties.FieldName = "L6";
     this.rowL6.Properties.ImageIndex = 25;
     this.rowL6.Properties.RowEdit = this.ItemTextEditL6;
     //
     // editorRow1
     //
     this.editorRow1.Height = 25;
     this.editorRow1.Name = "editorRow1";
     this.editorRow1.Properties.Caption = "�ѳ��߼������һ��";
     this.editorRow1.Properties.FieldName = "L11";
     this.editorRow1.Properties.RowEdit = this.repositoryItemTextEdit1;
     //
     // editorRow2
     //
     this.editorRow2.Height = 25;
     this.editorRow2.Name = "editorRow2";
     this.editorRow2.Properties.Caption = "�ѳ��߼����������";
     this.editorRow2.Properties.FieldName = "L12";
     this.editorRow2.Properties.RowEdit = this.repositoryItemTextEdit2;
     //
     // rowL7
     //
     this.rowL7.Height = 25;
     this.rowL7.Name = "rowL7";
     this.rowL7.Properties.Caption = "�ɳ��߼������һ��";
     this.rowL7.Properties.FieldName = "L7";
     this.rowL7.Properties.ImageIndex = 25;
     this.rowL7.Properties.RowEdit = this.ItemTextEditL7;
     //
     // rowL8
     //
     this.rowL8.Height = 25;
     this.rowL8.Name = "rowL8";
     this.rowL8.Properties.Caption = "�ɳ��߼����������";
     this.rowL8.Properties.FieldName = "L8";
     this.rowL8.Properties.ImageIndex = 25;
     this.rowL8.Properties.RowEdit = this.ItemTextEditL8;
     //
     // rowL9
     //
     this.rowL9.Height = 25;
     this.rowL9.Name = "rowL9";
     this.rowL9.Properties.Caption = "��󸺺�(MW)";
     this.rowL9.Properties.FieldName = "L9";
     this.rowL9.Properties.ImageIndex = 25;
     this.rowL9.Properties.RowEdit = this.ItemTextEditL9;
     //
     // rowL10
     //
     this.rowL10.Height = 25;
     this.rowL10.Name = "rowL10";
     this.rowL10.Properties.Caption = "������(%)";
     this.rowL10.Properties.FieldName = "L10";
     this.rowL10.Properties.ImageIndex = 25;
     this.rowL10.Properties.RowEdit = this.ItemTextEditL10;
     this.rowL10.Visible = false;
     //
     // rowS1
     //
     this.rowS1.Height = 25;
     this.rowS1.Name = "rowS1";
     this.rowS1.Properties.FieldName = "S1";
     this.rowS1.Properties.ImageIndex = 25;
     this.rowS1.Properties.RowEdit = this.ItemTextEditS1;
     //
     // rowS2
     //
     this.rowS2.Height = 25;
     this.rowS2.Name = "rowS2";
     this.rowS2.Properties.FieldName = "S2";
     this.rowS2.Properties.ImageIndex = 25;
     this.rowS2.Properties.RowEdit = this.ItemTextEditS2;
     //
     // rowS3
     //
     this.rowS3.Height = 25;
     this.rowS3.Name = "rowS3";
     this.rowS3.Properties.FieldName = "S3";
     this.rowS3.Properties.ImageIndex = 25;
     this.rowS3.Properties.RowEdit = this.ItemTextEditS3;
     //
     // rowS4
     //
     this.rowS4.Height = 25;
     this.rowS4.Name = "rowS4";
     this.rowS4.Properties.FieldName = "S4";
     this.rowS4.Properties.ImageIndex = 25;
     this.rowS4.Properties.RowEdit = this.ItemTextEditS4;
     //
     // rowS5
     //
     this.rowS5.Height = 25;
     this.rowS5.Name = "rowS5";
     this.rowS5.Properties.FieldName = "S5";
     this.rowS5.Properties.ImageIndex = 25;
     this.rowS5.Properties.RowEdit = this.ItemTextEditS5;
     //
     // rowS6
     //
     this.rowS6.Height = 25;
     this.rowS6.Name = "rowS6";
     this.rowS6.Properties.FieldName = "S6";
     this.rowS6.Properties.ImageIndex = 25;
     this.rowS6.Properties.RowEdit = this.ItemTextEditS6;
     //
     // rowS7
     //
     this.rowS7.Height = 25;
     this.rowS7.Name = "rowS7";
     this.rowS7.Properties.FieldName = "S7";
     this.rowS7.Properties.ImageIndex = 25;
     this.rowS7.Properties.RowEdit = this.ItemTextEditS7;
     //
     // rowS8
     //
     this.rowS8.Height = 25;
     this.rowS8.Name = "rowS8";
     this.rowS8.Properties.FieldName = "S8";
     this.rowS8.Properties.ImageIndex = 25;
     this.rowS8.Properties.RowEdit = this.ItemTextEditS8;
     //
     // rowS9
     //
     this.rowS9.Height = 25;
     this.rowS9.Name = "rowS9";
     this.rowS9.Properties.FieldName = "S9";
     this.rowS9.Properties.ImageIndex = 25;
     this.rowS9.Properties.RowEdit = this.ItemTextEditS9;
     //
     // rowS10
     //
     this.rowS10.Height = 25;
     this.rowS10.Name = "rowS10";
     this.rowS10.Properties.FieldName = "S10";
     this.rowS10.Properties.ImageIndex = 25;
     this.rowS10.Properties.RowEdit = this.ItemTextEditS10;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(210, 343);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 0;
     this.btnOK.Text = "ȷ��";
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(314, 343);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 0;
     this.btnCancel.Text = "ȡ��";
     //
     // FrmSubstation_InfoDialog
     //
     this.ClientSize = new System.Drawing.Size(409, 375);
     this.Controls.Add(this.panelControl);
     this.Name = "FrmSubstation_InfoDialog";
     this.Load += new System.EventHandler(this.FrmSubstation_InfoDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit();
     this.panelControl.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.tabPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditAreaName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditTitle)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #16
0
ファイル: NhaCungCap.cs プロジェクト: khanhdtn/my-fw-win
        public void CreateVGrid(DevExpress.XtraVerticalGrid.VGridControl vgrid)
        {
            DevExpress.XtraVerticalGrid.Rows.EditorRow row_id = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_id.Properties.Caption = "ID";
            row_id.Properties.FieldName = "ID";
            row_id.Visible = false;
            vgrid.Rows.Add(row_id);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_ma_ncc = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_ma_ncc.Properties.Caption = "Mã nhà cung cấp";
            row_ma_ncc.Properties.FieldName = "MA_NCC";
            vgrid.Rows.Add(row_ma_ncc);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_name = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_name.Properties.Caption = "Tên nhà cung cấp";
            row_name.Properties.FieldName = "NAME";
            vgrid.Rows.Add(row_name);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_dia_chi = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_dia_chi.Properties.Caption = "Địa chỉ";
            row_dia_chi.Properties.FieldName = "DIA_CHI";
            vgrid.Rows.Add(row_dia_chi);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_dien_thoai = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_dien_thoai.Properties.Caption = "Điện thoại";
            row_dien_thoai.Properties.FieldName = "DIEN_THOAI";
            vgrid.Rows.Add(row_dien_thoai);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_fax = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_fax.Properties.Caption = "Fax";
            row_fax.Properties.FieldName = "FAX";
            vgrid.Rows.Add(row_fax);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_email = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_email.Properties.Caption = "Email";
            row_email.Properties.FieldName = "EMAIL";
            vgrid.Rows.Add(row_email);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_website = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_website.Properties.Caption = "Trang web";
            row_website.Properties.FieldName = "WEBSITE";
            vgrid.Rows.Add(row_website);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_ma_so_thue = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_ma_so_thue.Properties.Caption = "Mã số thuế";
            row_ma_so_thue.Properties.FieldName = "MA_SO_THUE";
            vgrid.Rows.Add(row_ma_so_thue);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_nguoi_dai_dien = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_nguoi_dai_dien.Properties.Caption = "Người đại diện";
            row_nguoi_dai_dien.Properties.FieldName = "NGUOI_DAI_DIEN";
            vgrid.Rows.Add(row_nguoi_dai_dien);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_chiet_khau = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_chiet_khau.Properties.Caption = "Chiết khấu";
            row_chiet_khau.Properties.FieldName = "CHIET_KHAU";
            vgrid.Rows.Add(row_chiet_khau);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_han_muc_tin_dung = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_han_muc_tin_dung.Properties.Caption = "Hạn mức tín dụng";
            row_han_muc_tin_dung.Properties.FieldName = "HAN_MUC_TIN_DUNG";
            vgrid.Rows.Add(row_han_muc_tin_dung);

            DevExpress.XtraVerticalGrid.Rows.EditorRow row_tuoi_no = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            row_tuoi_no.Properties.Caption = "Tuổi nợ";
            row_tuoi_no.Properties.FieldName = "TUOI_NO";
            vgrid.Rows.Add(row_tuoi_no);
        }
コード例 #17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataSet1      = new System.Data.DataSet();
     this.dataTable1    = new System.Data.DataTable();
     this.dataColumn1   = new System.Data.DataColumn();
     this.dataColumn2   = new System.Data.DataColumn();
     this.dataColumn3   = new System.Data.DataColumn();
     this.dataColumn4   = new System.Data.DataColumn();
     this.vGridControl1 = new DevExpress.XtraVerticalGrid.VGridControl();
     this.rowColumn1    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowColumn2    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowColumn3    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowColumn4    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.radioGroup1   = new DevExpress.XtraEditors.RadioGroup();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // dataSet1
     //
     this.dataSet1.DataSetName = "NewDataSet";
     this.dataSet1.Locale      = new System.Globalization.CultureInfo("en-US");
     this.dataSet1.Tables.AddRange(new System.Data.DataTable[] {
         this.dataTable1
     });
     //
     // dataTable1
     //
     this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] {
         this.dataColumn1,
         this.dataColumn2,
         this.dataColumn3,
         this.dataColumn4
     });
     this.dataTable1.TableName = "Table1";
     //
     // dataColumn1
     //
     this.dataColumn1.ColumnName = "Column1";
     this.dataColumn1.DataType   = typeof(int);
     //
     // dataColumn2
     //
     this.dataColumn2.ColumnName = "Column2";
     //
     // dataColumn3
     //
     this.dataColumn3.ColumnName = "Column3";
     this.dataColumn3.DataType   = typeof(System.DateTime);
     //
     // dataColumn4
     //
     this.dataColumn4.ColumnName = "Column4";
     this.dataColumn4.DataType   = typeof(bool);
     //
     // vGridControl1
     //
     this.vGridControl1.DataSource = this.dataTable1;
     this.vGridControl1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.vGridControl1.Location   = new System.Drawing.Point(0, 0);
     this.vGridControl1.Name       = "vGridControl1";
     this.vGridControl1.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
         this.rowColumn1,
         this.rowColumn2,
         this.rowColumn3,
         this.rowColumn4
     });
     this.vGridControl1.Size             = new System.Drawing.Size(504, 306);
     this.vGridControl1.TabIndex         = 0;
     this.vGridControl1.RecordCellStyle += new DevExpress.XtraVerticalGrid.Events.GetCustomRowCellStyleEventHandler(this.vGridControl1_RecordCellStyle);
     //
     // rowColumn1
     //
     this.rowColumn1.Name = "rowColumn1";
     this.rowColumn1.Properties.Caption   = "Column1";
     this.rowColumn1.Properties.FieldName = "Column1";
     //
     // rowColumn2
     //
     this.rowColumn2.Name = "rowColumn2";
     this.rowColumn2.Properties.Caption   = "Column2";
     this.rowColumn2.Properties.FieldName = "Column2";
     //
     // rowColumn3
     //
     this.rowColumn3.Name = "rowColumn3";
     this.rowColumn3.Properties.Caption   = "Column3";
     this.rowColumn3.Properties.FieldName = "Column3";
     //
     // rowColumn4
     //
     this.rowColumn4.Name = "rowColumn4";
     this.rowColumn4.Properties.Caption   = "Column4";
     this.rowColumn4.Properties.FieldName = "Column4";
     //
     // radioGroup1
     //
     this.radioGroup1.Dock               = System.Windows.Forms.DockStyle.Bottom;
     this.radioGroup1.EditValue          = true;
     this.radioGroup1.Location           = new System.Drawing.Point(0, 306);
     this.radioGroup1.Name               = "radioGroup1";
     this.radioGroup1.Properties.Columns = 2;
     this.radioGroup1.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
         new DevExpress.XtraEditors.Controls.RadioGroupItem(true, "Apply to records"),
         new DevExpress.XtraEditors.Controls.RadioGroupItem(false, "Apply to rows")
     });
     this.radioGroup1.Size                  = new System.Drawing.Size(504, 35);
     this.radioGroup1.TabIndex              = 1;
     this.radioGroup1.SelectedIndexChanged += new System.EventHandler(this.radioGroup1_SelectedIndexChanged);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(504, 341);
     this.Controls.Add(this.vGridControl1);
     this.Controls.Add(this.radioGroup1);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #18
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraVerticalGrid.Rows.EditorRow row选中项目;
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.DevXtraTabControl = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage设置 = new DevExpress.XtraTab.XtraTabPage();
            this.simpleButton7 = new DevExpress.XtraEditors.SimpleButton();
            this.simpleButton6 = new DevExpress.XtraEditors.SimpleButton();
            this.gridControl2 = new DevExpress.XtraGrid.GridControl();
            this.dataSetFMFormulaTemplate = new AppraiseMethod.DataSetFMFormulaTemplate();
            this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMethodBigClass = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMethodSmallClass = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMethodFormula = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMethodDemo = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMethodOrder = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMethodAddTime = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMethodModifyTime = new DevExpress.XtraGrid.Columns.GridColumn();
            this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
            this.txt建筑面积 = new DevExpress.XtraEditors.TextEdit();
            this.txt土地面积 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            this.txtRjlxs = new DevExpress.XtraEditors.TextEdit();
            this.labelControl27 = new DevExpress.XtraEditors.LabelControl();
            this.txtNqxs = new DevExpress.XtraEditors.TextEdit();
            this.labelControl25 = new DevExpress.XtraEditors.LabelControl();
            this.progress1 = new DevExpress.XtraEditors.MarqueeProgressBarControl();
            this.chkbox别墅 = new DevExpress.XtraEditors.CheckEdit();
            this.chkbox住宅 = new DevExpress.XtraEditors.CheckEdit();
            this.chkbox工业 = new DevExpress.XtraEditors.CheckEdit();
            this.chkbox商住 = new DevExpress.XtraEditors.CheckEdit();
            this.sbCreateReport = new DevExpress.XtraEditors.SimpleButton();
            this.simpleButton5 = new DevExpress.XtraEditors.SimpleButton();
            this.simpleButton4 = new DevExpress.XtraEditors.SimpleButton();
            this.txtRjl = new DevExpress.XtraEditors.TextEdit();
            this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
            this.txtTdsdnx = new DevExpress.XtraEditors.TextEdit();
            this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
            this.txtTdsrlx = new DevExpress.XtraEditors.TextEdit();
            this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
            this.txtTdhyll = new DevExpress.XtraEditors.TextEdit();
            this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
            this.txtQrxzxs = new DevExpress.XtraEditors.TextEdit();
            this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
            this.txtJzdj = new DevExpress.XtraEditors.TextEdit();
            this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
            this.txtTdjb = new DevExpress.XtraEditors.TextEdit();
            this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
            this.gridControlGy = new DevExpress.XtraGrid.GridControl();
            this.gridViewLand = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemComboBox具体条件 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.txtQph = new DevExpress.XtraEditors.TextEdit();
            this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
            this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.labelControl55 = new DevExpress.XtraEditors.LabelControl();
            this.txtCbf基准地价修正法土地总价 = new DevExpress.XtraEditors.TextEdit();
            this.btCbf1Res = new DevExpress.XtraEditors.SimpleButton();
            this.btCbf1Save = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl36 = new DevExpress.XtraEditors.LabelControl();
            this.txtCbf建筑物的成新率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl35 = new DevExpress.XtraEditors.LabelControl();
            this.txtCbf前期费用 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl31 = new DevExpress.XtraEditors.LabelControl();
            this.txtCbf取土建总造价的百分率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl28 = new DevExpress.XtraEditors.LabelControl();
            this.txtCbf建安费 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl26 = new DevExpress.XtraEditors.LabelControl();
            this.txtCbf土建成本 = new DevExpress.XtraEditors.TextEdit();
            this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
            this.groupControl3 = new DevExpress.XtraEditors.GroupControl();
            this.gdcJsfGy = new DevExpress.XtraGrid.GridControl();
            this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gcID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gc名称 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gc结果 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.sbJsfGyRestore = new DevExpress.XtraEditors.SimpleButton();
            this.sbJsfGySave = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl24 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf买方负担的税费率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf开发利润率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf销售费用率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf销售税金率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf销售周期 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf开发建设周期 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf基准年利息率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf管理费率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf报建费 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf土建工程建筑费用 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf室外工程建筑费用 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf专业费率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
            this.txtJsf安装工程建筑费用 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.txtjsf市场售价 = new DevExpress.XtraEditors.TextEdit();
            this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage();
            this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
            this.gcMarket = new DevExpress.XtraGrid.GridControl();
            this.fMFCMarketComporisonApproachTemplateBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.marketFieldSelectDataSet = new AppraiseMethod.MarketFieldSelectDataSet();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.是否选中 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemMarketCheck = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
            this.id = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colname1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colname2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colname3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.vgc_Market = new DevExpress.XtraVerticalGrid.VGridControl();
            this.fMMARKETHIDECOLUMNBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.marketDataSet = new AppraiseMethod.MarketDataSet();
            this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
            this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox3 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox4 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox5 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox6 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
            this.repositoryItemComboBox7 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox8 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox9 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox10 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox11 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox12 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox13 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox14 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox15 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox16 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.repositoryItemComboBox17 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.categoryRow6 = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            this.rowID = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.categoryRow1 = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            this.categoryRow4 = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            this.row比较项目 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row位置 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row房地产用途 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row交易价格 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row交易日期 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row交易日期打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row交易情况 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row交易情况打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.categoryRow2 = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            this.row商服中心距离 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row商服中心距离打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row道路通达度 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row道路通达度打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row供电保证率 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row供电保证率打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row供水保证率 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row供水保证率打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row排水状况 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row排水状况打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row公园距离 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row公园距离打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row体育场馆距离 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row体育场馆距离打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row中学距离 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row中学距离打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row小学距离 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row小学距离打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row幼儿园距离 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row幼儿园距离打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row治安状况 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row治安状况打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row绿化状况 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row绿化状况打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row大气污染 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row大气污染打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row噪声污染 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row噪声污染打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.categoryRow3 = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            this.row建筑物成新率 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row建筑物成新率打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row建筑结构 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row建筑结构打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row建筑面积 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row建筑面积打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row朝向 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row朝向打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row楼型 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row楼型打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row楼梯 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row楼梯打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row电梯 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row电梯打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row物业管理状况 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row物业管理状况打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row装修情况 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row装修情况打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row户型布局 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row户型布局打分 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.categoryRow5 = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            this.row总修正系数 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row权重 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.row比准价格 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
            this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
            this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
            this.删除未选中的案例 = new DevExpress.XtraEditors.SimpleButton();
            this.btnMarketSaveToXls = new DevExpress.XtraEditors.SimpleButton();
            this.btMarketSave = new DevExpress.XtraEditors.SimpleButton();
            this.btMarketCustomize = new DevExpress.XtraEditors.SimpleButton();
            this.添加案例 = new DevExpress.XtraEditors.SimpleButton();
            this.xtraTabPage6 = new DevExpress.XtraTab.XtraTabPage();
            this.btSyf1Res = new DevExpress.XtraEditors.SimpleButton();
            this.btSyf1Save = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl54 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf成本法房屋现值 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl53 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf收益年限 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl52 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf收益率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl61 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf个人所得税率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl60 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf教育费附加率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl59 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf城市维护建设税率 = new DevExpress.XtraEditors.TextEdit();
            this.lblSyf营业税率 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf营业税率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl51 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf房产税率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl50 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf保险费率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl49 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf维修费率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl42 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf建筑物现值 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl41 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf管理费率 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl40 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf月租金 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl39 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf收益总面积 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl38 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf空置时间 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl37 = new DevExpress.XtraEditors.LabelControl();
            this.txtSyf可出租时间 = new DevExpress.XtraEditors.TextEdit();
            this.xtraTabPage假设开发法_商品房 = new DevExpress.XtraTab.XtraTabPage();
            this.groupControl4 = new DevExpress.XtraEditors.GroupControl();
            this.labelControl62 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl58 = new DevExpress.XtraEditors.LabelControl();
            this.lue_年利润率 = new DevExpress.XtraEditors.LookUpEdit();
            this.lue_建筑安装工程费 = new DevExpress.XtraEditors.LookUpEdit();
            this.txtJsfspf楼面地价 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl57 = new DevExpress.XtraEditors.LabelControl();
            this.rgroup_jsfspf = new DevExpress.XtraEditors.RadioGroup();
            this.simpleButton8 = new DevExpress.XtraEditors.SimpleButton();
            this.sbJsfspfSave = new DevExpress.XtraEditors.SimpleButton();
            this.txtJsfspf房地产单价 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl56 = new DevExpress.XtraEditors.LabelControl();
            this.fMFormulaTemplateBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.fMFCMarketComporisonApproachBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.fM_FCMarketComporisonApproachTableAdapter1 = new AppraiseMethod.MarketDataSetTableAdapters.FM_FCMarketComporisonApproachTableAdapter();
            this.fM_MARKETHIDECOLUMNTableAdapter = new AppraiseMethod.MarketDataSetTableAdapters.FM_MARKETHIDECOLUMNTableAdapter();
            this.landDatumValue = new AppraiseMethod.LandDatumValue();
            this.gyqpTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.gyqpTableAdapter();
            this.gyszxsTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.gyszxsTableAdapter();
            this.gyszysTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.gyszysTableAdapter();
            this.rjlszTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.rjlszTableAdapter();
            this.szqpTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.szqpTableAdapter();
            this.szszxsTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.szszxsTableAdapter();
            this.szszysTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.szszysTableAdapter();
            this.zzqpTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.zzqpTableAdapter();
            this.zzszxsTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.zzszxsTableAdapter();
            this.zzszysTableAdapter1 = new AppraiseMethod.LandDatumValueTableAdapters.zzszysTableAdapter();
            this.fM_FCMarketComporisonApproachTemplateTableAdapter = new AppraiseMethod.MarketFieldSelectDataSetTableAdapters.FM_FCMarketComporisonApproachTemplateTableAdapter();
            this.作为比较项 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.fmMethodDataSet = new AppraiseMethod.DataSetMethod();
            this.fM_MethodTableAdapter1 = new AppraiseMethod.DataSetMethodTableAdapters.FM_MethodTableAdapter();
            this.labelControl29 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit20 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl30 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit21 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl32 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit23 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl33 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit24 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl34 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit25 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl43 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl44 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit34 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl45 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit35 = new DevExpress.XtraEditors.TextEdit();
            this.textEdit36 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl46 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit37 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl47 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit38 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl48 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit39 = new DevExpress.XtraEditors.TextEdit();
            this.fM_FormulaTemplateTableAdapter = new AppraiseMethod.DataSetFMFormulaTemplateTableAdapters.FM_FormulaTemplateTableAdapter();
            row选中项目 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            this.panelControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.DevXtraTabControl)).BeginInit();
            this.DevXtraTabControl.SuspendLayout();
            this.xtraTabPage设置.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataSetFMFormulaTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
            this.xtraTabPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt建筑面积.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt土地面积.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            this.xtraTabPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtRjlxs.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNqxs.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.progress1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkbox别墅.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkbox住宅.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkbox工业.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkbox商住.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtRjl.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTdsdnx.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTdsrlx.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTdhyll.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtQrxzxs.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJzdj.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTdjb.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControlGy)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewLand)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox具体条件)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtQph.Properties)).BeginInit();
            this.xtraTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf基准地价修正法土地总价.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf建筑物的成新率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf前期费用.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf取土建总造价的百分率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf建安费.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf土建成本.Properties)).BeginInit();
            this.xtraTabPage4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).BeginInit();
            this.groupControl3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gdcJsfGy)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf买方负担的税费率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf开发利润率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf销售费用率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf销售税金率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf销售周期.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf开发建设周期.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf基准年利息率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf管理费率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf报建费.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf土建工程建筑费用.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf室外工程建筑费用.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf专业费率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf安装工程建筑费用.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtjsf市场售价.Properties)).BeginInit();
            this.xtraTabPage5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
            this.groupControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gcMarket)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fMFCMarketComporisonApproachTemplateBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.marketFieldSelectDataSet)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMarketCheck)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.vgc_Market)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fMMARKETHIDECOLUMNBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.marketDataSet)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox9)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox10)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox11)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox12)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox13)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox14)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox15)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox16)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox17)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
            this.groupControl1.SuspendLayout();
            this.xtraTabPage6.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf成本法房屋现值.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf收益年限.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf收益率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf个人所得税率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf教育费附加率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf城市维护建设税率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf营业税率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf房产税率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf保险费率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf维修费率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf建筑物现值.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf管理费率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf月租金.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf收益总面积.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf空置时间.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf可出租时间.Properties)).BeginInit();
            this.xtraTabPage假设开发法_商品房.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit();
            this.groupControl4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lue_年利润率.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lue_建筑安装工程费.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsfspf楼面地价.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.rgroup_jsfspf.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsfspf房地产单价.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fMFormulaTemplateBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fMFCMarketComporisonApproachBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.landDatumValue)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fmMethodDataSet)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit20.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit21.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit23.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit24.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit25.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit34.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit35.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit36.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit37.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit38.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit39.Properties)).BeginInit();
            this.SuspendLayout();
            // 
            // row选中项目
            // 
            row选中项目.Name = "row选中项目";
            row选中项目.OptionsRow.AllowMoveToCustomizationForm = false;
            row选中项目.Properties.Caption = "选中";
            row选中项目.Properties.FieldName = "选中项目";
            row选中项目.Properties.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            // 
            // panelControl1
            // 
            this.panelControl1.Controls.Add(this.DevXtraTabControl);
            this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelControl1.Location = new System.Drawing.Point(0, 0);
            this.panelControl1.Name = "panelControl1";
            this.panelControl1.Size = new System.Drawing.Size(457, 304);
            this.panelControl1.TabIndex = 0;
            // 
            // DevXtraTabControl
            // 
            this.DevXtraTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.DevXtraTabControl.Location = new System.Drawing.Point(2, 2);
            this.DevXtraTabControl.Name = "DevXtraTabControl";
            this.DevXtraTabControl.SelectedTabPage = this.xtraTabPage假设开发法_商品房;
            this.DevXtraTabControl.Size = new System.Drawing.Size(453, 300);
            this.DevXtraTabControl.TabIndex = 2;
            this.DevXtraTabControl.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage1,
            this.xtraTabPage2,
            this.xtraTabPage3,
            this.xtraTabPage4,
            this.xtraTabPage5,
            this.xtraTabPage6,
            this.xtraTabPage假设开发法_商品房,
            this.xtraTabPage设置});
            this.DevXtraTabControl.Click += new System.EventHandler(this.xtraTabControl1_Click);
            // 
            // xtraTabPage设置
            // 
            this.xtraTabPage设置.Controls.Add(this.simpleButton7);
            this.xtraTabPage设置.Controls.Add(this.simpleButton6);
            this.xtraTabPage设置.Controls.Add(this.gridControl2);
            this.xtraTabPage设置.Name = "xtraTabPage设置";
            this.xtraTabPage设置.PageVisible = false;
            this.xtraTabPage设置.Size = new System.Drawing.Size(946, 577);
            this.xtraTabPage设置.Text = "设置";
            // 
            // simpleButton7
            // 
            this.simpleButton7.Location = new System.Drawing.Point(105, 15);
            this.simpleButton7.Name = "simpleButton7";
            this.simpleButton7.Size = new System.Drawing.Size(75, 23);
            this.simpleButton7.TabIndex = 28;
            this.simpleButton7.Text = "解析公式";
            this.simpleButton7.Click += new System.EventHandler(this.simpleButton7_Click);
            // 
            // simpleButton6
            // 
            this.simpleButton6.Location = new System.Drawing.Point(7, 15);
            this.simpleButton6.Name = "simpleButton6";
            this.simpleButton6.Size = new System.Drawing.Size(75, 23);
            this.simpleButton6.TabIndex = 27;
            this.simpleButton6.Text = "保存数据";
            this.simpleButton6.Click += new System.EventHandler(this.simpleButton6_Click);
            // 
            // gridControl2
            // 
            this.gridControl2.DataMember = "FM_FormulaTemplate";
            this.gridControl2.DataSource = this.dataSetFMFormulaTemplate;
            this.gridControl2.EmbeddedNavigator.TextLocation = DevExpress.XtraEditors.NavigatorButtonsTextLocation.Begin;
            this.gridControl2.Location = new System.Drawing.Point(7, 44);
            this.gridControl2.MainView = this.gridView3;
            this.gridControl2.Name = "gridControl2";
            this.gridControl2.Size = new System.Drawing.Size(920, 297);
            this.gridControl2.TabIndex = 0;
            this.gridControl2.UseEmbeddedNavigator = true;
            this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView3});
            // 
            // dataSetFMFormulaTemplate
            // 
            this.dataSetFMFormulaTemplate.DataSetName = "DataSetFMFormulaTemplate";
            this.dataSetFMFormulaTemplate.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // gridView3
            // 
            this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colID,
            this.colMethodBigClass,
            this.colMethodSmallClass,
            this.colMethodFormula,
            this.colMethodDemo,
            this.colMethodOrder,
            this.colMethodAddTime,
            this.colMethodModifyTime});
            this.gridView3.GridControl = this.gridControl2;
            this.gridView3.Name = "gridView3";
            this.gridView3.InitNewRow += new DevExpress.XtraGrid.Views.Grid.InitNewRowEventHandler(this.gridView3_InitNewRow);
            // 
            // colID
            // 
            this.colID.Caption = "ID";
            this.colID.FieldName = "ID";
            this.colID.Name = "colID";
            this.colID.OptionsColumn.ReadOnly = true;
            this.colID.Visible = true;
            this.colID.VisibleIndex = 0;
            this.colID.Width = 112;
            // 
            // colMethodBigClass
            // 
            this.colMethodBigClass.Caption = "大类";
            this.colMethodBigClass.FieldName = "MethodBigClass";
            this.colMethodBigClass.Name = "colMethodBigClass";
            this.colMethodBigClass.Visible = true;
            this.colMethodBigClass.VisibleIndex = 1;
            this.colMethodBigClass.Width = 112;
            // 
            // colMethodSmallClass
            // 
            this.colMethodSmallClass.Caption = "小类";
            this.colMethodSmallClass.FieldName = "MethodSmallClass";
            this.colMethodSmallClass.Name = "colMethodSmallClass";
            this.colMethodSmallClass.Visible = true;
            this.colMethodSmallClass.VisibleIndex = 2;
            this.colMethodSmallClass.Width = 132;
            // 
            // colMethodFormula
            // 
            this.colMethodFormula.Caption = "公式";
            this.colMethodFormula.FieldName = "MethodFormula";
            this.colMethodFormula.Name = "colMethodFormula";
            this.colMethodFormula.Visible = true;
            this.colMethodFormula.VisibleIndex = 3;
            this.colMethodFormula.Width = 129;
            // 
            // colMethodDemo
            // 
            this.colMethodDemo.Caption = "备注";
            this.colMethodDemo.FieldName = "MethodDemo";
            this.colMethodDemo.Name = "colMethodDemo";
            this.colMethodDemo.Visible = true;
            this.colMethodDemo.VisibleIndex = 4;
            this.colMethodDemo.Width = 99;
            // 
            // colMethodOrder
            // 
            this.colMethodOrder.Caption = "排序";
            this.colMethodOrder.FieldName = "MethodOrder";
            this.colMethodOrder.Name = "colMethodOrder";
            this.colMethodOrder.Visible = true;
            this.colMethodOrder.VisibleIndex = 5;
            this.colMethodOrder.Width = 101;
            // 
            // colMethodAddTime
            // 
            this.colMethodAddTime.Caption = "入库时间";
            this.colMethodAddTime.FieldName = "MethodAddTime";
            this.colMethodAddTime.Name = "colMethodAddTime";
            this.colMethodAddTime.Visible = true;
            this.colMethodAddTime.VisibleIndex = 6;
            this.colMethodAddTime.Width = 77;
            // 
            // colMethodModifyTime
            // 
            this.colMethodModifyTime.Caption = "修改时间";
            this.colMethodModifyTime.FieldName = "MethodModifyTime";
            this.colMethodModifyTime.Name = "colMethodModifyTime";
            this.colMethodModifyTime.Visible = true;
            this.colMethodModifyTime.VisibleIndex = 7;
            this.colMethodModifyTime.Width = 137;
            // 
            // xtraTabPage1
            // 
            this.xtraTabPage1.Controls.Add(this.txt建筑面积);
            this.xtraTabPage1.Controls.Add(this.txt土地面积);
            this.xtraTabPage1.Controls.Add(this.labelControl2);
            this.xtraTabPage1.Controls.Add(this.labelControl1);
            this.xtraTabPage1.Controls.Add(this.gridControl1);
            this.xtraTabPage1.Name = "xtraTabPage1";
            this.xtraTabPage1.PageVisible = false;
            this.xtraTabPage1.Size = new System.Drawing.Size(946, 577);
            this.xtraTabPage1.Text = "业务数据继承";
            // 
            // txt建筑面积
            // 
            this.txt建筑面积.Location = new System.Drawing.Point(140, 52);
            this.txt建筑面积.Name = "txt建筑面积";
            this.txt建筑面积.Size = new System.Drawing.Size(100, 21);
            this.txt建筑面积.TabIndex = 4;
            // 
            // txt土地面积
            // 
            this.txt土地面积.Location = new System.Drawing.Point(140, 17);
            this.txt土地面积.Name = "txt土地面积";
            this.txt土地面积.Size = new System.Drawing.Size(100, 21);
            this.txt土地面积.TabIndex = 3;
            // 
            // labelControl2
            // 
            this.labelControl2.Location = new System.Drawing.Point(25, 52);
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new System.Drawing.Size(108, 14);
            this.labelControl2.TabIndex = 2;
            this.labelControl2.Text = "评估选用建筑面积:";
            // 
            // labelControl1
            // 
            this.labelControl1.Location = new System.Drawing.Point(25, 17);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(108, 14);
            this.labelControl1.TabIndex = 1;
            this.labelControl1.Text = "评估选用土地面积:";
            // 
            // gridControl1
            // 
            this.gridControl1.Location = new System.Drawing.Point(25, 96);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.Size = new System.Drawing.Size(613, 132);
            this.gridControl1.TabIndex = 0;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            this.gridControl1.Visible = false;
            // 
            // gridView1
            // 
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.Name = "gridView1";
            // 
            // xtraTabPage2
            // 
            this.xtraTabPage2.Controls.Add(this.txtRjlxs);
            this.xtraTabPage2.Controls.Add(this.labelControl27);
            this.xtraTabPage2.Controls.Add(this.txtNqxs);
            this.xtraTabPage2.Controls.Add(this.labelControl25);
            this.xtraTabPage2.Controls.Add(this.progress1);
            this.xtraTabPage2.Controls.Add(this.chkbox别墅);
            this.xtraTabPage2.Controls.Add(this.chkbox住宅);
            this.xtraTabPage2.Controls.Add(this.chkbox工业);
            this.xtraTabPage2.Controls.Add(this.chkbox商住);
            this.xtraTabPage2.Controls.Add(this.sbCreateReport);
            this.xtraTabPage2.Controls.Add(this.simpleButton5);
            this.xtraTabPage2.Controls.Add(this.simpleButton4);
            this.xtraTabPage2.Controls.Add(this.txtRjl);
            this.xtraTabPage2.Controls.Add(this.labelControl12);
            this.xtraTabPage2.Controls.Add(this.txtTdsdnx);
            this.xtraTabPage2.Controls.Add(this.labelControl11);
            this.xtraTabPage2.Controls.Add(this.txtTdsrlx);
            this.xtraTabPage2.Controls.Add(this.labelControl10);
            this.xtraTabPage2.Controls.Add(this.txtTdhyll);
            this.xtraTabPage2.Controls.Add(this.labelControl9);
            this.xtraTabPage2.Controls.Add(this.txtQrxzxs);
            this.xtraTabPage2.Controls.Add(this.labelControl8);
            this.xtraTabPage2.Controls.Add(this.txtJzdj);
            this.xtraTabPage2.Controls.Add(this.labelControl7);
            this.xtraTabPage2.Controls.Add(this.txtTdjb);
            this.xtraTabPage2.Controls.Add(this.labelControl6);
            this.xtraTabPage2.Controls.Add(this.gridControlGy);
            this.xtraTabPage2.Controls.Add(this.simpleButton1);
            this.xtraTabPage2.Controls.Add(this.txtQph);
            this.xtraTabPage2.Controls.Add(this.labelControl3);
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.PageVisible = false;
            this.xtraTabPage2.Size = new System.Drawing.Size(946, 577);
            this.xtraTabPage2.Text = "基准地价修正法";
            this.xtraTabPage2.Paint += new System.Windows.Forms.PaintEventHandler(this.xtraTabPage2_Paint);
            // 
            // txtRjlxs
            // 
            this.txtRjlxs.Enabled = false;
            this.txtRjlxs.Location = new System.Drawing.Point(737, 100);
            this.txtRjlxs.Name = "txtRjlxs";
            this.txtRjlxs.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.txtRjlxs.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtRjlxs.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtRjlxs.Size = new System.Drawing.Size(62, 21);
            this.txtRjlxs.TabIndex = 37;
            // 
            // labelControl27
            // 
            this.labelControl27.Location = new System.Drawing.Point(635, 104);
            this.labelControl27.Name = "labelControl27";
            this.labelControl27.Size = new System.Drawing.Size(96, 14);
            this.labelControl27.TabIndex = 36;
            this.labelControl27.Text = "容积率修正系数:";
            // 
            // txtNqxs
            // 
            this.txtNqxs.Enabled = false;
            this.txtNqxs.Location = new System.Drawing.Point(503, 101);
            this.txtNqxs.Name = "txtNqxs";
            this.txtNqxs.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.txtNqxs.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtNqxs.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtNqxs.Size = new System.Drawing.Size(100, 21);
            this.txtNqxs.TabIndex = 35;
            // 
            // labelControl25
            // 
            this.labelControl25.Location = new System.Drawing.Point(413, 104);
            this.labelControl25.Name = "labelControl25";
            this.labelControl25.Size = new System.Drawing.Size(84, 14);
            this.labelControl25.TabIndex = 34;
            this.labelControl25.Text = "年期修正系数:";
            // 
            // progress1
            // 
            this.progress1.EditValue = 0;
            this.progress1.Location = new System.Drawing.Point(619, 10);
            this.progress1.Name = "progress1";
            this.progress1.Properties.ShowTitle = true;
            this.progress1.Size = new System.Drawing.Size(180, 21);
            this.progress1.TabIndex = 33;
            this.progress1.Visible = false;
            // 
            // chkbox别墅
            // 
            this.chkbox别墅.Location = new System.Drawing.Point(184, 40);
            this.chkbox别墅.Name = "chkbox别墅";
            this.chkbox别墅.Properties.Caption = "别墅";
            this.chkbox别墅.Size = new System.Drawing.Size(48, 19);
            this.chkbox别墅.TabIndex = 32;
            // 
            // chkbox住宅
            // 
            this.chkbox住宅.Location = new System.Drawing.Point(129, 39);
            this.chkbox住宅.Name = "chkbox住宅";
            this.chkbox住宅.Properties.Caption = "住宅";
            this.chkbox住宅.Size = new System.Drawing.Size(49, 19);
            this.chkbox住宅.TabIndex = 31;
            // 
            // chkbox工业
            // 
            this.chkbox工业.Location = new System.Drawing.Point(75, 38);
            this.chkbox工业.Name = "chkbox工业";
            this.chkbox工业.Properties.Caption = "工业";
            this.chkbox工业.Size = new System.Drawing.Size(48, 19);
            this.chkbox工业.TabIndex = 30;
            // 
            // chkbox商住
            // 
            this.chkbox商住.Location = new System.Drawing.Point(23, 38);
            this.chkbox商住.Name = "chkbox商住";
            this.chkbox商住.Properties.Caption = "商住";
            this.chkbox商住.Size = new System.Drawing.Size(50, 19);
            this.chkbox商住.TabIndex = 29;
            // 
            // sbCreateReport
            // 
            this.sbCreateReport.Location = new System.Drawing.Point(538, 10);
            this.sbCreateReport.Name = "sbCreateReport";
            this.sbCreateReport.Size = new System.Drawing.Size(75, 23);
            this.sbCreateReport.TabIndex = 28;
            this.sbCreateReport.Text = "计算";
            this.sbCreateReport.Click += new System.EventHandler(this.sbCreateReport_Click);
            // 
            // simpleButton5
            // 
            this.simpleButton5.Location = new System.Drawing.Point(437, 10);
            this.simpleButton5.Name = "simpleButton5";
            this.simpleButton5.Size = new System.Drawing.Size(75, 23);
            this.simpleButton5.TabIndex = 27;
            this.simpleButton5.Text = "还原数据";
            this.simpleButton5.Click += new System.EventHandler(this.simpleButton5_Click);
            // 
            // simpleButton4
            // 
            this.simpleButton4.Location = new System.Drawing.Point(329, 10);
            this.simpleButton4.Name = "simpleButton4";
            this.simpleButton4.Size = new System.Drawing.Size(75, 23);
            this.simpleButton4.TabIndex = 26;
            this.simpleButton4.Text = "保存数据";
            this.simpleButton4.Click += new System.EventHandler(this.simpleButton4_Click);
            // 
            // txtRjl
            // 
            this.txtRjl.Location = new System.Drawing.Point(109, 73);
            this.txtRjl.Name = "txtRjl";
            this.txtRjl.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.txtRjl.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtRjl.Properties.Mask.EditMask = "n2";
            this.txtRjl.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtRjl.Size = new System.Drawing.Size(100, 21);
            this.txtRjl.TabIndex = 24;
            this.txtRjl.EditValueChanged += new System.EventHandler(this.txtRjl_EditValueChanged);
            // 
            // labelControl12
            // 
            this.labelControl12.Location = new System.Drawing.Point(55, 76);
            this.labelControl12.Name = "labelControl12";
            this.labelControl12.Size = new System.Drawing.Size(48, 14);
            this.labelControl12.TabIndex = 23;
            this.labelControl12.Text = "容积率:";
            // 
            // txtTdsdnx
            // 
            this.txtTdsdnx.Location = new System.Drawing.Point(304, 101);
            this.txtTdsdnx.Name = "txtTdsdnx";
            this.txtTdsdnx.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.txtTdsdnx.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtTdsdnx.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtTdsdnx.Size = new System.Drawing.Size(100, 21);
            this.txtTdsdnx.TabIndex = 22;
            this.txtTdsdnx.EditValueChanged += new System.EventHandler(this.txtTdhyll_EditValueChanged);
            // 
            // labelControl11
            // 
            this.labelControl11.Location = new System.Drawing.Point(238, 104);
            this.labelControl11.Name = "labelControl11";
            this.labelControl11.Size = new System.Drawing.Size(60, 14);
            this.labelControl11.TabIndex = 21;
            this.labelControl11.Text = "设定年限:";
            // 
            // txtTdsrlx
            // 
            this.txtTdsrlx.Location = new System.Drawing.Point(109, 100);
            this.txtTdsrlx.Name = "txtTdsrlx";
            this.txtTdsrlx.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.txtTdsrlx.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtTdsrlx.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtTdsrlx.Size = new System.Drawing.Size(100, 21);
            this.txtTdsrlx.TabIndex = 20;
            this.txtTdsrlx.EditValueChanged += new System.EventHandler(this.txtTdhyll_EditValueChanged);
            // 
            // labelControl10
            // 
            this.labelControl10.Location = new System.Drawing.Point(0, 104);
            this.labelControl10.Name = "labelControl10";
            this.labelControl10.Size = new System.Drawing.Size(108, 14);
            this.labelControl10.TabIndex = 19;
            this.labelControl10.Text = "宗地剩余使用年限:";
            // 
            // txtTdhyll
            // 
            this.txtTdhyll.Enabled = false;
            this.txtTdhyll.Location = new System.Drawing.Point(503, 73);
            this.txtTdhyll.Name = "txtTdhyll";
            this.txtTdhyll.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.txtTdhyll.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtTdhyll.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtTdhyll.Size = new System.Drawing.Size(100, 21);
            this.txtTdhyll.TabIndex = 18;
            this.txtTdhyll.EditValueChanged += new System.EventHandler(this.txtTdhyll_EditValueChanged);
            // 
            // labelControl9
            // 
            this.labelControl9.Location = new System.Drawing.Point(413, 76);
            this.labelControl9.Name = "labelControl9";
            this.labelControl9.Size = new System.Drawing.Size(84, 14);
            this.labelControl9.TabIndex = 17;
            this.labelControl9.Text = "土地还原利率:";
            // 
            // txtQrxzxs
            // 
            this.txtQrxzxs.Location = new System.Drawing.Point(304, 72);
            this.txtQrxzxs.Name = "txtQrxzxs";
            this.txtQrxzxs.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.txtQrxzxs.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtQrxzxs.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtQrxzxs.Size = new System.Drawing.Size(100, 21);
            this.txtQrxzxs.TabIndex = 16;
            // 
            // labelControl8
            // 
            this.labelControl8.Location = new System.Drawing.Point(214, 76);
            this.labelControl8.Name = "labelControl8";
            this.labelControl8.Size = new System.Drawing.Size(84, 14);
            this.labelControl8.TabIndex = 15;
            this.labelControl8.Text = "期日修正系数:";
            // 
            // txtJzdj
            // 
            this.txtJzdj.Enabled = false;
            this.txtJzdj.Location = new System.Drawing.Point(503, 41);
            this.txtJzdj.Name = "txtJzdj";
            this.txtJzdj.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtJzdj.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtJzdj.Size = new System.Drawing.Size(100, 21);
            this.txtJzdj.TabIndex = 14;
            // 
            // labelControl7
            // 
            this.labelControl7.Location = new System.Drawing.Point(437, 44);
            this.labelControl7.Name = "labelControl7";
            this.labelControl7.Size = new System.Drawing.Size(60, 14);
            this.labelControl7.TabIndex = 13;
            this.labelControl7.Text = "基准地价:";
            // 
            // txtTdjb
            // 
            this.txtTdjb.Enabled = false;
            this.txtTdjb.Location = new System.Drawing.Point(304, 41);
            this.txtTdjb.Name = "txtTdjb";
            this.txtTdjb.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtTdjb.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtTdjb.Size = new System.Drawing.Size(100, 21);
            this.txtTdjb.TabIndex = 12;
            // 
            // labelControl6
            // 
            this.labelControl6.Location = new System.Drawing.Point(238, 43);
            this.labelControl6.Name = "labelControl6";
            this.labelControl6.Size = new System.Drawing.Size(60, 14);
            this.labelControl6.TabIndex = 11;
            this.labelControl6.Text = "土地级别:";
            // 
            // gridControlGy
            // 
            this.gridControlGy.Location = new System.Drawing.Point(3, 123);
            this.gridControlGy.MainView = this.gridViewLand;
            this.gridControlGy.Name = "gridControlGy";
            this.gridControlGy.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemComboBox具体条件,
            this.repositoryItemTextEdit1,
            this.repositoryItemTextEdit2});
            this.gridControlGy.Size = new System.Drawing.Size(796, 424);
            this.gridControlGy.TabIndex = 3;
            this.gridControlGy.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridViewLand});
            // 
            // gridViewLand
            // 
            this.gridViewLand.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn5,
            this.gridColumn1,
            this.gridColumn2,
            this.gridColumn3,
            this.gridColumn4});
            this.gridViewLand.GridControl = this.gridControlGy;
            this.gridViewLand.Name = "gridViewLand";
            this.gridViewLand.OptionsCustomization.AllowSort = false;
            this.gridViewLand.OptionsView.ColumnAutoWidth = false;
            this.gridViewLand.OptionsView.ShowFooter = true;
            this.gridViewLand.OptionsView.ShowGroupPanel = false;
            this.gridViewLand.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewLand_FocusedRowChanged);
            // 
            // gridColumn5
            // 
            this.gridColumn5.Caption = "id";
            this.gridColumn5.FieldName = "id";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.OptionsColumn.AllowEdit = false;
            this.gridColumn5.OptionsColumn.AllowFocus = false;
            this.gridColumn5.Width = 25;
            // 
            // gridColumn1
            // 
            this.gridColumn1.Caption = "修正";
            this.gridColumn1.FieldName = "修正";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.AllowEdit = false;
            this.gridColumn1.OptionsColumn.AllowFocus = false;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 260;
            // 
            // gridColumn2
            // 
            this.gridColumn2.Caption = "具体条件";
            this.gridColumn2.ColumnEdit = this.repositoryItemComboBox具体条件;
            this.gridColumn2.FieldName = "具体条件";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 1;
            this.gridColumn2.Width = 150;
            // 
            // repositoryItemComboBox具体条件
            // 
            this.repositoryItemComboBox具体条件.AutoHeight = false;
            this.repositoryItemComboBox具体条件.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox具体条件.Items.AddRange(new object[] {
            "1",
            "2",
            "3"});
            this.repositoryItemComboBox具体条件.Name = "repositoryItemComboBox具体条件";
            this.repositoryItemComboBox具体条件.Click += new System.EventHandler(this.repositoryItemComboBox具体条件_Click);
            this.repositoryItemComboBox具体条件.EditValueChanged += new System.EventHandler(this.repositoryItemComboBox具体条件_EditValueChanged);
            // 
            // gridColumn3
            // 
            this.gridColumn3.Caption = "修正选择";
            this.gridColumn3.ColumnEdit = this.repositoryItemTextEdit1;
            this.gridColumn3.FieldName = "修正选择";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.OptionsColumn.AllowEdit = false;
            this.gridColumn3.OptionsColumn.AllowFocus = false;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 2;
            this.gridColumn3.Width = 106;
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            // 
            // gridColumn4
            // 
            this.gridColumn4.Caption = "修正系数";
            this.gridColumn4.ColumnEdit = this.repositoryItemTextEdit2;
            this.gridColumn4.FieldName = "修正系数";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.AllowEdit = false;
            this.gridColumn4.OptionsColumn.AllowFocus = false;
            this.gridColumn4.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 3;
            this.gridColumn4.Width = 117;
            // 
            // repositoryItemTextEdit2
            // 
            this.repositoryItemTextEdit2.AutoHeight = false;
            this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
            // 
            // simpleButton1
            // 
            this.simpleButton1.Location = new System.Drawing.Point(223, 10);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(84, 23);
            this.simpleButton1.TabIndex = 2;
            this.simpleButton1.Text = "读取区片信息";
            this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
            // 
            // txtQph
            // 
            this.txtQph.Location = new System.Drawing.Point(94, 12);
            this.txtQph.Name = "txtQph";
            this.txtQph.Size = new System.Drawing.Size(100, 21);
            this.txtQph.TabIndex = 1;
            // 
            // labelControl3
            // 
            this.labelControl3.Location = new System.Drawing.Point(25, 15);
            this.labelControl3.Name = "labelControl3";
            this.labelControl3.Size = new System.Drawing.Size(48, 14);
            this.labelControl3.TabIndex = 0;
            this.labelControl3.Text = "区片号:";
            // 
            // xtraTabPage3
            // 
            this.xtraTabPage3.Controls.Add(this.labelControl55);
            this.xtraTabPage3.Controls.Add(this.txtCbf基准地价修正法土地总价);
            this.xtraTabPage3.Controls.Add(this.btCbf1Res);
            this.xtraTabPage3.Controls.Add(this.btCbf1Save);
            this.xtraTabPage3.Controls.Add(this.labelControl36);
            this.xtraTabPage3.Controls.Add(this.txtCbf建筑物的成新率);
            this.xtraTabPage3.Controls.Add(this.labelControl35);
            this.xtraTabPage3.Controls.Add(this.txtCbf前期费用);
            this.xtraTabPage3.Controls.Add(this.labelControl31);
            this.xtraTabPage3.Controls.Add(this.txtCbf取土建总造价的百分率);
            this.xtraTabPage3.Controls.Add(this.labelControl28);
            this.xtraTabPage3.Controls.Add(this.txtCbf建安费);
            this.xtraTabPage3.Controls.Add(this.labelControl26);
            this.xtraTabPage3.Controls.Add(this.txtCbf土建成本);
            this.xtraTabPage3.Name = "xtraTabPage3";
            this.xtraTabPage3.PageVisible = false;
            this.xtraTabPage3.Size = new System.Drawing.Size(946, 577);
            this.xtraTabPage3.Text = "成本法";
            // 
            // labelControl55
            // 
            this.labelControl55.Location = new System.Drawing.Point(429, 67);
            this.labelControl55.Name = "labelControl55";
            this.labelControl55.Size = new System.Drawing.Size(144, 14);
            this.labelControl55.TabIndex = 34;
            this.labelControl55.Text = "基准地价修正法土地总价:";
            // 
            // txtCbf基准地价修正法土地总价
            // 
            this.txtCbf基准地价修正法土地总价.Location = new System.Drawing.Point(575, 64);
            this.txtCbf基准地价修正法土地总价.Name = "txtCbf基准地价修正法土地总价";
            this.txtCbf基准地价修正法土地总价.Properties.ReadOnly = true;
            this.txtCbf基准地价修正法土地总价.Size = new System.Drawing.Size(100, 21);
            this.txtCbf基准地价修正法土地总价.TabIndex = 33;
            // 
            // btCbf1Res
            // 
            this.btCbf1Res.Location = new System.Drawing.Point(714, 62);
            this.btCbf1Res.Name = "btCbf1Res";
            this.btCbf1Res.Size = new System.Drawing.Size(104, 23);
            this.btCbf1Res.TabIndex = 32;
            this.btCbf1Res.Text = "还原数据";
            this.btCbf1Res.Click += new System.EventHandler(this.btCbf1Res_Click);
            // 
            // btCbf1Save
            // 
            this.btCbf1Save.Location = new System.Drawing.Point(714, 19);
            this.btCbf1Save.Name = "btCbf1Save";
            this.btCbf1Save.Size = new System.Drawing.Size(104, 23);
            this.btCbf1Save.TabIndex = 31;
            this.btCbf1Save.Text = "保存数据";
            this.btCbf1Save.Click += new System.EventHandler(this.btCbf1Save_Click);
            // 
            // labelControl36
            // 
            this.labelControl36.Location = new System.Drawing.Point(212, 71);
            this.labelControl36.Name = "labelControl36";
            this.labelControl36.Size = new System.Drawing.Size(96, 14);
            this.labelControl36.TabIndex = 13;
            this.labelControl36.Text = "建筑物的成新率:";
            // 
            // txtCbf建筑物的成新率
            // 
            this.txtCbf建筑物的成新率.Location = new System.Drawing.Point(314, 68);
            this.txtCbf建筑物的成新率.Name = "txtCbf建筑物的成新率";
            this.txtCbf建筑物的成新率.Size = new System.Drawing.Size(100, 21);
            this.txtCbf建筑物的成新率.TabIndex = 12;
            // 
            // labelControl35
            // 
            this.labelControl35.Location = new System.Drawing.Point(27, 71);
            this.labelControl35.Name = "labelControl35";
            this.labelControl35.Size = new System.Drawing.Size(60, 14);
            this.labelControl35.TabIndex = 11;
            this.labelControl35.Text = "前期费用:";
            // 
            // txtCbf前期费用
            // 
            this.txtCbf前期费用.Location = new System.Drawing.Point(93, 68);
            this.txtCbf前期费用.Name = "txtCbf前期费用";
            this.txtCbf前期费用.Size = new System.Drawing.Size(100, 21);
            this.txtCbf前期费用.TabIndex = 10;
            // 
            // labelControl31
            // 
            this.labelControl31.Location = new System.Drawing.Point(429, 24);
            this.labelControl31.Name = "labelControl31";
            this.labelControl31.Size = new System.Drawing.Size(140, 14);
            this.labelControl31.TabIndex = 9;
            this.labelControl31.Text = "  取土建总造价的百分率:";
            // 
            // txtCbf取土建总造价的百分率
            // 
            this.txtCbf取土建总造价的百分率.Location = new System.Drawing.Point(575, 21);
            this.txtCbf取土建总造价的百分率.Name = "txtCbf取土建总造价的百分率";
            this.txtCbf取土建总造价的百分率.Size = new System.Drawing.Size(100, 21);
            this.txtCbf取土建总造价的百分率.TabIndex = 8;
            // 
            // labelControl28
            // 
            this.labelControl28.Location = new System.Drawing.Point(260, 24);
            this.labelControl28.Name = "labelControl28";
            this.labelControl28.Size = new System.Drawing.Size(48, 14);
            this.labelControl28.TabIndex = 7;
            this.labelControl28.Text = "建安费:";
            // 
            // txtCbf建安费
            // 
            this.txtCbf建安费.Location = new System.Drawing.Point(314, 21);
            this.txtCbf建安费.Name = "txtCbf建安费";
            this.txtCbf建安费.Size = new System.Drawing.Size(100, 21);
            this.txtCbf建安费.TabIndex = 6;
            this.txtCbf建安费.EditValueChanged += new System.EventHandler(this.textEdit19_EditValueChanged);
            // 
            // labelControl26
            // 
            this.labelControl26.Location = new System.Drawing.Point(27, 24);
            this.labelControl26.Name = "labelControl26";
            this.labelControl26.Size = new System.Drawing.Size(60, 14);
            this.labelControl26.TabIndex = 5;
            this.labelControl26.Text = "土建成本:";
            // 
            // txtCbf土建成本
            // 
            this.txtCbf土建成本.Location = new System.Drawing.Point(93, 21);
            this.txtCbf土建成本.Name = "txtCbf土建成本";
            this.txtCbf土建成本.Size = new System.Drawing.Size(100, 21);
            this.txtCbf土建成本.TabIndex = 4;
            // 
            // xtraTabPage4
            // 
            this.xtraTabPage4.Controls.Add(this.groupControl3);
            this.xtraTabPage4.Name = "xtraTabPage4";
            this.xtraTabPage4.PageVisible = false;
            this.xtraTabPage4.Size = new System.Drawing.Size(946, 577);
            this.xtraTabPage4.Text = "假设开发法";
            // 
            // groupControl3
            // 
            this.groupControl3.Controls.Add(this.gdcJsfGy);
            this.groupControl3.Controls.Add(this.sbJsfGyRestore);
            this.groupControl3.Controls.Add(this.sbJsfGySave);
            this.groupControl3.Controls.Add(this.labelControl24);
            this.groupControl3.Controls.Add(this.txtJsf买方负担的税费率);
            this.groupControl3.Controls.Add(this.labelControl23);
            this.groupControl3.Controls.Add(this.txtJsf开发利润率);
            this.groupControl3.Controls.Add(this.labelControl22);
            this.groupControl3.Controls.Add(this.txtJsf销售费用率);
            this.groupControl3.Controls.Add(this.labelControl21);
            this.groupControl3.Controls.Add(this.txtJsf销售税金率);
            this.groupControl3.Controls.Add(this.labelControl20);
            this.groupControl3.Controls.Add(this.txtJsf销售周期);
            this.groupControl3.Controls.Add(this.labelControl19);
            this.groupControl3.Controls.Add(this.txtJsf开发建设周期);
            this.groupControl3.Controls.Add(this.labelControl18);
            this.groupControl3.Controls.Add(this.txtJsf基准年利息率);
            this.groupControl3.Controls.Add(this.labelControl17);
            this.groupControl3.Controls.Add(this.txtJsf管理费率);
            this.groupControl3.Controls.Add(this.labelControl16);
            this.groupControl3.Controls.Add(this.txtJsf报建费);
            this.groupControl3.Controls.Add(this.labelControl15);
            this.groupControl3.Controls.Add(this.txtJsf土建工程建筑费用);
            this.groupControl3.Controls.Add(this.labelControl14);
            this.groupControl3.Controls.Add(this.txtJsf室外工程建筑费用);
            this.groupControl3.Controls.Add(this.labelControl13);
            this.groupControl3.Controls.Add(this.txtJsf专业费率);
            this.groupControl3.Controls.Add(this.labelControl5);
            this.groupControl3.Controls.Add(this.txtJsf安装工程建筑费用);
            this.groupControl3.Controls.Add(this.labelControl4);
            this.groupControl3.Controls.Add(this.txtjsf市场售价);
            this.groupControl3.Location = new System.Drawing.Point(7, 3);
            this.groupControl3.Name = "groupControl3";
            this.groupControl3.Size = new System.Drawing.Size(933, 532);
            this.groupControl3.TabIndex = 0;
            this.groupControl3.Text = "工业用地";
            // 
            // gdcJsfGy
            // 
            this.gdcJsfGy.Location = new System.Drawing.Point(45, 242);
            this.gdcJsfGy.MainView = this.gridView4;
            this.gdcJsfGy.Name = "gdcJsfGy";
            this.gdcJsfGy.Size = new System.Drawing.Size(674, 200);
            this.gdcJsfGy.TabIndex = 32;
            this.gdcJsfGy.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView4});
            // 
            // gridView4
            // 
            this.gridView4.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gcID,
            this.gc名称,
            this.gc结果});
            this.gridView4.GridControl = this.gdcJsfGy;
            this.gridView4.Name = "gridView4";
            this.gridView4.OptionsView.ShowGroupPanel = false;
            // 
            // gcID
            // 
            this.gcID.Caption = "ID";
            this.gcID.FieldName = "ID";
            this.gcID.Name = "gcID";
            this.gcID.OptionsColumn.ReadOnly = true;
            this.gcID.Visible = true;
            this.gcID.VisibleIndex = 0;
            this.gcID.Width = 46;
            // 
            // gc名称
            // 
            this.gc名称.Caption = "名称";
            this.gc名称.FieldName = "名称";
            this.gc名称.Name = "gc名称";
            this.gc名称.OptionsColumn.ReadOnly = true;
            this.gc名称.Visible = true;
            this.gc名称.VisibleIndex = 1;
            this.gc名称.Width = 324;
            // 
            // gc结果
            // 
            this.gc结果.Caption = "结果";
            this.gc结果.FieldName = "结果";
            this.gc结果.Name = "gc结果";
            this.gc结果.OptionsColumn.ReadOnly = true;
            this.gc结果.Visible = true;
            this.gc结果.VisibleIndex = 2;
            this.gc结果.Width = 283;
            // 
            // sbJsfGyRestore
            // 
            this.sbJsfGyRestore.Location = new System.Drawing.Point(759, 77);
            this.sbJsfGyRestore.Name = "sbJsfGyRestore";
            this.sbJsfGyRestore.Size = new System.Drawing.Size(104, 23);
            this.sbJsfGyRestore.TabIndex = 31;
            this.sbJsfGyRestore.Text = "还原数据";
            this.sbJsfGyRestore.Click += new System.EventHandler(this.simpleButton9_Click);
            // 
            // sbJsfGySave
            // 
            this.sbJsfGySave.Location = new System.Drawing.Point(759, 33);
            this.sbJsfGySave.Name = "sbJsfGySave";
            this.sbJsfGySave.Size = new System.Drawing.Size(104, 23);
            this.sbJsfGySave.TabIndex = 30;
            this.sbJsfGySave.Text = "保存数据";
            this.sbJsfGySave.Click += new System.EventHandler(this.simpleButton8_Click);
            // 
            // labelControl24
            // 
            this.labelControl24.AllowHtmlString = true;
            this.labelControl24.Appearance.Options.UseTextOptions = true;
            this.labelControl24.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
            this.labelControl24.AutoEllipsis = true;
            this.labelControl24.Location = new System.Drawing.Point(252, 205);
            this.labelControl24.Name = "labelControl24";
            this.labelControl24.Size = new System.Drawing.Size(108, 15);
            this.labelControl24.TabIndex = 29;
            this.labelControl24.Text = "买方负担的税费率:";
            // 
            // txtJsf买方负担的税费率
            // 
            this.txtJsf买方负担的税费率.Location = new System.Drawing.Point(366, 202);
            this.txtJsf买方负担的税费率.Name = "txtJsf买方负担的税费率";
            this.txtJsf买方负担的税费率.Size = new System.Drawing.Size(100, 21);
            this.txtJsf买方负担的税费率.TabIndex = 28;
            // 
            // labelControl23
            // 
            this.labelControl23.Location = new System.Drawing.Point(54, 205);
            this.labelControl23.Name = "labelControl23";
            this.labelControl23.Size = new System.Drawing.Size(72, 14);
            this.labelControl23.TabIndex = 27;
            this.labelControl23.Text = "开发利润率:";
            // 
            // txtJsf开发利润率
            // 
            this.txtJsf开发利润率.Location = new System.Drawing.Point(132, 202);
            this.txtJsf开发利润率.Name = "txtJsf开发利润率";
            this.txtJsf开发利润率.Size = new System.Drawing.Size(100, 21);
            this.txtJsf开发利润率.TabIndex = 26;
            // 
            // labelControl22
            // 
            this.labelControl22.Location = new System.Drawing.Point(541, 165);
            this.labelControl22.Name = "labelControl22";
            this.labelControl22.Size = new System.Drawing.Size(72, 14);
            this.labelControl22.TabIndex = 25;
            this.labelControl22.Text = "销售费用率:";
            // 
            // txtJsf销售费用率
            // 
            this.txtJsf销售费用率.Location = new System.Drawing.Point(619, 162);
            this.txtJsf销售费用率.Name = "txtJsf销售费用率";
            this.txtJsf销售费用率.Size = new System.Drawing.Size(100, 21);
            this.txtJsf销售费用率.TabIndex = 24;
            // 
            // labelControl21
            // 
            this.labelControl21.Location = new System.Drawing.Point(288, 165);
            this.labelControl21.Name = "labelControl21";
            this.labelControl21.Size = new System.Drawing.Size(72, 14);
            this.labelControl21.TabIndex = 23;
            this.labelControl21.Text = "销售税金率:";
            // 
            // txtJsf销售税金率
            // 
            this.txtJsf销售税金率.Location = new System.Drawing.Point(366, 162);
            this.txtJsf销售税金率.Name = "txtJsf销售税金率";
            this.txtJsf销售税金率.Size = new System.Drawing.Size(100, 21);
            this.txtJsf销售税金率.TabIndex = 22;
            // 
            // labelControl20
            // 
            this.labelControl20.Location = new System.Drawing.Point(66, 165);
            this.labelControl20.Name = "labelControl20";
            this.labelControl20.Size = new System.Drawing.Size(60, 14);
            this.labelControl20.TabIndex = 21;
            this.labelControl20.Text = "销售周期:";
            // 
            // txtJsf销售周期
            // 
            this.txtJsf销售周期.Location = new System.Drawing.Point(132, 162);
            this.txtJsf销售周期.Name = "txtJsf销售周期";
            this.txtJsf销售周期.Size = new System.Drawing.Size(100, 21);
            this.txtJsf销售周期.TabIndex = 20;
            this.txtJsf销售周期.EditValueChanged += new System.EventHandler(this.textEdit11_EditValueChanged);
            // 
            // labelControl19
            // 
            this.labelControl19.Location = new System.Drawing.Point(529, 125);
            this.labelControl19.Name = "labelControl19";
            this.labelControl19.Size = new System.Drawing.Size(84, 14);
            this.labelControl19.TabIndex = 19;
            this.labelControl19.Text = "开发建设周期:";
            // 
            // txtJsf开发建设周期
            // 
            this.txtJsf开发建设周期.Location = new System.Drawing.Point(619, 122);
            this.txtJsf开发建设周期.Name = "txtJsf开发建设周期";
            this.txtJsf开发建设周期.Size = new System.Drawing.Size(100, 21);
            this.txtJsf开发建设周期.TabIndex = 18;
            // 
            // labelControl18
            // 
            this.labelControl18.Location = new System.Drawing.Point(274, 125);
            this.labelControl18.Name = "labelControl18";
            this.labelControl18.Size = new System.Drawing.Size(84, 14);
            this.labelControl18.TabIndex = 17;
            this.labelControl18.Text = "基准年利息率:";
            // 
            // txtJsf基准年利息率
            // 
            this.txtJsf基准年利息率.Location = new System.Drawing.Point(366, 122);
            this.txtJsf基准年利息率.Name = "txtJsf基准年利息率";
            this.txtJsf基准年利息率.Size = new System.Drawing.Size(100, 21);
            this.txtJsf基准年利息率.TabIndex = 16;
            // 
            // labelControl17
            // 
            this.labelControl17.Location = new System.Drawing.Point(66, 125);
            this.labelControl17.Name = "labelControl17";
            this.labelControl17.Size = new System.Drawing.Size(60, 14);
            this.labelControl17.TabIndex = 15;
            this.labelControl17.Text = "管理费率:";
            // 
            // txtJsf管理费率
            // 
            this.txtJsf管理费率.Location = new System.Drawing.Point(132, 122);
            this.txtJsf管理费率.Name = "txtJsf管理费率";
            this.txtJsf管理费率.Size = new System.Drawing.Size(100, 21);
            this.txtJsf管理费率.TabIndex = 14;
            // 
            // labelControl16
            // 
            this.labelControl16.Location = new System.Drawing.Point(565, 82);
            this.labelControl16.Name = "labelControl16";
            this.labelControl16.Size = new System.Drawing.Size(48, 14);
            this.labelControl16.TabIndex = 13;
            this.labelControl16.Text = "报建费:";
            // 
            // txtJsf报建费
            // 
            this.txtJsf报建费.Location = new System.Drawing.Point(619, 79);
            this.txtJsf报建费.Name = "txtJsf报建费";
            this.txtJsf报建费.Size = new System.Drawing.Size(100, 21);
            this.txtJsf报建费.TabIndex = 12;
            // 
            // labelControl15
            // 
            this.labelControl15.Location = new System.Drawing.Point(18, 82);
            this.labelControl15.Name = "labelControl15";
            this.labelControl15.Size = new System.Drawing.Size(108, 14);
            this.labelControl15.TabIndex = 11;
            this.labelControl15.Text = "土建工程建筑费用:";
            // 
            // txtJsf土建工程建筑费用
            // 
            this.txtJsf土建工程建筑费用.Location = new System.Drawing.Point(132, 79);
            this.txtJsf土建工程建筑费用.Name = "txtJsf土建工程建筑费用";
            this.txtJsf土建工程建筑费用.Size = new System.Drawing.Size(100, 21);
            this.txtJsf土建工程建筑费用.TabIndex = 10;
            // 
            // labelControl14
            // 
            this.labelControl14.Location = new System.Drawing.Point(497, 38);
            this.labelControl14.Name = "labelControl14";
            this.labelControl14.Size = new System.Drawing.Size(116, 14);
            this.labelControl14.TabIndex = 9;
            this.labelControl14.Text = "  室外工程建筑费用:";
            // 
            // txtJsf室外工程建筑费用
            // 
            this.txtJsf室外工程建筑费用.Location = new System.Drawing.Point(619, 35);
            this.txtJsf室外工程建筑费用.Name = "txtJsf室外工程建筑费用";
            this.txtJsf室外工程建筑费用.Size = new System.Drawing.Size(100, 21);
            this.txtJsf室外工程建筑费用.TabIndex = 8;
            // 
            // labelControl13
            // 
            this.labelControl13.Location = new System.Drawing.Point(298, 82);
            this.labelControl13.Name = "labelControl13";
            this.labelControl13.Size = new System.Drawing.Size(60, 14);
            this.labelControl13.TabIndex = 7;
            this.labelControl13.Text = "专业费率:";
            // 
            // txtJsf专业费率
            // 
            this.txtJsf专业费率.Location = new System.Drawing.Point(366, 79);
            this.txtJsf专业费率.Name = "txtJsf专业费率";
            this.txtJsf专业费率.Size = new System.Drawing.Size(100, 21);
            this.txtJsf专业费率.TabIndex = 6;
            // 
            // labelControl5
            // 
            this.labelControl5.Location = new System.Drawing.Point(250, 38);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new System.Drawing.Size(108, 14);
            this.labelControl5.TabIndex = 5;
            this.labelControl5.Text = "安装工程建筑费用:";
            // 
            // txtJsf安装工程建筑费用
            // 
            this.txtJsf安装工程建筑费用.Location = new System.Drawing.Point(366, 35);
            this.txtJsf安装工程建筑费用.Name = "txtJsf安装工程建筑费用";
            this.txtJsf安装工程建筑费用.Size = new System.Drawing.Size(100, 21);
            this.txtJsf安装工程建筑费用.TabIndex = 4;
            // 
            // labelControl4
            // 
            this.labelControl4.Location = new System.Drawing.Point(66, 38);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(60, 14);
            this.labelControl4.TabIndex = 3;
            this.labelControl4.Text = "市场售价:";
            // 
            // txtjsf市场售价
            // 
            this.txtjsf市场售价.Location = new System.Drawing.Point(132, 35);
            this.txtjsf市场售价.Name = "txtjsf市场售价";
            this.txtjsf市场售价.Size = new System.Drawing.Size(100, 21);
            this.txtjsf市场售价.TabIndex = 2;
            // 
            // xtraTabPage5
            // 
            this.xtraTabPage5.Controls.Add(this.groupControl2);
            this.xtraTabPage5.Controls.Add(this.groupControl1);
            this.xtraTabPage5.Name = "xtraTabPage5";
            this.xtraTabPage5.PageVisible = false;
            this.xtraTabPage5.Size = new System.Drawing.Size(946, 577);
            this.xtraTabPage5.Text = "市场比较法";
            this.xtraTabPage5.Paint += new System.Windows.Forms.PaintEventHandler(this.xtraTabPage5_Paint);
            // 
            // groupControl2
            // 
            this.groupControl2.Controls.Add(this.gcMarket);
            this.groupControl2.Controls.Add(this.vgc_Market);
            this.groupControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupControl2.Location = new System.Drawing.Point(0, 60);
            this.groupControl2.Name = "groupControl2";
            this.groupControl2.Size = new System.Drawing.Size(946, 517);
            this.groupControl2.TabIndex = 9;
            // 
            // gcMarket
            // 
            this.gcMarket.DataSource = this.fMFCMarketComporisonApproachTemplateBindingSource;
            this.gcMarket.Dock = System.Windows.Forms.DockStyle.Left;
            this.gcMarket.Location = new System.Drawing.Point(2, 23);
            this.gcMarket.MainView = this.gridView2;
            this.gcMarket.Name = "gcMarket";
            this.gcMarket.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemMarketCheck});
            this.gcMarket.Size = new System.Drawing.Size(598, 492);
            this.gcMarket.TabIndex = 4;
            this.gcMarket.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            // 
            // fMFCMarketComporisonApproachTemplateBindingSource
            // 
            this.fMFCMarketComporisonApproachTemplateBindingSource.DataMember = "FM_FCMarketComporisonApproachTemplate";
            this.fMFCMarketComporisonApproachTemplateBindingSource.DataSource = this.marketFieldSelectDataSet;
            // 
            // marketFieldSelectDataSet
            // 
            this.marketFieldSelectDataSet.DataSetName = "MarketFieldSelectDataSet";
            this.marketFieldSelectDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.是否选中,
            this.id,
            this.colname1,
            this.colname2,
            this.colname3});
            this.gridView2.GridControl = this.gcMarket;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsView.ColumnAutoWidth = false;
            this.gridView2.OptionsView.ShowFooter = true;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.CustomUnboundColumnData += new DevExpress.XtraGrid.Views.Base.CustomColumnDataEventHandler(this.gridView2_CustomUnboundColumnData);
            this.gridView2.RowUpdated += new DevExpress.XtraGrid.Views.Base.RowObjectEventHandler(this.gridView2_RowUpdated);
            // 
            // 是否选中
            // 
            this.是否选中.Caption = "是否选中";
            this.是否选中.ColumnEdit = this.repositoryItemMarketCheck;
            this.是否选中.FieldName = "sel";
            this.是否选中.Name = "是否选中";
            this.是否选中.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.是否选中.Visible = true;
            this.是否选中.VisibleIndex = 0;
            // 
            // repositoryItemMarketCheck
            // 
            this.repositoryItemMarketCheck.AutoHeight = false;
            this.repositoryItemMarketCheck.Name = "repositoryItemMarketCheck";
            this.repositoryItemMarketCheck.CheckedChanged += new System.EventHandler(this.repositoryItemCheckEdit2_CheckedChanged);
            // 
            // id
            // 
            this.id.Caption = "id";
            this.id.FieldName = "id";
            this.id.Name = "id";
            // 
            // colname1
            // 
            this.colname1.Caption = "名称";
            this.colname1.FieldName = "name1";
            this.colname1.Name = "colname1";
            this.colname1.SummaryItem.DisplayFormat = "共有{0}项";
            this.colname1.SummaryItem.FieldName = "id";
            this.colname1.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Count;
            this.colname1.Visible = true;
            this.colname1.VisibleIndex = 2;
            this.colname1.Width = 203;
            // 
            // colname2
            // 
            this.colname2.FieldName = "name2";
            this.colname2.Name = "colname2";
            this.colname2.Visible = true;
            this.colname2.VisibleIndex = 3;
            this.colname2.Width = 127;
            // 
            // colname3
            // 
            this.colname3.FieldName = "name3";
            this.colname3.Name = "colname3";
            this.colname3.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.True;
            this.colname3.Visible = true;
            this.colname3.VisibleIndex = 1;
            this.colname3.Width = 109;
            // 
            // vgc_Market
            // 
            this.vgc_Market.CustomizationFormBounds = new System.Drawing.Rectangle(849, 312, 208, 252);
            this.vgc_Market.DataMember = null;
            this.vgc_Market.DataSource = this.fMMARKETHIDECOLUMNBindingSource;
            this.vgc_Market.Dock = System.Windows.Forms.DockStyle.Fill;
            this.vgc_Market.Location = new System.Drawing.Point(2, 23);
            this.vgc_Market.Name = "vgc_Market";
            this.vgc_Market.OptionsBehavior.AutoFocusNewRecord = true;
            this.vgc_Market.OptionsBehavior.UseEnterAsTab = true;
            this.vgc_Market.RecordWidth = 183;
            this.vgc_Market.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemComboBox1,
            this.repositoryItemCheckEdit1,
            this.repositoryItemComboBox2,
            this.repositoryItemComboBox3,
            this.repositoryItemComboBox4,
            this.repositoryItemComboBox5,
            this.repositoryItemComboBox6,
            this.repositoryItemCheckEdit2,
            this.repositoryItemComboBox7,
            this.repositoryItemComboBox8,
            this.repositoryItemComboBox9,
            this.repositoryItemComboBox10,
            this.repositoryItemComboBox11,
            this.repositoryItemComboBox12,
            this.repositoryItemComboBox13,
            this.repositoryItemComboBox14,
            this.repositoryItemComboBox15,
            this.repositoryItemComboBox16,
            this.repositoryItemComboBox17});
            this.vgc_Market.RowHeaderWidth = 166;
            this.vgc_Market.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.categoryRow6,
            this.categoryRow1});
            this.vgc_Market.Size = new System.Drawing.Size(942, 492);
            this.vgc_Market.TabIndex = 1;
            this.vgc_Market.Visible = false;
            this.vgc_Market.EndDragRow += new DevExpress.XtraVerticalGrid.Events.EndDragRowEventHandler(this.vgc_Market_EndDragRow);
            this.vgc_Market.CellValueChanged += new DevExpress.XtraVerticalGrid.Events.CellValueChangedEventHandler(this.vgc_Market_CellValueChanged);
            // 
            // fMMARKETHIDECOLUMNBindingSource
            // 
            this.fMMARKETHIDECOLUMNBindingSource.DataMember = "FM_MARKETHIDECOLUMN";
            this.fMMARKETHIDECOLUMNBindingSource.DataSource = this.marketDataSet;
            // 
            // marketDataSet
            // 
            this.marketDataSet.DataSetName = "MarketDataSet";
            this.marketDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // repositoryItemComboBox1
            // 
            this.repositoryItemComboBox1.AutoHeight = false;
            this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox1.Items.AddRange(new object[] {
            "估价对象",
            "实例A",
            "实例B",
            "实例C"});
            this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
            // 
            // repositoryItemCheckEdit1
            // 
            this.repositoryItemCheckEdit1.AutoHeight = false;
            this.repositoryItemCheckEdit1.Caption = "删除";
            this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
            this.repositoryItemCheckEdit1.ValueChecked = false;
            // 
            // repositoryItemComboBox2
            // 
            this.repositoryItemComboBox2.AutoHeight = false;
            this.repositoryItemComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox2.Items.AddRange(new object[] {
            "≤100M",
            "100-300M",
            "300-600M",
            "600-1000M",
            ">1000M"});
            this.repositoryItemComboBox2.Name = "repositoryItemComboBox2";
            this.repositoryItemComboBox2.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox3
            // 
            this.repositoryItemComboBox3.AutoHeight = false;
            this.repositoryItemComboBox3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox3.Items.AddRange(new object[] {
            "混合型主干道",
            "生活型主干道",
            "交通性主干道",
            "生活型次干道",
            "支路"});
            this.repositoryItemComboBox3.Name = "repositoryItemComboBox3";
            this.repositoryItemComboBox3.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox4
            // 
            this.repositoryItemComboBox4.AutoHeight = false;
            this.repositoryItemComboBox4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox4.Items.AddRange(new object[] {
            "商住",
            "工业",
            "住宅",
            "别墅"});
            this.repositoryItemComboBox4.Name = "repositoryItemComboBox4";
            // 
            // repositoryItemComboBox5
            // 
            this.repositoryItemComboBox5.AutoHeight = false;
            this.repositoryItemComboBox5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox5.Items.AddRange(new object[] {
            "作价入股",
            "抵押",
            "挂牌出让",
            "挂牌交易"});
            this.repositoryItemComboBox5.Name = "repositoryItemComboBox5";
            // 
            // repositoryItemComboBox6
            // 
            this.repositoryItemComboBox6.AutoHeight = false;
            this.repositoryItemComboBox6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox6.Items.AddRange(new object[] {
            "≥95%",
            "80-95%",
            "75-80%",
            "75%-60%",
            "<60%"});
            this.repositoryItemComboBox6.Name = "repositoryItemComboBox6";
            this.repositoryItemComboBox6.Tag = "100#98#96#94#92";
            // 
            // repositoryItemCheckEdit2
            // 
            this.repositoryItemCheckEdit2.AutoHeight = false;
            this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2";
            // 
            // repositoryItemComboBox7
            // 
            this.repositoryItemComboBox7.AutoHeight = false;
            this.repositoryItemComboBox7.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox7.Items.AddRange(new object[] {
            "≥95%",
            "80-95%",
            "75-80%",
            "75%-60%",
            "<60%"});
            this.repositoryItemComboBox7.Name = "repositoryItemComboBox7";
            this.repositoryItemComboBox7.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox8
            // 
            this.repositoryItemComboBox8.AutoHeight = false;
            this.repositoryItemComboBox8.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox8.Items.AddRange(new object[] {
            "好",
            "较好",
            "一般",
            "较差",
            "差"});
            this.repositoryItemComboBox8.Name = "repositoryItemComboBox8";
            this.repositoryItemComboBox8.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox9
            // 
            this.repositoryItemComboBox9.AutoHeight = false;
            this.repositoryItemComboBox9.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox9.Items.AddRange(new object[] {
            "500M",
            "500-800M",
            "800-1200M",
            "1200-1800M",
            "1800M"});
            this.repositoryItemComboBox9.Name = "repositoryItemComboBox9";
            this.repositoryItemComboBox9.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox10
            // 
            this.repositoryItemComboBox10.AutoHeight = false;
            this.repositoryItemComboBox10.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox10.Items.AddRange(new object[] {
            "500M",
            "500-1000M",
            "1000-1500M",
            "1500-2000M",
            "2000M"});
            this.repositoryItemComboBox10.Name = "repositoryItemComboBox10";
            this.repositoryItemComboBox10.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox11
            // 
            this.repositoryItemComboBox11.AutoHeight = false;
            this.repositoryItemComboBox11.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox11.Items.AddRange(new object[] {
            "300M",
            "300-500M",
            "500-1000M",
            "1000-1500M",
            "1500M"});
            this.repositoryItemComboBox11.Name = "repositoryItemComboBox11";
            this.repositoryItemComboBox11.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox12
            // 
            this.repositoryItemComboBox12.AutoHeight = false;
            this.repositoryItemComboBox12.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox12.Items.AddRange(new object[] {
            "300M",
            "300-500M",
            "500-800M",
            "800-1200M",
            "1200M"});
            this.repositoryItemComboBox12.Name = "repositoryItemComboBox12";
            this.repositoryItemComboBox12.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox13
            // 
            this.repositoryItemComboBox13.AutoHeight = false;
            this.repositoryItemComboBox13.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox13.Items.AddRange(new object[] {
            "200M",
            "200-400M",
            "400-700M",
            "700-1000M",
            "1000M"});
            this.repositoryItemComboBox13.Name = "repositoryItemComboBox13";
            this.repositoryItemComboBox13.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox14
            // 
            this.repositoryItemComboBox14.AutoHeight = false;
            this.repositoryItemComboBox14.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox14.Items.AddRange(new object[] {
            "好",
            "较好",
            "一般",
            "较差",
            "差"});
            this.repositoryItemComboBox14.Name = "repositoryItemComboBox14";
            this.repositoryItemComboBox14.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox15
            // 
            this.repositoryItemComboBox15.AutoHeight = false;
            this.repositoryItemComboBox15.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox15.Items.AddRange(new object[] {
            "40%",
            "30-40%",
            "20-30%",
            "10-20%",
            "10%"});
            this.repositoryItemComboBox15.Name = "repositoryItemComboBox15";
            this.repositoryItemComboBox15.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox16
            // 
            this.repositoryItemComboBox16.AutoHeight = false;
            this.repositoryItemComboBox16.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox16.Items.AddRange(new object[] {
            "清洁",
            "较清洁",
            "无污染",
            "有一定污染",
            "严重污染"});
            this.repositoryItemComboBox16.Name = "repositoryItemComboBox16";
            this.repositoryItemComboBox16.Tag = "100#98#96#94#92";
            // 
            // repositoryItemComboBox17
            // 
            this.repositoryItemComboBox17.AutoHeight = false;
            this.repositoryItemComboBox17.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox17.Items.AddRange(new object[] {
            "无噪声",
            "较微噪声,基本无影响",
            "有噪音,影响小",
            "有噪音,有一定影响",
            "有噪声,严重影响"});
            this.repositoryItemComboBox17.Name = "repositoryItemComboBox17";
            this.repositoryItemComboBox17.Tag = "100#98#96#94#92";
            // 
            // categoryRow6
            // 
            this.categoryRow6.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            row选中项目,
            this.rowID});
            this.categoryRow6.Height = 19;
            this.categoryRow6.Name = "categoryRow6";
            // 
            // rowID
            // 
            this.rowID.Name = "rowID";
            this.rowID.OptionsRow.AllowMoveToCustomizationForm = false;
            this.rowID.OptionsRow.ShowInCustomizationForm = false;
            this.rowID.Properties.Caption = "ID";
            this.rowID.Properties.FieldName = "ID";
            this.rowID.Properties.ReadOnly = true;
            this.rowID.Visible = false;
            // 
            // categoryRow1
            // 
            this.categoryRow1.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.categoryRow4,
            this.categoryRow2,
            this.categoryRow3,
            this.categoryRow5});
            this.categoryRow1.Name = "categoryRow1";
            this.categoryRow1.OptionsRow.AllowMoveToCustomizationForm = false;
            this.categoryRow1.Properties.Caption = "房地产市场比较法";
            // 
            // categoryRow4
            // 
            this.categoryRow4.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row比较项目,
            this.row位置,
            this.row房地产用途,
            this.row交易价格,
            this.row交易日期,
            this.row交易情况});
            this.categoryRow4.Height = 19;
            this.categoryRow4.Name = "categoryRow4";
            this.categoryRow4.OptionsRow.AllowMoveToCustomizationForm = false;
            this.categoryRow4.Properties.Caption = "基本情况";
            // 
            // row比较项目
            // 
            this.row比较项目.Height = 19;
            this.row比较项目.Name = "row比较项目";
            this.row比较项目.Properties.Caption = "比较项目";
            this.row比较项目.Properties.FieldName = "比较项目";
            this.row比较项目.Properties.RowEdit = this.repositoryItemComboBox1;
            // 
            // row位置
            // 
            this.row位置.Name = "row位置";
            this.row位置.Properties.Caption = "位置";
            this.row位置.Properties.FieldName = "位置";
            // 
            // row房地产用途
            // 
            this.row房地产用途.Name = "row房地产用途";
            this.row房地产用途.Properties.Caption = "房地产用途";
            this.row房地产用途.Properties.FieldName = "房地产用途";
            this.row房地产用途.Properties.RowEdit = this.repositoryItemComboBox4;
            // 
            // row交易价格
            // 
            this.row交易价格.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
            this.row交易价格.Appearance.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
            this.row交易价格.Appearance.Options.UseBackColor = true;
            this.row交易价格.Name = "row交易价格";
            this.row交易价格.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row交易价格.Properties.Caption = "交易价格";
            this.row交易价格.Properties.FieldName = "交易价格";
            // 
            // row交易日期
            // 
            this.row交易日期.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row交易日期打分});
            this.row交易日期.Name = "row交易日期";
            this.row交易日期.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row交易日期.Properties.Caption = "交易日期";
            this.row交易日期.Properties.FieldName = "交易日期";
            // 
            // row交易日期打分
            // 
            this.row交易日期打分.Name = "row交易日期打分";
            this.row交易日期打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row交易日期打分.Properties.Caption = "交易日期打分";
            this.row交易日期打分.Properties.FieldName = "交易日期打分";
            // 
            // row交易情况
            // 
            this.row交易情况.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row交易情况打分});
            this.row交易情况.Name = "row交易情况";
            this.row交易情况.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row交易情况.Properties.Caption = "交易情况";
            this.row交易情况.Properties.FieldName = "交易情况";
            this.row交易情况.Properties.RowEdit = this.repositoryItemComboBox5;
            // 
            // row交易情况打分
            // 
            this.row交易情况打分.Name = "row交易情况打分";
            this.row交易情况打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row交易情况打分.Properties.Caption = "交易情况打分";
            this.row交易情况打分.Properties.FieldName = "交易情况打分";
            // 
            // categoryRow2
            // 
            this.categoryRow2.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row商服中心距离,
            this.row道路通达度,
            this.row供电保证率,
            this.row供水保证率,
            this.row排水状况,
            this.row公园距离,
            this.row体育场馆距离,
            this.row中学距离,
            this.row小学距离,
            this.row幼儿园距离,
            this.row治安状况,
            this.row绿化状况,
            this.row大气污染,
            this.row噪声污染});
            this.categoryRow2.Name = "categoryRow2";
            this.categoryRow2.OptionsRow.AllowMoveToCustomizationForm = false;
            this.categoryRow2.Properties.Caption = "区域因素";
            // 
            // row商服中心距离
            // 
            this.row商服中心距离.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row商服中心距离打分});
            this.row商服中心距离.Name = "row商服中心距离";
            this.row商服中心距离.Properties.Caption = "商服中心距离";
            this.row商服中心距离.Properties.FieldName = "商服中心距离";
            this.row商服中心距离.Properties.RowEdit = this.repositoryItemComboBox2;
            // 
            // row商服中心距离打分
            // 
            this.row商服中心距离打分.Name = "row商服中心距离打分";
            this.row商服中心距离打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row商服中心距离打分.Properties.Caption = "商服中心距离打分";
            this.row商服中心距离打分.Properties.FieldName = "商服中心距离打分";
            // 
            // row道路通达度
            // 
            this.row道路通达度.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row道路通达度打分});
            this.row道路通达度.Name = "row道路通达度";
            this.row道路通达度.Properties.Caption = "道路通达度";
            this.row道路通达度.Properties.FieldName = "道路通达度";
            this.row道路通达度.Properties.RowEdit = this.repositoryItemComboBox3;
            // 
            // row道路通达度打分
            // 
            this.row道路通达度打分.Name = "row道路通达度打分";
            this.row道路通达度打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row道路通达度打分.Properties.Caption = "道路通达度打分";
            this.row道路通达度打分.Properties.FieldName = "道路通达度打分";
            // 
            // row供电保证率
            // 
            this.row供电保证率.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row供电保证率打分});
            this.row供电保证率.Name = "row供电保证率";
            this.row供电保证率.Properties.Caption = "供电保证率";
            this.row供电保证率.Properties.FieldName = "供电保证率";
            this.row供电保证率.Properties.RowEdit = this.repositoryItemComboBox6;
            // 
            // row供电保证率打分
            // 
            this.row供电保证率打分.Name = "row供电保证率打分";
            this.row供电保证率打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row供电保证率打分.Properties.Caption = "供电保证率打分";
            this.row供电保证率打分.Properties.FieldName = "供电保证率打分";
            // 
            // row供水保证率
            // 
            this.row供水保证率.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row供水保证率打分});
            this.row供水保证率.Name = "row供水保证率";
            this.row供水保证率.Properties.Caption = "供水保证率";
            this.row供水保证率.Properties.FieldName = "供水保证率";
            this.row供水保证率.Properties.RowEdit = this.repositoryItemComboBox7;
            // 
            // row供水保证率打分
            // 
            this.row供水保证率打分.Name = "row供水保证率打分";
            this.row供水保证率打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row供水保证率打分.Properties.Caption = "供水保证率打分";
            this.row供水保证率打分.Properties.FieldName = "供水保证率打分";
            // 
            // row排水状况
            // 
            this.row排水状况.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row排水状况打分});
            this.row排水状况.Name = "row排水状况";
            this.row排水状况.Properties.Caption = "排水状况";
            this.row排水状况.Properties.FieldName = "排水状况";
            this.row排水状况.Properties.RowEdit = this.repositoryItemComboBox8;
            // 
            // row排水状况打分
            // 
            this.row排水状况打分.Name = "row排水状况打分";
            this.row排水状况打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row排水状况打分.Properties.Caption = "排水状况打分";
            this.row排水状况打分.Properties.FieldName = "排水状况打分";
            // 
            // row公园距离
            // 
            this.row公园距离.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row公园距离打分});
            this.row公园距离.Name = "row公园距离";
            this.row公园距离.Properties.Caption = "公园距离";
            this.row公园距离.Properties.FieldName = "公园距离";
            this.row公园距离.Properties.RowEdit = this.repositoryItemComboBox9;
            // 
            // row公园距离打分
            // 
            this.row公园距离打分.Name = "row公园距离打分";
            this.row公园距离打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row公园距离打分.Properties.Caption = "公园距离打分";
            this.row公园距离打分.Properties.FieldName = "公园距离打分";
            // 
            // row体育场馆距离
            // 
            this.row体育场馆距离.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row体育场馆距离打分});
            this.row体育场馆距离.Name = "row体育场馆距离";
            this.row体育场馆距离.Properties.Caption = "体育场馆距离";
            this.row体育场馆距离.Properties.FieldName = "体育场馆距离";
            this.row体育场馆距离.Properties.RowEdit = this.repositoryItemComboBox10;
            // 
            // row体育场馆距离打分
            // 
            this.row体育场馆距离打分.Name = "row体育场馆距离打分";
            this.row体育场馆距离打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row体育场馆距离打分.Properties.Caption = "体育场馆距离打分";
            this.row体育场馆距离打分.Properties.FieldName = "体育场馆距离打分";
            // 
            // row中学距离
            // 
            this.row中学距离.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row中学距离打分});
            this.row中学距离.Name = "row中学距离";
            this.row中学距离.Properties.Caption = "中学距离";
            this.row中学距离.Properties.FieldName = "中学距离";
            this.row中学距离.Properties.RowEdit = this.repositoryItemComboBox11;
            // 
            // row中学距离打分
            // 
            this.row中学距离打分.Name = "row中学距离打分";
            this.row中学距离打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row中学距离打分.Properties.Caption = "中学距离打分";
            this.row中学距离打分.Properties.FieldName = "中学距离打分";
            // 
            // row小学距离
            // 
            this.row小学距离.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row小学距离打分});
            this.row小学距离.Name = "row小学距离";
            this.row小学距离.Properties.Caption = "小学距离";
            this.row小学距离.Properties.FieldName = "小学距离";
            this.row小学距离.Properties.RowEdit = this.repositoryItemComboBox12;
            // 
            // row小学距离打分
            // 
            this.row小学距离打分.Name = "row小学距离打分";
            this.row小学距离打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row小学距离打分.Properties.Caption = "小学距离打分";
            this.row小学距离打分.Properties.FieldName = "小学距离打分";
            // 
            // row幼儿园距离
            // 
            this.row幼儿园距离.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row幼儿园距离打分});
            this.row幼儿园距离.Name = "row幼儿园距离";
            this.row幼儿园距离.Properties.Caption = "幼儿园距离";
            this.row幼儿园距离.Properties.FieldName = "幼儿园距离";
            this.row幼儿园距离.Properties.RowEdit = this.repositoryItemComboBox13;
            // 
            // row幼儿园距离打分
            // 
            this.row幼儿园距离打分.Name = "row幼儿园距离打分";
            this.row幼儿园距离打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row幼儿园距离打分.Properties.Caption = "幼儿园距离打分";
            this.row幼儿园距离打分.Properties.FieldName = "幼儿园距离打分";
            // 
            // row治安状况
            // 
            this.row治安状况.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row治安状况打分});
            this.row治安状况.Name = "row治安状况";
            this.row治安状况.Properties.Caption = "治安状况";
            this.row治安状况.Properties.FieldName = "治安状况";
            this.row治安状况.Properties.RowEdit = this.repositoryItemComboBox14;
            // 
            // row治安状况打分
            // 
            this.row治安状况打分.Name = "row治安状况打分";
            this.row治安状况打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row治安状况打分.Properties.Caption = "治安状况打分";
            this.row治安状况打分.Properties.FieldName = "治安状况打分";
            // 
            // row绿化状况
            // 
            this.row绿化状况.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row绿化状况打分});
            this.row绿化状况.Name = "row绿化状况";
            this.row绿化状况.Properties.Caption = "绿化状况";
            this.row绿化状况.Properties.FieldName = "绿化状况";
            this.row绿化状况.Properties.RowEdit = this.repositoryItemComboBox15;
            // 
            // row绿化状况打分
            // 
            this.row绿化状况打分.Name = "row绿化状况打分";
            this.row绿化状况打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row绿化状况打分.Properties.Caption = "绿化状况打分";
            this.row绿化状况打分.Properties.FieldName = "绿化状况打分";
            // 
            // row大气污染
            // 
            this.row大气污染.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row大气污染打分});
            this.row大气污染.Name = "row大气污染";
            this.row大气污染.Properties.Caption = "大气污染";
            this.row大气污染.Properties.FieldName = "大气污染";
            this.row大气污染.Properties.RowEdit = this.repositoryItemComboBox16;
            // 
            // row大气污染打分
            // 
            this.row大气污染打分.Name = "row大气污染打分";
            this.row大气污染打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row大气污染打分.Properties.Caption = "大气污染打分";
            this.row大气污染打分.Properties.FieldName = "大气污染打分";
            // 
            // row噪声污染
            // 
            this.row噪声污染.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row噪声污染打分});
            this.row噪声污染.Name = "row噪声污染";
            this.row噪声污染.Properties.Caption = "噪声污染";
            this.row噪声污染.Properties.FieldName = "噪声污染";
            this.row噪声污染.Properties.RowEdit = this.repositoryItemComboBox17;
            // 
            // row噪声污染打分
            // 
            this.row噪声污染打分.Name = "row噪声污染打分";
            this.row噪声污染打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row噪声污染打分.Properties.Caption = "噪声污染打分";
            this.row噪声污染打分.Properties.FieldName = "噪声污染打分";
            // 
            // categoryRow3
            // 
            this.categoryRow3.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row建筑物成新率,
            this.row建筑结构,
            this.row建筑面积,
            this.row朝向,
            this.row楼型,
            this.row楼梯,
            this.row电梯,
            this.row物业管理状况,
            this.row装修情况,
            this.row户型布局});
            this.categoryRow3.Name = "categoryRow3";
            this.categoryRow3.OptionsRow.AllowMoveToCustomizationForm = false;
            this.categoryRow3.Properties.Caption = "个别因素";
            // 
            // row建筑物成新率
            // 
            this.row建筑物成新率.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row建筑物成新率打分});
            this.row建筑物成新率.Name = "row建筑物成新率";
            this.row建筑物成新率.Properties.Caption = "建筑物成新率";
            this.row建筑物成新率.Properties.FieldName = "建筑物成新率";
            // 
            // row建筑物成新率打分
            // 
            this.row建筑物成新率打分.Name = "row建筑物成新率打分";
            this.row建筑物成新率打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row建筑物成新率打分.Properties.Caption = "建筑物成新率打分";
            this.row建筑物成新率打分.Properties.FieldName = "建筑物成新率打分";
            // 
            // row建筑结构
            // 
            this.row建筑结构.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row建筑结构打分});
            this.row建筑结构.Name = "row建筑结构";
            this.row建筑结构.Properties.Caption = "建筑结构";
            this.row建筑结构.Properties.FieldName = "建筑结构";
            // 
            // row建筑结构打分
            // 
            this.row建筑结构打分.Name = "row建筑结构打分";
            this.row建筑结构打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row建筑结构打分.Properties.Caption = "建筑结构打分";
            this.row建筑结构打分.Properties.FieldName = "建筑结构打分";
            // 
            // row建筑面积
            // 
            this.row建筑面积.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row建筑面积打分});
            this.row建筑面积.Name = "row建筑面积";
            this.row建筑面积.Properties.Caption = "建筑面积";
            this.row建筑面积.Properties.FieldName = "建筑面积";
            // 
            // row建筑面积打分
            // 
            this.row建筑面积打分.Name = "row建筑面积打分";
            this.row建筑面积打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row建筑面积打分.Properties.Caption = "建筑面积打分";
            this.row建筑面积打分.Properties.FieldName = "建筑面积打分";
            // 
            // row朝向
            // 
            this.row朝向.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row朝向打分});
            this.row朝向.Name = "row朝向";
            this.row朝向.Properties.Caption = "朝向";
            this.row朝向.Properties.FieldName = "朝向";
            // 
            // row朝向打分
            // 
            this.row朝向打分.Name = "row朝向打分";
            this.row朝向打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row朝向打分.Properties.Caption = "朝向打分";
            this.row朝向打分.Properties.FieldName = "朝向打分";
            // 
            // row楼型
            // 
            this.row楼型.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row楼型打分});
            this.row楼型.Name = "row楼型";
            this.row楼型.Properties.Caption = "楼型";
            this.row楼型.Properties.FieldName = "楼型";
            // 
            // row楼型打分
            // 
            this.row楼型打分.Name = "row楼型打分";
            this.row楼型打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row楼型打分.Properties.Caption = "楼型打分";
            this.row楼型打分.Properties.FieldName = "楼型打分";
            // 
            // row楼梯
            // 
            this.row楼梯.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row楼梯打分});
            this.row楼梯.Name = "row楼梯";
            this.row楼梯.Properties.Caption = "楼梯";
            this.row楼梯.Properties.FieldName = "楼梯";
            // 
            // row楼梯打分
            // 
            this.row楼梯打分.Name = "row楼梯打分";
            this.row楼梯打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row楼梯打分.Properties.Caption = "楼梯打分";
            this.row楼梯打分.Properties.FieldName = "楼梯打分";
            // 
            // row电梯
            // 
            this.row电梯.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row电梯打分});
            this.row电梯.Name = "row电梯";
            this.row电梯.Properties.Caption = "电梯";
            this.row电梯.Properties.FieldName = "电梯";
            // 
            // row电梯打分
            // 
            this.row电梯打分.Name = "row电梯打分";
            this.row电梯打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row电梯打分.Properties.Caption = "电梯打分";
            this.row电梯打分.Properties.FieldName = "电梯打分";
            // 
            // row物业管理状况
            // 
            this.row物业管理状况.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row物业管理状况打分});
            this.row物业管理状况.Name = "row物业管理状况";
            this.row物业管理状况.Properties.Caption = "物业管理状况";
            this.row物业管理状况.Properties.FieldName = "物业管理状况";
            // 
            // row物业管理状况打分
            // 
            this.row物业管理状况打分.Name = "row物业管理状况打分";
            this.row物业管理状况打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row物业管理状况打分.Properties.Caption = "物业管理状况打分";
            this.row物业管理状况打分.Properties.FieldName = "物业管理状况打分";
            // 
            // row装修情况
            // 
            this.row装修情况.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row装修情况打分});
            this.row装修情况.Name = "row装修情况";
            this.row装修情况.Properties.Caption = "装修情况";
            this.row装修情况.Properties.FieldName = "装修情况";
            // 
            // row装修情况打分
            // 
            this.row装修情况打分.Name = "row装修情况打分";
            this.row装修情况打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row装修情况打分.Properties.Caption = "装修情况打分";
            this.row装修情况打分.Properties.FieldName = "装修情况打分";
            // 
            // row户型布局
            // 
            this.row户型布局.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row户型布局打分});
            this.row户型布局.Name = "row户型布局";
            this.row户型布局.Properties.Caption = "户型布局";
            this.row户型布局.Properties.FieldName = "户型布局";
            // 
            // row户型布局打分
            // 
            this.row户型布局打分.Name = "row户型布局打分";
            this.row户型布局打分.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row户型布局打分.Properties.Caption = "户型布局打分";
            this.row户型布局打分.Properties.FieldName = "户型布局打分";
            // 
            // categoryRow5
            // 
            this.categoryRow5.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
            this.row总修正系数,
            this.row权重,
            this.row比准价格});
            this.categoryRow5.Name = "categoryRow5";
            this.categoryRow5.OptionsRow.AllowFocus = false;
            this.categoryRow5.OptionsRow.AllowMove = false;
            this.categoryRow5.OptionsRow.AllowMoveToCustomizationForm = false;
            this.categoryRow5.Properties.Caption = "最后结果";
            // 
            // row总修正系数
            // 
            this.row总修正系数.Name = "row总修正系数";
            this.row总修正系数.OptionsRow.AllowFocus = false;
            this.row总修正系数.OptionsRow.AllowMove = false;
            this.row总修正系数.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row总修正系数.Properties.Caption = "总修正系数";
            this.row总修正系数.Properties.FieldName = "总修正系数";
            // 
            // row权重
            // 
            this.row权重.Name = "row权重";
            this.row权重.OptionsRow.AllowMove = false;
            this.row权重.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row权重.OptionsRow.AllowSize = false;
            this.row权重.Properties.Caption = "权重";
            this.row权重.Properties.FieldName = "权重";
            // 
            // row比准价格
            // 
            this.row比准价格.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
            this.row比准价格.Appearance.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
            this.row比准价格.Appearance.Options.UseBackColor = true;
            this.row比准价格.Name = "row比准价格";
            this.row比准价格.OptionsRow.AllowFocus = false;
            this.row比准价格.OptionsRow.AllowMove = false;
            this.row比准价格.OptionsRow.AllowMoveToCustomizationForm = false;
            this.row比准价格.Properties.Caption = "比准价格(元/平方米)";
            this.row比准价格.Properties.FieldName = "比准价格元平方米";
            this.row比准价格.Properties.ReadOnly = true;
            // 
            // groupControl1
            // 
            this.groupControl1.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.groupControl1.Appearance.Options.UseBackColor = true;
            this.groupControl1.Controls.Add(this.simpleButton3);
            this.groupControl1.Controls.Add(this.simpleButton2);
            this.groupControl1.Controls.Add(this.删除未选中的案例);
            this.groupControl1.Controls.Add(this.btnMarketSaveToXls);
            this.groupControl1.Controls.Add(this.btMarketSave);
            this.groupControl1.Controls.Add(this.btMarketCustomize);
            this.groupControl1.Controls.Add(this.添加案例);
            this.groupControl1.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupControl1.Location = new System.Drawing.Point(0, 0);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new System.Drawing.Size(946, 60);
            this.groupControl1.TabIndex = 8;
            this.groupControl1.Text = "操作";
            // 
            // simpleButton3
            // 
            this.simpleButton3.Location = new System.Drawing.Point(127, 29);
            this.simpleButton3.Name = "simpleButton3";
            this.simpleButton3.Size = new System.Drawing.Size(102, 23);
            this.simpleButton3.TabIndex = 14;
            this.simpleButton3.Text = "开始评估";
            this.simpleButton3.Click += new System.EventHandler(this.simpleButton3_Click);
            // 
            // simpleButton2
            // 
            this.simpleButton2.Location = new System.Drawing.Point(16, 29);
            this.simpleButton2.Name = "simpleButton2";
            this.simpleButton2.Size = new System.Drawing.Size(102, 23);
            this.simpleButton2.TabIndex = 13;
            this.simpleButton2.Text = "选择比较因素";
            this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
            // 
            // 删除未选中的案例
            // 
            this.删除未选中的案例.Location = new System.Drawing.Point(589, 29);
            this.删除未选中的案例.Name = "删除未选中的案例";
            this.删除未选中的案例.Size = new System.Drawing.Size(114, 23);
            this.删除未选中的案例.TabIndex = 12;
            this.删除未选中的案例.Text = "删除未选中的案例";
            this.删除未选中的案例.Click += new System.EventHandler(this.删除案例_Click);
            // 
            // btnMarketSaveToXls
            // 
            this.btnMarketSaveToXls.Location = new System.Drawing.Point(400, 29);
            this.btnMarketSaveToXls.Name = "btnMarketSaveToXls";
            this.btnMarketSaveToXls.Size = new System.Drawing.Size(107, 23);
            this.btnMarketSaveToXls.TabIndex = 11;
            this.btnMarketSaveToXls.Text = "计算并保存结果";
            this.btnMarketSaveToXls.Click += new System.EventHandler(this.btnMarketSaveToXls_Click);
            // 
            // btMarketSave
            // 
            this.btMarketSave.Location = new System.Drawing.Point(817, 29);
            this.btMarketSave.Name = "btMarketSave";
            this.btMarketSave.Size = new System.Drawing.Size(122, 23);
            this.btMarketSave.TabIndex = 10;
            this.btMarketSave.Text = "还原所有不比较因素";
            this.btMarketSave.Visible = false;
            this.btMarketSave.Click += new System.EventHandler(this.btMarketSave_Click);
            // 
            // btMarketCustomize
            // 
            this.btMarketCustomize.Location = new System.Drawing.Point(709, 29);
            this.btMarketCustomize.Name = "btMarketCustomize";
            this.btMarketCustomize.Size = new System.Drawing.Size(102, 23);
            this.btMarketCustomize.TabIndex = 9;
            this.btMarketCustomize.Text = "查看不比较因素";
            this.btMarketCustomize.Click += new System.EventHandler(this.btMarketCustomize_Click);
            // 
            // 添加案例
            // 
            this.添加案例.Location = new System.Drawing.Point(255, 29);
            this.添加案例.Name = "添加案例";
            this.添加案例.Size = new System.Drawing.Size(75, 23);
            this.添加案例.TabIndex = 8;
            this.添加案例.Text = "添加案例";
            this.添加案例.Click += new System.EventHandler(this.添加案例_Click);
            // 
            // xtraTabPage6
            // 
            this.xtraTabPage6.Controls.Add(this.btSyf1Res);
            this.xtraTabPage6.Controls.Add(this.btSyf1Save);
            this.xtraTabPage6.Controls.Add(this.labelControl54);
            this.xtraTabPage6.Controls.Add(this.txtSyf成本法房屋现值);
            this.xtraTabPage6.Controls.Add(this.labelControl53);
            this.xtraTabPage6.Controls.Add(this.txtSyf收益年限);
            this.xtraTabPage6.Controls.Add(this.labelControl52);
            this.xtraTabPage6.Controls.Add(this.txtSyf收益率);
            this.xtraTabPage6.Controls.Add(this.labelControl61);
            this.xtraTabPage6.Controls.Add(this.txtSyf个人所得税率);
            this.xtraTabPage6.Controls.Add(this.labelControl60);
            this.xtraTabPage6.Controls.Add(this.txtSyf教育费附加率);
            this.xtraTabPage6.Controls.Add(this.labelControl59);
            this.xtraTabPage6.Controls.Add(this.txtSyf城市维护建设税率);
            this.xtraTabPage6.Controls.Add(this.lblSyf营业税率);
            this.xtraTabPage6.Controls.Add(this.txtSyf营业税率);
            this.xtraTabPage6.Controls.Add(this.labelControl51);
            this.xtraTabPage6.Controls.Add(this.txtSyf房产税率);
            this.xtraTabPage6.Controls.Add(this.labelControl50);
            this.xtraTabPage6.Controls.Add(this.txtSyf保险费率);
            this.xtraTabPage6.Controls.Add(this.labelControl49);
            this.xtraTabPage6.Controls.Add(this.txtSyf维修费率);
            this.xtraTabPage6.Controls.Add(this.labelControl42);
            this.xtraTabPage6.Controls.Add(this.txtSyf建筑物现值);
            this.xtraTabPage6.Controls.Add(this.labelControl41);
            this.xtraTabPage6.Controls.Add(this.txtSyf管理费率);
            this.xtraTabPage6.Controls.Add(this.labelControl40);
            this.xtraTabPage6.Controls.Add(this.txtSyf月租金);
            this.xtraTabPage6.Controls.Add(this.labelControl39);
            this.xtraTabPage6.Controls.Add(this.txtSyf收益总面积);
            this.xtraTabPage6.Controls.Add(this.labelControl38);
            this.xtraTabPage6.Controls.Add(this.txtSyf空置时间);
            this.xtraTabPage6.Controls.Add(this.labelControl37);
            this.xtraTabPage6.Controls.Add(this.txtSyf可出租时间);
            this.xtraTabPage6.Name = "xtraTabPage6";
            this.xtraTabPage6.PageVisible = false;
            this.xtraTabPage6.Size = new System.Drawing.Size(946, 577);
            this.xtraTabPage6.Text = "收益还原法";
            this.xtraTabPage6.Paint += new System.Windows.Forms.PaintEventHandler(this.xtraTabPage6_Paint);
            // 
            // btSyf1Res
            // 
            this.btSyf1Res.Location = new System.Drawing.Point(767, 63);
            this.btSyf1Res.Name = "btSyf1Res";
            this.btSyf1Res.Size = new System.Drawing.Size(104, 23);
            this.btSyf1Res.TabIndex = 51;
            this.btSyf1Res.Text = "还原数据";
            this.btSyf1Res.Click += new System.EventHandler(this.btSyf1Res_Click);
            // 
            // btSyf1Save
            // 
            this.btSyf1Save.Location = new System.Drawing.Point(767, 22);
            this.btSyf1Save.Name = "btSyf1Save";
            this.btSyf1Save.Size = new System.Drawing.Size(104, 23);
            this.btSyf1Save.TabIndex = 50;
            this.btSyf1Save.Text = "保存数据";
            this.btSyf1Save.Click += new System.EventHandler(this.btSyf1Save_Click);
            // 
            // labelControl54
            // 
            this.labelControl54.Location = new System.Drawing.Point(12, 228);
            this.labelControl54.Name = "labelControl54";
            this.labelControl54.Size = new System.Drawing.Size(96, 14);
            this.labelControl54.TabIndex = 49;
            this.labelControl54.Text = "成本法房屋现值:";
            // 
            // txtSyf成本法房屋现值
            // 
            this.txtSyf成本法房屋现值.Location = new System.Drawing.Point(114, 225);
            this.txtSyf成本法房屋现值.Name = "txtSyf成本法房屋现值";
            this.txtSyf成本法房屋现值.Size = new System.Drawing.Size(100, 21);
            this.txtSyf成本法房屋现值.TabIndex = 48;
            // 
            // labelControl53
            // 
            this.labelControl53.Location = new System.Drawing.Point(506, 183);
            this.labelControl53.Name = "labelControl53";
            this.labelControl53.Size = new System.Drawing.Size(60, 14);
            this.labelControl53.TabIndex = 47;
            this.labelControl53.Text = "收益年限:";
            // 
            // txtSyf收益年限
            // 
            this.txtSyf收益年限.Location = new System.Drawing.Point(572, 180);
            this.txtSyf收益年限.Name = "txtSyf收益年限";
            this.txtSyf收益年限.Size = new System.Drawing.Size(100, 21);
            this.txtSyf收益年限.TabIndex = 46;
            // 
            // labelControl52
            // 
            this.labelControl52.Location = new System.Drawing.Point(285, 187);
            this.labelControl52.Name = "labelControl52";
            this.labelControl52.Size = new System.Drawing.Size(48, 14);
            this.labelControl52.TabIndex = 45;
            this.labelControl52.Text = "收益率:";
            // 
            // txtSyf收益率
            // 
            this.txtSyf收益率.Location = new System.Drawing.Point(339, 184);
            this.txtSyf收益率.Name = "txtSyf收益率";
            this.txtSyf收益率.Size = new System.Drawing.Size(100, 21);
            this.txtSyf收益率.TabIndex = 44;
            // 
            // labelControl61
            // 
            this.labelControl61.Location = new System.Drawing.Point(24, 187);
            this.labelControl61.Name = "labelControl61";
            this.labelControl61.Size = new System.Drawing.Size(84, 14);
            this.labelControl61.TabIndex = 43;
            this.labelControl61.Text = "个人所得税率:";
            // 
            // txtSyf个人所得税率
            // 
            this.txtSyf个人所得税率.Location = new System.Drawing.Point(114, 184);
            this.txtSyf个人所得税率.Name = "txtSyf个人所得税率";
            this.txtSyf个人所得税率.Size = new System.Drawing.Size(100, 21);
            this.txtSyf个人所得税率.TabIndex = 42;
            // 
            // labelControl60
            // 
            this.labelControl60.Location = new System.Drawing.Point(482, 141);
            this.labelControl60.Name = "labelControl60";
            this.labelControl60.Size = new System.Drawing.Size(84, 14);
            this.labelControl60.TabIndex = 41;
            this.labelControl60.Text = "教育费附加率:";
            // 
            // txtSyf教育费附加率
            // 
            this.txtSyf教育费附加率.Location = new System.Drawing.Point(572, 138);
            this.txtSyf教育费附加率.Name = "txtSyf教育费附加率";
            this.txtSyf教育费附加率.Size = new System.Drawing.Size(100, 21);
            this.txtSyf教育费附加率.TabIndex = 40;
            // 
            // labelControl59
            // 
            this.labelControl59.Location = new System.Drawing.Point(230, 145);
            this.labelControl59.Name = "labelControl59";
            this.labelControl59.Size = new System.Drawing.Size(108, 14);
            this.labelControl59.TabIndex = 39;
            this.labelControl59.Text = "城市维护建设税率:";
            // 
            // txtSyf城市维护建设税率
            // 
            this.txtSyf城市维护建设税率.Location = new System.Drawing.Point(339, 142);
            this.txtSyf城市维护建设税率.Name = "txtSyf城市维护建设税率";
            this.txtSyf城市维护建设税率.Size = new System.Drawing.Size(100, 21);
            this.txtSyf城市维护建设税率.TabIndex = 38;
            // 
            // lblSyf营业税率
            // 
            this.lblSyf营业税率.Location = new System.Drawing.Point(48, 145);
            this.lblSyf营业税率.Name = "lblSyf营业税率";
            this.lblSyf营业税率.Size = new System.Drawing.Size(60, 14);
            this.lblSyf营业税率.TabIndex = 37;
            this.lblSyf营业税率.Text = "营业税率:";
            // 
            // txtSyf营业税率
            // 
            this.txtSyf营业税率.Location = new System.Drawing.Point(114, 142);
            this.txtSyf营业税率.Name = "txtSyf营业税率";
            this.txtSyf营业税率.Size = new System.Drawing.Size(100, 21);
            this.txtSyf营业税率.TabIndex = 36;
            // 
            // labelControl51
            // 
            this.labelControl51.Location = new System.Drawing.Point(506, 103);
            this.labelControl51.Name = "labelControl51";
            this.labelControl51.Size = new System.Drawing.Size(60, 14);
            this.labelControl51.TabIndex = 23;
            this.labelControl51.Text = "房产税率:";
            // 
            // txtSyf房产税率
            // 
            this.txtSyf房产税率.Location = new System.Drawing.Point(572, 100);
            this.txtSyf房产税率.Name = "txtSyf房产税率";
            this.txtSyf房产税率.Size = new System.Drawing.Size(100, 21);
            this.txtSyf房产税率.TabIndex = 22;
            // 
            // labelControl50
            // 
            this.labelControl50.Location = new System.Drawing.Point(273, 103);
            this.labelControl50.Name = "labelControl50";
            this.labelControl50.Size = new System.Drawing.Size(60, 14);
            this.labelControl50.TabIndex = 21;
            this.labelControl50.Text = "保险费率:";
            // 
            // txtSyf保险费率
            // 
            this.txtSyf保险费率.Location = new System.Drawing.Point(339, 100);
            this.txtSyf保险费率.Name = "txtSyf保险费率";
            this.txtSyf保险费率.Size = new System.Drawing.Size(100, 21);
            this.txtSyf保险费率.TabIndex = 20;
            // 
            // labelControl49
            // 
            this.labelControl49.Location = new System.Drawing.Point(48, 103);
            this.labelControl49.Name = "labelControl49";
            this.labelControl49.Size = new System.Drawing.Size(60, 14);
            this.labelControl49.TabIndex = 19;
            this.labelControl49.Text = "维修费率:";
            // 
            // txtSyf维修费率
            // 
            this.txtSyf维修费率.Location = new System.Drawing.Point(114, 100);
            this.txtSyf维修费率.Name = "txtSyf维修费率";
            this.txtSyf维修费率.Size = new System.Drawing.Size(100, 21);
            this.txtSyf维修费率.TabIndex = 18;
            // 
            // labelControl42
            // 
            this.labelControl42.Location = new System.Drawing.Point(494, 63);
            this.labelControl42.Name = "labelControl42";
            this.labelControl42.Size = new System.Drawing.Size(72, 14);
            this.labelControl42.TabIndex = 17;
            this.labelControl42.Text = "建筑物现值:";
            // 
            // txtSyf建筑物现值
            // 
            this.txtSyf建筑物现值.Location = new System.Drawing.Point(572, 60);
            this.txtSyf建筑物现值.Name = "txtSyf建筑物现值";
            this.txtSyf建筑物现值.Size = new System.Drawing.Size(100, 21);
            this.txtSyf建筑物现值.TabIndex = 16;
            // 
            // labelControl41
            // 
            this.labelControl41.Location = new System.Drawing.Point(273, 63);
            this.labelControl41.Name = "labelControl41";
            this.labelControl41.Size = new System.Drawing.Size(60, 14);
            this.labelControl41.TabIndex = 15;
            this.labelControl41.Text = "管理费率:";
            // 
            // txtSyf管理费率
            // 
            this.txtSyf管理费率.Location = new System.Drawing.Point(339, 60);
            this.txtSyf管理费率.Name = "txtSyf管理费率";
            this.txtSyf管理费率.Size = new System.Drawing.Size(100, 21);
            this.txtSyf管理费率.TabIndex = 14;
            // 
            // labelControl40
            // 
            this.labelControl40.Location = new System.Drawing.Point(60, 63);
            this.labelControl40.Name = "labelControl40";
            this.labelControl40.Size = new System.Drawing.Size(48, 14);
            this.labelControl40.TabIndex = 13;
            this.labelControl40.Text = "月租金:";
            // 
            // txtSyf月租金
            // 
            this.txtSyf月租金.Location = new System.Drawing.Point(114, 60);
            this.txtSyf月租金.Name = "txtSyf月租金";
            this.txtSyf月租金.Size = new System.Drawing.Size(100, 21);
            this.txtSyf月租金.TabIndex = 12;
            // 
            // labelControl39
            // 
            this.labelControl39.Location = new System.Drawing.Point(494, 27);
            this.labelControl39.Name = "labelControl39";
            this.labelControl39.Size = new System.Drawing.Size(72, 14);
            this.labelControl39.TabIndex = 11;
            this.labelControl39.Text = "收益总面积:";
            // 
            // txtSyf收益总面积
            // 
            this.txtSyf收益总面积.Location = new System.Drawing.Point(572, 24);
            this.txtSyf收益总面积.Name = "txtSyf收益总面积";
            this.txtSyf收益总面积.Size = new System.Drawing.Size(100, 21);
            this.txtSyf收益总面积.TabIndex = 10;
            // 
            // labelControl38
            // 
            this.labelControl38.Location = new System.Drawing.Point(273, 27);
            this.labelControl38.Name = "labelControl38";
            this.labelControl38.Size = new System.Drawing.Size(60, 14);
            this.labelControl38.TabIndex = 9;
            this.labelControl38.Text = "空置时间:";
            // 
            // txtSyf空置时间
            // 
            this.txtSyf空置时间.Location = new System.Drawing.Point(339, 24);
            this.txtSyf空置时间.Name = "txtSyf空置时间";
            this.txtSyf空置时间.Size = new System.Drawing.Size(100, 21);
            this.txtSyf空置时间.TabIndex = 8;
            this.txtSyf空置时间.EditValueChanged += new System.EventHandler(this.textEdit29_EditValueChanged);
            // 
            // labelControl37
            // 
            this.labelControl37.Location = new System.Drawing.Point(36, 27);
            this.labelControl37.Name = "labelControl37";
            this.labelControl37.Size = new System.Drawing.Size(72, 14);
            this.labelControl37.TabIndex = 7;
            this.labelControl37.Text = "可出租时间:";
            // 
            // txtSyf可出租时间
            // 
            this.txtSyf可出租时间.Location = new System.Drawing.Point(114, 24);
            this.txtSyf可出租时间.Name = "txtSyf可出租时间";
            this.txtSyf可出租时间.Size = new System.Drawing.Size(100, 21);
            this.txtSyf可出租时间.TabIndex = 6;
            // 
            // xtraTabPage假设开发法_商品房
            // 
            this.xtraTabPage假设开发法_商品房.Controls.Add(this.groupControl4);
            this.xtraTabPage假设开发法_商品房.Name = "xtraTabPage假设开发法_商品房";
            this.xtraTabPage假设开发法_商品房.Size = new System.Drawing.Size(446, 270);
            this.xtraTabPage假设开发法_商品房.Text = "假设开发法-商品房";
            // 
            // groupControl4
            // 
            this.groupControl4.Controls.Add(this.labelControl62);
            this.groupControl4.Controls.Add(this.labelControl58);
            this.groupControl4.Controls.Add(this.lue_年利润率);
            this.groupControl4.Controls.Add(this.lue_建筑安装工程费);
            this.groupControl4.Controls.Add(this.txtJsfspf楼面地价);
            this.groupControl4.Controls.Add(this.labelControl57);
            this.groupControl4.Controls.Add(this.rgroup_jsfspf);
            this.groupControl4.Controls.Add(this.simpleButton8);
            this.groupControl4.Controls.Add(this.sbJsfspfSave);
            this.groupControl4.Controls.Add(this.txtJsfspf房地产单价);
            this.groupControl4.Controls.Add(this.labelControl56);
            this.groupControl4.Location = new System.Drawing.Point(8, 3);
            this.groupControl4.Name = "groupControl4";
            this.groupControl4.Size = new System.Drawing.Size(433, 261);
            this.groupControl4.TabIndex = 57;
            // 
            // labelControl62
            // 
            this.labelControl62.Location = new System.Drawing.Point(66, 166);
            this.labelControl62.Name = "labelControl62";
            this.labelControl62.Size = new System.Drawing.Size(60, 14);
            this.labelControl62.TabIndex = 155;
            this.labelControl62.Text = "年利润率:";
            // 
            // labelControl58
            // 
            this.labelControl58.Location = new System.Drawing.Point(30, 131);
            this.labelControl58.Name = "labelControl58";
            this.labelControl58.Size = new System.Drawing.Size(96, 14);
            this.labelControl58.TabIndex = 154;
            this.labelControl58.Text = "建筑安装工程费:";
            // 
            // lue_年利润率
            // 
            this.lue_年利润率.EditValue = "";
            this.lue_年利润率.Location = new System.Drawing.Point(131, 163);
            this.lue_年利润率.Name = "lue_年利润率";
            this.lue_年利润率.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lue_年利润率.Properties.NullText = "";
            this.lue_年利润率.Size = new System.Drawing.Size(113, 21);
            this.lue_年利润率.TabIndex = 153;
            // 
            // lue_建筑安装工程费
            // 
            this.lue_建筑安装工程费.EditValue = "";
            this.lue_建筑安装工程费.Location = new System.Drawing.Point(132, 128);
            this.lue_建筑安装工程费.Name = "lue_建筑安装工程费";
            this.lue_建筑安装工程费.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lue_建筑安装工程费.Properties.NullText = "";
            this.lue_建筑安装工程费.Size = new System.Drawing.Size(113, 21);
            this.lue_建筑安装工程费.TabIndex = 152;
            // 
            // txtJsfspf楼面地价
            // 
            this.txtJsfspf楼面地价.Location = new System.Drawing.Point(131, 232);
            this.txtJsfspf楼面地价.Name = "txtJsfspf楼面地价";
            this.txtJsfspf楼面地价.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.txtJsfspf楼面地价.Properties.Appearance.ForeColor = System.Drawing.Color.Blue;
            this.txtJsfspf楼面地价.Properties.Appearance.Options.UseBackColor = true;
            this.txtJsfspf楼面地价.Properties.Appearance.Options.UseForeColor = true;
            this.txtJsfspf楼面地价.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.txtJsfspf楼面地价.Size = new System.Drawing.Size(113, 19);
            this.txtJsfspf楼面地价.TabIndex = 58;
            // 
            // labelControl57
            // 
            this.labelControl57.Location = new System.Drawing.Point(66, 234);
            this.labelControl57.Name = "labelControl57";
            this.labelControl57.Size = new System.Drawing.Size(60, 14);
            this.labelControl57.TabIndex = 59;
            this.labelControl57.Text = "楼面地价:";
            // 
            // rgroup_jsfspf
            // 
            this.rgroup_jsfspf.Location = new System.Drawing.Point(9, 26);
            this.rgroup_jsfspf.Name = "rgroup_jsfspf";
            this.rgroup_jsfspf.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
            new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "城区7层及以下"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "城区8-18层"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "城区19层及以上"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "镇区7层及以下"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "镇区8-18层"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "镇区19层及以上")});
            this.rgroup_jsfspf.Size = new System.Drawing.Size(238, 96);
            this.rgroup_jsfspf.TabIndex = 57;
            this.rgroup_jsfspf.SelectedIndexChanged += new System.EventHandler(this.rgroup_jsfspf_SelectedIndexChanged);
            // 
            // simpleButton8
            // 
            this.simpleButton8.Location = new System.Drawing.Point(314, 69);
            this.simpleButton8.Name = "simpleButton8";
            this.simpleButton8.Size = new System.Drawing.Size(104, 23);
            this.simpleButton8.TabIndex = 55;
            this.simpleButton8.Text = "还原数据";
            this.simpleButton8.Visible = false;
            // 
            // sbJsfspfSave
            // 
            this.sbJsfspfSave.Location = new System.Drawing.Point(314, 26);
            this.sbJsfspfSave.Name = "sbJsfspfSave";
            this.sbJsfspfSave.Size = new System.Drawing.Size(104, 23);
            this.sbJsfspfSave.TabIndex = 54;
            this.sbJsfspfSave.Text = "计算";
            this.sbJsfspfSave.Click += new System.EventHandler(this.sbJsfspfSave_Click);
            // 
            // txtJsfspf房地产单价
            // 
            this.txtJsfspf房地产单价.Location = new System.Drawing.Point(130, 197);
            this.txtJsfspf房地产单价.Name = "txtJsfspf房地产单价";
            this.txtJsfspf房地产单价.Size = new System.Drawing.Size(113, 21);
            this.txtJsfspf房地产单价.TabIndex = 52;
            // 
            // labelControl56
            // 
            this.labelControl56.Location = new System.Drawing.Point(54, 200);
            this.labelControl56.Name = "labelControl56";
            this.labelControl56.Size = new System.Drawing.Size(72, 14);
            this.labelControl56.TabIndex = 53;
            this.labelControl56.Text = "房地产单价:";
            // 
            // fMFormulaTemplateBindingSource
            // 
            this.fMFormulaTemplateBindingSource.DataMember = "FM_FormulaTemplate";
            this.fMFormulaTemplateBindingSource.DataSource = this.dataSetFMFormulaTemplate;
            // 
            // fMFCMarketComporisonApproachBindingSource
            // 
            this.fMFCMarketComporisonApproachBindingSource.DataMember = "FM_FCMarketComporisonApproach";
            this.fMFCMarketComporisonApproachBindingSource.DataSource = this.marketDataSet;
            // 
            // fM_FCMarketComporisonApproachTableAdapter1
            // 
            this.fM_FCMarketComporisonApproachTableAdapter1.ClearBeforeFill = true;
            // 
            // fM_MARKETHIDECOLUMNTableAdapter
            // 
            this.fM_MARKETHIDECOLUMNTableAdapter.ClearBeforeFill = true;
            // 
            // landDatumValue
            // 
            this.landDatumValue.DataSetName = "LandDatumValue";
            this.landDatumValue.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // gyqpTableAdapter1
            // 
            this.gyqpTableAdapter1.ClearBeforeFill = true;
            // 
            // gyszxsTableAdapter1
            // 
            this.gyszxsTableAdapter1.ClearBeforeFill = true;
            // 
            // gyszysTableAdapter1
            // 
            this.gyszysTableAdapter1.ClearBeforeFill = true;
            // 
            // rjlszTableAdapter1
            // 
            this.rjlszTableAdapter1.ClearBeforeFill = true;
            // 
            // szqpTableAdapter1
            // 
            this.szqpTableAdapter1.ClearBeforeFill = true;
            // 
            // szszxsTableAdapter1
            // 
            this.szszxsTableAdapter1.ClearBeforeFill = true;
            // 
            // szszysTableAdapter1
            // 
            this.szszysTableAdapter1.ClearBeforeFill = true;
            // 
            // zzqpTableAdapter1
            // 
            this.zzqpTableAdapter1.ClearBeforeFill = true;
            // 
            // zzszxsTableAdapter1
            // 
            this.zzszxsTableAdapter1.ClearBeforeFill = true;
            // 
            // zzszysTableAdapter1
            // 
            this.zzszysTableAdapter1.ClearBeforeFill = true;
            // 
            // fM_FCMarketComporisonApproachTemplateTableAdapter
            // 
            this.fM_FCMarketComporisonApproachTemplateTableAdapter.ClearBeforeFill = true;
            // 
            // 作为比较项
            // 
            this.作为比较项.Caption = "作为比较项";
            this.作为比较项.Name = "作为比较项";
            this.作为比较项.Visible = true;
            this.作为比较项.VisibleIndex = 3;
            // 
            // fmMethodDataSet
            // 
            this.fmMethodDataSet.DataSetName = "DataSetMethod";
            this.fmMethodDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // fM_MethodTableAdapter1
            // 
            this.fM_MethodTableAdapter1.ClearBeforeFill = true;
            // 
            // labelControl29
            // 
            this.labelControl29.Location = new System.Drawing.Point(225, 24);
            this.labelControl29.Name = "labelControl29";
            this.labelControl29.Size = new System.Drawing.Size(48, 14);
            this.labelControl29.TabIndex = 7;
            this.labelControl29.Text = "建安费:";
            // 
            // textEdit20
            // 
            this.textEdit20.Location = new System.Drawing.Point(291, 21);
            this.textEdit20.Name = "textEdit20";
            this.textEdit20.Size = new System.Drawing.Size(100, 21);
            this.textEdit20.TabIndex = 6;
            // 
            // labelControl30
            // 
            this.labelControl30.Location = new System.Drawing.Point(27, 24);
            this.labelControl30.Name = "labelControl30";
            this.labelControl30.Size = new System.Drawing.Size(60, 14);
            this.labelControl30.TabIndex = 5;
            this.labelControl30.Text = "土建成本:";
            // 
            // textEdit21
            // 
            this.textEdit21.Location = new System.Drawing.Point(93, 21);
            this.textEdit21.Name = "textEdit21";
            this.textEdit21.Size = new System.Drawing.Size(100, 21);
            this.textEdit21.TabIndex = 4;
            // 
            // labelControl32
            // 
            this.labelControl32.Location = new System.Drawing.Point(431, 24);
            this.labelControl32.Name = "labelControl32";
            this.labelControl32.Size = new System.Drawing.Size(140, 14);
            this.labelControl32.TabIndex = 9;
            this.labelControl32.Text = "  取土建总造价的百分率:";
            // 
            // textEdit23
            // 
            this.textEdit23.Location = new System.Drawing.Point(577, 21);
            this.textEdit23.Name = "textEdit23";
            this.textEdit23.Size = new System.Drawing.Size(100, 21);
            this.textEdit23.TabIndex = 8;
            // 
            // labelControl33
            // 
            this.labelControl33.Location = new System.Drawing.Point(225, 24);
            this.labelControl33.Name = "labelControl33";
            this.labelControl33.Size = new System.Drawing.Size(48, 14);
            this.labelControl33.TabIndex = 7;
            this.labelControl33.Text = "建安费:";
            // 
            // textEdit24
            // 
            this.textEdit24.Location = new System.Drawing.Point(291, 21);
            this.textEdit24.Name = "textEdit24";
            this.textEdit24.Size = new System.Drawing.Size(100, 21);
            this.textEdit24.TabIndex = 6;
            // 
            // labelControl34
            // 
            this.labelControl34.Location = new System.Drawing.Point(27, 24);
            this.labelControl34.Name = "labelControl34";
            this.labelControl34.Size = new System.Drawing.Size(60, 14);
            this.labelControl34.TabIndex = 5;
            this.labelControl34.Text = "土建成本:";
            // 
            // textEdit25
            // 
            this.textEdit25.Location = new System.Drawing.Point(93, 21);
            this.textEdit25.Name = "textEdit25";
            this.textEdit25.Size = new System.Drawing.Size(100, 21);
            this.textEdit25.TabIndex = 4;
            // 
            // labelControl43
            // 
            this.labelControl43.Location = new System.Drawing.Point(60, 63);
            this.labelControl43.Name = "labelControl43";
            this.labelControl43.Size = new System.Drawing.Size(48, 14);
            this.labelControl43.TabIndex = 13;
            this.labelControl43.Text = "月租金:";
            // 
            // labelControl44
            // 
            this.labelControl44.Location = new System.Drawing.Point(457, 63);
            this.labelControl44.Name = "labelControl44";
            this.labelControl44.Size = new System.Drawing.Size(72, 14);
            this.labelControl44.TabIndex = 17;
            this.labelControl44.Text = "建筑物现值:";
            // 
            // textEdit34
            // 
            this.textEdit34.Location = new System.Drawing.Point(535, 60);
            this.textEdit34.Name = "textEdit34";
            this.textEdit34.Size = new System.Drawing.Size(100, 21);
            this.textEdit34.TabIndex = 16;
            // 
            // labelControl45
            // 
            this.labelControl45.Location = new System.Drawing.Point(257, 63);
            this.labelControl45.Name = "labelControl45";
            this.labelControl45.Size = new System.Drawing.Size(60, 14);
            this.labelControl45.TabIndex = 15;
            this.labelControl45.Text = "管理费率:";
            // 
            // textEdit35
            // 
            this.textEdit35.Location = new System.Drawing.Point(323, 60);
            this.textEdit35.Name = "textEdit35";
            this.textEdit35.Size = new System.Drawing.Size(100, 21);
            this.textEdit35.TabIndex = 14;
            // 
            // textEdit36
            // 
            this.textEdit36.Location = new System.Drawing.Point(114, 60);
            this.textEdit36.Name = "textEdit36";
            this.textEdit36.Size = new System.Drawing.Size(100, 21);
            this.textEdit36.TabIndex = 12;
            // 
            // labelControl46
            // 
            this.labelControl46.Location = new System.Drawing.Point(457, 27);
            this.labelControl46.Name = "labelControl46";
            this.labelControl46.Size = new System.Drawing.Size(72, 14);
            this.labelControl46.TabIndex = 11;
            this.labelControl46.Text = "收益总面积:";
            // 
            // textEdit37
            // 
            this.textEdit37.Location = new System.Drawing.Point(535, 24);
            this.textEdit37.Name = "textEdit37";
            this.textEdit37.Size = new System.Drawing.Size(100, 21);
            this.textEdit37.TabIndex = 10;
            // 
            // labelControl47
            // 
            this.labelControl47.Location = new System.Drawing.Point(257, 27);
            this.labelControl47.Name = "labelControl47";
            this.labelControl47.Size = new System.Drawing.Size(60, 14);
            this.labelControl47.TabIndex = 9;
            this.labelControl47.Text = "空置时间:";
            // 
            // textEdit38
            // 
            this.textEdit38.Location = new System.Drawing.Point(323, 24);
            this.textEdit38.Name = "textEdit38";
            this.textEdit38.Size = new System.Drawing.Size(100, 21);
            this.textEdit38.TabIndex = 8;
            // 
            // labelControl48
            // 
            this.labelControl48.Location = new System.Drawing.Point(36, 27);
            this.labelControl48.Name = "labelControl48";
            this.labelControl48.Size = new System.Drawing.Size(72, 14);
            this.labelControl48.TabIndex = 7;
            this.labelControl48.Text = "可出租时间:";
            // 
            // textEdit39
            // 
            this.textEdit39.Location = new System.Drawing.Point(114, 24);
            this.textEdit39.Name = "textEdit39";
            this.textEdit39.Size = new System.Drawing.Size(100, 21);
            this.textEdit39.TabIndex = 6;
            // 
            // fM_FormulaTemplateTableAdapter
            // 
            this.fM_FormulaTemplateTableAdapter.ClearBeforeFill = true;
            // 
            // MethodForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(457, 304);
            this.Controls.Add(this.panelControl1);
            this.Name = "MethodForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "评估";
            this.Load += new System.EventHandler(this.MethodForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
            this.panelControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.DevXtraTabControl)).EndInit();
            this.DevXtraTabControl.ResumeLayout(false);
            this.xtraTabPage设置.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataSetFMFormulaTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
            this.xtraTabPage1.ResumeLayout(false);
            this.xtraTabPage1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt建筑面积.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt土地面积.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            this.xtraTabPage2.ResumeLayout(false);
            this.xtraTabPage2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtRjlxs.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNqxs.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.progress1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkbox别墅.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkbox住宅.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkbox工业.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkbox商住.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtRjl.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTdsdnx.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTdsrlx.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTdhyll.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtQrxzxs.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJzdj.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTdjb.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControlGy)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewLand)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox具体条件)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtQph.Properties)).EndInit();
            this.xtraTabPage3.ResumeLayout(false);
            this.xtraTabPage3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf基准地价修正法土地总价.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf建筑物的成新率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf前期费用.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf取土建总造价的百分率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf建安费.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCbf土建成本.Properties)).EndInit();
            this.xtraTabPage4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).EndInit();
            this.groupControl3.ResumeLayout(false);
            this.groupControl3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gdcJsfGy)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf买方负担的税费率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf开发利润率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf销售费用率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf销售税金率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf销售周期.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf开发建设周期.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf基准年利息率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf管理费率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf报建费.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf土建工程建筑费用.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf室外工程建筑费用.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf专业费率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsf安装工程建筑费用.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtjsf市场售价.Properties)).EndInit();
            this.xtraTabPage5.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
            this.groupControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gcMarket)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fMFCMarketComporisonApproachTemplateBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.marketFieldSelectDataSet)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMarketCheck)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.vgc_Market)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fMMARKETHIDECOLUMNBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.marketDataSet)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox9)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox10)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox11)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox12)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox13)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox14)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox15)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox16)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox17)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
            this.groupControl1.ResumeLayout(false);
            this.xtraTabPage6.ResumeLayout(false);
            this.xtraTabPage6.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf成本法房屋现值.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf收益年限.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf收益率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf个人所得税率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf教育费附加率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf城市维护建设税率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf营业税率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf房产税率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf保险费率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf维修费率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf建筑物现值.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf管理费率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf月租金.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf收益总面积.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf空置时间.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSyf可出租时间.Properties)).EndInit();
            this.xtraTabPage假设开发法_商品房.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).EndInit();
            this.groupControl4.ResumeLayout(false);
            this.groupControl4.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lue_年利润率.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lue_建筑安装工程费.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsfspf楼面地价.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.rgroup_jsfspf.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtJsfspf房地产单价.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fMFormulaTemplateBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fMFCMarketComporisonApproachBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.landDatumValue)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fmMethodDataSet)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit20.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit21.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit23.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit24.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit25.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit34.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit35.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit36.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit37.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit38.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit39.Properties)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #19
0
ファイル: FormSetGDP.cs プロジェクト: github188/myitoppsp
        private void LoadData()
        {
            Ps_Forecast_Math psp_Type = new Ps_Forecast_Math();

            psp_Type.ForecastID = forecastReport.ID;
            psp_Type.Forecast   = type;
            IList listTypes = Common.Services.BaseService.GetList("SelectPs_Forecast_MathByForecastIDAndForecast", psp_Type);

            DataTable dataTable = Itop.Common.DataConverter.ToDataTable(listTypes, typeof(Ps_Forecast_Math));

            DataRow[] rows1 = dataTable.Select("Title like '全地区GDP%'");

            if (rows1.Length == 0)
            {
                MessageBox.Show("缺少‘全地区GDP’数据!");
                this.Close();
                return;
            }


            Ps_Calc pcs = new Ps_Calc();

            pcs.Forecast   = type;
            pcs.ForecastID = forecastReport.ID;
            list1          = Services.BaseService.GetList <Ps_Calc>("SelectPs_CalcByForecast", pcs);


            dt.Columns.Add("ID");
            dt.Columns.Add("Name");
            newrow1 = dt.NewRow();

            newrow1["ID"]   = "ID";
            newrow1["Name"] = "GDP增长率(%)";

            for (int i = forecastReport.YcStartYear; i <= forecastReport.YcEndYear; i++)
            {
                dt.Columns.Add(i.ToString(), typeof(double));
                DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                editorRow.Properties.FieldName = i.ToString().Trim();
                editorRow.Properties.Caption   = i.ToString().Trim();
                editorRow.Height             = 20;
                editorRow.Properties.RowEdit = this.repositoryItemCalcEdit1;
                this.vGridControl1.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });


                double s1 = 0;
                double s2 = 0;
                double s5 = 0;
                try { s1 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s2 = Convert.ToDouble(rows1[0]["y" + (i - 1)]); }
                catch { }

                if (s2 != 0)
                {
                    s5 = (s1 - s2) / s2;
                }
                newrow1[i.ToString()] = Math.Round(s5 * 100, 3);


                foreach (Ps_Calc pcs2 in list1)
                {
                    if (i == pcs2.Year)
                    {
                        newrow1[i.ToString()] = Math.Round(pcs2.Value2 * 100, 3);
                    }
                }
            }
            dt.Rows.Add(newrow1);
            vGridControl1.DataSource = dt;
        }
コード例 #20
0
 /// <summary>
 /// �����֧������ķ��� - ��Ҫ
 /// ʹ�ô���༭���޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.panelControl = new DevExpress.XtraEditors.PanelControl();
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.tabPage = new DevExpress.XtraTab.XtraTabPage();
     this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl();
     this.ItemTextEditUID = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditSName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditSType = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditDQ = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditcol1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.rowUID = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowSName = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowSType = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowDQ = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowcol1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.btnOK = new DevExpress.XtraEditors.SimpleButton();
     this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
     this.repositoryItemComboBox3 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit();
     this.panelControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.tabPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSType)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditDQ)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl
     //
     this.panelControl.Controls.Add(this.xtraTabControl1);
     this.panelControl.Location = new System.Drawing.Point(0, 0);
     this.panelControl.Name = "panelControl";
     this.panelControl.Size = new System.Drawing.Size(395, 175);
     this.panelControl.TabIndex = 0;
     this.panelControl.Text = "panelControl1";
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.xtraTabControl1.Location = new System.Drawing.Point(7, 7);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.tabPage;
     this.xtraTabControl1.Size = new System.Drawing.Size(382, 161);
     this.xtraTabControl1.TabIndex = 1;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tabPage});
     this.xtraTabControl1.Text = "xtraTabControl1";
     //
     // tabPage
     //
     this.tabPage.Controls.Add(this.vGridControl);
     this.tabPage.Name = "tabPage";
     this.tabPage.Size = new System.Drawing.Size(378, 145);
     //
     // vGridControl
     //
     this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.vGridControl.Location = new System.Drawing.Point(3, 3);
     this.vGridControl.Name = "vGridControl";
     this.vGridControl.RecordWidth = 234;
     this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.ItemTextEditUID,
     this.ItemTextEditSName,
     this.ItemTextEditSType,
     this.ItemTextEditDQ,
     this.ItemTextEditcol1,
     this.repositoryItemComboBox1,
     this.repositoryItemComboBox2,
     this.repositoryItemComboBox3});
     this.vGridControl.RowHeaderWidth = 129;
     this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
     this.rowUID,
     this.rowSName,
     this.rowSType,
     this.rowDQ,
     this.rowcol1});
     this.vGridControl.Size = new System.Drawing.Size(369, 138);
     this.vGridControl.TabIndex = 0;
     //
     // ItemTextEditUID
     //
     this.ItemTextEditUID.AutoHeight = false;
     this.ItemTextEditUID.MaxLength = 50;
     this.ItemTextEditUID.Name = "ItemTextEditUID";
     //
     // ItemTextEditSName
     //
     this.ItemTextEditSName.AutoHeight = false;
     this.ItemTextEditSName.MaxLength = 500;
     this.ItemTextEditSName.Name = "ItemTextEditSName";
     //
     // ItemTextEditSType
     //
     this.ItemTextEditSType.AutoHeight = false;
     this.ItemTextEditSType.MaxLength = 50;
     this.ItemTextEditSType.Name = "ItemTextEditSType";
     //
     // ItemTextEditDQ
     //
     this.ItemTextEditDQ.AutoHeight = false;
     this.ItemTextEditDQ.MaxLength = 50;
     this.ItemTextEditDQ.Name = "ItemTextEditDQ";
     //
     // ItemTextEditcol1
     //
     this.ItemTextEditcol1.AutoHeight = false;
     this.ItemTextEditcol1.MaxLength = 50;
     this.ItemTextEditcol1.Name = "ItemTextEditcol1";
     //
     // repositoryItemComboBox1
     //
     this.repositoryItemComboBox1.AutoHeight = false;
     this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox1.Items.AddRange(new object[] {
     "��Ͻ������",
     "�ؼ�ֱ��ֱ��",
     "�ؼ��ع�",
     "�ؼ��ι�",
     "�ؼ�����"});
     this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
     //
     // repositoryItemComboBox2
     //
     this.repositoryItemComboBox2.AutoHeight = false;
     this.repositoryItemComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox2.Name = "repositoryItemComboBox2";
     //
     // rowUID
     //
     this.rowUID.Height = 25;
     this.rowUID.Name = "rowUID";
     this.rowUID.Properties.FieldName = "UID";
     this.rowUID.Properties.ImageIndex = 25;
     this.rowUID.Properties.RowEdit = this.ItemTextEditUID;
     this.rowUID.Visible = false;
     //
     // rowSName
     //
     this.rowSName.Height = 25;
     this.rowSName.Name = "rowSName";
     this.rowSName.Properties.Caption = "����";
     this.rowSName.Properties.FieldName = "SName";
     this.rowSName.Properties.ImageIndex = 25;
     this.rowSName.Properties.RowEdit = this.ItemTextEditSName;
     //
     // rowSType
     //
     this.rowSType.Height = 25;
     this.rowSType.Name = "rowSType";
     this.rowSType.Properties.Caption = "����";
     this.rowSType.Properties.FieldName = "SType";
     this.rowSType.Properties.ImageIndex = 25;
     this.rowSType.Properties.RowEdit = this.repositoryItemComboBox1;
     //
     // rowDQ
     //
     this.rowDQ.Height = 25;
     this.rowDQ.Name = "rowDQ";
     this.rowDQ.Properties.Caption = "����";
     this.rowDQ.Properties.FieldName = "DQ";
     this.rowDQ.Properties.ImageIndex = 25;
     this.rowDQ.Properties.RowEdit = this.repositoryItemComboBox2;
     //
     // rowcol1
     //
     this.rowcol1.Height = 25;
     this.rowcol1.Name = "rowcol1";
     this.rowcol1.Properties.Caption = "Ͷ�����";
     this.rowcol1.Properties.FieldName = "col1";
     this.rowcol1.Properties.ImageIndex = 25;
     this.rowcol1.Properties.RowEdit = this.repositoryItemComboBox3;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(203, 181);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 0;
     this.btnOK.Text = "ȷ��";
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(307, 181);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 0;
     this.btnCancel.Text = "ȡ��";
     //
     // repositoryItemComboBox3
     //
     this.repositoryItemComboBox3.AutoHeight = false;
     this.repositoryItemComboBox3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox3.Name = "repositoryItemComboBox3";
     //
     // FrmPs_Table_EnterpriseDialog
     //
     this.AcceptButton = this.btnOK;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.btnCancel;
     this.ClientSize = new System.Drawing.Size(395, 206);
     this.Controls.Add(this.panelControl);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.btnCancel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmPs_Table_EnterpriseDialog";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "��ҵ��ϸ";
     this.Load += new System.EventHandler(this.FrmPs_Table_EnterpriseDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit();
     this.panelControl.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.tabPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSType)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditDQ)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #21
0
ファイル: qryPrmsForm.cs プロジェクト: SenerDemiral/tMax14
        public void parse(string srcTxt)
        {
            string uct;

            string[] sa = new string[100];
            srcTxt = Regex.Replace(srcTxt, @"\s+", " ");

            //MessageBox.Show(srcTxt);

            sa = Regex.Split(srcTxt, @"( )|(,)|(\*)|(=)|(>)|(<)|(\()|(\))");
            vGridControl1.Rows.Clear();
            //dt = new DataTable();

            for (int i = 0; i < sa.Length; i++)
            {
                if (sa[i].StartsWith("@"))
                {
                    //ColumnType ara @param/ColumnType/DefaultValue
                    string[] ct = sa[i].Split(new Char[] { '/' });
                    if (ct.Length == 1)
                    {
                        uct = "S";
                    }
                    else
                    {
                        uct   = ct[1];
                        sa[i] = ct[0];
                    }

                    DevExpress.XtraVerticalGrid.Rows.EditorRow vr = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                    vr.Name = ct[0];
                    vr.Tag  = uct;
                    vr.Appearance.Options.UseTextOptions = true;
                    switch (uct)
                    {
                    case "D":
                        vr.Properties.UnboundType = DevExpress.Data.UnboundColumnType.DateTime;
                        vr.Properties.RowEdit     = dateRepositoryItemDateEdit;

                        break;

                    case "T":
                        vr.Properties.UnboundType = DevExpress.Data.UnboundColumnType.DateTime;
                        vr.Properties.RowEdit     = timeRepositoryItemDateEdit;
                        break;

                    case "DT":
                        vr.Properties.UnboundType = DevExpress.Data.UnboundColumnType.DateTime;
                        vr.Properties.RowEdit     = dateTimeRepositoryItemDateEdit;
                        break;

                    case "I":
                        vr.Properties.UnboundType            = DevExpress.Data.UnboundColumnType.Integer;
                        vr.Properties.RowEdit                = intRepositoryItemTextEdit;
                        vr.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
                        break;

                    case "N":
                        vr.Properties.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
                        vr.Properties.RowEdit     = decimalRepositoryItemTextEdit;
                        break;

                    default:
                        vr.Properties.UnboundType = DevExpress.Data.UnboundColumnType.String;
                        //vr.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
                        break;
                    }
                    if (ct.Length == 3)
                    {
                        vr.Properties.Value = ct[2];    //DefaultValue
                    }
                    //vr.Properties.Caption = ct[0] + " " + sa[i - 4] + sa[i - 2] + " " + vr.Properties.UnboundType.ToString();
                    vr.Properties.Caption = ct[0] + " " + sa[i - 3] + sa[i - 2] + sa[i - 1];
                    vr.Properties.ToolTip = sa[i - 3] + sa[i - 2] + sa[i - 1] + " " + vr.Properties.UnboundType.ToString();
                    vGridControl1.Rows.Add(vr);
                }
            }

            StringBuilder sb = new StringBuilder();

            foreach (string s in sa)
            {
                sb.Append(s);
            }
            prmStr = sb.ToString();
            //if (vGridControl1.Rows.Count == 0)
            //    OKsimpleButton.PerformClick();
        }
コード例 #22
0
 /// <summary>
 /// �����֧������ķ��� - ��Ҫ
 /// ʹ�ô���༭���޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.panelControl = new DevExpress.XtraEditors.PanelControl();
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.tabPage = new DevExpress.XtraTab.XtraTabPage();
     this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl();
     this.ItemTextEditUID = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditLineName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditRemark = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditcol1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditcol2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.ItemTextEditcol3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
     this.rowUID = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowLineName = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowRemark = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowcol1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowcol2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.rowcol3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.btnOK = new DevExpress.XtraEditors.SimpleButton();
     this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit();
     this.panelControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.tabPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditLineName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditRemark)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl
     //
     this.panelControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.panelControl.Controls.Add(this.xtraTabControl1);
     this.panelControl.Controls.Add(this.btnOK);
     this.panelControl.Controls.Add(this.btnCancel);
     this.panelControl.Location = new System.Drawing.Point(3, 3);
     this.panelControl.Name = "panelControl";
     this.panelControl.Size = new System.Drawing.Size(395, 195);
     this.panelControl.TabIndex = 0;
     this.panelControl.Text = "panelControl1";
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.xtraTabControl1.Location = new System.Drawing.Point(7, 7);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.tabPage;
     this.xtraTabControl1.Size = new System.Drawing.Size(382, 153);
     this.xtraTabControl1.TabIndex = 1;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tabPage});
     this.xtraTabControl1.Text = "xtraTabControl1";
     //
     // tabPage
     //
     this.tabPage.Controls.Add(this.vGridControl);
     this.tabPage.Name = "tabPage";
     this.tabPage.Size = new System.Drawing.Size(378, 138);
     //
     // vGridControl
     //
     this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.vGridControl.Location = new System.Drawing.Point(3, 3);
     this.vGridControl.Name = "vGridControl";
     this.vGridControl.RecordWidth = 234;
     this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.ItemTextEditUID,
     this.ItemTextEditLineName,
     this.ItemTextEditRemark,
     this.ItemTextEditcol1,
     this.ItemTextEditcol2,
     this.ItemTextEditcol3,
     this.repositoryItemMemoEdit1});
     this.vGridControl.RowHeaderWidth = 129;
     this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
     this.rowUID,
     this.rowLineName,
     this.rowRemark,
     this.rowcol1,
     this.rowcol2,
     this.rowcol3});
     this.vGridControl.Size = new System.Drawing.Size(371, 131);
     this.vGridControl.TabIndex = 0;
     //
     // ItemTextEditUID
     //
     this.ItemTextEditUID.AutoHeight = false;
     this.ItemTextEditUID.MaxLength = 50;
     this.ItemTextEditUID.Name = "ItemTextEditUID";
     //
     // ItemTextEditLineName
     //
     this.ItemTextEditLineName.AutoHeight = false;
     this.ItemTextEditLineName.MaxLength = 50;
     this.ItemTextEditLineName.Name = "ItemTextEditLineName";
     //
     // ItemTextEditRemark
     //
     this.ItemTextEditRemark.AutoHeight = false;
     this.ItemTextEditRemark.MaxLength = 500;
     this.ItemTextEditRemark.Name = "ItemTextEditRemark";
     //
     // ItemTextEditcol1
     //
     this.ItemTextEditcol1.AutoHeight = false;
     this.ItemTextEditcol1.MaxLength = 50;
     this.ItemTextEditcol1.Name = "ItemTextEditcol1";
     //
     // ItemTextEditcol2
     //
     this.ItemTextEditcol2.AutoHeight = false;
     this.ItemTextEditcol2.MaxLength = 50;
     this.ItemTextEditcol2.Name = "ItemTextEditcol2";
     //
     // ItemTextEditcol3
     //
     this.ItemTextEditcol3.AutoHeight = false;
     this.ItemTextEditcol3.MaxLength = 50;
     this.ItemTextEditcol3.Name = "ItemTextEditcol3";
     //
     // repositoryItemMemoEdit1
     //
     this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
     //
     // rowUID
     //
     this.rowUID.Height = 25;
     this.rowUID.Name = "rowUID";
     this.rowUID.Properties.FieldName = "UID";
     this.rowUID.Properties.ImageIndex = 25;
     this.rowUID.Properties.RowEdit = this.ItemTextEditUID;
     this.rowUID.Visible = false;
     //
     // rowLineName
     //
     this.rowLineName.Height = 25;
     this.rowLineName.Name = "rowLineName";
     this.rowLineName.Properties.Caption = "��·����";
     this.rowLineName.Properties.FieldName = "LineName";
     this.rowLineName.Properties.ImageIndex = 25;
     this.rowLineName.Properties.RowEdit = this.ItemTextEditLineName;
     //
     // rowRemark
     //
     this.rowRemark.Height = 95;
     this.rowRemark.Name = "rowRemark";
     this.rowRemark.Properties.Caption = "����";
     this.rowRemark.Properties.FieldName = "Remark";
     this.rowRemark.Properties.ImageIndex = 25;
     this.rowRemark.Properties.RowEdit = this.repositoryItemMemoEdit1;
     //
     // rowcol1
     //
     this.rowcol1.Height = 25;
     this.rowcol1.Name = "rowcol1";
     this.rowcol1.Properties.FieldName = "col1";
     this.rowcol1.Properties.ImageIndex = 25;
     this.rowcol1.Properties.RowEdit = this.ItemTextEditcol1;
     this.rowcol1.Visible = false;
     //
     // rowcol2
     //
     this.rowcol2.Height = 25;
     this.rowcol2.Name = "rowcol2";
     this.rowcol2.Properties.FieldName = "col2";
     this.rowcol2.Properties.ImageIndex = 25;
     this.rowcol2.Properties.RowEdit = this.ItemTextEditcol2;
     this.rowcol2.Visible = false;
     //
     // rowcol3
     //
     this.rowcol3.Height = 25;
     this.rowcol3.Name = "rowcol3";
     this.rowcol3.Properties.FieldName = "col3";
     this.rowcol3.Properties.ImageIndex = 25;
     this.rowcol3.Properties.RowEdit = this.ItemTextEditcol3;
     this.rowcol3.Visible = false;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(221, 164);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 0;
     this.btnOK.Text = "ȷ��";
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(302, 164);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 0;
     this.btnCancel.Text = "ȡ��";
     //
     // FrmPSP_PlanListDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(395, 198);
     this.Controls.Add(this.panelControl);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmPSP_PlanListDialog";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "��·�滮";
     this.Load += new System.EventHandler(this.FrmPSP_PlanListDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit();
     this.panelControl.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.tabPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditLineName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditRemark)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #23
0
ファイル: FormSetGDP.cs プロジェクト: EdgarEDT/myitoppsp
        private void LoadData()
        {
            Ps_Forecast_Math psp_Type = new Ps_Forecast_Math();
            psp_Type.ForecastID = forecastReport.ID;
            psp_Type.Forecast = type;
            IList listTypes = Common.Services.BaseService.GetList("SelectPs_Forecast_MathByForecastIDAndForecast", psp_Type);

            DataTable   dataTable = Itop.Common.DataConverter.ToDataTable(listTypes, typeof(Ps_Forecast_Math));
            DataRow[] rows1 = dataTable.Select("Title like '全地区GDP%'");

            if (rows1.Length == 0 )
            {
                MessageBox.Show("缺少‘全地区GDP’数据!");
                this.Close();
                return;
            }

            Ps_Calc pcs = new Ps_Calc();
            pcs.Forecast = type;
            pcs.ForecastID = forecastReport.ID;
            list1 = Services.BaseService.GetList<Ps_Calc>("SelectPs_CalcByForecast", pcs);

            dt.Columns.Add("ID");
            dt.Columns.Add("Name");
            newrow1 =  dt.NewRow();

            newrow1["ID"] = "ID";
            newrow1["Name"] = "GDP增长率(%)";

            for (int i = forecastReport.YcStartYear; i <= forecastReport.YcEndYear; i++)
            {
                dt.Columns.Add(i.ToString(), typeof(double));
                DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                editorRow.Properties.FieldName = i.ToString().Trim();
                editorRow.Properties.Caption =i.ToString().Trim();
                editorRow.Height = 20;
                editorRow.Properties.RowEdit = this.repositoryItemCalcEdit1;
                this.vGridControl1.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });

                double s1 = 0;
                double s2 = 0;
                double s5 = 0;
                try { s1 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s2 = Convert.ToDouble(rows1[0]["y" + (i-1)]); }
                catch { }

                if (s2 != 0)
                    s5 = (s1 - s2) / s2;
                newrow1[i.ToString()] =Math.Round( s5*100,3);

                foreach (Ps_Calc pcs2 in list1)
                {
                    if (i == pcs2.Year)
                    {
                        newrow1[i.ToString()] = Math.Round(pcs2.Value2 * 100, 3);

                    }
                }
            }
            dt.Rows.Add(newrow1);
            vGridControl1.DataSource = dt;
        }
コード例 #24
0
        private void FormCalculator_Load(object sender, EventArgs e)
        {
            int firstyear = 0;
            int endyear   = 0;

            Ps_Forecast_Setup pfs = new Ps_Forecast_Setup();

            pfs.Forecast   = type;
            pfs.ForecastID = forecastReport.ID;

            IList <Ps_Forecast_Setup> li = Services.BaseService.GetList <Ps_Forecast_Setup>("SelectPs_Forecast_SetupByForecast", pfs);

            if (li.Count != 0)
            {
                firstyear = li[0].StartYear;
                endyear   = li[0].EndYear;
            }


            Ps_Calc pcs = new Ps_Calc();

            pcs.Forecast   = type;
            pcs.ForecastID = forecastReport.ID;
            list1          = Services.BaseService.GetList <Ps_Calc>("SelectPs_CalcByForecast", pcs);



            HideToolBarButton();
            #region 年平均s
            dt = new DataTable();
            dt.Columns.Add("ID");
            dt.Columns.Add("Name");
            DataRow newrow1 = dt.NewRow();
            newrow1["ID"]   = "ID";
            newrow1["Name"] = "历史增长率";
            newrow2         = dt.NewRow();
            newrow2["Name"] = "当前增长率";

            foreach (DataRow dataRow in dataTable.Rows)
            {
                dt.Columns.Add(dataRow["ID"].ToString().Trim(), typeof(double));
                DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                editorRow.Properties.FieldName = dataRow["ID"].ToString().Trim();
                editorRow.Properties.Caption   = dataRow["Title"].ToString().Trim();
                editorRow.Height             = 20;
                editorRow.Properties.RowEdit = this.repositoryItemCalcEdit4;
                this.vGridControl2.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });

                int      forecastYears = forecastReport.EndYear - forecastReport.StartYear;
                double[] historyValues = GenerateHistoryValue(dataRow, firstyear, endyear);
                newrow1[dataRow["ID"].ToString().Trim()] = Calculator.AverageIncreasing(historyValues);

                bool bl = false;
                foreach (Ps_Calc pc11 in list1)
                {
                    if (pc11.CalcID == editorRow.Properties.FieldName)
                    {
                        bl = true;
                        newrow2[dataRow["ID"].ToString().Trim()] = pc11.Value1;
                    }
                }
                if (!bl)
                {
                    newrow2[dataRow["ID"].ToString().Trim()] = Calculator.AverageIncreasing(historyValues);

                    Ps_Calc pcs1 = new Ps_Calc();
                    pcs1.ID         = Guid.NewGuid().ToString();
                    pcs1.Forecast   = type;
                    pcs1.ForecastID = forecastReport.ID;
                    pcs1.CalcID     = dataRow["ID"].ToString().Trim();
                    pcs1.Value1     = Calculator.AverageIncreasing(historyValues);
                    Services.BaseService.Create <Ps_Calc>(pcs1);
                }
            }



            dt.Rows.Add(newrow1);
            dt.Rows.Add(newrow2);
            vGridControl2.DataSource = dt;



            #endregion
        }
コード例 #25
0
        private void buildStoping()
        {
            DevExpress.XtraVerticalGrid.Rows.CategoryRow              group1           = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            DevExpress.XtraVerticalGrid.Rows.EditorRow                theOption        = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            DevExpress.XtraVerticalGrid.Rows.EditorRow                theStopeType     = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            DevExpress.XtraVerticalGrid.Rows.EditorRow                theNightShift    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            DevExpress.XtraVerticalGrid.Rows.CategoryRow              panelLengthGroup = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            DevExpress.XtraVerticalGrid.Rows.MultiEditorRow           thePanLength     = new DevExpress.XtraVerticalGrid.Rows.MultiEditorRow();
            DevExpress.XtraVerticalGrid.Rows.MultiEditorRowProperties thePanLengthMax  = new DevExpress.XtraVerticalGrid.Rows.MultiEditorRowProperties();
            DevExpress.XtraVerticalGrid.Rows.MultiEditorRowProperties thePanLengthMin  = new DevExpress.XtraVerticalGrid.Rows.MultiEditorRowProperties();
            DevExpress.XtraVerticalGrid.Rows.CategoryRow              stopeWidthGroup  = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            DevExpress.XtraVerticalGrid.Rows.MultiEditorRow           theStopeWidth    = new DevExpress.XtraVerticalGrid.Rows.MultiEditorRow();
            DevExpress.XtraVerticalGrid.Rows.MultiEditorRowProperties theStopeWidthMax = new DevExpress.XtraVerticalGrid.Rows.MultiEditorRowProperties();
            DevExpress.XtraVerticalGrid.Rows.MultiEditorRowProperties theStopeWidthMin = new DevExpress.XtraVerticalGrid.Rows.MultiEditorRowProperties();
            DevExpress.XtraVerticalGrid.Rows.EditorRow                theNumGully      = new DevExpress.XtraVerticalGrid.Rows.EditorRow();

            vgcOptions.Rows.Clear();
            groupA.ChildRows.Clear();

            group1.Properties.Caption = "Working place characteristic";



            theOption.Properties.Caption    = "Option";
            theOption.Properties.FieldName  = "theOption";
            theOption.OptionsRow.AllowFocus = false;

            theStopeType.Properties.Caption    = "Stoping type";
            theStopeType.Properties.FieldName  = "theType";
            theStopeType.OptionsRow.AllowFocus = false;

            theNightShift.Properties.Caption   = "Night shift?";
            theNightShift.Properties.FieldName = "NightShift";
            theNightShift.Properties.RowEdit   = riNightShift;

            panelLengthGroup.Properties.Caption = "Panel length (m)";

            thePanLengthMin.Caption   = "Min";
            thePanLengthMin.FieldName = "PanelLengthMin";
            thePanLengthMax.Caption   = "Max";
            thePanLengthMax.FieldName = "PanelLengthMax";
            thePanLength.PropertiesCollection.Add(thePanLengthMin);
            thePanLength.PropertiesCollection.Add(thePanLengthMax);

            stopeWidthGroup.Properties.Caption = "Stoping width";

            theStopeWidthMin.Caption   = "Min";
            theStopeWidthMax.Caption   = "Max";
            theStopeWidthMax.FieldName = "SWMax";
            theStopeWidthMin.FieldName = "SWMin";
            theStopeWidth.PropertiesCollection.Add(theStopeWidthMin);
            theStopeWidth.PropertiesCollection.Add(theStopeWidthMax);

            theNumGully.Properties.Caption   = "Number of winches in operation (excl. centre gulley)";
            theNumGully.Properties.FieldName = "NumWinch";


            // group1.Appearance.ParentAppearance.Font.Bold .Font .Bold = true;
            vgcOptions.Rows.Add(group1);
            //   vgcOptions.Rows.Add(theOption);
            group1.ChildRows.Add(theOption);
            group1.ChildRows.Add(theStopeType);
            group1.ChildRows.Add(theNightShift);
            group1.ChildRows.Add(panelLengthGroup);
            group1.ChildRows.Add(stopeWidthGroup);
            panelLengthGroup.ChildRows.Add(thePanLength);
            stopeWidthGroup.ChildRows.Add(theStopeWidth);
            group1.ChildRows.Add(theNumGully);

            groupA.Properties.Caption = "Designation (crew composition)";
            vgcOptions.Rows.Add(groupA);
        }
コード例 #26
0
        private void FormCalculator_Load(object sender, EventArgs e)
        {
            #region 年平均s
            dt = new DataTable();
            dt.Columns.Add("Name");
            foreach (DataRow dataRow in dataTable.Rows)
            {
                TreeListNode treeNode = treeList1.FindNodeByKeyID(dataRow["ID"]);
                if (!treeNode.HasChildren)
                {
                    dt.Columns.Add(dataRow["Title"].ToString().Trim(), typeof(double));
                    DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                    editorRow.Properties.FieldName = dataRow["Title"].ToString().Trim();
                    editorRow.Properties.Caption   = dataRow["Title"].ToString().Trim();
                    editorRow.Height             = 20;
                    editorRow.Properties.RowEdit = this.repositoryItemCalcEdit4;
                    this.vGridControl2.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });
                }
            }
            DataRow newrow1 = dt.NewRow();
            newrow1["Name"] = "增长率(计算)";
            foreach (DataRow dataRow in dataTable.Rows)
            {
                TreeListNode treeNode = treeList1.FindNodeByKeyID(dataRow["ID"]);
                if (!treeNode.HasChildren)
                {
                    int      forecastYears = forecastReport.EndYear - forecastReport.StartYear;
                    double[] historyValues = GenerateHistoryValue(treeNode);
                    newrow1[dataRow["Title"].ToString().Trim()] = Calculator.AverageIncreasing(historyValues);
                }
            }


            //dt.Rows.Add(newrow1);
            newrow2 = dt.NewRow();
            dt.Rows.Add(newrow2);
            newrow2["Name"] = "当前增长率";

            vGridControl2.DataSource = dt;



            IList <PSP_Calc> list = Services.BaseService.GetList <PSP_Calc>("SelectPSP_CalcByFlag", type);

            if (list.Count == 0)
            {
                pc.ID     = Guid.NewGuid().ToString();
                pc.Flag   = type;
                pc.Col1   = "";
                pc.Value1 = 3;
                pc.Value2 = 0.4;

                Services.BaseService.Create <PSP_Calc>(pc);
            }
            else
            {
                pc = list[0];
            }

            //textEdit1.Text = pc.Value2.ToString();



            IList <PSP_Calc> list1 = Services.BaseService.GetList <PSP_Calc>("SelectPSP_CalcByFlag1", type);
            if (list1.Count == 0)
            {
                pc1.ID   = Guid.NewGuid().ToString();
                pc1.Flag = type;
                pc1.Col1 = "1";

                int i = 1;
                foreach (DataColumn dc in dt.Columns)
                {
                    if (dc.ColumnName == "Name")
                    {
                        continue;
                    }

                    double value = 0;
                    try
                    {
                        value = Convert.ToDouble(newrow1[dc].ToString());
                    }
                    catch (Exception ex)
                    {
                        System.Console.WriteLine(ex.Message);
                    }

                    pc1.GetType().GetProperty("Value" + i.ToString()).SetValue(pc1, value, null);
                    newrow2[dc] = value;
                    i++;
                }



                Services.BaseService.Create <PSP_Calc>(pc1);
            }
            else
            {
                pc1 = list1[0];

                int i = 1;
                foreach (DataColumn dc in dt.Columns)
                {
                    if (dc.ColumnName == "Name")
                    {
                        continue;
                    }

                    double value = 0;
                    try
                    {
                        value = (double)pc1.GetType().GetProperty("Value" + i.ToString()).GetValue(pc1, null);
                    }
                    catch (Exception ex)
                    {
                        System.Console.WriteLine(ex.Message);
                    }
                    newrow2[dc] = value;
                    i++;
                }
            }

            #endregion

            IList <PSP_Calc_Spring> list2 = Services.BaseService.GetList <PSP_Calc_Spring>("SelectPSP_Calc_SpringByFlag", type);
            int years = forecastReport.EndYear - forecastReport.StartYear;
            for (int i = 1; i <= years; i++)
            {
                bool bl = false;
                foreach (PSP_Calc_Spring pcs in list2)
                {
                    if ((forecastReport.StartYear + i).ToString() == pcs.Name)
                    {
                        bl = true;
                    }
                }
                if (!bl)
                {
                    PSP_Calc_Spring pcss = new PSP_Calc_Spring();
                    pcss.ID     = Guid.NewGuid().ToString();
                    pcss.Name   = (forecastReport.StartYear + i).ToString();
                    pcss.Value1 = 0;
                    pcss.Value2 = 0;
                    pcss.Flag   = type;
                    Services.BaseService.Create <PSP_Calc_Spring>(pcss);
                    list2.Add(pcss);
                }
            }
        }
コード例 #27
0
        private void buildDev()
        {
            DevExpress.XtraVerticalGrid.Rows.CategoryRow group1        = new DevExpress.XtraVerticalGrid.Rows.CategoryRow();
            DevExpress.XtraVerticalGrid.Rows.EditorRow   theOption     = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            DevExpress.XtraVerticalGrid.Rows.EditorRow   theDevType    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            DevExpress.XtraVerticalGrid.Rows.EditorRow   theNightShift = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            DevExpress.XtraVerticalGrid.Rows.EditorRow   theNumEnds    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            DevExpress.XtraVerticalGrid.Rows.EditorRow   theRiggType   = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
            DevExpress.XtraVerticalGrid.Rows.EditorRow   tippingDist   = new DevExpress.XtraVerticalGrid.Rows.EditorRow();

            vgcOptions.Rows.Clear();
            groupA.ChildRows.Clear();

            group1.Properties.Caption = "Working place characteristic";



            theOption.Properties.Caption    = "Option";
            theOption.Properties.FieldName  = "theOption";
            theOption.OptionsRow.AllowFocus = false;

            theDevType.Properties.Caption    = "Development type";
            theDevType.Properties.FieldName  = "theType";
            theDevType.OptionsRow.AllowFocus = false;

            theNightShift.Properties.Caption   = "Night shift?";
            theNightShift.Properties.FieldName = "NightShift";
            theNightShift.Properties.RowEdit   = riNightShift;


            theNumEnds.Properties.Caption   = "Number of ends";
            theNumEnds.Properties.FieldName = "NumberOfEnds";

            theRiggType.Properties.Caption   = "Rigg use / type";
            theRiggType.Properties.FieldName = "RiggTypeID";
            theRiggType.Properties.RowEdit   = riDrillRigTypes;

            MWDataManager.clsDataAccess _theMiningTypes = new MWDataManager.clsDataAccess();
            _theMiningTypes.ConnectionString   = TConnections.GetConnectionString(theSystemDBTag, UserCurrentInfo.Connection);
            _theMiningTypes.SqlStatement       = "SELECT [DrillRigID],[DrillRigDesc]  FROM [DrillRigTypes]";
            _theMiningTypes.queryExecutionType = MWDataManager.ExecutionType.GeneralSQLStatement;
            _theMiningTypes.queryReturnType    = MWDataManager.ReturnType.DataTable;
            _theMiningTypes.ExecuteInstruction();

            riDrillRigTypes.DataSource    = _theMiningTypes.ResultsDataTable;
            riDrillRigTypes.ValueMember   = "DrillRigID";
            riDrillRigTypes.DisplayMember = "DrillRigDesc";

            tippingDist.Properties.Caption   = "Tipping distance (fill in to the nearest 10m)";
            tippingDist.Properties.FieldName = "TippingDistance";


            // group1.Appearance.ParentAppearance.Font.Bold .Font .Bold = true;
            vgcOptions.Rows.Add(group1);
            //   vgcOptions.Rows.Add(theOption);
            group1.ChildRows.Add(theOption);
            group1.ChildRows.Add(theDevType);
            group1.ChildRows.Add(theNightShift);
            group1.ChildRows.Add(theNumEnds);
            group1.ChildRows.Add(theRiggType);
            group1.ChildRows.Add(tippingDist);

            groupA.Properties.Caption = "Designation (crew composition)";
            vgcOptions.Rows.Add(groupA);
        }
コード例 #28
0
        private void FormCalculator_Load(object sender, EventArgs e)
        {
            #region ��ƽ��s
            dt = new DataTable();
            dt.Columns.Add("Name");
            foreach (DataRow dataRow in dataTable.Rows)
            {
                TreeListNode treeNode = treeList1.FindNodeByKeyID(dataRow["ID"]);
                if (!treeNode.HasChildren)
                {
                    dt.Columns.Add(dataRow["Title"].ToString().Trim(),typeof(double));
                    DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                    editorRow.Properties.FieldName = dataRow["Title"].ToString().Trim();
                    editorRow.Properties.Caption = dataRow["Title"].ToString().Trim();
                    editorRow.Height = 20;
                    editorRow.Properties.RowEdit = this.repositoryItemCalcEdit4;
                    this.vGridControl2.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });

                }
            }
            DataRow newrow1 = dt.NewRow();
            newrow1["Name"] = "������(����)";
            foreach (DataRow dataRow in dataTable.Rows)
            {
                TreeListNode treeNode = treeList1.FindNodeByKeyID(dataRow["ID"]);
                if (!treeNode.HasChildren)
                {
                    int forecastYears = forecastReport.EndYear - forecastReport.StartYear;
                    double[] historyValues = GenerateHistoryValue(treeNode);
                    newrow1[dataRow["Title"].ToString().Trim()] = Calculator.AverageIncreasing(historyValues);
                }
            }

            //dt.Rows.Add(newrow1);
            newrow2 = dt.NewRow();
            dt.Rows.Add(newrow2);
            newrow2["Name"] = "��ǰ������";

            vGridControl2.DataSource = dt;

            IList<PSP_Calc> list = Services.BaseService.GetList<PSP_Calc>("SelectPSP_CalcByFlag", type);

            if (list.Count == 0)
            {
                pc.ID = Guid.NewGuid().ToString();
                pc.Flag = type;
                pc.Col1 = "";
                pc.Value1 = 3;
                pc.Value2 = 0.4;

                Services.BaseService.Create<PSP_Calc>(pc);
            }
            else
                pc = list[0];

            //textEdit1.Text = pc.Value2.ToString();

            IList<PSP_Calc> list1 = Services.BaseService.GetList<PSP_Calc>("SelectPSP_CalcByFlag1", type);
            if (list1.Count == 0)
            {
                pc1.ID = Guid.NewGuid().ToString();
                pc1.Flag = type;
                pc1.Col1 = "1";

                int i = 1;
                foreach (DataColumn dc in dt.Columns)
                {
                    if (dc.ColumnName == "Name")
                        continue;

                    double value = 0;
                    try
                    {
                        value = Convert.ToDouble(newrow1[dc].ToString());
                    }
                    catch (Exception ex)
                    {
                        System.Console.WriteLine(ex.Message);
                    }

                    pc1.GetType().GetProperty("Value" + i.ToString()).SetValue(pc1, value, null);
                    newrow2[dc] = value;
                    i++;
                }

                Services.BaseService.Create<PSP_Calc>(pc1);
            }
            else
            {
                pc1 = list1[0];

                int i = 1;
                foreach (DataColumn dc in dt.Columns)
                {
                    if (dc.ColumnName == "Name")
                        continue;

                    double value = 0;
                    try
                    {
                        value = (double)pc1.GetType().GetProperty("Value" + i.ToString()).GetValue(pc1, null);
                    }
                    catch (Exception ex)
                    {
                        System.Console.WriteLine(ex.Message);
                    }
                    newrow2[dc] = value;
                    i++;
                }

            }

            #endregion

            IList<PSP_Calc_Spring> list2 = Services.BaseService.GetList<PSP_Calc_Spring>("SelectPSP_Calc_SpringByFlag", type);
            int years = forecastReport.EndYear - forecastReport.StartYear;
            for (int i = 1; i <= years; i++)
            {
                bool bl = false;
                foreach (PSP_Calc_Spring pcs in list2)
                {
                    if ((forecastReport.StartYear + i).ToString() == pcs.Name)
                    {
                        bl = true;
                    }
                }
                if (!bl)
                {
                    PSP_Calc_Spring pcss = new PSP_Calc_Spring();
                    pcss.ID = Guid.NewGuid().ToString();
                    pcss.Name = (forecastReport.StartYear + i).ToString();
                    pcss.Value1 = 0;
                    pcss.Value2 = 0;
                    pcss.Flag = type;
                    Services.BaseService.Create<PSP_Calc_Spring>(pcss);
                    list2.Add(pcss);
                }
            }
        }
コード例 #29
0
ファイル: DADynamicField.cs プロジェクト: khanhdtn/my-fw-win
 /// <summary>
 /// Lấy danh sách các field mở rộng của một table. Mỗi field có các thông tin
 /// tiêu đề, Id của field, và kiểu dữ liệu của Field.
 /// </summary>
 /// <param name="vgrid"></param>
 /// <param name="tablename"></param>
 public static void LoadFields(DevExpress.XtraVerticalGrid.VGridControl vgrid, string tablename)
 {
     QueryBuilder filter = new QueryBuilder
     (
        @"select tf.caption, tf.field_id, tf.data_type" +
             " from fw_table_field_ext tf inner join fw_table_object fo" +
             " on (tf.table_id=fo.id) where fo.name='" + tablename + "' and tf.visible_bit='Y' and 1=1"
     );
     DataSet ds = DABase.getDatabase().LoadReadOnlyDataSet(filter);
     if (ds.Tables.Count > 0)
     {
         DataTable dt = ds.Tables[0];
         foreach (DataRow dr in dt.Rows)
         {
             DevExpress.XtraVerticalGrid.Rows.EditorRow row = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
             row.Name = "_" + dr["FIELD_ID"];
             row.Properties.Caption = dr["CAPTION"].ToString();
             if (int.Parse(dr["DATA_TYPE"].ToString()) == 1)
                 HelpEditorRow.DongTextLeft(row, null);
             else if (int.Parse(dr["DATA_TYPE"].ToString()) == 2)
                 HelpEditorRow.DongSpinEdit(row, null, 0);
             else if (int.Parse(dr["DATA_TYPE"].ToString()) == 3)
                 HelpEditorRow.DongCalcEdit(row, null, 3);
             else if (int.Parse(dr["DATA_TYPE"].ToString()) == 4)
                 HelpEditorRow.DongCheckEdit(row, null);
             else if (int.Parse(dr["DATA_TYPE"].ToString()) == 5)
                 HelpEditorRow.DongDateEdit(row, null);
             vgrid.Rows.Add(row);
         }
     }
 }
コード例 #30
0
        private void FormForecastCalcTX_Load(object sender, EventArgs e)
        {
            #region 电力发展实绩

            ArrayList         al  = new ArrayList();
            IList <Base_Data> li1 = Common.Services.BaseService.GetStrongList <Base_Data>();
            foreach (Base_Data bd in li1)
            {
                al.Add(bd.Title);
            }

            Ps_History psp_Type1 = new Ps_History();
            psp_Type1.Forecast = 1;
            psp_Type1.Col4     = Itop.Client.MIS.ProgUID;
            IList <Ps_History> listTypes1 = Common.Services.BaseService.GetList <Ps_History>("SelectPs_HistoryByForecast", psp_Type1);

            for (int c = 0; c < al.Count; c++)
            {
                bool bl = true;
                foreach (Ps_History ph in listTypes1)
                {
                    if (al[c].ToString() == ph.Title)
                    {
                        bl = false;
                    }
                }
                if (bl)
                {
                    Ps_History pf = new Ps_History();
                    pf.ID         = Guid.NewGuid().ToString() + "|" + Itop.Client.MIS.ProgUID;
                    pf.Forecast   = 1;
                    pf.ForecastID = "1";
                    pf.Title      = al[c].ToString();
                    pf.Col4       = Itop.Client.MIS.ProgUID;
                    Services.BaseService.Create <Ps_History>(pf);
                    listTypes1.Add(pf);
                }
            }



            Ps_YearRange py = new Ps_YearRange();
            py.Col4 = "电力发展实绩";
            py.Col5 = Itop.Client.MIS.ProgUID;

            IList <Ps_YearRange> li2 = Services.BaseService.GetList <Ps_YearRange>("SelectPs_YearRangeByCol5andCol4", py);
            if (li2.Count > 0)
            {
                firstyear1 = li2[0].StartYear;
                endyear1   = li2[0].FinishYear;
            }

            Ps_History psp_Type = new Ps_History();
            psp_Type.Forecast = 1;
            psp_Type.Col4     = Itop.Client.MIS.ProgUID;
            IList <Ps_History> listTypes = Common.Services.BaseService.GetList <Ps_History>("SelectPs_HistoryByForecast", psp_Type);
            DataTable          dataTable = Itop.Common.DataConverter.ToDataTable((IList)listTypes, typeof(Ps_History));
            DataRow[]          rows1     = dataTable.Select("Title='全地区GDP(亿元)'");
            DataRow[]          rows4     = dataTable.Select("Title='全社会用电量(亿kWh)'");


            #endregion


            Ps_Forecast_Setup pfs = new Ps_Forecast_Setup();
            pfs.Forecast   = type;
            pfs.ForecastID = forecastReport.ID;

            //IList<Ps_Forecast_Setup> li = Services.BaseService.GetList<Ps_Forecast_Setup>("SelectPs_Forecast_SetupByForecast", pfs);

            //if (li.Count != 0)
            //{
            //    firstyear = li[0].StartYear;
            //    endyear = li[0].EndYear;
            //}



            Ps_Calc pcs = new Ps_Calc();
            pcs.Forecast   = type;
            pcs.ForecastID = forecastReport.ID;
            list1          = Services.BaseService.GetList <Ps_Calc>("SelectPs_CalcByForecast", pcs);



            HideToolBarButton();

            dt = new DataTable();
            dt.Columns.Add("ID");
            dt.Columns.Add("Name");

            newrow1         = dt.NewRow();
            newrow1["ID"]   = "ID";
            newrow1["Name"] = "弹性系数";
            newrow2         = dt.NewRow();
            newrow2["Name"] = "GDP增长率";

            for (int i = firstyear; i <= forecastReport.EndYear; i++)
            {
                dt.Columns.Add(i.ToString(), typeof(double));
                DevExpress.XtraVerticalGrid.Rows.EditorRow editorRow = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
                editorRow.Properties.FieldName = i.ToString().Trim();
                editorRow.Properties.Caption   = i.ToString().Trim();
                editorRow.Height             = 20;
                editorRow.Properties.RowEdit = this.repositoryItemCalcEdit4;
                this.vGridControl2.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { editorRow });


                double s1 = 0;
                double s2 = 0;
                double s3 = 0;
                double s4 = 0;
                double s5 = 0;
                double s6 = 0;
                double s7 = 0;
                try { s1 = Convert.ToDouble(rows1[0]["y" + i]); }
                catch { }
                try { s2 = Convert.ToDouble(rows1[0]["y" + (i - 1)]); }
                catch { }

                try { s3 = Convert.ToDouble(rows4[0]["y" + i]); }
                catch { }
                try { s4 = Convert.ToDouble(rows4[0]["y" + (i - 1)]); }
                catch { }

                if (s2 != 0)
                {
                    s5 = (s1 - s2) / s2;
                }

                if (s4 != 0)
                {
                    s6 = (s3 - s4) / s4;
                }

                if (s5 != 0)
                {
                    s7 = s6 / s5;
                }

                newrow1[i.ToString()] = Math.Round(s7, 3);
                newrow2[i.ToString()] = Math.Round(s5, 3);


                foreach (Ps_Calc pcs2 in list1)
                {
                    if (i == pcs2.Year)
                    {
                        newrow1[i.ToString()] = Math.Round(pcs2.Value1, 3);
                        newrow2[i.ToString()] = Math.Round(pcs2.Value2, 3);
                    }
                }
            }
            dt.Rows.Add(newrow1);
            dt.Rows.Add(newrow2);


            vGridControl2.DataSource = dt;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.textEdit1     = new DevExpress.XtraEditors.TextEdit();
     this.vGridControl1 = new DevExpress.XtraVerticalGrid.VGridControl();
     this.editorRow1    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.editorRow2    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.editorRow3    = new DevExpress.XtraVerticalGrid.Rows.EditorRow();
     this.textEdit2     = new DevExpress.XtraEditors.TextEdit();
     this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // textEdit1
     //
     this.textEdit1.EditValue = "textEdit1";
     this.textEdit1.Location  = new System.Drawing.Point(13, 7);
     this.textEdit1.Name      = "textEdit1";
     this.textEdit1.Size      = new System.Drawing.Size(94, 20);
     this.textEdit1.TabIndex  = 0;
     //
     // vGridControl1
     //
     this.vGridControl1.Location = new System.Drawing.Point(13, 35);
     this.vGridControl1.Name     = "vGridControl1";
     this.vGridControl1.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] {
         this.editorRow1,
         this.editorRow2,
         this.editorRow3
     });
     this.vGridControl1.Size           = new System.Drawing.Size(207, 208);
     this.vGridControl1.TabIndex       = 1;
     this.vGridControl1.KeyDown       += new System.Windows.Forms.KeyEventHandler(this.vGridControl1_KeyDown);
     this.vGridControl1.EditorKeyDown += new System.Windows.Forms.KeyEventHandler(this.vGridControl1_KeyDown);
     //
     // editorRow1
     //
     this.editorRow1.Name = "editorRow1";
     this.editorRow1.Properties.Caption = "Row 1";
     this.editorRow1.Properties.Value   = "Value 1";
     //
     // editorRow2
     //
     this.editorRow2.Name = "editorRow2";
     this.editorRow2.Properties.Caption = "Row 2";
     this.editorRow2.Properties.Value   = "Value 2";
     //
     // editorRow3
     //
     this.editorRow3.Name = "editorRow3";
     this.editorRow3.Properties.Caption = "Row 3";
     this.editorRow3.Properties.Value   = "Value 3";
     //
     // textEdit2
     //
     this.textEdit2.EditValue = "textEdit2";
     this.textEdit2.Location  = new System.Drawing.Point(13, 250);
     this.textEdit2.Name      = "textEdit2";
     this.textEdit2.Size      = new System.Drawing.Size(94, 20);
     this.textEdit2.TabIndex  = 2;
     //
     // simpleButton1
     //
     this.simpleButton1.Location = new System.Drawing.Point(120, 250);
     this.simpleButton1.Name     = "simpleButton1";
     this.simpleButton1.Size     = new System.Drawing.Size(93, 20);
     this.simpleButton1.TabIndex = 3;
     this.simpleButton1.Text     = "Customize...";
     this.simpleButton1.Click   += new System.EventHandler(this.simpleButton1_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(280, 325);
     this.Controls.Add(this.simpleButton1);
     this.Controls.Add(this.textEdit2);
     this.Controls.Add(this.vGridControl1);
     this.Controls.Add(this.textEdit1);
     this.Name = "Form1";
     this.Text = "How to move focus from the last row to the first row when the Tab key is pressed";
     ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
     this.ResumeLayout(false);
 }