Пример #1
0
        private void buttonDeleteDocSet_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Really delete?", "Confirm", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.No)
            {
                return;
            }

            if (CurrentDocSet != null)
            {
                CurrentDocSet.Delete();
            }

            RebuildDocSetList();
            RebuildDocList();
        }