Esempio n. 1
0
 private void CompositeCreateHandler(object sender, TextChangedEventArgs e)
 {
     ClientC client = new ClientC();
     TextBox tb = sender as TextBox;
     client.CreateLeaf(tb.Text);
     client.CreateChild(Temp, tb.Text);
 }
Esempio n. 2
0
 private void CreateBrunchHandler(object sender, TextChangedEventArgs e)
 {
     ClientC client = new ClientC();
     TextBox tb = sender as TextBox;
     client.CreateBranch(tb.Text);
     if (Temp == null)
     {
         Temp = tb.Text;
     }
     else
     {
         client.CreateChild(Temp, tb.Text);
     }
 }
Esempio n. 3
0
 private void TextChangedHandler(object sender, TextChangedEventArgs e)
 {
     ClientC client = new ClientC();
     TextBox tb = sender as TextBox;
     client.CreateBranch("Root " + tb.Text);
     Temp = tb.Text;
 }