Tag Archive for application_bar

Windows Phone 7 Application bar gomb futas kozbeni modositasa

mire meglett… -.-

private void MainPage_Loaded(object sender, RoutedEventArgs e)
{
    ApplicationBarIconButton button1 = ApplicationBar.Buttons[0] as ApplicationBarIconButton;
    if (button1 != null)
    {
        button1.Text = "p0wnage";
        button1.IconUri = new Uri("/appbarIcon.png",UriKind.Relative);
    }
    ApplicationBarMenuItem menuItem1 = ApplicationBar.MenuItems[0] as ApplicationBarMenuItem;
    if (menuItem1 != null)
    {
        menuItem1.Text = "Pure p0wnage";
    } 
}