コード例 #1
0
        private void toolStripButtonDelete_Click(object sender, System.EventArgs e)
        {
            var selectedSignature = typedListViewSignatures.SelectedObject;

            try
            {
                SignatureManager.RemoveSignature(selectedSignature);
            }
            catch (Exception ex)
            {
                logger.Error(
                    ex,
                    "Unable to remove signature {0}",
                    selectedSignature.Name);
            }

            LoadSignatureList();
            SetToolstripButtonStates();
        }