GridMCDL.xaml 的互動邏輯
Inheritance: System.Windows.Controls.Grid
Beispiel #1
0
 private void button1_Click (object sender, RoutedEventArgs e)
 {
     MeCore.MainWindow.gridOthers.Children.Clear();
     MeCore.MainWindow.gridOthers.Children.Add(gridforge ?? (gridforge = new GridForgeDLMain(this)));
     var ani = new DoubleAnimationUsingKeyFrames();
     ani.KeyFrames.Add(new LinearDoubleKeyFrame(0, TimeSpan.FromSeconds(0)));
     ani.KeyFrames.Add(new LinearDoubleKeyFrame(1, TimeSpan.FromSeconds(0.2)));
     MeCore.MainWindow.gridOthers.BeginAnimation(OpacityProperty, ani);
 }
 public GridForgeDLMinor(GridForgeDLMain parent, string mcver)
     : this()
 {
     this.parent = parent;
     mcversion = mcver;
 }