예제 #1
0
 private void Text_Click(object sender, RoutedEventArgs e)
 {
     TextNote TN = new TextNote();
     //Encrypt.SetComponent(TN);
     this.component.Add(TN);
     TextPartUC tP = new TextPartUC();
     tP.InitializeComponent();
     TN.tp = tP;
     tP.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
     FieldPanel.Children.Add(tP);
 }
예제 #2
0
 public void SetComponent(TextNote component)
 {
     this.component = component;
 }