2.0.8
This commit is contained in:
@@ -46,9 +46,14 @@ namespace Hawkeye.VisionBuilder.Features.ImagePreview
|
||||
imagePreviewControl.GraphicsElements.Add(element);
|
||||
}
|
||||
|
||||
private void btnFit_Click(object sender, EventArgs e)
|
||||
public void Fit()
|
||||
{
|
||||
imagePreviewControl.FitToScreen();
|
||||
}
|
||||
|
||||
private void btnFit_Click(object sender, EventArgs e)
|
||||
{
|
||||
Fit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,7 +143,9 @@
|
||||
//
|
||||
// ckbExecuteWorkflow
|
||||
//
|
||||
ckbExecuteWorkflow.Checked = true;
|
||||
ckbExecuteWorkflow.CheckOnClick = true;
|
||||
ckbExecuteWorkflow.CheckState = CheckState.Checked;
|
||||
ckbExecuteWorkflow.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
||||
ckbExecuteWorkflow.Image = (Image)resources.GetObject("ckbExecuteWorkflow.Image");
|
||||
ckbExecuteWorkflow.ImageTransparentColor = Color.Magenta;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
4
Hawkeye.VisionBuilder/MainWindow.Designer.cs
generated
4
Hawkeye.VisionBuilder/MainWindow.Designer.cs
generated
@@ -198,7 +198,7 @@
|
||||
// imageStatisticsToolStripMenuItem
|
||||
//
|
||||
imageStatisticsToolStripMenuItem.Name = "imageStatisticsToolStripMenuItem";
|
||||
imageStatisticsToolStripMenuItem.Size = new Size(180, 22);
|
||||
imageStatisticsToolStripMenuItem.Size = new Size(155, 22);
|
||||
imageStatisticsToolStripMenuItem.Text = "Image statistics";
|
||||
imageStatisticsToolStripMenuItem.Click += imageStatisticsToolStripMenuItem_Click;
|
||||
//
|
||||
@@ -213,7 +213,7 @@
|
||||
MainMenuStrip = menuStrip1;
|
||||
Name = "MainWindow";
|
||||
StartPosition = FormStartPosition.CenterScreen;
|
||||
Text = "Hawkeye Vision Builder";
|
||||
Text = "Hawkeye Vision Builder Core";
|
||||
toolStrip1.ResumeLayout(false);
|
||||
toolStrip1.PerformLayout();
|
||||
menuStrip1.ResumeLayout(false);
|
||||
|
||||
@@ -152,7 +152,10 @@ namespace Hawkeye.VisionBuilder
|
||||
protected override void OnShown(EventArgs e)
|
||||
{
|
||||
base.OnShown(e);
|
||||
WindowState= FormWindowState.Maximized;
|
||||
Application.DoEvents();
|
||||
OrganizeWindows(null, null);
|
||||
_previewPanel.Fit();
|
||||
}
|
||||
|
||||
private void OrganizeWindows(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user