Exemplo n.º 1
0
 private void ClearData()
 {
     containersPanel.Children.Clear();
     observationsAndProperties.Items.Clear();
     GraphicActions.getMyGraphicActions().clear();
     XMLExport.getMyXMLExport().clear();
     VideoActions.getMyVideoActions().clear();
     videoContainer = null;
 }
Exemplo n.º 2
0
 private void doc_Hiding(object sender, CancelEventArgs e)
 {
     LayoutAnchorable doc = (LayoutAnchorable)sender;
     if (doc.Content is UC_ChartContainer)
     {
         GraphicActions.getMyGraphicActions().remove((UC_ChartContainer)doc.Content);
     }
     else
     {
         VideoActions.getMyVideoActions().clear();
         videoContainer = null;
     }
 }
Exemplo n.º 3
0
 private void mnitAddVideo_Click(object sender, RoutedEventArgs e)
 {
     if (videoContainer == null)
     {
         videoContainer = new UC_VideoContainer();
         addToAnchorablePane(videoContainer, "Videos");
     }
     loadVideos();
 }