private void ButtonSave_Click(object sender, RoutedEventArgs e)
        {
            TreeService.Tree newTree = new TreeService.Tree()
            {
                CreatorName = NameTextBox.Text,
                Message = MessageTextBox.Text
            };

            TreeProxy.InsertTreeAsync(newTree);
        }
Exemplo n.º 2
0
 public TreeViewModel()
 {
     this.tree = new TreeService.Tree();
 }
Exemplo n.º 3
0
 public TreeViewModel(TreeService.Tree tree)
 {
     this.tree = tree;
 }