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.
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace WindowsFormsApp2
|
|
|
|
|
{
|
|
|
|
|
public partial class displayResult : UserControl
|
|
|
|
|
{
|
|
|
|
|
public displayResult()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void init()
|
|
|
|
|
{
|
|
|
|
|
singleCam1.setCamId(0);
|
|
|
|
|
singleCam2.setCamId(1);
|
|
|
|
|
singleCam3.setCamId(2);
|
|
|
|
|
singleCam4.setCamId(3);
|
|
|
|
|
singleCam5.setCamId(4);
|
|
|
|
|
singleCam6.setCamId(5);
|
|
|
|
|
singleCam7.setCamId(6);
|
|
|
|
|
singleCam8.setCamId(7);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void close()
|
|
|
|
|
{
|
|
|
|
|
singleCam1.closeSocket();
|
|
|
|
|
singleCam2.closeSocket();
|
|
|
|
|
singleCam3.closeSocket();
|
|
|
|
|
singleCam4.closeSocket();
|
|
|
|
|
singleCam5.closeSocket();
|
|
|
|
|
singleCam6.closeSocket();
|
|
|
|
|
singleCam7.closeSocket();
|
|
|
|
|
singleCam8.closeSocket();
|
|
|
|
|
userControl11.closeSocket();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void displayResult_Load(object sender, System.EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void userControl11_Load(object sender, System.EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|