Ejemplo n.º 1
0
 private void xtraTabControl1_SelectedPageChanged(object sender, DevExpress.XtraTab.TabPageChangedEventArgs e)
 {
     //surfaceGraphViewer1.RefreshView();
     foreach (Control c in xtraTabPage2.Controls)
     {
         if (c is SurfaceGraphViewer)
         {
             SurfaceGraphViewer surfaceGraphViewer1 = (SurfaceGraphViewer)c;
             surfaceGraphViewer1.RefreshView();
         }
         else if (c is NChartControl)
         {
             //NChartControl nChartControl1 = (NChartControl)c;
             nChartControl1.Refresh();
         }
     }
 }
Ejemplo n.º 2
0
        private void BuildNewSurfaceGraph(byte[] m_map_content)
        {
            SurfaceGraphViewer surfaceGraphViewer1 = new SurfaceGraphViewer();


            surfaceGraphViewer1.Dock = DockStyle.Fill;
            xtraTabPage2.Controls.Add(surfaceGraphViewer1);

            surfaceGraphViewer1.Pan_x = 45;
            surfaceGraphViewer1.Pan_y = 77;
            surfaceGraphViewer1.Pov_d = 0.6;
            surfaceGraphViewer1.Pov_x = 30;
            surfaceGraphViewer1.Pov_y = 56;
            surfaceGraphViewer1.Pov_z = 21;

            //surfaceGraphViewer1.ShowinBlue = false;
            surfaceGraphViewer1.IsRedWhite      = false;
            surfaceGraphViewer1.Map_name        = "Matrix";
            surfaceGraphViewer1.X_axis          = ConvertToIntArray(x_axisvalues);
            surfaceGraphViewer1.Y_axis          = ConvertToIntArray(y_axisvalues);
            surfaceGraphViewer1.X_axis_descr    = X_axis_name;
            surfaceGraphViewer1.Y_axis_descr    = Y_axis_name;
            surfaceGraphViewer1.Z_axis_descr    = Z_axis_name;
            surfaceGraphViewer1.Map_length      = 16 * 16 * 2;
            surfaceGraphViewer1.Map_content     = m_map_content;
            surfaceGraphViewer1.NumberOfColumns = 16;
            surfaceGraphViewer1.IsSixteenbit    = true;
            surfaceGraphViewer1.Pov_d           = 0.3;
            surfaceGraphViewer1.IsUpsideDown    = true;

            /*if (false)
             * {
             *  surfaceGraphViewer1.Pov_d = 0.25;
             *  surfaceGraphViewer1.Pan_y = 20;
             *  surfaceGraphViewer1.Pan_x = 20;
             * }*/
            surfaceGraphViewer1.NormalizeData();
            surfaceGraphViewer1.RefreshView();
        }
