Option Strict On
Option Explicit On

Imports System
Imports System.Globalization
Imports System.IO
Imports System.Windows.Forms
Imports Nexamas.UI.Architecture
Imports Nexamas.UI.Composition
Imports Nexamas.UI.Controls
Imports Nexamas.UI.General
Imports Nexamas.UI.Layout
Imports Nexamas.UI.Rendering
Imports Nexamas.UI.TextRendering
Imports Nexamas.UI.Theming
Imports Nexamas.UI.Values
Imports SkiaSharp

Namespace Nexamas.UI.Components

    Partial Public NotInheritable Class MASImageViewer
#Region "Event Raisers"

        Private Sub RaiseImageChangedSafe()
            Try
                RaiseEvent ImageChanged(Me, EventArgs.Empty)
            Catch masCaughtException1 As Exception
                Nexamas.UI.Diagnostics.MASExceptionSilencer.SwallowBoundary(masCaughtException1, "MASImageViewer.ImageChanged")
            End Try
        End Sub

        Private Sub RaiseViewChangedSafe()
            Try
                RaiseEvent ViewChanged(Me, EventArgs.Empty)
            Catch masCaughtException2 As Exception
                Nexamas.UI.Diagnostics.MASExceptionSilencer.SwallowInputBoundary(masCaughtException2, "MASImageViewer.ViewChanged")
            End Try
        End Sub

        Private Sub RaiseExportRequestedSafe()
            Try
                RaiseEvent ExportRequested(Me, EventArgs.Empty)
            Catch masCaughtException3 As Exception
                Nexamas.UI.Diagnostics.MASExceptionSilencer.SwallowBoundary(masCaughtException3, "MASImageViewer.ExportRequested")
            End Try
        End Sub

        Private Sub RaiseImageExportedSafe()
            Try
                RaiseEvent ImageExported(Me, EventArgs.Empty)
            Catch masCaughtException4 As Exception
                Nexamas.UI.Diagnostics.MASExceptionSilencer.SwallowBoundary(masCaughtException4, "MASImageViewer.ImageExported")
            End Try
        End Sub

#End Region

    End Class

End Namespace
