コード例 #1
0
ファイル: FrmOptions.cs プロジェクト: callerid/ELPopup5-suite
        private void btnClearLog_Click(object sender, EventArgs e)
        {
            DialogResult result = Common.MessageBox("Clear All Call Records", "Are you sure you want to Delete All Call Records?", true, DialogResult.Cancel, true, DialogResult.Yes, false, DialogResult.None, "Cancel", "Yes", "", 1);

            if (result == DialogResult.Cancel)
            {
                return;
            }

            CallLog.DeleteDatabase();

            Program.fMain.Has_Activated = false;
            Program.fMain.RefreshWindow();
        }