mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-23 02:51:26 -07:00
33 lines
821 B
C#
33 lines
821 B
C#
using Bloxstrap.UI.ViewModels.Menu;
|
|
using System.Windows;
|
|
|
|
namespace Bloxstrap.UI.Elements.Menu.Pages
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for FastFlagEditorWarningPage.xaml
|
|
/// </summary>
|
|
public partial class FastFlagEditorWarningPage
|
|
{
|
|
private bool _initialLoad = false;
|
|
|
|
public FastFlagEditorWarningPage()
|
|
{
|
|
DataContext = new FastFlagEditorWarningViewModel(this);
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void Page_Loaded(object sender, RoutedEventArgs e)
|
|
{
|
|
// refresh datacontext on page load to reset timer
|
|
|
|
if (!_initialLoad)
|
|
{
|
|
_initialLoad = true;
|
|
return;
|
|
}
|
|
|
|
DataContext = new FastFlagEditorWarningViewModel(this);
|
|
}
|
|
}
|
|
}
|