private void ClearData() { containersPanel.Children.Clear(); observationsAndProperties.Items.Clear(); GraphicActions.getMyGraphicActions().clear(); XMLExport.getMyXMLExport().clear(); VideoActions.getMyVideoActions().clear(); videoContainer = null; }
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; } }
private void mnitAddVideo_Click(object sender, RoutedEventArgs e) { if (videoContainer == null) { videoContainer = new UC_VideoContainer(); addToAnchorablePane(videoContainer, "Videos"); } loadVideos(); }