Beispiel #1
0
 private void 退出采集站ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show(this, "是否要退出IO采集站,退出后设备将无法获取传输数据!", "退出提示", MessageBoxButtons.YesNo) == DialogResult.Yes)
     {
         MonitorFormManager.ApplicationExit();
     }
 }
Beispiel #2
0
 static void Application_ApplicationExit(object sender, EventArgs e)
 {
     MonitorFormManager.ApplicationExit();
 }