private void tsbedit_Click(object sender, EventArgs e) { if (gridView1.RowCount > 0) { string guid = ((DataRowView)(gridView1.GetFocusedRow())).Row[0].ToString(); frmRejectOrderAdd frmRejectOrderAdd = new frmRejectOrderAdd(); frmRejectOrderAdd.EditBill(guid); } }
private void btnAdd_Click(object sender, EventArgs e) { frmRejectOrderAdd frmRejectOrderAdd = new frmRejectOrderAdd(); frmRejectOrderAdd.AddBill(); }