//--------------------------------------------------------Set-, Get- Methods:---------------------------------------------------------\\ #region --Set-, Get- Methods-- #endregion //--------------------------------------------------------Misc Methods:---------------------------------------------------------------\\ #region --Misc Methods (Public)-- #endregion #region --Misc Methods (Private)-- #endregion #region --Misc Methods (Protected)-- #endregion //--------------------------------------------------------Events:---------------------------------------------------------------------\\ #region --Events-- private async void save_btn_Click(Controls.IconButtonControl sender, Windows.UI.Xaml.RoutedEventArgs args) { if (await VIEW_MODEL.SavePresenceAsync()) { Hide(); } }
private async void clearPwVault_btn_Click(Controls.IconButtonControl sender, RoutedEventArgs args) { ConfirmDialog dialog = new ConfirmDialog() { Title = "Clear password vault:", Text = "Do you really want to clear the password vault.\nAll passwords will be lost!" }; await dialog.ShowAsync(); if (dialog.confirmed) { clearPwVault(); } }
private void cancel_btn_Click(Controls.IconButtonControl sender, Windows.UI.Xaml.RoutedEventArgs args) { VIEW_MODEL.Cancel(); Hide(); }
//--------------------------------------------------------Set-, Get- Methods:---------------------------------------------------------\\ #region --Set-, Get- Methods-- #endregion //--------------------------------------------------------Misc Methods:---------------------------------------------------------------\\ #region --Misc Methods (Public)-- #endregion #region --Misc Methods (Private)-- #endregion #region --Misc Methods (Protected)-- #endregion //--------------------------------------------------------Events:---------------------------------------------------------------------\\ #region --Events-- private void accept_btn_Click(Controls.IconButtonControl sender, Windows.UI.Xaml.RoutedEventArgs args) { VIEW_MODEL.Confirm(); Hide(); }
private void AddAccount_ibtn_Click(Controls.IconButtonControl sender, RoutedEventArgs args) { UiUtils.NavigateToPage(typeof(RegisterPage)); }
private void yes_ibtn_Click(Controls.IconButtonControl sender, RoutedEventArgs args) { confirmed = true; Hide(); }
private void Donate_btn_Click(Controls.IconButtonControl sender, Windows.UI.Xaml.RoutedEventArgs args) { VIEW_MODEL.MODEL.ToDonatePageNavigated = true; UiUtils.NavigateToPage(typeof(DonateSettingsPage)); Hide(); }
private void Close_btn_Click(Controls.IconButtonControl sender, Windows.UI.Xaml.RoutedEventArgs args) { Hide(); }
private void no_btn_Click(Controls.IconButtonControl sender, RoutedEventArgs args) { VIEW_MODEL.Cancel(); Hide(); }
//--------------------------------------------------------Set-, Get- Methods:---------------------------------------------------------\\ #region --Set-, Get- Methods-- #endregion //--------------------------------------------------------Misc Methods:---------------------------------------------------------------\\ #region --Misc Methods (Public)-- #endregion #region --Misc Methods (Private)-- #endregion #region --Misc Methods (Protected)-- #endregion //--------------------------------------------------------Events:---------------------------------------------------------------------\\ #region --Events-- private void yes_btn_Click(Controls.IconButtonControl sender, RoutedEventArgs args) { VIEW_MODEL.Confirm(); Hide(); }
private void prevDate_btn_Click(Controls.IconButtonControl sender, RoutedEventArgs args) { VIEW_MODEL.PrevDate(); }
private void OnCancelClicked(Controls.IconButtonControl sender, RoutedEventArgs args) { Hide(); }
private void OnNextClicked(Controls.IconButtonControl sender, RoutedEventArgs args) { GoToState2(); }
private void OnPreviousClicked(Controls.IconButtonControl sender, RoutedEventArgs args) { GoToState1(); }
private void done3_ibtn_Click(Controls.IconButtonControl sender, RoutedEventArgs args) { NavigateAway(); }
private void back2_ibtn_Click(Controls.IconButtonControl sender, RoutedEventArgs args) { UpdateViewState(State_1); }