예제 #1
0
        private void OnAuthButtonClicked(object sender, EventArgs args)
        {
            username = this.emailEntry.Text;
            password = this.passwordEntry.Text;
            HmBackend.PreserveCredentials(username, password);

            try {
                Hiveminder.Hiveminder hm = new Hiveminder.Hiveminder(username, password);
            } catch (Exception e) {
                authButton.Label = "Try Again";
            }
        }
예제 #2
0
        private void OnAuthButtonClicked(object sender, EventArgs args)
        {
            username = this.emailEntry.Text;
            password = this.passwordEntry.Text;
            HmBackend.PreserveCredentials(username, password);

            try {
                Hiveminder.Hiveminder hm = new Hiveminder.Hiveminder(username, password);
            } catch {
                authButton.Label = "Try Again";
            }
        }