private void ultraBtnBEdit_Click(object sender, EventArgs e) { objfrmBed = new frmBed(); objfrmBed.id = bed_id.ToString(); objfrmBed.name = bed_name.ToString(); objfrmBed.rpd = bed_rpd.ToString(); objfrmBed.bedtype = bed_type.ToString(); objfrmBed.strFormMode = "EDIT"; objfrmBed.ShowDialog(); }
private void ultraBtnBNew_Click(object sender, EventArgs e) { objfrmBed = new frmBed(); objfrmBed.strFormMode = "NEW"; objfrmBed.ShowDialog(); }