Ejemplo n.º 1
0
        // Редактирование ветви
        private void btn_modifyItem_Click(object sender, RoutedEventArgs e)
        {
            int    ParentID = 0;
            int    NodeID   = Convert.ToInt32(txt_ID.Text);
            string NodeName = txt_Description.Text;

            if (txt_ParentID.Text != "")
            {
                ParentID = Convert.ToInt32(txt_ParentID.Text);
            }
            string LinkToIcon = txt_imageLink.Text;

            wc.ws_updateNodeAsync(NodeID, NodeName, ParentID, LinkToIcon, (bool)box_NodeIsCalibrated.IsChecked);
        }