Ejemplo n.º 3
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MapViewer));
     DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SeriesPoint seriesPoint1 = new DevExpress.XtraCharts.SeriesPoint(0);
     DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView();
     DevExpress.XtraCharts.PolygonGradientFillOptions polygonGradientFillOptions1 = new DevExpress.XtraCharts.PolygonGradientFillOptions();
     DevExpress.XtraCharts.PointSeriesLabel pointSeriesLabel1 = new DevExpress.XtraCharts.PointSeriesLabel();
     DevExpress.XtraCharts.PointOptions pointOptions1 = new DevExpress.XtraCharts.PointOptions();
     DevExpress.XtraCharts.LineSeriesView lineSeriesView2 = new DevExpress.XtraCharts.LineSeriesView();
     DevExpress.XtraCharts.PointSeriesLabel pointSeriesLabel2 = new DevExpress.XtraCharts.PointSeriesLabel();
     DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem();
     this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
     this.lblZaxis = new DevExpress.XtraEditors.LabelControl();
     this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
     this.lblYaxis = new DevExpress.XtraEditors.LabelControl();
     this.lblXaxis = new DevExpress.XtraEditors.LabelControl();
     this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
     this.lblCategory = new DevExpress.XtraEditors.LabelControl();
     this.lblDescription = new DevExpress.XtraEditors.LabelControl();
     this.lblName = new DevExpress.XtraEditors.LabelControl();
     this.lblLengthValues = new DevExpress.XtraEditors.LabelControl();
     this.lblLengthBytes = new DevExpress.XtraEditors.LabelControl();
     this.lblSRAMAddress = new DevExpress.XtraEditors.LabelControl();
     this.lblFlashAddress = new DevExpress.XtraEditors.LabelControl();
     this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.panel1 = new System.Windows.Forms.Panel();
     this.popupContainerControl1 = new DevExpress.XtraEditors.PopupContainerControl();
     this.gridControl1 = new DevExpress.XtraGrid.GridControl();
     this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.copySelectedCellsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.pasteSelectedCellsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.inOrgininalPositionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.atCurrentlySelectedLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.editXaxisSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.editYaxisSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.smoothSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
     this.simpleButton4 = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton5 = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton6 = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton7 = new DevExpress.XtraEditors.SimpleButton();
     this.surfaceGraphViewer1 = new T8SuitePro.SurfaceGraphViewer();
     this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
     this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
     this.trackBarControl1 = new DevExpress.XtraEditors.TrackBarControl();
     this.chartControl1 = new DevExpress.XtraCharts.ChartControl();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.timer2 = new System.Windows.Forms.Timer(this.components);
     this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components);
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton7 = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
     this.toolStripComboBox3 = new System.Windows.Forms.ToolStripComboBox();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.toolStripComboBox2 = new System.Windows.Forms.ToolStripComboBox();
     this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
     this.toolStripComboBox1 = new System.Windows.Forms.ToolStripComboBox();
     this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox();
     this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
     this.timer3 = new System.Windows.Forms.Timer(this.components);
     this.timer4 = new System.Windows.Forms.Timer(this.components);
     this.popupContainerEdit1 = new DevExpress.XtraEditors.PopupContainerEdit();
     this.simpleButton8 = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton9 = new DevExpress.XtraEditors.SimpleButton();
     this.timer5 = new System.Windows.Forms.Timer(this.components);
     this.simpleButton10 = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.popupContainerControl1)).BeginInit();
     this.popupContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.xtraTabPage1.SuspendLayout();
     this.xtraTabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarControl1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel2)).BeginInit();
     this.toolStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.popupContainerEdit1.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // simpleButton3
     //
     this.simpleButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.simpleButton3.Enabled = false;
     this.simpleButton3.Location = new System.Drawing.Point(14, 628);
     this.simpleButton3.Name = "simpleButton3";
     this.simpleButton3.Size = new System.Drawing.Size(92, 23);
     this.simpleButton3.TabIndex = 9;
     this.simpleButton3.Text = "Undo changes";
     this.simpleButton3.Visible = false;
     this.simpleButton3.Click += new System.EventHandler(this.simpleButton3_Click);
     //
     // simpleButton2
     //
     this.simpleButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton2.Location = new System.Drawing.Point(715, 628);
     this.simpleButton2.Name = "simpleButton2";
     this.simpleButton2.Size = new System.Drawing.Size(75, 23);
     this.simpleButton2.TabIndex = 8;
     this.simpleButton2.Text = "Save to file";
     this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
     //
     // simpleButton1
     //
     this.simpleButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton1.Location = new System.Drawing.Point(796, 628);
     this.simpleButton1.Name = "simpleButton1";
     this.simpleButton1.Size = new System.Drawing.Size(75, 23);
     this.simpleButton1.TabIndex = 7;
     this.simpleButton1.Text = "Close";
     this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
     //
     // groupControl2
     //
     this.toolTipController1.SetAllowHtmlText(this.groupControl2, DevExpress.Utils.DefaultBoolean.False);
     this.groupControl2.Controls.Add(this.lblZaxis);
     this.groupControl2.Controls.Add(this.labelControl13);
     this.groupControl2.Controls.Add(this.lblYaxis);
     this.groupControl2.Controls.Add(this.lblXaxis);
     this.groupControl2.Controls.Add(this.labelControl10);
     this.groupControl2.Controls.Add(this.labelControl11);
     this.groupControl2.Controls.Add(this.lblCategory);
     this.groupControl2.Controls.Add(this.lblDescription);
     this.groupControl2.Controls.Add(this.lblName);
     this.groupControl2.Controls.Add(this.lblLengthValues);
     this.groupControl2.Controls.Add(this.lblLengthBytes);
     this.groupControl2.Controls.Add(this.lblSRAMAddress);
     this.groupControl2.Controls.Add(this.lblFlashAddress);
     this.groupControl2.Controls.Add(this.labelControl7);
     this.groupControl2.Controls.Add(this.labelControl6);
     this.groupControl2.Controls.Add(this.labelControl5);
     this.groupControl2.Controls.Add(this.labelControl4);
     this.groupControl2.Controls.Add(this.labelControl3);
     this.groupControl2.Controls.Add(this.labelControl2);
     this.groupControl2.Controls.Add(this.labelControl1);
     this.groupControl2.Location = new System.Drawing.Point(3, 3);
     this.groupControl2.Name = "groupControl2";
     this.groupControl2.Size = new System.Drawing.Size(870, 90);
     this.toolTipController1.SetSuperTip(this.groupControl2, null);
     this.groupControl2.TabIndex = 6;
     this.groupControl2.Text = "Symbol details";
     this.groupControl2.Paint += new System.Windows.Forms.PaintEventHandler(this.groupControl2_Paint);
     //
     // lblZaxis
     //
     this.lblZaxis.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblZaxis.Appearance.Options.UseForeColor = true;
     this.lblZaxis.Location = new System.Drawing.Point(488, 30);
     this.lblZaxis.Name = "lblZaxis";
     this.lblZaxis.Size = new System.Drawing.Size(12, 13);
     this.lblZaxis.TabIndex = 19;
     this.lblZaxis.Text = "...";
     //
     // labelControl13
     //
     this.labelControl13.Location = new System.Drawing.Point(430, 30);
     this.labelControl13.Name = "labelControl13";
     this.labelControl13.Size = new System.Drawing.Size(29, 13);
     this.labelControl13.TabIndex = 18;
     this.labelControl13.Text = "Z-axis";
     //
     // lblYaxis
     //
     this.lblYaxis.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblYaxis.Appearance.Options.UseForeColor = true;
     this.lblYaxis.Location = new System.Drawing.Point(350, 62);
     this.lblYaxis.Name = "lblYaxis";
     this.lblYaxis.Size = new System.Drawing.Size(12, 13);
     this.lblYaxis.TabIndex = 17;
     this.lblYaxis.Text = "...";
     //
     // lblXaxis
     //
     this.lblXaxis.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblXaxis.Appearance.Options.UseForeColor = true;
     this.lblXaxis.Location = new System.Drawing.Point(350, 30);
     this.lblXaxis.Name = "lblXaxis";
     this.lblXaxis.Size = new System.Drawing.Size(12, 13);
     this.lblXaxis.TabIndex = 16;
     this.lblXaxis.Text = "...";
     //
     // labelControl10
     //
     this.labelControl10.Location = new System.Drawing.Point(305, 62);
     this.labelControl10.Name = "labelControl10";
     this.labelControl10.Size = new System.Drawing.Size(29, 13);
     this.labelControl10.TabIndex = 15;
     this.labelControl10.Text = "Y-axis";
     //
     // labelControl11
     //
     this.labelControl11.Location = new System.Drawing.Point(305, 30);
     this.labelControl11.Name = "labelControl11";
     this.labelControl11.Size = new System.Drawing.Size(29, 13);
     this.labelControl11.TabIndex = 14;
     this.labelControl11.Text = "X-axis";
     //
     // lblCategory
     //
     this.lblCategory.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblCategory.Appearance.Options.UseForeColor = true;
     this.lblCategory.Location = new System.Drawing.Point(488, 62);
     this.lblCategory.Name = "lblCategory";
     this.lblCategory.Size = new System.Drawing.Size(12, 13);
     this.lblCategory.TabIndex = 13;
     this.lblCategory.Text = "...";
     //
     // lblDescription
     //
     this.lblDescription.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblDescription.Appearance.Options.UseForeColor = true;
     this.lblDescription.Location = new System.Drawing.Point(671, 62);
     this.lblDescription.Name = "lblDescription";
     this.lblDescription.Size = new System.Drawing.Size(12, 13);
     this.lblDescription.TabIndex = 12;
     this.lblDescription.Text = "...";
     //
     // lblName
     //
     this.lblName.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblName.Appearance.Options.UseForeColor = true;
     this.lblName.Location = new System.Drawing.Point(671, 30);
     this.lblName.Name = "lblName";
     this.lblName.Size = new System.Drawing.Size(12, 13);
     this.lblName.TabIndex = 11;
     this.lblName.Text = "...";
     //
     // lblLengthValues
     //
     this.lblLengthValues.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblLengthValues.Appearance.Options.UseForeColor = true;
     this.lblLengthValues.Location = new System.Drawing.Point(251, 62);
     this.lblLengthValues.Name = "lblLengthValues";
     this.lblLengthValues.Size = new System.Drawing.Size(36, 13);
     this.lblLengthValues.TabIndex = 10;
     this.lblLengthValues.Text = "0x0000";
     //
     // lblLengthBytes
     //
     this.lblLengthBytes.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblLengthBytes.Appearance.Options.UseForeColor = true;
     this.lblLengthBytes.Location = new System.Drawing.Point(251, 30);
     this.lblLengthBytes.Name = "lblLengthBytes";
     this.lblLengthBytes.Size = new System.Drawing.Size(36, 13);
     this.lblLengthBytes.TabIndex = 9;
     this.lblLengthBytes.Text = "0x0000";
     //
     // lblSRAMAddress
     //
     this.lblSRAMAddress.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblSRAMAddress.Appearance.Options.UseForeColor = true;
     this.lblSRAMAddress.Location = new System.Drawing.Point(100, 62);
     this.lblSRAMAddress.Name = "lblSRAMAddress";
     this.lblSRAMAddress.Size = new System.Drawing.Size(36, 13);
     this.lblSRAMAddress.TabIndex = 8;
     this.lblSRAMAddress.Text = "0x0000";
     //
     // lblFlashAddress
     //
     this.lblFlashAddress.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.lblFlashAddress.Appearance.Options.UseForeColor = true;
     this.lblFlashAddress.Location = new System.Drawing.Point(100, 30);
     this.lblFlashAddress.Name = "lblFlashAddress";
     this.lblFlashAddress.Size = new System.Drawing.Size(48, 13);
     this.lblFlashAddress.TabIndex = 7;
     this.lblFlashAddress.Text = "0x000000";
     //
     // labelControl7
     //
     this.labelControl7.Location = new System.Drawing.Point(430, 62);
     this.labelControl7.Name = "labelControl7";
     this.labelControl7.Size = new System.Drawing.Size(45, 13);
     this.labelControl7.TabIndex = 6;
     this.labelControl7.Text = "Category";
     //
     // labelControl6
     //
     this.labelControl6.Location = new System.Drawing.Point(598, 62);
     this.labelControl6.Name = "labelControl6";
     this.labelControl6.Size = new System.Drawing.Size(53, 13);
     this.labelControl6.TabIndex = 5;
     this.labelControl6.Text = "Description";
     //
     // labelControl5
     //
     this.labelControl5.Location = new System.Drawing.Point(598, 30);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(27, 13);
     this.labelControl5.TabIndex = 4;
     this.labelControl5.Text = "Name";
     //
     // labelControl4
     //
     this.labelControl4.Location = new System.Drawing.Point(164, 62);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(75, 13);
     this.labelControl4.TabIndex = 3;
     this.labelControl4.Text = "Length (values)";
     //
     // labelControl3
     //
     this.labelControl3.Location = new System.Drawing.Point(164, 30);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(71, 13);
     this.labelControl3.TabIndex = 2;
     this.labelControl3.Text = "Length (bytes)";
     //
     // labelControl2
     //
     this.labelControl2.Location = new System.Drawing.Point(18, 62);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(69, 13);
     this.labelControl2.TabIndex = 1;
     this.labelControl2.Text = "SRAM address";
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(18, 30);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(66, 13);
     this.labelControl1.TabIndex = 0;
     this.labelControl1.Text = "Flash address";
     //
     // groupControl1
     //
     this.toolTipController1.SetAllowHtmlText(this.groupControl1, DevExpress.Utils.DefaultBoolean.False);
     this.groupControl1.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.groupControl1.Controls.Add(this.splitContainer1);
     this.groupControl1.Location = new System.Drawing.Point(3, 28);
     this.groupControl1.LookAndFeel.SkinName = "Black";
     this.groupControl1.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupControl1.Name = "groupControl1";
     this.groupControl1.Size = new System.Drawing.Size(870, 594);
     this.toolTipController1.SetSuperTip(this.groupControl1, null);
     this.groupControl1.TabIndex = 5;
     this.groupControl1.Text = "Symbol data";
     this.groupControl1.DoubleClick += new System.EventHandler(this.groupControl1_DoubleClick);
     this.groupControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.groupControl1_Paint);
     //
     // splitContainer1
     //
     this.toolTipController1.SetAllowHtmlText(this.splitContainer1, DevExpress.Utils.DefaultBoolean.False);
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(2, 20);
     this.splitContainer1.Name = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.toolTipController1.SetAllowHtmlText(this.splitContainer1.Panel1, DevExpress.Utils.DefaultBoolean.False);
     this.splitContainer1.Panel1.Controls.Add(this.panel1);
     this.toolTipController1.SetSuperTip(this.splitContainer1.Panel1, null);
     //
     // splitContainer1.Panel2
     //
     this.toolTipController1.SetAllowHtmlText(this.splitContainer1.Panel2, DevExpress.Utils.DefaultBoolean.False);
     this.splitContainer1.Panel2.Controls.Add(this.xtraTabControl1);
     this.toolTipController1.SetSuperTip(this.splitContainer1.Panel2, null);
     this.splitContainer1.Size = new System.Drawing.Size(866, 572);
     this.splitContainer1.SplitterDistance = 284;
     this.toolTipController1.SetSuperTip(this.splitContainer1, null);
     this.splitContainer1.TabIndex = 1;
     this.splitContainer1.MouseLeave += new System.EventHandler(this.splitContainer1_MouseLeave);
     this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved);
     this.splitContainer1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.splitContainer1_MouseDown);
     this.splitContainer1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.splitContainer1_MouseUp);
     //
     // panel1
     //
     this.toolTipController1.SetAllowHtmlText(this.panel1, DevExpress.Utils.DefaultBoolean.False);
     this.panel1.Controls.Add(this.popupContainerControl1);
     this.panel1.Controls.Add(this.gridControl1);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(866, 284);
     this.toolTipController1.SetSuperTip(this.panel1, null);
     this.panel1.TabIndex = 2;
     //
     // popupContainerControl1
     //
     this.toolTipController1.SetAllowHtmlText(this.popupContainerControl1, DevExpress.Utils.DefaultBoolean.False);
     this.popupContainerControl1.Controls.Add(this.groupControl2);
     this.popupContainerControl1.Location = new System.Drawing.Point(3, 72);
     this.popupContainerControl1.Name = "popupContainerControl1";
     this.popupContainerControl1.Size = new System.Drawing.Size(878, 97);
     this.toolTipController1.SetSuperTip(this.popupContainerControl1, null);
     this.popupContainerControl1.TabIndex = 1;
     //
     // gridControl1
     //
     this.gridControl1.ContextMenuStrip = this.contextMenuStrip1;
     this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridControl1.Location = new System.Drawing.Point(0, 0);
     this.gridControl1.LookAndFeel.SkinName = "Black";
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new System.Drawing.Size(866, 284);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // contextMenuStrip1
     //
     this.toolTipController1.SetAllowHtmlText(this.contextMenuStrip1, DevExpress.Utils.DefaultBoolean.False);
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.copySelectedCellsToolStripMenuItem,
     this.pasteSelectedCellsToolStripMenuItem,
     this.editXaxisSymbolToolStripMenuItem,
     this.editYaxisSymbolToolStripMenuItem,
     this.smoothSelectionToolStripMenuItem});
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(179, 114);
     this.toolTipController1.SetSuperTip(this.contextMenuStrip1, null);
     this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening);
     //
     // copySelectedCellsToolStripMenuItem
     //
     this.copySelectedCellsToolStripMenuItem.Name = "copySelectedCellsToolStripMenuItem";
     this.copySelectedCellsToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
     this.copySelectedCellsToolStripMenuItem.Text = "Copy selected cells";
     this.copySelectedCellsToolStripMenuItem.Click += new System.EventHandler(this.copySelectedCellsToolStripMenuItem_Click);
     //
     // pasteSelectedCellsToolStripMenuItem
     //
     this.pasteSelectedCellsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.inOrgininalPositionToolStripMenuItem,
     this.atCurrentlySelectedLocationToolStripMenuItem});
     this.pasteSelectedCellsToolStripMenuItem.Name = "pasteSelectedCellsToolStripMenuItem";
     this.pasteSelectedCellsToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
     this.pasteSelectedCellsToolStripMenuItem.Text = "Paste selected cells";
     //
     // inOrgininalPositionToolStripMenuItem
     //
     this.inOrgininalPositionToolStripMenuItem.Name = "inOrgininalPositionToolStripMenuItem";
     this.inOrgininalPositionToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
     this.inOrgininalPositionToolStripMenuItem.Text = "At original position";
     this.inOrgininalPositionToolStripMenuItem.Click += new System.EventHandler(this.inOrgininalPositionToolStripMenuItem_Click);
     //
     // atCurrentlySelectedLocationToolStripMenuItem
     //
     this.atCurrentlySelectedLocationToolStripMenuItem.Name = "atCurrentlySelectedLocationToolStripMenuItem";
     this.atCurrentlySelectedLocationToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
     this.atCurrentlySelectedLocationToolStripMenuItem.Text = "At currently selected location";
     this.atCurrentlySelectedLocationToolStripMenuItem.Click += new System.EventHandler(this.atCurrentlySelectedLocationToolStripMenuItem_Click);
     //
     // editXaxisSymbolToolStripMenuItem
     //
     this.editXaxisSymbolToolStripMenuItem.Name = "editXaxisSymbolToolStripMenuItem";
     this.editXaxisSymbolToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
     this.editXaxisSymbolToolStripMenuItem.Text = "Edit x-axis";
     this.editXaxisSymbolToolStripMenuItem.Click += new System.EventHandler(this.editXaxisSymbolToolStripMenuItem_Click);
     //
     // editYaxisSymbolToolStripMenuItem
     //
     this.editYaxisSymbolToolStripMenuItem.Name = "editYaxisSymbolToolStripMenuItem";
     this.editYaxisSymbolToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
     this.editYaxisSymbolToolStripMenuItem.Text = "Edit y-axis";
     this.editYaxisSymbolToolStripMenuItem.Click += new System.EventHandler(this.editYaxisSymbolToolStripMenuItem_Click);
     //
     // smoothSelectionToolStripMenuItem
     //
     this.smoothSelectionToolStripMenuItem.Name = "smoothSelectionToolStripMenuItem";
     this.smoothSelectionToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
     this.smoothSelectionToolStripMenuItem.Text = "Smooth selection";
     this.smoothSelectionToolStripMenuItem.Click += new System.EventHandler(this.smoothSelectionToolStripMenuItem_Click);
     //
     // gridView1
     //
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsCustomization.AllowColumnMoving = false;
     this.gridView1.OptionsCustomization.AllowFilter = false;
     this.gridView1.OptionsCustomization.AllowGroup = false;
     this.gridView1.OptionsCustomization.AllowSort = false;
     this.gridView1.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridView1.OptionsSelection.EnableAppearanceFocusedRow = false;
     this.gridView1.OptionsSelection.MultiSelect = true;
     this.gridView1.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     this.gridView1.SelectionChanged += new DevExpress.Data.SelectionChangedEventHandler(this.gridView1_SelectionChanged_1);
     this.gridView1.ValidatingEditor += new DevExpress.XtraEditors.Controls.BaseContainerValidateEditorEventHandler(this.gridView1_ValidatingEditor);
     this.gridView1.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridView1_CellValueChanged);
     this.gridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gridView1_KeyDown);
     this.gridView1.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridView1_CellValueChanging);
     this.gridView1.CustomDrawCell += new DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventHandler(this.gridView1_CustomDrawCell);
     this.gridView1.ShownEditor += new System.EventHandler(this.gridView1_ShownEditor);
     this.gridView1.RowUpdated += new DevExpress.XtraGrid.Views.Base.RowObjectEventHandler(this.gridView1_RowUpdated);
     this.gridView1.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.gridView1_ShowingEditor);
     this.gridView1.HiddenEditor += new System.EventHandler(this.gridView1_HiddenEditor);
     this.gridView1.CustomDrawColumnHeader += new DevExpress.XtraGrid.Views.Grid.ColumnHeaderCustomDrawEventHandler(this.gridView1_CustomDrawColumnHeader);
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraTabControl1.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
     this.xtraTabControl1.HeaderOrientation = DevExpress.XtraTab.TabOrientation.Vertical;
     this.xtraTabControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
     this.xtraTabControl1.Size = new System.Drawing.Size(866, 284);
     this.xtraTabControl1.TabIndex = 2;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabPage1,
     this.xtraTabPage2});
     this.xtraTabControl1.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.xtraTabControl1_SelectedPageChanged);
     //
     // xtraTabPage1
     //
     this.xtraTabPage1.Controls.Add(this.simpleButton4);
     this.xtraTabPage1.Controls.Add(this.simpleButton5);
     this.xtraTabPage1.Controls.Add(this.simpleButton6);
     this.xtraTabPage1.Controls.Add(this.simpleButton7);
     this.xtraTabPage1.Controls.Add(this.surfaceGraphViewer1);
     this.xtraTabPage1.Name = "xtraTabPage1";
     this.xtraTabPage1.Size = new System.Drawing.Size(835, 274);
     this.xtraTabPage1.Text = "3D Graph";
     //
     // simpleButton4
     //
     this.simpleButton4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton4.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton4.Image")));
     this.simpleButton4.Location = new System.Drawing.Point(813, 60);
     this.simpleButton4.Name = "simpleButton4";
     this.simpleButton4.Size = new System.Drawing.Size(23, 23);
     this.simpleButton4.TabIndex = 12;
     this.simpleButton4.ToolTip = "Turn graph counter clockwise";
     this.simpleButton4.Click += new System.EventHandler(this.simpleButton4_Click);
     //
     // simpleButton5
     //
     this.simpleButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton5.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton5.Image")));
     this.simpleButton5.Location = new System.Drawing.Point(813, 89);
     this.simpleButton5.Name = "simpleButton5";
     this.simpleButton5.Size = new System.Drawing.Size(23, 23);
     this.simpleButton5.TabIndex = 11;
     this.simpleButton5.ToolTip = "Turn graph clockwise";
     this.simpleButton5.Click += new System.EventHandler(this.simpleButton5_Click);
     //
     // simpleButton6
     //
     this.simpleButton6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton6.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton6.Image")));
     this.simpleButton6.Location = new System.Drawing.Point(813, 32);
     this.simpleButton6.Name = "simpleButton6";
     this.simpleButton6.Size = new System.Drawing.Size(23, 23);
     this.simpleButton6.TabIndex = 10;
     this.simpleButton6.ToolTip = "Zoom out";
     this.simpleButton6.Click += new System.EventHandler(this.simpleButton6_Click);
     //
     // simpleButton7
     //
     this.simpleButton7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton7.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton7.Image")));
     this.simpleButton7.Location = new System.Drawing.Point(813, 3);
     this.simpleButton7.Name = "simpleButton7";
     this.simpleButton7.Size = new System.Drawing.Size(23, 23);
     this.simpleButton7.TabIndex = 9;
     this.simpleButton7.ToolTip = "Zoom in";
     this.simpleButton7.Click += new System.EventHandler(this.simpleButton7_Click);
     //
     // surfaceGraphViewer1
     //
     this.toolTipController1.SetAllowHtmlText(this.surfaceGraphViewer1, DevExpress.Utils.DefaultBoolean.False);
     this.surfaceGraphViewer1.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.surfaceGraphViewer1.IsRedWhite = false;
     this.surfaceGraphViewer1.IsSixteenbit = false;
     this.surfaceGraphViewer1.IsUpsideDown = false;
     this.surfaceGraphViewer1.Location = new System.Drawing.Point(0, 0);
     this.surfaceGraphViewer1.Map_compare_content = null;
     this.surfaceGraphViewer1.Map_content = null;
     this.surfaceGraphViewer1.Map_length = 0;
     this.surfaceGraphViewer1.Map_name = "";
     this.surfaceGraphViewer1.Map_original_content = null;
     this.surfaceGraphViewer1.Name = "surfaceGraphViewer1";
     this.surfaceGraphViewer1.NumberOfColumns = 8;
     this.surfaceGraphViewer1.Pan_x = 45;
     this.surfaceGraphViewer1.Pan_y = 77;
     this.surfaceGraphViewer1.Pov_d = 0.6;
     this.surfaceGraphViewer1.Pov_x = 30;
     this.surfaceGraphViewer1.Pov_y = 56;
     this.surfaceGraphViewer1.Pov_z = 21;
     this.surfaceGraphViewer1.ShowinBlue = false;
     this.surfaceGraphViewer1.Size = new System.Drawing.Size(807, 271);
     this.toolTipController1.SetSuperTip(this.surfaceGraphViewer1, null);
     this.surfaceGraphViewer1.TabIndex = 0;
     this.surfaceGraphViewer1.X_axis = null;
     this.surfaceGraphViewer1.X_axis_descr = "";
     this.surfaceGraphViewer1.Y_axis = null;
     this.surfaceGraphViewer1.Y_axis_descr = "";
     this.surfaceGraphViewer1.Z_axis = null;
     this.surfaceGraphViewer1.Z_axis_descr = "";
     //
     // xtraTabPage2
     //
     this.xtraTabPage2.Controls.Add(this.labelControl9);
     this.xtraTabPage2.Controls.Add(this.labelControl8);
     this.xtraTabPage2.Controls.Add(this.trackBarControl1);
     this.xtraTabPage2.Controls.Add(this.chartControl1);
     this.xtraTabPage2.Name = "xtraTabPage2";
     this.xtraTabPage2.Size = new System.Drawing.Size(835, 274);
     this.xtraTabPage2.Text = "2D Graph";
     //
     // labelControl9
     //
     this.labelControl9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl9.AutoEllipsis = true;
     this.labelControl9.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControl9.Location = new System.Drawing.Point(645, 201);
     this.labelControl9.Name = "labelControl9";
     this.labelControl9.Size = new System.Drawing.Size(188, 34);
     this.labelControl9.TabIndex = 4;
     this.labelControl9.Text = "MAP";
     //
     // labelControl8
     //
     this.labelControl8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.labelControl8.AutoEllipsis = true;
     this.labelControl8.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControl8.Location = new System.Drawing.Point(6, 201);
     this.labelControl8.Name = "labelControl8";
     this.labelControl8.Size = new System.Drawing.Size(104, 34);
     this.labelControl8.TabIndex = 3;
     this.labelControl8.Text = "MAP values";
     //
     // trackBarControl1
     //
     this.trackBarControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.trackBarControl1.EditValue = null;
     this.trackBarControl1.Location = new System.Drawing.Point(125, 201);
     this.trackBarControl1.Name = "trackBarControl1";
     this.trackBarControl1.Size = new System.Drawing.Size(500, 45);
     this.trackBarControl1.TabIndex = 2;
     this.trackBarControl1.ValueChanged += new System.EventHandler(this.trackBarControl1_ValueChanged);
     //
     // chartControl1
     //
     this.toolTipController1.SetAllowHtmlText(this.chartControl1, DevExpress.Utils.DefaultBoolean.False);
     this.chartControl1.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.chartControl1.CacheToMemory = true;
     xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram1.AxisX.Range.SideMarginsEnabled = false;
     xyDiagram1.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram1.AxisY.VisibleInPanesSerializable = "-1";
     xyDiagram1.AxisY.Range.SideMarginsEnabled = false;
     xyDiagram1.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     this.chartControl1.Diagram = xyDiagram1;
     this.chartControl1.Legend.Border.Visible = false;
     this.chartControl1.Location = new System.Drawing.Point(3, 3);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.RefreshDataOnRepaint = false;
     this.chartControl1.RuntimeHitTesting = false;
     this.chartControl1.RuntimeSeriesSelectionMode = DevExpress.XtraCharts.SeriesSelectionMode.Point;
     series1.Name = "Values";
     series1.Points.AddRange(new DevExpress.XtraCharts.SeriesPoint[] {
     seriesPoint1});
     lineSeriesView1.LineMarkerOptions.Size = 8;
     lineSeriesView1.LineMarkerOptions.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Gradient;
     polygonGradientFillOptions1.Color2 = System.Drawing.Color.Gold;
     lineSeriesView1.LineMarkerOptions.FillStyle.Options = polygonGradientFillOptions1;
     lineSeriesView1.Color = System.Drawing.Color.DarkGoldenrod;
     series1.View = lineSeriesView1;
     series1.ArgumentDataMember = "X";
     series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Numerical;
     pointSeriesLabel1.Angle = 90;
     pointSeriesLabel1.TextColor = System.Drawing.Color.MidnightBlue;
     pointSeriesLabel1.Font = new System.Drawing.Font("Tahoma", 6F, System.Drawing.FontStyle.Bold);
     pointSeriesLabel1.Border.Visible = false;
     pointSeriesLabel1.Antialiasing = true;
     pointSeriesLabel1.LineVisible = true;
     series1.Label = pointSeriesLabel1;
     pointOptions1.PointView = DevExpress.XtraCharts.PointView.ArgumentAndValues;
     series1.PointOptions = pointOptions1;
     this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series1};
     this.chartControl1.SeriesTemplate.View = lineSeriesView2;
     pointSeriesLabel2.LineVisible = true;
     this.chartControl1.SeriesTemplate.Label = pointSeriesLabel2;
     this.chartControl1.Size = new System.Drawing.Size(830, 185);
     this.toolTipController1.SetSuperTip(this.chartControl1, null);
     this.chartControl1.TabIndex = 1;
     this.chartControl1.Visible = false;
     this.chartControl1.CustomDrawSeriesPoint += new DevExpress.XtraCharts.CustomDrawSeriesPointEventHandler(this.chartControl1_CustomDrawSeriesPoint);
     this.chartControl1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.chartControl1_MouseUp);
     this.chartControl1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.chartControl1_MouseDoubleClick);
     this.chartControl1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chartControl1_MouseMove);
     this.chartControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chartControl1_MouseDown);
     this.chartControl1.ObjectHotTracked += new DevExpress.XtraCharts.HotTrackEventHandler(this.chartControl1_ObjectHotTracked);
     this.chartControl1.CustomDrawSeries += new DevExpress.XtraCharts.CustomDrawSeriesEventHandler(this.chartControl1_CustomDrawSeries);
     this.chartControl1.Click += new System.EventHandler(this.chartControl1_Click);
     //
     // timer1
     //
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // timer2
     //
     this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
     //
     // toolTipController1
     //
     this.toolTipController1.Rounded = true;
     //
     // toolStrip1
     //
     this.toolTipController1.SetAllowHtmlText(this.toolStrip1, DevExpress.Utils.DefaultBoolean.False);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripButton1,
     this.toolStripButton2,
     this.toolStripSeparator3,
     this.toolStripButton4,
     this.toolStripButton5,
     this.toolStripButton6,
     this.toolStripButton7,
     this.toolStripSeparator1,
     this.toolStripLabel3,
     this.toolStripComboBox3,
     this.toolStripSeparator2,
     this.toolStripLabel1,
     this.toolStripComboBox2,
     this.toolStripLabel2,
     this.toolStripComboBox1,
     this.toolStripTextBox1,
     this.toolStripButton3});
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name = "toolStrip1";
     this.toolStrip1.Size = new System.Drawing.Size(876, 25);
     this.toolTipController1.SetSuperTip(this.toolStrip1, null);
     this.toolStrip1.TabIndex = 10;
     this.toolStrip1.Text = "toolStrip1";
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton1.Text = "Toggle graph section";
     this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
     //
     // toolStripButton2
     //
     this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
     this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton2.Name = "toolStripButton2";
     this.toolStripButton2.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton2.Text = "Toggle hexview";
     this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton4
     //
     this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
     this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton4.Name = "toolStripButton4";
     this.toolStripButton4.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton4.Text = "Maximize graph";
     this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
     //
     // toolStripButton5
     //
     this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
     this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton5.Name = "toolStripButton5";
     this.toolStripButton5.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton5.Text = "Maximize table";
     this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click);
     //
     // toolStripButton6
     //
     this.toolStripButton6.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
     this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton6.Name = "toolStripButton6";
     this.toolStripButton6.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton6.Text = "Maximize window";
     this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click);
     //
     // toolStripButton7
     //
     this.toolStripButton7.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
     this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton7.Name = "toolStripButton7";
     this.toolStripButton7.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton7.Text = "Toggle graph/map";
     this.toolStripButton7.Click += new System.EventHandler(this.toolStripButton7_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripLabel3
     //
     this.toolStripLabel3.Name = "toolStripLabel3";
     this.toolStripLabel3.Size = new System.Drawing.Size(51, 22);
     this.toolStripLabel3.Text = "Viewtype";
     //
     // toolStripComboBox3
     //
     this.toolStripComboBox3.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.toolStripComboBox3.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.toolStripComboBox3.Items.AddRange(new object[] {
     "Hex view ",
     "Decimal view ",
     "Easy view",
     "ASCII"});
     this.toolStripComboBox3.Name = "toolStripComboBox3";
     this.toolStripComboBox3.Size = new System.Drawing.Size(160, 25);
     this.toolStripComboBox3.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox3_SelectedIndexChanged);
     this.toolStripComboBox3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolStripComboBox3_KeyDown);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripLabel1
     //
     this.toolStripLabel1.Name = "toolStripLabel1";
     this.toolStripLabel1.Size = new System.Drawing.Size(77, 22);
     this.toolStripLabel1.Text = "Axis lock mode";
     //
     // toolStripComboBox2
     //
     this.toolStripComboBox2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.toolStripComboBox2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.toolStripComboBox2.Items.AddRange(new object[] {
     "Autoscale",
     "Lock to peak in maps",
     "Lock to map limit"});
     this.toolStripComboBox2.Name = "toolStripComboBox2";
     this.toolStripComboBox2.Size = new System.Drawing.Size(121, 25);
     this.toolStripComboBox2.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox2_SelectedIndexChanged);
     //
     // toolStripLabel2
     //
     this.toolStripLabel2.Name = "toolStripLabel2";
     this.toolStripLabel2.Size = new System.Drawing.Size(67, 22);
     this.toolStripLabel2.Text = "Mathematics";
     //
     // toolStripComboBox1
     //
     this.toolStripComboBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.toolStripComboBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.toolStripComboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.toolStripComboBox1.Items.AddRange(new object[] {
     "Addition",
     "Multiply",
     "Divide",
     "Fill"});
     this.toolStripComboBox1.Name = "toolStripComboBox1";
     this.toolStripComboBox1.Size = new System.Drawing.Size(121, 25);
     //
     // toolStripTextBox1
     //
     this.toolStripTextBox1.Name = "toolStripTextBox1";
     this.toolStripTextBox1.Size = new System.Drawing.Size(60, 25);
     this.toolStripTextBox1.Text = "2";
     this.toolStripTextBox1.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // toolStripButton3
     //
     this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
     this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton3.Name = "toolStripButton3";
     this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton3.Text = "Execute";
     this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
     //
     // timer3
     //
     this.timer3.Tick += new System.EventHandler(this.timer3_Tick);
     //
     // timer4
     //
     this.timer4.Enabled = true;
     this.timer4.Interval = 500;
     this.timer4.Tick += new System.EventHandler(this.timer4_Tick);
     //
     // popupContainerEdit1
     //
     this.popupContainerEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.popupContainerEdit1.Location = new System.Drawing.Point(125, 631);
     this.popupContainerEdit1.Name = "popupContainerEdit1";
     this.popupContainerEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.popupContainerEdit1.Properties.PopupControl = this.popupContainerControl1;
     this.popupContainerEdit1.Size = new System.Drawing.Size(161, 20);
     toolTipTitleItem1.Text = "Click here for table details";
     superToolTip1.Items.Add(toolTipTitleItem1);
     this.popupContainerEdit1.SuperTip = superToolTip1;
     this.popupContainerEdit1.TabIndex = 11;
     this.popupContainerEdit1.Visible = false;
     this.popupContainerEdit1.CustomDisplayText += new DevExpress.XtraEditors.Controls.CustomDisplayTextEventHandler(this.popupContainerEdit1_CustomDisplayText);
     //
     // simpleButton8
     //
     this.simpleButton8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton8.Location = new System.Drawing.Point(516, 628);
     this.simpleButton8.Name = "simpleButton8";
     this.simpleButton8.Size = new System.Drawing.Size(85, 23);
     this.simpleButton8.TabIndex = 12;
     this.simpleButton8.Text = "Save to ECU";
     this.simpleButton8.Click += new System.EventHandler(this.simpleButton8_Click);
     //
     // simpleButton9
     //
     this.simpleButton9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton9.Location = new System.Drawing.Point(408, 628);
     this.simpleButton9.Name = "simpleButton9";
     this.simpleButton9.Size = new System.Drawing.Size(102, 23);
     this.simpleButton9.TabIndex = 13;
     this.simpleButton9.Text = "Read from ECU";
     this.simpleButton9.Click += new System.EventHandler(this.simpleButton9_Click);
     //
     // timer5
     //
     this.timer5.Interval = 10000;
     this.timer5.Tick += new System.EventHandler(this.timer5_Tick);
     //
     // simpleButton10
     //
     this.simpleButton10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton10.Location = new System.Drawing.Point(607, 628);
     this.simpleButton10.Name = "simpleButton10";
     this.simpleButton10.Size = new System.Drawing.Size(102, 23);
     this.simpleButton10.TabIndex = 14;
     this.simpleButton10.Text = "Read from file";
     this.simpleButton10.Click += new System.EventHandler(this.simpleButton10_Click);
     //
     // MapViewer
     //
     this.toolTipController1.SetAllowHtmlText(this, DevExpress.Utils.DefaultBoolean.False);
     this.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Appearance.Options.UseFont = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.simpleButton10);
     this.Controls.Add(this.simpleButton9);
     this.Controls.Add(this.simpleButton1);
     this.Controls.Add(this.simpleButton8);
     this.Controls.Add(this.simpleButton2);
     this.Controls.Add(this.toolStrip1);
     this.Controls.Add(this.simpleButton3);
     this.Controls.Add(this.groupControl1);
     this.Controls.Add(this.popupContainerEdit1);
     this.LookAndFeel.SkinName = "Black";
     this.Name = "MapViewer";
     this.Size = new System.Drawing.Size(876, 664);
     this.toolTipController1.SetSuperTip(this, null);
     this.VisibleChanged += new System.EventHandler(this.MapViewer_VisibleChanged);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     this.groupControl2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.popupContainerControl1)).EndInit();
     this.popupContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.xtraTabPage1.ResumeLayout(false);
     this.xtraTabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.trackBarControl1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.popupContainerEdit1.Properties)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 4
