private void cmdEdit_Click(object sender, EventArgs e) { if (!FormTools.IsRowSelected(dgMain)) { return; } Guid rowID; rowID = (Guid)dgMain.SelectedCells[0].OwningRow.Cells["RowID"].Value; frmStandarBiayaServiceUpdate ifrmChild = new frmStandarBiayaServiceUpdate(this, rowID); ifrmChild.ShowDialog(); }
private void cmdAdd_Click(object sender, EventArgs e) { frmStandarBiayaServiceUpdate ifrmChild = new frmStandarBiayaServiceUpdate(this); ifrmChild.ShowDialog(); }