Exemple #1
0
        private void startButton_Click(object sender, RoutedEventArgs e)
        {
            var wnd = new EntryWindow(Guid.NewGuid());

            wnd.Show();

            this.Close();
        }
        private void saveBtn_Click(object sender, RoutedEventArgs e)
        {
            var wnd = new EntryWindow(Guid.NewGuid());

            wnd.Show();

            this.Close();

            var newUser     = userId.Equals(tbNewUsername);
            var newPassword = userId.Equals(tbNewPassword);

            //logic.GetFromUser(newUser);
            //logic.GetFromUser(newPassword);
        }
Exemple #3
0
        private void addData_Btn_Click(object sender, RoutedEventArgs e)
        {
            Entry entry = new Entry()
            {
                Key      = tbKey.Text,
                Email    = tbEmail.Text,
                Password = tbPassword.Text,
                Notes    = tbNotes.Text,
                UserId   = userId
            };

            EntryWindow.logic.Add(entry);

            var wnd = new EntryWindow(userId);

            wnd.Show();

            this.Close();
        }