private void login() { if (!validateFields()) { return; } Toggl.Login(email.Text, password.Text); password.Clear(); }
private void loginButton_Click(object sender, EventArgs e) { if (!validateFields()) { return; } Toggl.Login(email.Text, password.Text); password.Clear(); }