private void btnLogin_Click(object sender, EventArgs e) { if (IsPresent()) { if (IsValidCredentials(txtUsername.Text, txtPassword.Text)) { frmResponseMaintenance responseMaintenance = new frmResponseMaintenance(); DialogResult result = responseMaintenance.ShowDialog(); } } }
private void btnViewSurvey_Click(object sender, EventArgs e) { frmResponseMaintenance responseMaintenanceForm = new frmResponseMaintenance(); }