예제 #1
0
 private void allocationSheetToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Controller.AskQuestion("Are you sure you want to request more allocations?"))
     {
         using (var reportService = ReportService.ReportServiceClient.CreateInstance())
         {
             reportService.RequestAllocations(SqlDataHandler.GetConnectionString(), Controller.user.id);
             Controller.ShowMessage("The server will email your next set of allocations.");
         }
     }
 }