Example #1
0
 public void ShowEditConvMenu()
 {
     EditMenu = new EditConversation(Client, Root, Selected);
     Grid.SetRowSpan(EditMenu, 4);
     Grid.SetColumn(EditMenu, 2);
     Panel.SetZIndex(EditMenu, 2);
     Root.Children.Add(EditMenu);
 }
Example #2
0
        private void CloseConvMenu()
        {
            Root.Children.Remove(ConvMenu);
            ConvMenu = null;

            if (EditMenu != null)
            {
                Root.Children.Remove(EditMenu);
                EditMenu = null;
            }
        }