Пример #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;
 }