public Login( String pass, String user ) { this.pass = pass; this.user = user; // Now that we have a login with declared variables, pass it to the sqlconnect object this.sql = new sqlconnect(this); InitializeComponent(); }
public Login() { this.pass = 123; this.user = hasslarn; // Now that we have a login with declared variables, pass it to the sqlconnect object this.sql = new sqlconnect(this); InitializeComponent(); }