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