48 lines
1.3 KiB
C#
48 lines
1.3 KiB
C#
//-----------------------------------------------------------------------
|
|
// <copyright file="UpdateButtonAppBar.cs" company="BTU/IIT">
|
|
// Company copyright tag.
|
|
// </copyright>
|
|
// <author>stubbfel</author>
|
|
// <sience>22.07.2013</sience>
|
|
//----------------------------------------------------------------------
|
|
namespace CampusAppWP8.Utility.Lui.Button
|
|
{
|
|
using System;
|
|
using CampusAppWP8.Resources;
|
|
using Microsoft.Phone.Shell;
|
|
|
|
/// <summary>
|
|
/// This class create an Button which start the Email-Client
|
|
/// </summary>
|
|
public class UpdateButtonAppBar : ApplicationBarIconButton
|
|
{
|
|
#region Members
|
|
|
|
/// <summary>
|
|
/// IconUri of the Button
|
|
/// </summary>
|
|
private static Uri iconUri = new Uri(Icons.Update, UriKind.Relative);
|
|
|
|
/// <summary>
|
|
/// Text of the Button
|
|
/// </summary>
|
|
private static string text = AppResources.UpdateBtn;
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="UpdateButtonAppBar" /> class.
|
|
/// </summary>
|
|
public UpdateButtonAppBar()
|
|
: base()
|
|
{
|
|
this.IconUri = UpdateButtonAppBar.iconUri;
|
|
this.Text = UpdateButtonAppBar.text;
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|