private void tsmAddTag_Click(object sender, EventArgs e) { AddTag agf = new AddTag(); agf.client = client; agf.ShowDialog(); LoadComboBoxes(); }
private void btnEdit_Click(object sender, EventArgs e) { if (!Functions.chkIfSelected(dgvTag)) { return; } AddTag agf = new AddTag(); agf.client = client; agf.T = dgvTag.CurrentRow.DataBoundItem as Tag; agf.ShowDialog(); LoadTags(); }