Beispiel #1
0
        public override UIElement RestoreData()
        {
            VideoPartUC VP = new VideoPartUC(Video);
            VP.InitializeComponent();
            VP.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            return VP;

        }
Beispiel #2
0
 private void Video_Click(object sender, RoutedEventArgs e)
 {
     VideoNote VN = new VideoNote();
     this.component.Add(VN);
     VideoPartUC vP = new VideoPartUC();
     vP.InitializeComponent();
     VN.vp = vP;
     vP.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
     FieldPanel.Children.Add(vP);
 }