You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
819 B
C#
41 lines
819 B
C#
using HalconDotNet;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Rs.MotionPlat
|
|
{
|
|
public partial class ShowImage : UserControl
|
|
{
|
|
public ShowImage()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private string _HeadText;
|
|
|
|
public string HeadText
|
|
{
|
|
get { return _HeadText; }
|
|
set { _HeadText = value; lblHeadText.Text = value; }
|
|
}
|
|
|
|
public void DispFitImage(HObject obj)
|
|
{
|
|
hWindow_Final1.HobjectToHimage(obj);
|
|
}
|
|
|
|
|
|
public void DispObj(HObject obj)
|
|
{
|
|
hWindow_Final1.DispObj(obj);
|
|
}
|
|
}
|
|
}
|