Esempio n. 1
0
 protected override void Activate()
 {
     base.Activate();
     Checkins = new List <Checkin>(untappdService.GetCheckins());
     webApiClient.ChangeUploadedCountEvent += WebApiClientChangeUploadedCountEvent;
     interactionRequestService.ClearMessageOnStatusBar();
 }
Esempio n. 2
0
        private void CreateProject()
        {
            string untappdUserName = String.Empty;

            if (!interactionRequestService.AskReplaceText(Properties.Resources.UntappdUserNameCaption, ref untappdUserName))
            {
                return;
            }

            untappdService.Create(untappdUserName);
            moduleManager.LoadModule(typeof(MainModule).Name);
            ActivateView(RegionNames.RootRegion, typeof(Main));
            interactionRequestService.ClearMessageOnStatusBar();
        }