/// <summary>
        ///   Редактирование штампа
        /// </summary>
        /// <param name="sender"> </param>
        /// <param name="e"> </param>
        private void btnEdit_Click(object sender, EventArgs e)
        {
            ListViewItem li      = listViewStamps.SelectedItems[0];
            int          stampId = ((StampAddItem)li.Tag).ID;

            using (var dlg = new StampEditDialog(stampId, _stampImages[stampId]))
                if (dlg.ShowDialog(this) == DialogResult.OK)
                {
                    LoadStamps();
                    listViewStamps_SelectedIndexChanged(this, EventArgs.Empty);
                }
        }
        private void buttonFromFile_Click(object sender, EventArgs e)
        {
            var openImageFileDialog = new OpenFileDialog
            {
                DefaultExt = "bmp",
                Filter     = "BMP|*.bmp",
                Title      = "Выберите файл с изображением"
            };

            if (openImageFileDialog.ShowDialog() == DialogResult.OK)
            {
                using (var bmp = new Bitmap(openImageFileDialog.FileName))
                    if (bmp != null)
                    {
                        var dlg = new StampEditDialog {
                            StampImage = bmp
                        };
                        dlg.DialogEvent += dlg_DialogEvent;
                        ShowSubForm(dlg);
                    }
            }
        }