void MainWindow_Loaded(object sender, RoutedEventArgs e)
 {
     if (AnimationPages.Count == 0)
     {
         _diagramSetting.ShowDialog();
     }
 }
 private void btnSetting_Click(object sender, RoutedEventArgs e)
 {
     _diagramSetting = new DiagramSetting();
     _diagramSetting.ShowDialog();
 }