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