private void addDirectoryEntryBtn_Click(object sender, EventArgs e) { var dirEditor = new FrmDirectoryEditor(); if (dirEditor.ShowDialog() == DialogResult.OK) { // Create the entry } }
private void addToMyDirectoryToolStripMenuItem_Click(object sender, EventArgs e) { var calledNumber = callHistoryListView.SelectedItems[0].Text; var dirEditor = new FrmDirectoryEditor(); if (dirEditor.ShowDialog() == DialogResult.OK) { // Create the entry } }
private void addDirectoryEntryBtn_Click(object sender, EventArgs e) { FrmDirectoryEditor dirEditor = new FrmDirectoryEditor(); if (dirEditor.ShowDialog() == System.Windows.Forms.DialogResult.OK) { // Create the entry } }
private void addToMyDirectoryToolStripMenuItem_Click(object sender, EventArgs e) { string calledNumber = callHistoryListView.SelectedItems[0].Text; FrmDirectoryEditor dirEditor = new FrmDirectoryEditor(); if (dirEditor.ShowDialog() == System.Windows.Forms.DialogResult.OK) { // Create the entry } }