示例#1
0
        protected override void OnStart()
        {
            Update();
            switch (Device.RuntimePlatform)
            {
            case Device.Android:
                TodayPage.nonotesImage.Source    = Addition.ChooseImage();
                allNotesPage.nonotesImage.Source = Addition.ChooseImage();
                break;

            case Device.UWP:
                MainPage_UWP.nodateImage.Source = "images/" + Addition.ChooseImage();
                break;

            default: break;
            }

            //TodayPage.nonotesImage.Source = Addition.ChooseImage();
            //allNotesPage.nonotesImage.Source = Addition.ChooseImage();
        }
示例#2
0
 protected override void OnDisappearing()
 {
     base.OnDisappearing();
     nonotesImage.IsVisible = false;
     nonotesImage.Source    = Addition.ChooseImage();
 }