Пример #1
0
 protected override void Initialize()
 {
     Header = "Mail";
     Icon   = FilePathHelper.GetDXImageUri("Mail/Mail_32x32");
     FillFolders();
     CurrentFolder = GetFolderByFolderDescription(MessageFolderName.All, MessageType.Inbox, Folders);
 }
Пример #2
0
 protected override void Initialize()
 {
     Header = "Tasks";
     Icon   = FilePathHelper.GetDXImageUri("Tasks/Task_32x32");
 }
Пример #3
0
 protected override void Initialize()
 {
     Header = "Calendar";
     Icon   = FilePathHelper.GetDXImageUri("Scheduling/Today_32x32");
 }
 protected override void Initialize()
 {
     Header = "Contacts";
     Icon   = FilePathHelper.GetDXImageUri("Mail/Contact_32x32");
 }
Пример #5
0
 public void RegisterJumpList()
 {
     this.GetService <IApplicationJumpListService>().Items.AddOrReplace("Navigation", "Mail", new BitmapImage(FilePathHelper.GetDXImageUri("Mail/Mail_16x16")), OpenMail);
     this.GetService <IApplicationJumpListService>().Items.AddOrReplace("Navigation", "Calendar", new BitmapImage(FilePathHelper.GetDXImageUri("Scheduling/Today_16x16")), OpenCalendar);
     this.GetService <IApplicationJumpListService>().Items.AddOrReplace("Navigation", "Contacts", new BitmapImage(FilePathHelper.GetDXImageUri("Mail/Contact_16x16")), OpenContacts);
     this.GetService <IApplicationJumpListService>().Items.AddOrReplace("Navigation", "Tasks", new BitmapImage(FilePathHelper.GetDXImageUri("Tasks/Task_16x16")), OpenTasks);
     this.GetService <IApplicationJumpListService>().Items.AddOrReplace("Tasks", "New Mail", new BitmapImage(FilePathHelper.GetDXImageUri("Mail/NewMail_16x16")), OpenMailAndCreateNewMessage);
     this.GetService <IApplicationJumpListService>().Apply();
 }