Example #1
0
        private void addDirectoryEntryBtn_Click(object sender, EventArgs e)
        {
            var dirEditor = new FrmDirectoryEditor();

            if (dirEditor.ShowDialog() == DialogResult.OK)
            {
                // Create the entry
            }
        }
Example #2
0
        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
            }
        }
Example #3
0
 private void addDirectoryEntryBtn_Click(object sender, EventArgs e)
 {
     FrmDirectoryEditor dirEditor = new FrmDirectoryEditor();
     if (dirEditor.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         // Create the entry
     }
 }
Example #4
0
 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
     }
 }