📄 frmalert.cs
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using HallySoft.RFID;
namespace UtAbmsRFID
{
public partial class frmAlert : Form
{
public int AlertType = 0;
public LabelInfo Label;
public string acip;
public frmAlert()
{
InitializeComponent();
}
private void frmAlert_Load(object sender, EventArgs e)
{
switch (AlertType)
{
case 1:
Alert.isAlert = true;
break;
case 2:
Alert.isAlert = true;
break;
case 3:
break;
case 4:
label1.Text = "接收器:" + acip + " 连接失败!!!";
break;
case 5:
break;
case 6:
break;
}
}
private void frmAlert_FormClosed(object sender, FormClosedEventArgs e)
{
Alert.isAlert = false; //关闭警笛!!
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -