public Pathway(LoginForm login) { InitializeComponent(); _login = login; pnlCredentials.Visible = false; }
public LoginControl(LoginForm login) { _loginForm = login; _connectionString = ConfigurationManager.ConnectionStrings["SCMDatabaseConnectionString"].ConnectionString; }