增加图像窗口点击时切换设置窗口

This commit is contained in:
耿东亚 2024-11-26 09:38:40 +08:00
parent 8853881a95
commit e16b79097d
3 changed files with 112 additions and 105 deletions

View File

@ -324,24 +324,7 @@ namespace PBAnaly
bioanalysisMannages[selectedFilePath] = bioanalysisMannage; bioanalysisMannages[selectedFilePath] = bioanalysisMannage;
//ImagePanel frmEmbed = new ImagePanel(selectedFilePath, pl_right);
//ImageToolMannage.imageDataPath[selectedFilePath] = frmEmbed;
//if (frmEmbed != null)
//{
// frmEmbed.TopLevel = false;
// DataProcess_panel.Controls.Add(frmEmbed);
// FormGenerate_X = FormGenerate_X + 15;
// FormGenerate_Y = FormGenerate_Y + 15;
// frmEmbed.Location = new System.Drawing.Point(FormGenerate_X, FormGenerate_Y);
// frmEmbed.Show(); // 显示
// frmEmbed.BringToFront();
// //frmEmbed.RefreshUI();
//}
//initPanel();
} }

View File

@ -367,6 +367,8 @@ namespace PBAnaly.Module
imagePaletteForm.hpb_line.Click += Hpb_line_Click; imagePaletteForm.hpb_line.Click += Hpb_line_Click;
imagePanel.wdb_title.MouseDown += Wdb_title_Click;
} }
@ -543,6 +545,11 @@ namespace PBAnaly.Module
#region #region
private void Wdb_title_Click(object sender, EventArgs e)
{
this.pl_right.Controls.Clear();
this.pl_right.Controls.Add(this.imagePaletteForm);
}
private void Cb_scientific_CheckedChanged(object sender, AntdUI.BoolEventArgs e) private void Cb_scientific_CheckedChanged(object sender, AntdUI.BoolEventArgs e)
{ {
ScientificON = imagePanel.cb_scientific.Checked; ScientificON = imagePanel.cb_scientific.Checked;

View File

@ -28,7 +28,7 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.windowBar1 = new AntdUI.WindowBar(); this.wdb_title = new AntdUI.WindowBar();
this.panel1 = new AntdUI.Panel(); this.panel1 = new AntdUI.Panel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.panel2 = new AntdUI.Panel(); this.panel2 = new AntdUI.Panel();
@ -43,12 +43,12 @@
this.panel3 = new AntdUI.Panel(); this.panel3 = new AntdUI.Panel();
this.lb_size = new AntdUI.Label(); this.lb_size = new AntdUI.Label();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.image_pr = new AntdUI.Image3D();
this.pl_panel_image = new AntdUI.Panel(); this.pl_panel_image = new AntdUI.Panel();
this.pl_bg_panel = new AntdUI.Panel(); this.pl_bg_panel = new AntdUI.Panel();
this.image_pl = new System.Windows.Forms.PictureBox();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.lb_wh = new AntdUI.Label(); this.lb_wh = new AntdUI.Label();
this.image_pl = new System.Windows.Forms.PictureBox(); this.image_pr = new AntdUI.Image3D();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
@ -57,50 +57,53 @@
this.tableLayoutPanel2.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout();
this.pl_panel_image.SuspendLayout(); this.pl_panel_image.SuspendLayout();
this.pl_bg_panel.SuspendLayout(); this.pl_bg_panel.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.image_pl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.image_pl)).BeginInit();
this.tableLayoutPanel3.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// windowBar1 // wdb_title
// //
this.windowBar1.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.wdb_title.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
this.windowBar1.Dock = System.Windows.Forms.DockStyle.Top; this.wdb_title.Dock = System.Windows.Forms.DockStyle.Top;
this.windowBar1.ForeColor = System.Drawing.SystemColors.ButtonFace; this.wdb_title.ForeColor = System.Drawing.SystemColors.ButtonFace;
this.windowBar1.IsMax = false; this.wdb_title.IsMax = false;
this.windowBar1.Location = new System.Drawing.Point(3, 3); this.wdb_title.Location = new System.Drawing.Point(4, 4);
this.windowBar1.Name = "windowBar1"; this.wdb_title.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.windowBar1.ShowIcon = false; this.wdb_title.Name = "wdb_title";
this.windowBar1.Size = new System.Drawing.Size(352, 23); this.wdb_title.ShowIcon = false;
this.windowBar1.TabIndex = 0; this.wdb_title.Size = new System.Drawing.Size(469, 29);
this.windowBar1.Text = " "; this.wdb_title.TabIndex = 0;
this.windowBar1.UseSystemStyleColor = true; this.wdb_title.Text = " ";
this.wdb_title.UseSystemStyleColor = true;
// //
// panel1 // panel1
// //
this.panel1.Controls.Add(this.tableLayoutPanel1); this.panel1.Controls.Add(this.tableLayoutPanel1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(3, 26); this.panel1.Location = new System.Drawing.Point(4, 33);
this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(352, 23); this.panel1.Size = new System.Drawing.Size(469, 29);
this.panel1.TabIndex = 1; this.panel1.TabIndex = 1;
this.panel1.Text = "panel1"; this.panel1.Text = "panel1";
// //
// tableLayoutPanel1 // tableLayoutPanel1
// //
this.tableLayoutPanel1.ColumnCount = 4; this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 131F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 175F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 69F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 92F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 125F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 167F));
this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 0); this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.cb_scientific, 1, 0); this.tableLayoutPanel1.Controls.Add(this.cb_scientific, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.flowPanel1, 3, 0); this.tableLayoutPanel1.Controls.Add(this.flowPanel1, 3, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(352, 23); this.tableLayoutPanel1.Size = new System.Drawing.Size(469, 29);
this.tableLayoutPanel1.TabIndex = 0; this.tableLayoutPanel1.TabIndex = 0;
// //
// panel2 // panel2
@ -111,7 +114,7 @@
this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Margin = new System.Windows.Forms.Padding(0); this.panel2.Margin = new System.Windows.Forms.Padding(0);
this.panel2.Name = "panel2"; this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(131, 23); this.panel2.Size = new System.Drawing.Size(175, 29);
this.panel2.TabIndex = 0; this.panel2.TabIndex = 0;
this.panel2.Text = "panel2"; this.panel2.Text = "panel2";
// //
@ -123,27 +126,30 @@
"merge", "merge",
"mark", "mark",
"pseudocolor"}); "pseudocolor"});
this.cbb_mode.Location = new System.Drawing.Point(45, 1); this.cbb_mode.Location = new System.Drawing.Point(60, 1);
this.cbb_mode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.cbb_mode.Name = "cbb_mode"; this.cbb_mode.Name = "cbb_mode";
this.cbb_mode.Size = new System.Drawing.Size(83, 20); this.cbb_mode.Size = new System.Drawing.Size(109, 23);
this.cbb_mode.TabIndex = 1; this.cbb_mode.TabIndex = 1;
// //
// label1 // label1
// //
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left))); | System.Windows.Forms.AnchorStyles.Left)));
this.label1.Location = new System.Drawing.Point(3, 0); this.label1.Location = new System.Drawing.Point(4, 0);
this.label1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(36, 23); this.label1.Size = new System.Drawing.Size(48, 29);
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "模式:"; this.label1.Text = "模式:";
// //
// cb_scientific // cb_scientific
// //
this.cb_scientific.AutoCheck = true; this.cb_scientific.AutoCheck = true;
this.cb_scientific.Location = new System.Drawing.Point(134, 3); this.cb_scientific.Location = new System.Drawing.Point(179, 4);
this.cb_scientific.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.cb_scientific.Name = "cb_scientific"; this.cb_scientific.Name = "cb_scientific";
this.cb_scientific.Size = new System.Drawing.Size(63, 17); this.cb_scientific.Size = new System.Drawing.Size(84, 21);
this.cb_scientific.TabIndex = 1; this.cb_scientific.TabIndex = 1;
this.cb_scientific.Text = "光子数"; this.cb_scientific.Text = "光子数";
// //
@ -154,10 +160,10 @@
this.flowPanel1.Controls.Add(this.ava__zoom_in); this.flowPanel1.Controls.Add(this.ava__zoom_in);
this.flowPanel1.Controls.Add(this.ava_auto); this.flowPanel1.Controls.Add(this.ava_auto);
this.flowPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowPanel1.Location = new System.Drawing.Point(227, 0); this.flowPanel1.Location = new System.Drawing.Point(302, 0);
this.flowPanel1.Margin = new System.Windows.Forms.Padding(0); this.flowPanel1.Margin = new System.Windows.Forms.Padding(0);
this.flowPanel1.Name = "flowPanel1"; this.flowPanel1.Name = "flowPanel1";
this.flowPanel1.Size = new System.Drawing.Size(125, 23); this.flowPanel1.Size = new System.Drawing.Size(167, 29);
this.flowPanel1.TabIndex = 2; this.flowPanel1.TabIndex = 2;
this.flowPanel1.Text = "flowPanel1"; this.flowPanel1.Text = "flowPanel1";
// //
@ -166,9 +172,10 @@
this.ava_save.Cursor = System.Windows.Forms.Cursors.Hand; this.ava_save.Cursor = System.Windows.Forms.Cursors.Hand;
this.ava_save.Image = global::PBAnaly.Properties.Resources.; this.ava_save.Image = global::PBAnaly.Properties.Resources.;
this.ava_save.ImageFit = AntdUI.TFit.Contain; this.ava_save.ImageFit = AntdUI.TFit.Contain;
this.ava_save.Location = new System.Drawing.Point(96, 3); this.ava_save.Location = new System.Drawing.Point(127, 4);
this.ava_save.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.ava_save.Name = "ava_save"; this.ava_save.Name = "ava_save";
this.ava_save.Size = new System.Drawing.Size(25, 17); this.ava_save.Size = new System.Drawing.Size(33, 21);
this.ava_save.TabIndex = 6; this.ava_save.TabIndex = 6;
this.ava_save.Text = "a"; this.ava_save.Text = "a";
// //
@ -177,9 +184,10 @@
this.ava_zoom_out.Cursor = System.Windows.Forms.Cursors.Hand; this.ava_zoom_out.Cursor = System.Windows.Forms.Cursors.Hand;
this.ava_zoom_out.Image = global::PBAnaly.Properties.Resources.; this.ava_zoom_out.Image = global::PBAnaly.Properties.Resources.;
this.ava_zoom_out.ImageFit = AntdUI.TFit.Contain; this.ava_zoom_out.ImageFit = AntdUI.TFit.Contain;
this.ava_zoom_out.Location = new System.Drawing.Point(65, 3); this.ava_zoom_out.Location = new System.Drawing.Point(86, 4);
this.ava_zoom_out.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.ava_zoom_out.Name = "ava_zoom_out"; this.ava_zoom_out.Name = "ava_zoom_out";
this.ava_zoom_out.Size = new System.Drawing.Size(25, 17); this.ava_zoom_out.Size = new System.Drawing.Size(33, 21);
this.ava_zoom_out.TabIndex = 5; this.ava_zoom_out.TabIndex = 5;
this.ava_zoom_out.Text = "a"; this.ava_zoom_out.Text = "a";
this.ava_zoom_out.Click += new System.EventHandler(this.ava_zoom_out_Click); this.ava_zoom_out.Click += new System.EventHandler(this.ava_zoom_out_Click);
@ -189,9 +197,10 @@
this.ava__zoom_in.Cursor = System.Windows.Forms.Cursors.Hand; this.ava__zoom_in.Cursor = System.Windows.Forms.Cursors.Hand;
this.ava__zoom_in.Image = global::PBAnaly.Properties.Resources.; this.ava__zoom_in.Image = global::PBAnaly.Properties.Resources.;
this.ava__zoom_in.ImageFit = AntdUI.TFit.Contain; this.ava__zoom_in.ImageFit = AntdUI.TFit.Contain;
this.ava__zoom_in.Location = new System.Drawing.Point(34, 3); this.ava__zoom_in.Location = new System.Drawing.Point(45, 4);
this.ava__zoom_in.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.ava__zoom_in.Name = "ava__zoom_in"; this.ava__zoom_in.Name = "ava__zoom_in";
this.ava__zoom_in.Size = new System.Drawing.Size(25, 17); this.ava__zoom_in.Size = new System.Drawing.Size(33, 21);
this.ava__zoom_in.TabIndex = 4; this.ava__zoom_in.TabIndex = 4;
this.ava__zoom_in.Text = ""; this.ava__zoom_in.Text = "";
this.ava__zoom_in.Click += new System.EventHandler(this.ava__zoom_in_Click); this.ava__zoom_in.Click += new System.EventHandler(this.ava__zoom_in_Click);
@ -202,9 +211,10 @@
this.ava_auto.HandCursor = System.Windows.Forms.Cursors.IBeam; this.ava_auto.HandCursor = System.Windows.Forms.Cursors.IBeam;
this.ava_auto.Image = global::PBAnaly.Properties.Resources.; this.ava_auto.Image = global::PBAnaly.Properties.Resources.;
this.ava_auto.ImageFit = AntdUI.TFit.Contain; this.ava_auto.ImageFit = AntdUI.TFit.Contain;
this.ava_auto.Location = new System.Drawing.Point(3, 3); this.ava_auto.Location = new System.Drawing.Point(4, 4);
this.ava_auto.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.ava_auto.Name = "ava_auto"; this.ava_auto.Name = "ava_auto";
this.ava_auto.Size = new System.Drawing.Size(25, 17); this.ava_auto.Size = new System.Drawing.Size(33, 21);
this.ava_auto.TabIndex = 3; this.ava_auto.TabIndex = 3;
this.ava_auto.Text = "a"; this.ava_auto.Text = "a";
this.ava_auto.Click += new System.EventHandler(this.ava_auto_Click); this.ava_auto.Click += new System.EventHandler(this.ava_auto_Click);
@ -213,9 +223,10 @@
// //
this.panel3.Controls.Add(this.lb_size); this.panel3.Controls.Add(this.lb_size);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(3, 292); this.panel3.Location = new System.Drawing.Point(4, 365);
this.panel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel3.Name = "panel3"; this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(352, 13); this.panel3.Size = new System.Drawing.Size(469, 16);
this.panel3.TabIndex = 2; this.panel3.TabIndex = 2;
this.panel3.Text = "panel3"; this.panel3.Text = "panel3";
// //
@ -226,7 +237,7 @@
this.lb_size.Location = new System.Drawing.Point(0, 0); this.lb_size.Location = new System.Drawing.Point(0, 0);
this.lb_size.Margin = new System.Windows.Forms.Padding(0); this.lb_size.Margin = new System.Windows.Forms.Padding(0);
this.lb_size.Name = "lb_size"; this.lb_size.Name = "lb_size";
this.lb_size.Size = new System.Drawing.Size(352, 13); this.lb_size.Size = new System.Drawing.Size(469, 16);
this.lb_size.TabIndex = 0; this.lb_size.TabIndex = 0;
this.lb_size.Text = "800x600"; this.lb_size.Text = "800x600";
this.lb_size.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lb_size.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -235,38 +246,28 @@
// //
this.tableLayoutPanel2.ColumnCount = 2; this.tableLayoutPanel2.ColumnCount = 2;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 66F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 88F));
this.tableLayoutPanel2.Controls.Add(this.pl_panel_image, 0, 0); this.tableLayoutPanel2.Controls.Add(this.pl_panel_image, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 1, 0); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 1, 0);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 49); this.tableLayoutPanel2.Location = new System.Drawing.Point(4, 62);
this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(352, 243); this.tableLayoutPanel2.Size = new System.Drawing.Size(469, 303);
this.tableLayoutPanel2.TabIndex = 3; this.tableLayoutPanel2.TabIndex = 3;
// //
// image_pr
//
this.image_pr.Dock = System.Windows.Forms.DockStyle.Fill;
this.image_pr.Duration = 0;
this.image_pr.ImageFit = AntdUI.TFit.Fill;
this.image_pr.Location = new System.Drawing.Point(3, 3);
this.image_pr.Name = "image_pr";
this.image_pr.Size = new System.Drawing.Size(60, 175);
this.image_pr.Speed = 1;
this.image_pr.TabIndex = 1;
this.image_pr.Text = "image3D1";
//
// pl_panel_image // pl_panel_image
// //
this.pl_panel_image.Back = System.Drawing.Color.FromArgb(((int)(((byte)(6)))), ((int)(((byte)(6)))), ((int)(((byte)(6))))); this.pl_panel_image.Back = System.Drawing.Color.FromArgb(((int)(((byte)(6)))), ((int)(((byte)(6)))), ((int)(((byte)(6)))));
this.pl_panel_image.Controls.Add(this.pl_bg_panel); this.pl_panel_image.Controls.Add(this.pl_bg_panel);
this.pl_panel_image.Dock = System.Windows.Forms.DockStyle.Fill; this.pl_panel_image.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_panel_image.Location = new System.Drawing.Point(3, 3); this.pl_panel_image.Location = new System.Drawing.Point(4, 4);
this.pl_panel_image.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.pl_panel_image.Name = "pl_panel_image"; this.pl_panel_image.Name = "pl_panel_image";
this.pl_panel_image.Size = new System.Drawing.Size(280, 237); this.pl_panel_image.Size = new System.Drawing.Size(373, 295);
this.pl_panel_image.TabIndex = 0; this.pl_panel_image.TabIndex = 0;
this.pl_panel_image.Text = "panel4"; this.pl_panel_image.Text = "panel4";
// //
@ -274,11 +275,23 @@
// //
this.pl_bg_panel.Controls.Add(this.image_pl); this.pl_bg_panel.Controls.Add(this.image_pl);
this.pl_bg_panel.Location = new System.Drawing.Point(0, 0); this.pl_bg_panel.Location = new System.Drawing.Point(0, 0);
this.pl_bg_panel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.pl_bg_panel.Name = "pl_bg_panel"; this.pl_bg_panel.Name = "pl_bg_panel";
this.pl_bg_panel.Size = new System.Drawing.Size(223, 185); this.pl_bg_panel.Size = new System.Drawing.Size(297, 231);
this.pl_bg_panel.TabIndex = 0; this.pl_bg_panel.TabIndex = 0;
this.pl_bg_panel.Text = "panel4"; this.pl_bg_panel.Text = "panel4";
// //
// image_pl
//
this.image_pl.Dock = System.Windows.Forms.DockStyle.Fill;
this.image_pl.Location = new System.Drawing.Point(0, 0);
this.image_pl.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.image_pl.Name = "image_pl";
this.image_pl.Size = new System.Drawing.Size(297, 231);
this.image_pl.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.image_pl.TabIndex = 0;
this.image_pl.TabStop = false;
//
// tableLayoutPanel3 // tableLayoutPanel3
// //
this.tableLayoutPanel3.ColumnCount = 1; this.tableLayoutPanel3.ColumnCount = 1;
@ -286,48 +299,53 @@
this.tableLayoutPanel3.Controls.Add(this.lb_wh, 0, 1); this.tableLayoutPanel3.Controls.Add(this.lb_wh, 0, 1);
this.tableLayoutPanel3.Controls.Add(this.image_pr, 0, 0); this.tableLayoutPanel3.Controls.Add(this.image_pr, 0, 0);
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel3.Location = new System.Drawing.Point(286, 0); this.tableLayoutPanel3.Location = new System.Drawing.Point(381, 0);
this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.Name = "tableLayoutPanel3";
this.tableLayoutPanel3.RowCount = 2; this.tableLayoutPanel3.RowCount = 2;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 62F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 78F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(66, 243); this.tableLayoutPanel3.Size = new System.Drawing.Size(88, 303);
this.tableLayoutPanel3.TabIndex = 1; this.tableLayoutPanel3.TabIndex = 1;
// //
// lb_wh // lb_wh
// //
this.lb_wh.Dock = System.Windows.Forms.DockStyle.Fill; this.lb_wh.Dock = System.Windows.Forms.DockStyle.Fill;
this.lb_wh.Font = new System.Drawing.Font("隶书", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lb_wh.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lb_wh.Location = new System.Drawing.Point(3, 184); this.lb_wh.Location = new System.Drawing.Point(4, 229);
this.lb_wh.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.lb_wh.Name = "lb_wh"; this.lb_wh.Name = "lb_wh";
this.lb_wh.Size = new System.Drawing.Size(60, 56); this.lb_wh.Size = new System.Drawing.Size(80, 70);
this.lb_wh.TabIndex = 3; this.lb_wh.TabIndex = 3;
this.lb_wh.Text = "Color Scale\r\nMin = 1\r\nMax= 2"; this.lb_wh.Text = "Color Scale\r\nMin = 1\r\nMax= 2";
this.lb_wh.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.lb_wh.TextAlign = System.Drawing.ContentAlignment.TopCenter;
// //
// image_pl // image_pr
// //
this.image_pl.Dock = System.Windows.Forms.DockStyle.Fill; this.image_pr.Dock = System.Windows.Forms.DockStyle.Fill;
this.image_pl.Location = new System.Drawing.Point(0, 0); this.image_pr.Duration = 0;
this.image_pl.Name = "image_pl"; this.image_pr.ImageFit = AntdUI.TFit.Fill;
this.image_pl.Size = new System.Drawing.Size(223, 185); this.image_pr.Location = new System.Drawing.Point(4, 4);
this.image_pl.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.image_pr.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.image_pl.TabIndex = 0; this.image_pr.Name = "image_pr";
this.image_pl.TabStop = false; this.image_pr.Size = new System.Drawing.Size(80, 217);
this.image_pr.Speed = 1;
this.image_pr.TabIndex = 1;
this.image_pr.Text = "image3D1";
// //
// BioanalyImagePanel // BioanalyImagePanel
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(358, 308); this.ClientSize = new System.Drawing.Size(477, 385);
this.Controls.Add(this.tableLayoutPanel2); this.Controls.Add(this.tableLayoutPanel2);
this.Controls.Add(this.panel3); this.Controls.Add(this.panel3);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
this.Controls.Add(this.windowBar1); this.Controls.Add(this.wdb_title);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "BioanalyImagePanel"; this.Name = "BioanalyImagePanel";
this.Padding = new System.Windows.Forms.Padding(3); this.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Text = "BioanalyImagePanel"; this.Text = "BioanalyImagePanel";
this.MouseEnter += new System.EventHandler(this.BioanalyImagePanel_MouseEnter); this.MouseEnter += new System.EventHandler(this.BioanalyImagePanel_MouseEnter);
this.panel1.ResumeLayout(false); this.panel1.ResumeLayout(false);
@ -338,15 +356,13 @@
this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false);
this.pl_panel_image.ResumeLayout(false); this.pl_panel_image.ResumeLayout(false);
this.pl_bg_panel.ResumeLayout(false); this.pl_bg_panel.ResumeLayout(false);
this.tableLayoutPanel3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.image_pl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.image_pl)).EndInit();
this.tableLayoutPanel3.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
#endregion #endregion
private AntdUI.WindowBar windowBar1;
private AntdUI.Panel panel1; private AntdUI.Panel panel1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private AntdUI.Panel panel2; private AntdUI.Panel panel2;
@ -367,5 +383,6 @@
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
public AntdUI.Label lb_wh; public AntdUI.Label lb_wh;
public System.Windows.Forms.PictureBox image_pl; public System.Windows.Forms.PictureBox image_pl;
public AntdUI.WindowBar wdb_title;
} }
} }