
Partial Class uc_TitleBar
    Inherits System.Web.UI.UserControl

#Region "********************** プロパティ **********************"

    Private _mode As String = ""
    Public Property Mode() As String
        Get
            Return _mode
        End Get
        Set(ByVal value As String)
            _mode = value
        End Set
    End Property

    Public Property Text() As String
        Get
            Return lbl_title.Text
        End Get
        Set(ByVal value As String)
            lbl_title.Text = value
        End Set
    End Property

#End Region

#Region "******************** ページイベント ********************"

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If "point".Equals(_mode) Then
            img_title.ImageUrl = "~/img/title_point.png"
        ElseIf "search".Equals(_mode) Then
            img_title.ImageUrl = "~/img/search.png"
        End If
    End Sub

#End Region

End Class
