Create and retrieve cookies from a Windows Presentation Foundation (WPF) application using SetCookie and GetCookie.
Get a handle to the current app and shut it down
Bind ApplicationCommand to a handler
Assign ApplicationCommands.Open to Button
Binding command to ApplicationCommands.Redo
Binding Command to ApplicationCommands.New