//--------------------------------------------------------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();
            }
        }
예제 #2
0
        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();
        }
예제 #5
0
 private void AddAccount_ibtn_Click(Controls.IconButtonControl sender, RoutedEventArgs args)
 {
     UiUtils.NavigateToPage(typeof(RegisterPage));
 }
예제 #6
0
 private void yes_ibtn_Click(Controls.IconButtonControl sender, RoutedEventArgs args)
 {
     confirmed = true;
     Hide();
 }
예제 #7
0
 private void Donate_btn_Click(Controls.IconButtonControl sender, Windows.UI.Xaml.RoutedEventArgs args)
 {
     VIEW_MODEL.MODEL.ToDonatePageNavigated = true;
     UiUtils.NavigateToPage(typeof(DonateSettingsPage));
     Hide();
 }
예제 #8
0
 private void Close_btn_Click(Controls.IconButtonControl sender, Windows.UI.Xaml.RoutedEventArgs args)
 {
     Hide();
 }
예제 #9
0
 private void no_btn_Click(Controls.IconButtonControl sender, RoutedEventArgs args)
 {
     VIEW_MODEL.Cancel();
     Hide();
 }
예제 #10
0
        //--------------------------------------------------------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();
        }
예제 #11
0
 private void prevDate_btn_Click(Controls.IconButtonControl sender, RoutedEventArgs args)
 {
     VIEW_MODEL.PrevDate();
 }
예제 #12
0
 private void OnCancelClicked(Controls.IconButtonControl sender, RoutedEventArgs args)
 {
     Hide();
 }
예제 #13
0
 private void OnNextClicked(Controls.IconButtonControl sender, RoutedEventArgs args)
 {
     GoToState2();
 }
예제 #14
0
 private void OnPreviousClicked(Controls.IconButtonControl sender, RoutedEventArgs args)
 {
     GoToState1();
 }
예제 #15
0
 private void done3_ibtn_Click(Controls.IconButtonControl sender, RoutedEventArgs args)
 {
     NavigateAway();
 }
예제 #16
0
 private void back2_ibtn_Click(Controls.IconButtonControl sender, RoutedEventArgs args)
 {
     UpdateViewState(State_1);
 }