Example #1
0
        public void Delete()
        {
            var ask = Confirm("Do you want to delete? Click OK to proceed.");

            if (ask)
            {
                Presenter.Delete();
                Reset();
            }
        }
        private void btnDelete_Click(object sender, EventArgs e)
        {
            var ask = Confirm("Do you want to delete? Click OK to proceed.");

            if (ask)
            {
                Presenter.Delete();
                btnReset_Click(sender, e);
            }
        }