Guest User

Untitled

a guest
Mar 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. PrintingSystem.XlSheetCreated +=
  2. (sender, args) =>
  3. {
  4. switch (args.Index)
  5. {
  6. case 0:
  7. args.SheetName = "foo";
  8. break;
  9. case 1:
  10. args.SheetName = "bar";
  11. break;
  12. case 2:
  13. args.SheetName = "baz";
  14. break;
  15. }
  16. };
Add Comment
Please, Sign In to add comment