Beispiel #1
0
 private void RemoveMessageControl()
 {
     LayoutRoot.Children.Remove(messageControl);
     messageControl.OnButtonClick += messageControl_OnButtonClick;
     messageControl = null;
     ApplicationBar.IsVisible = true;
 }
Beispiel #2
0
 private void NewPostClick(object sender, EventArgs e)
 {
     messageControl = new MessageControl();
     messageControl.OnButtonClick += messageControl_OnButtonClick;
     messageControl.SetValue(Grid.RowSpanProperty, 2);
     LayoutRoot.Children.Add(messageControl);
     ApplicationBar.IsVisible = false;
 }