private void newEntryToolStripMenuItem_Click(object sender, EventArgs e) { LiveCallDetail form = new LiveCallDetail(db); DialogResult res = form.ShowDialog(); if (res != DialogResult.Cancel) { RefreshDataset(); } }
private void tsQuickBtn_Click(object sender, EventArgs e) { string store = storeListBox.SelectedItem.ToString(); if (store == "All Stores") { store = storeListBox.Items[1].ToString(); } LiveCallDetail form = new LiveCallDetail(db, store); form.ShowDialog(); ReloadIncidents(); }