Example #1
0
        public override UIElement RestoreData()
        {
            PicturePartUC PN = new PicturePartUC(imageSource);
            PN.InitializeComponent();
            PN.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            return PN;

        }
Example #2
0
 private void Picture_Click(object sender, RoutedEventArgs e)
 {
     PictNote PN = new PictNote();
     this.component.Add(PN);
     PicturePartUC pP = new PicturePartUC();
     pP.InitializeComponent();
     PN.pictp = pP;
     pP.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
     FieldPanel.Children.Add(pP);
 }