private void buttonKeyboard_Click(object sender, EventArgs e) { if ((dgWords.Rows[0].IsNewRow || dgWords.Rows.Count > 1) && dgWords.CurrentCell.ColumnIndex == 2) { PhonemePopup p = new PhonemePopup(this); p.Location = new Point(MousePosition.X - 100, MousePosition.Y); p.ShowDialog(); } }
private void showIPAPopupToolStripMenuItem_Click(object sender, EventArgs e) { PhonemePopup p = new PhonemePopup(this); p.ShowDialog(); }