Example #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            DialogResult rlt = MessageBox.Show(Globals.CLanguage.GetString("确定要删除当前选中的吗?"),
                                               Globals.CLanguage.GetString("提示"),
                                               MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1);

            if (rlt != DialogResult.Yes)
            {
                return;
            }
            if (myguid != Guid.Empty)
            {
                m_dst.DelSeqbund(myguid);
                MessageBox.Show("删除成功");
                m_dst.GetSeqbund();
            }
            else
            {
                MessageBox.Show("请选择要删除的那一行");
            }
        }