private void btnNdryshoPlumbat_Click(object sender, EventArgs e) { FrmDashboard frm = new FrmDashboard(); this.Kalibri = int.Parse(txtKalibri.Text); this.Sasia = int.Parse(txtSasia.Text); RegjistroPlumbatBO NdryshoPlumbat = RegjistroPlumbatBLL.ndryshoPlumbat(PlumbiID, Kalibri, Sasia); }
private void jFlatButton1_Click(object sender, EventArgs e) { FrmDashboard frm = new FrmDashboard(); this.klienti = dropklientat.Text; this.Arma = droparmet.Text; this.PiketEshenuara = Convert.ToInt32(txtKalibri.Text); this.distanca = Txtdistanca.Text; this.plumbashfryzuar = txtMaxPlumba.Text; gjuajtja ndryshoHjuajte = gjuajtjabll.ndryshogjuajte(klienti, Arma, distanca, plumbashfryzuar, PiketEshenuara); MessageBox.Show("Editimi u krye"); }