private void button1_Click(object sender, EventArgs e) { Console.WriteLine("Sending Query"); DatabaseConnection.SendQuery(TB_IPaddr.Text, TB_Port.Text, TB_Uname.Text, TB_Pass.Text, TB_Datab.Text); }
public void Btn_TestConnection_Click(object sender, EventArgs e) { DatabaseConnection.ConnectDatabase(TB_IPaddr.Text, TB_Port.Text, TB_Uname.Text, TB_Pass.Text, TB_Datab.Text); }