private void btnOK_Click(object sender, System.EventArgs e) { QueryZen Code = new QueryZen(); KeyCode = this.txtRegister.Text; Code.WriteKeyCode(KeyCode); //Set the typed in code to QueryZen String Close(); }
private void btnOK_Click(object sender, System.EventArgs e) { string User = "******"; string Pass = "******"; string IP = " "; string Name = " "; User = this.txtDatabaseUID.Text; Pass = this.txtDatabasePW.Text; IP = this.txtIpAddress.Text; Name = this.txtDatabaseName.Text; QueryZen Query = new QueryZen(); Query.WriteSybaseReg(IP, User, Pass, Name); System.Diagnostics.Process.Start("C:\\Program Files\\Gracon Services, Inc\\ZENWorksQuery\\Sybase\\SybaseODBC.reg"); Close(); }
private void btnOkay_Click(object sender, System.EventArgs e) { QueryZen QZ = new QueryZen(); QZ.IpAdd = this.txtIPAddress.Text; }