private void incarcaVariabileBDD() { this.lServerAles = this.cboListaServere.SelectedItem as ServerSQL; this.lNumeServer = this.txtServerManual.Text; this.lNumeInstanta = this.txtNumeInstantaSQL.Text.Trim(); this.lNumeUser = this.txtUserSQL.Text.Trim(); this.lParolaSQL = this.txtParolaSQL.Text.Trim(); if (this.cboBDD.SelectedItem != null) { this.lNumeBDD = Convert.ToString(this.cboBDD.SelectedItem); } }
public object Clone() { try { if (this == null) { return(null); } ServerSQL SqlSL = new ServerSQL { ServerName = ServerName, InstanceName = InstanceName, IsClustered = IsClustered, Version = Version }; return(SqlSL); } catch { throw new NotImplementedException(); } }