private async void OnStudioWindowCreated(StudioWindowCreatedNotificationEvent e)
        {
            var domanService    = new DomainService();
            var termTypeService = new TermTypeService();
            await domanService.GetDomains();

            await termTypeService.GetTermTypes();
        }
Beispiel #2
0
        private void OnStudioWindowCreated(StudioWindowCreatedNotificationEvent e)
        {
            CreateNotification("First notification", "First description");
            CreateNotification("Second notification", "Second description");

            // add group notification
            var groupEvent = new AddStudioGroupNotificationEvent(_notificationGroup);

            _eventAggregator.Publish(groupEvent);
        }
 private void OnStudioWindowCreatedNotificationEvent(StudioWindowCreatedNotificationEvent e)
 {
 }
Beispiel #4
0
        private void OnStudioWindowCreated(StudioWindowCreatedNotificationEvent e)
        {
            var contentConnector = SdlTradosStudio.Application.GetController <InSourceViewController>();

            contentConnector.CheckForProjects();
        }
 private void OnStudioWindowCreated(StudioWindowCreatedNotificationEvent e)
 {
     MessageBox.Show("Studio was loaded");
 }