public AnimationControl(SchemeWindow window)
 {
     Scheme           = window;
     Description      = Scheme.StepDescription;
     DescriptionSteps = Scheme.StepSteps;
     DescriptionPanel = (Grid)Description.Parent;
 }
Beispiel #2
0
        private void OnLoaded(object sender, RoutedEventArgs e)
        {
            Scheme     = CreateWindow <SchemeWindow>();
            Photo      = CreateWindow <PhotoWindow>();
            MainScheme = CreateWindow <MainSchemeWindow>();

            Width  = (int)(SystemParameters.PrimaryScreenWidth / 1.5) + 8;
            Height = (Width - 8) * 9 / 16 + 31;
        }