internal void PrintedDeleteImage(object dicomPrintManger)
        {
            if (dicomPrintManger == null)
            {
                return;
            }
            DicomPrintManager manager = (DicomPrintManager)dicomPrintManger;

            if (!manager.IsPrintedDelete || _printImageViewerComponent == null)
            {
                return;
            }

            if (manager.IsAllPages)
            {
                if (_printImageViewerComponent != null)
                {
                    _printImageViewerComponent.ClearAllImages();
                }
            }
            else
            {
                EventsHelper.Fire(_printImageViewerComponent.EventBroker.DelegateDeleteCurrentPage, this, null);
            }
        }
 private void ClearButton_Click(object sender, EventArgs e)
 {
     _component.ClearAllImages();
 }