private void btnLEDShow_Click(object sender, EventArgs e) { if (dgvTemShow.CurrentRow != null) { FrmTempletSendLED frmTempletSendLED = new FrmTempletSendLED(dgvTemShow.CurrentRow.Cells["ShowContent"].Value.ToString()); frmTempletSendLED.ShowDialog(); } }
/// <summary> /// 模板显示操作 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void 模板显示ToolStripMenuItem_Click(object sender, EventArgs e) { FrmTempletSendLED frmTempletSendLED = new FrmTempletSendLED(); frmTempletSendLED.ShowDialog(); }