0
 void surfaceGraphViewer1_onGraphChanged(object sender, SurfaceGraphViewer.GraphChangedEventArgs e)
 {
     CastSurfaceGraphChangedEvent(e.Pov_x, e.Pov_y, e.Pov_z, e.Pan_x, e.Pan_y, e.Pov_d);
 }
Ejemplo n.º 5
0
        private void BuildNewSurfaceGraph(byte[] m_map_content)
        {
            SurfaceGraphViewer surfaceGraphViewer1 = new SurfaceGraphViewer();

            surfaceGraphViewer1.Dock = DockStyle.Fill;
            xtraTabPage2.Controls.Add(surfaceGraphViewer1);

            surfaceGraphViewer1.Pan_x = 45;
            surfaceGraphViewer1.Pan_y = 77;
            surfaceGraphViewer1.Pov_d = 0.6;
            surfaceGraphViewer1.Pov_x = 30;
            surfaceGraphViewer1.Pov_y = 56;
            surfaceGraphViewer1.Pov_z = 21;

            //surfaceGraphViewer1.ShowinBlue = false;
            surfaceGraphViewer1.IsRedWhite = false;
            surfaceGraphViewer1.Map_name = "Matrix";
            surfaceGraphViewer1.X_axis = ConvertToIntArray(x_axisvalues);
            surfaceGraphViewer1.Y_axis = ConvertToIntArray(y_axisvalues);
            surfaceGraphViewer1.X_axis_descr = X_axis_name;
            surfaceGraphViewer1.Y_axis_descr = Y_axis_name;
            surfaceGraphViewer1.Z_axis_descr = Z_axis_name;
            surfaceGraphViewer1.Map_length = 16 * 16 * 2;
            surfaceGraphViewer1.Map_content = m_map_content;
            surfaceGraphViewer1.NumberOfColumns = 16;
            surfaceGraphViewer1.IsSixteenbit = true;
            surfaceGraphViewer1.Pov_d = 0.3;
            surfaceGraphViewer1.IsUpsideDown = true;
            /*if (false)
            {
                surfaceGraphViewer1.Pov_d = 0.25;
                surfaceGraphViewer1.Pan_y = 20;
                surfaceGraphViewer1.Pan_x = 20;
            }*/
            surfaceGraphViewer1.NormalizeData();
            surfaceGraphViewer1.RefreshView();
        }