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.
Cigarette/WindowsFormsApp2/FullScreen.cs

43 lines
1003 B
C#

2 years ago
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 WindowsFormsApp2
{
public partial class FullScreen : Form
2 years ago
{
public int camid;
2 years ago
public FullScreen()
{
InitializeComponent();
WindowState = System.Windows.Forms.FormWindowState.Maximized;
if(UserControl1.Debug)
{
this.rotate.Location = new Point(0, 0);
this.rotate.Visible = true;
}
else
{
this.rotate.Visible = false;
}
2 years ago
}
public void bindCam(int d)
{
singleCam1.setCamId(d);
camid = d;
}
private void rotate_Click(object sender, EventArgs e)
{
UserControl1.SendMsg(Convert.ToString(camid));
2 years ago
}
}
}