Codies Scraps

Visual Basic tutorials for UWP apps.
1 post Page 1 of 1
Contributors
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Codies Scraps
CodenStuff
Hello Coders,

Don't mind me I'm just placing some of my "code-bits" here temporarily so I don't forget them. I'm working on some Windows Phone apps and trying to get my head around it all again because I haven't done any in a while lol

I will be updating the sites scrapbook page to allow us to save our own bits of code and files but in the meantime I'm just dumping them here :teehe;

Maybe some of you could find them useful as well.

Navigate to new page/Add content to current page:
Code: Select all
Me.Frame.Navigate(GetType(MainPage), "Some variable to pass")
Window.Current.Content = New MainPage
Hide the phone notification bar:
Code: Select all
    Private Async Sub HideBar()
        Await Windows.UI.ViewManagement.StatusBar.GetForCurrentView().HideAsync()
    End Sub

Converted animations in to handy module with optional variables to adjust animation properties:
MyAnimations.zip
....
You do not have the required permissions to view the files attached to this post.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
1 post Page 1 of 1
Return to “Visual Basic”