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