public AdvancedApplicationBarMenuItem() { ApplicationBarMenuItem = new ApplicationBarMenuItem() { Text = "appbar" };; RealAppBarItem = ApplicationBarMenuItem; AdvancedApplicationBar.AddButton(this); ApplicationBarMenuItem.Click += new EventHandler(ApplicationBarMenuItem_Click); }
public AdvancedApplicationBarIconButton() { AppBarIconButton = new ApplicationBarIconButton() { Text = "appbar" }; RealAppBarItem = AppBarIconButton; AdvancedApplicationBar.AddButton(this); AppBarIconButton.Click += AppBarIconButton_Click; }