private void heatMap_Click(object sender, EventArgs e) { if (m_HeatMapForm != null && m_HeatMapForm.Visible) { return; } m_ComparisonHeatmap = new scpl.Windows.PlotSurface2D(); m_ComparisonHeatmap.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; m_ComparisonHeatmap.BackColor = SystemColors.ControlLightLight; m_ComparisonHeatmap.Legend = (scpl.Legend)null; m_ComparisonHeatmap.Location = new Point(488, 48); m_ComparisonHeatmap.Name = "ComparisonHeatmap"; m_ComparisonHeatmap.Padding = 10; m_ComparisonHeatmap.PlotBackColor = Color.White; m_ComparisonHeatmap.ShowCoordinates = true; m_ComparisonHeatmap.Size = new Size(280, 232); m_ComparisonHeatmap.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; m_ComparisonHeatmap.TabIndex = 14; m_ComparisonHeatmap.Title = ""; m_ComparisonHeatmap.TitleFont = new Font("Arial", 14f, FontStyle.Regular, GraphicsUnit.Pixel); m_ComparisonHeatmap.XAxis1 = (scpl.Axis)null; m_ComparisonHeatmap.XAxis2 = (scpl.Axis)null; m_ComparisonHeatmap.YAxis1 = (scpl.Axis)null; m_ComparisonHeatmap.YAxis2 = (scpl.Axis)null; m_HeatMapForm = new System.Windows.Forms.Form(); m_HeatMapForm.Text = "Uniqueness heatmap view"; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); m_HeatMapForm.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); m_HeatMapForm.Controls.Add(m_ComparisonHeatmap); m_ComparisonHeatmap.Dock = DockStyle.Fill; DrawHeatMap(); m_HeatMapForm.Show(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { valuesLv_ = new System.Windows.Forms.ListView(); popupMenu_ = new System.Windows.Forms.ContextMenuStrip(); graphMi_ = new System.Windows.Forms.ToolStripMenuItem(); dataMi_ = new System.Windows.Forms.ToolStripMenuItem(); separator01_ = new System.Windows.Forms.ToolStripMenuItem(); addMi_ = new System.Windows.Forms.ToolStripMenuItem(); copyMi_ = new System.Windows.Forms.ToolStripMenuItem(); editMi_ = new System.Windows.Forms.ToolStripMenuItem(); removeMi_ = new System.Windows.Forms.ToolStripMenuItem(); separator02_ = new System.Windows.Forms.ToolStripMenuItem(); importValuesMi_ = new System.Windows.Forms.ToolStripMenuItem(); mainPn_ = new System.Windows.Forms.Panel(); plotPn_ = new System.Windows.Forms.Panel(); plotCtrl_ = new scpl.Windows.PlotSurface2D(); mainPn_.SuspendLayout(); plotPn_.SuspendLayout(); SuspendLayout(); // // ValuesLV // valuesLv_.ContextMenuStrip = popupMenu_; valuesLv_.Dock = System.Windows.Forms.DockStyle.Fill; valuesLv_.FullRowSelect = true; valuesLv_.Location = new System.Drawing.Point(0, 0); valuesLv_.Name = "valuesLv_"; valuesLv_.Size = new System.Drawing.Size(544, 360); valuesLv_.TabIndex = 1; valuesLv_.View = System.Windows.Forms.View.Details; valuesLv_.MouseDown += new System.Windows.Forms.MouseEventHandler(ValuesLV_MouseDown); valuesLv_.DoubleClick += new System.EventHandler(EditMI_Click); // // PopupMenu // popupMenu_.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] { graphMi_, dataMi_, separator01_, addMi_, copyMi_, editMi_, removeMi_, separator02_, importValuesMi_ }); // // GraphMI // graphMi_.ImageIndex = 0; //this.GraphMI.RadioCheck = true; graphMi_.Text = "Graph"; graphMi_.Click += new System.EventHandler(GraphMI_Click); // // DataMI // dataMi_.Checked = true; dataMi_.ImageIndex = 1; //this.DataMI.RadioCheck = true; dataMi_.Text = "Data"; dataMi_.Click += new System.EventHandler(DataMI_Click); // // Separator01 // separator01_.ImageIndex = 2; separator01_.Text = "-"; // // AddMI // addMi_.ImageIndex = 3; addMi_.Text = "Add..."; addMi_.Click += new System.EventHandler(AddMI_Click); // // CopyMI // copyMi_.ImageIndex = 4; copyMi_.Text = "Copy..."; copyMi_.Click += new System.EventHandler(CopyMI_Click); // // EditMI // editMi_.ImageIndex = 5; editMi_.Text = "Edit..."; editMi_.Click += new System.EventHandler(EditMI_Click); // // RemoveMI // removeMi_.ImageIndex = 6; removeMi_.Text = "Remove"; removeMi_.Click += new System.EventHandler(RemoveMI_Click); // // Separator02 // separator02_.ImageIndex = 7; separator02_.Text = "-"; // // ImportValuesMI // importValuesMi_.ImageIndex = 8; importValuesMi_.Text = "Import Values..."; importValuesMi_.Click += new System.EventHandler(ImportValuesMI_Click); // // MainPN // mainPn_.Controls.Add(valuesLv_); mainPn_.Controls.Add(plotPn_); mainPn_.Dock = System.Windows.Forms.DockStyle.Fill; mainPn_.Location = new System.Drawing.Point(0, 0); mainPn_.Name = "mainPn_"; mainPn_.Size = new System.Drawing.Size(544, 360); mainPn_.TabIndex = 2; // // PlotPN // plotPn_.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; plotPn_.Controls.Add(plotCtrl_); plotPn_.Dock = System.Windows.Forms.DockStyle.Fill; plotPn_.Location = new System.Drawing.Point(0, 0); plotPn_.Name = "plotPn_"; plotPn_.Size = new System.Drawing.Size(544, 360); plotPn_.TabIndex = 3; // // PlotCTRL // plotCtrl_.AllowSelection = false; plotCtrl_.BackColor = System.Drawing.SystemColors.ControlLightLight; plotCtrl_.ContextMenuStrip = popupMenu_; plotCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; plotCtrl_.HorizontalEdgeLegendPlacement = scpl.Legend.Placement.Inside; plotCtrl_.LegendBorderStyle = scpl.Legend.BorderType.Shadow; plotCtrl_.LegendXOffset = 10F; plotCtrl_.LegendYOffset = 1F; plotCtrl_.Location = new System.Drawing.Point(0, 0); plotCtrl_.Name = "plotCtrl_"; plotCtrl_.Padding = 10; plotCtrl_.PlotBackColor = System.Drawing.Color.White; plotCtrl_.ShowLegend = false; plotCtrl_.Size = new System.Drawing.Size(540, 356); plotCtrl_.TabIndex = 2; plotCtrl_.Title = ""; plotCtrl_.TitleFont = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); plotCtrl_.VerticalEdgeLegendPlacement = scpl.Legend.Placement.Outside; plotCtrl_.XAxis1 = null; plotCtrl_.XAxis2 = null; plotCtrl_.YAxis1 = null; plotCtrl_.YAxis2 = null; // // ItemValuesCtrl // Controls.Add(mainPn_); Name = "ItemValuesCtrl"; Size = new System.Drawing.Size(544, 360); mainPn_.ResumeLayout(false); plotPn_.ResumeLayout(false); ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.ValuesLV = new System.Windows.Forms.ListView(); this.PopupMenu = new System.Windows.Forms.ContextMenu(); this.GraphMI = new System.Windows.Forms.MenuItem(); this.DataMI = new System.Windows.Forms.MenuItem(); this.Separator01 = new System.Windows.Forms.MenuItem(); this.AddMI = new System.Windows.Forms.MenuItem(); this.CopyMI = new System.Windows.Forms.MenuItem(); this.EditMI = new System.Windows.Forms.MenuItem(); this.RemoveMI = new System.Windows.Forms.MenuItem(); this.Separator02 = new System.Windows.Forms.MenuItem(); this.ImportValuesMI = new System.Windows.Forms.MenuItem(); this.MainPN = new System.Windows.Forms.Panel(); this.PlotPN = new System.Windows.Forms.Panel(); this.PlotCTRL = new scpl.Windows.PlotSurface2D(); this.MainPN.SuspendLayout(); this.PlotPN.SuspendLayout(); this.SuspendLayout(); // // ValuesLV // this.ValuesLV.ContextMenu = this.PopupMenu; this.ValuesLV.Dock = System.Windows.Forms.DockStyle.Fill; this.ValuesLV.FullRowSelect = true; this.ValuesLV.Location = new System.Drawing.Point(0, 0); this.ValuesLV.Name = "ValuesLV"; this.ValuesLV.Size = new System.Drawing.Size(544, 360); this.ValuesLV.TabIndex = 1; this.ValuesLV.View = System.Windows.Forms.View.Details; this.ValuesLV.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ValuesLV_MouseDown); this.ValuesLV.DoubleClick += new System.EventHandler(this.EditMI_Click); // // PopupMenu // this.PopupMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.GraphMI, this.DataMI, this.Separator01, this.AddMI, this.CopyMI, this.EditMI, this.RemoveMI, this.Separator02, this.ImportValuesMI }); // // GraphMI // this.GraphMI.Index = 0; this.GraphMI.RadioCheck = true; this.GraphMI.Text = "Graph"; // // DataMI // this.DataMI.Checked = true; this.DataMI.Index = 1; this.DataMI.RadioCheck = true; this.DataMI.Text = "Data"; // // Separator01 // this.Separator01.Index = 2; this.Separator01.Text = "-"; // // AddMI // this.AddMI.Index = 3; this.AddMI.Text = "Add..."; this.AddMI.Click += new System.EventHandler(this.AddMI_Click); // // CopyMI // this.CopyMI.Index = 4; this.CopyMI.Text = "Copy..."; this.CopyMI.Click += new System.EventHandler(this.CopyMI_Click); // // EditMI // this.EditMI.Index = 5; this.EditMI.Text = "Edit..."; this.EditMI.Click += new System.EventHandler(this.EditMI_Click); // // RemoveMI // this.RemoveMI.Index = 6; this.RemoveMI.Text = "Remove"; this.RemoveMI.Click += new System.EventHandler(this.RemoveMI_Click); // // Separator02 // this.Separator02.Index = 7; this.Separator02.Text = "-"; // // ImportValuesMI // this.ImportValuesMI.Index = 8; this.ImportValuesMI.Text = "Import Values..."; this.ImportValuesMI.Click += new System.EventHandler(this.ImportValuesMI_Click); // // MainPN // this.MainPN.Controls.Add(this.ValuesLV); this.MainPN.Controls.Add(this.PlotPN); this.MainPN.Dock = System.Windows.Forms.DockStyle.Fill; this.MainPN.Location = new System.Drawing.Point(0, 0); this.MainPN.Name = "MainPN"; this.MainPN.Size = new System.Drawing.Size(544, 360); this.MainPN.TabIndex = 2; // // PlotPN // this.PlotPN.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.PlotPN.Controls.Add(this.PlotCTRL); this.PlotPN.Dock = System.Windows.Forms.DockStyle.Fill; this.PlotPN.Location = new System.Drawing.Point(0, 0); this.PlotPN.Name = "PlotPN"; this.PlotPN.Size = new System.Drawing.Size(544, 360); this.PlotPN.TabIndex = 3; // // PlotCTRL // this.PlotCTRL.AllowSelection = false; this.PlotCTRL.BackColor = System.Drawing.SystemColors.ControlLightLight; this.PlotCTRL.ContextMenu = this.PopupMenu; this.PlotCTRL.Dock = System.Windows.Forms.DockStyle.Fill; this.PlotCTRL.HorizontalEdgeLegendPlacement = scpl.Legend.Placement.Inside; this.PlotCTRL.LegendBorderStyle = scpl.Legend.BorderType.Shadow; this.PlotCTRL.LegendXOffset = 10F; this.PlotCTRL.LegendYOffset = 1F; this.PlotCTRL.Location = new System.Drawing.Point(0, 0); this.PlotCTRL.Name = "PlotCTRL"; this.PlotCTRL.Padding = 10; this.PlotCTRL.PlotBackColor = System.Drawing.Color.White; this.PlotCTRL.ShowLegend = false; this.PlotCTRL.Size = new System.Drawing.Size(540, 356); this.PlotCTRL.TabIndex = 2; this.PlotCTRL.Title = ""; this.PlotCTRL.TitleFont = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.PlotCTRL.VerticalEdgeLegendPlacement = scpl.Legend.Placement.Outside; this.PlotCTRL.XAxis1 = null; this.PlotCTRL.XAxis2 = null; this.PlotCTRL.YAxis1 = null; this.PlotCTRL.YAxis2 = null; // // AnnotationValuesCtrl // this.Controls.Add(this.MainPN); this.Name = "AnnotationValuesCtrl"; this.Size = new System.Drawing.Size(544, 360); this.MainPN.ResumeLayout(false); this.PlotPN.ResumeLayout(false); this.ResumeLayout(false); }