コード例 #1
0
        private void newEntryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LiveCallDetail form = new LiveCallDetail(db);
            DialogResult   res  = form.ShowDialog();

            if (res != DialogResult.Cancel)
            {
                RefreshDataset();
            }
        }
コード例 #2
0
        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();
        }