Пример #1
0
		private void 关闭ToolStripMenuItem_Click(object sender, EventArgs e)
		{
			if (led != null)
			{
				led.Close();
				led = null;
			}
		}
Пример #2
0
		private void tsmiRelease_Click(object sender, EventArgs e)
		{
			string select = "";
			if (rdBtn1.Checked == true)
			{
				select = "文本信息";
			}
			else
			{
				select = "常规信息";
			}
			try
			{
				if (led != null)
				{
					led.Close();
					led = null;
				}
				led = new LedScreen(select);
				led.Show();
				this.Select();
			}
			catch { }
		}