Skip to content

Commit

Permalink
Fixed permissions error onCancel/onSubmit of Rental Form
Browse files Browse the repository at this point in the history
  • Loading branch information
MattRyder committed Apr 24, 2012
1 parent c051ba3 commit b9f9c03
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Phase 3 - Implementation/PPSDPart2/Forms/frmMain.Member.cs
Expand Up @@ -222,8 +222,11 @@ private void btnNewRental_Click(object sender, EventArgs e)
addRentalDialogue.RecordAdded += addRentalDialogue_RecordAdded;
addRentalDialogue.ShowDialog(this);
}
MessageBox.Show(this, "Insufficient User Permissions", "Permissions", MessageBoxButtons.OK, MessageBoxIcon.Stop);
return;
else
{
MessageBox.Show(this, "Insufficient User Permissions", "Permissions", MessageBoxButtons.OK, MessageBoxIcon.Stop);
return;
}
}

private void addRentalDialogue_RecordAdded(object sender, EventArgs e)
Expand Down
Binary file not shown.
Binary file not shown.
Expand Up @@ -20,3 +20,5 @@ C:\Users\mr martin\PPSD\Phase 3 - Implementation\PPSDPart2\obj\x86\Debug\Generat
C:\Users\mr martin\PPSD\Phase 3 - Implementation\PPSDPart2\obj\x86\Debug\GenerateResource.write.1.tlog
C:\Users\mr martin\PPSD\Phase 3 - Implementation\PPSDPart2\obj\x86\Debug\PPSDPart2.exe
C:\Users\mr martin\PPSD\Phase 3 - Implementation\PPSDPart2\obj\x86\Debug\PPSDPart2.pdb
C:\Users\Matt\Github\PPSD\Phase 3 - Implementation\PPSDPart2\obj\x86\Debug\PPSDPart2.exe
C:\Users\Matt\Github\PPSD\Phase 3 - Implementation\PPSDPart2\obj\x86\Debug\PPSDPart2.pdb

0 comments on commit b9f9c03

Please sign in to comment.