private void updateStateToolStripMenuItem_Click(object sender, EventArgs e) { if (currentState() != null) { frmState frm = new frmState(currentState()); frm.ShowDialog(); } }
private void tsbNewState_Click(object sender, EventArgs e) { frmState frm = new frmState(); frm.ShowDialog(); }